Skip to main content

Get a workspace's AI credit balance

GET 

/panel/workspaces/:workspace/ai-credits

Returns the workspace's AI credit availability.

  • balance — the remaining credit as a number rounded to 2 decimal places. It is null when the workspace has no credit record and when the balance is exactly zero; the two cases are indistinguishable from this response.
  • lowtrue when the balance is greater than 0 and no more than 10.
  • available — in practice always true; do not rely on it to detect an exhausted balance. Use balance and low instead.

Request

Responses

AI credit availability snapshot.