Skip to main content
GET
Get billing overview

Authorizations

Authorization
string
header
required

OAuth 2.1 authorization-code flow with PKCE.

Headers

X-Workspace-Id
string

Workspace this request operates in — the workspace id (wksp_…) or the organization id, from GET /workspaces. Required with an API key, which carries no workspace (400 WORKSPACE_REQUIRED without it). With an OAuth token it defaults to the workspace the token was issued for. Responds 403 WORKSPACE_FORBIDDEN when the caller is not a current member, rather than falling back to another workspace.

Response

object | null

Successful response.

id
string
required
billing
object | null

The selected workspace's credit wallet, shared by every member. An explicit workspaceId selects another workspace you are a member of. Null when no workspace is selected.