Skip to main content
Send a bearer token on every request:
Workspace-scoped key from settings, ideal for CI and services. The same key is exposed to sandboxes as DENCH_API_KEY.
Authentication is wired into the API Reference playground, enter your token once and every “Try it” request uses it.

Run attribution

When an API-key caller acts from inside a running agent turn, include the run id so Dench attributes the action to the right user:
Local session commands (dench sessions, dench use, dench logout, dench backend, dench fs) stay on the CLI, they change the caller’s machine and have no server endpoint.