Account

Get the credit balance for a workspace.

Enrichment and AI generation spend credits, so an integration can check what is left before starting work that would fail part-way through.

Credits are pooled across an account: remaining is what the whole pool has left, while workspace_used and workspace_limit describe this one workspace's share of it. A null workspace_limit means uncapped — the workspace can draw on the whole pool.

get/api/external/v1/account/credits

Query parameters

workspace_idinteger required

The workspace to report on.

Example:55

The workspace to report on.

Response

planstring
remaininginteger
workspace_usedinteger
workspace_limitstring
renews_atstring

Example response

{
  "plan": "scale",
  "remaining": 4200,
  "workspace_used": 800,
  "workspace_limit": null,
  "renews_at": "2026-09-01 00:00:00"
}

Changes

Changed in 1 of the 3 revisions of this API.1