Authentication

Every request sends Authorization: Bearer <secret>. Keys are service-account credentials — they cannot sign in to the console. Use a workspace key to provision, then a project key for jobs.

The header

Same header for both key types — only the secret changes. Missing, malformed, or revoked keys return 401 unauthorized.

Authorization header
curl "{BASE_URL}/v1/workspace" \
  -H "Authorization: Bearer {WORKSPACE_KEY}"
Secrets are shown once. Copy data.secret at create time — it is never returned again. Rotate or revoke compromised keys in the dashboard.

Workspace vs project keys

Workspace key

sk_wsp_…

Create in Workspace → Workspace keys. Creates projects and project keys, and can manage workspace voices. Cannot submit jobs or attach storage.

Project key

sk_prj_…

Create in the dashboard or with a workspace key. Canvases, generate routes, job status, transcripts, and storage for one project — the project is bound to the key.

Using the wrong type returns 403 forbidden. The next page mints a project key from a workspace key.

Permissions

Scopes are fixed when the key is created. Omit permissions to grant every scope for that key type. A valid key that lacks a scope also returns 403.

HTTPWhen
401Missing, malformed, invalid, or revoked secret.
403Wrong key type, missing permission, or resource out of scope.

Full scope lists live on Workspaces and Project API keys. Other status codes are in Errors.