Get Credits
GET
/v1/creditsYour current credit balance and the plan it belongs to.
A call costs one credit and a cached read costs nothing. At zero the API stops rather than billing you an overage.
Authorization
session AuthorizationBearer <token>
A dashboard session token. Account operations take this rather than an API key, because minting your first key cannot require already having one.
In: header
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/credits"{ "balance": 0, "plan": "string"}