Skip to main content
GET
/
credits
Get credit balance
curl --request GET \
  --url https://www.trybloom.ai/api/v1/credits \
  --header 'x-api-key: <api-key>'
{
  "data": {
    "balance": 123,
    "unlimited": true
  }
}

Authorizations

x-api-key
string
header
required

Bloom API key, for example x-api-key: bloom_sk_....

Query Parameters

workspaceId
string

Team workspace ID. Omit to check the personal workspace balance.

Minimum string length: 1

Response

OK

data
object
required