Workspaces

A workspace API key is a service-account credential scoped to one workspace. Use GET /v1/workspace for metadata plus embedded usage, or GET /v1/workspace/usage for usage only. Grant balances and billing overrides are applied server-side — responses only include used, limit, and remaining per service. Create keys in the dashboard (Workspace → Workspace keys). Optional expiration is set at create time; after that instant the key stays active but authenticates as 401 invalid api key. Expiration cannot be changed later.

Workspace key permissions

Permissions are fixed when the workspace key is created. Omit permissions to grant every workspace scope.

PermissionAllows
workspace:readGET /v1/workspace
project:createPOST /v1/projects
project:listGET /v1/projects
project:readGET /v1/projects/{projectId}
project:updatePATCH /v1/projects/{projectId}
project:deleteDELETE /v1/projects/{projectId}
project_api_key:createPOST /v1/project-api-keys (with projectId in body)
project_api_key:listGET /v1/project-api-keys (with projectId query param)
project_api_key:readIncluded in list responses
project_api_key:updatePATCH /v1/project-api-keys/{apiKeyId} — rename (name) or revoke (status: revoked)
project_api_key:deleteDELETE /v1/project-api-keys/{apiKeyId} — permanent removal
voices:listGET /v1/voices
voices:createPOST /v1/voices
voices:readGET /v1/voices/{voiceId}
voices:updatePATCH /v1/voices/{voiceId}
voices:deleteDELETE /v1/voices/{voiceId}

The Workspace object

workspaceIdstring
Stable workspace identifier (wsp_…).
namestring
Display name.
descriptionstring
Optional description (may be an empty string).
planstring
Billing plan: free or enterprise.
usageobject
Monthly usage per billable service (see Usage object).
enabledServicesstring[]
Resolved workspace allowlist (transcription is always included). Defaults follow the workspace plan and reset when that plan column is saved or the workspace plan changes. Project keys cannot call this endpoint — use GET /v1/services for the full catalog and enabled flags.

Usage object

planstring
Billing plan for this workspace.
resetsAtstring
UTC ISO instant when monthly allowances reset.
servicesarray
One entry per billable service.
services[].servicestring
transcription, indexer, ai_search, clip_generation, thumbnail, metadata, or summarization.
services[].usednumber
Credits consumed this billing period.
services[].limitnumber | null
Monthly cap. null = unlimited (enterprise).
services[].remainingnumber | null
Credits still available (includes any bonus capacity; not itemized). null when unlimited.

Retrieve workspace

GET/v1/workspace
Returns workspace metadata and the embedded usage object for quota checks before jobs or catalog searches.

Requires permission

workspace:read

Authenticate with Authorization: Bearer sk_wsp_…. No X-Workspace-Id header. Project API keys cannot call this route — use GET /v1/services for the catalog and enabled flags.

Retrieve workspace usage

GET/v1/workspace/usage
Returns only the usage object — same shape as the usage field on GET /v1/workspace. Use when you do not need workspace name or description.

Requires permission

workspace:read