Skip to main content
GET
/
credits
Get remaining credits
curl --request GET \
  --url https://api.phaseo.app/v1/credits \
  --header 'Authorization: Bearer <token>'
{
  "ok": true,
  "credits": {
    "remaining": 15000000000,
    "thirty_day_usage": 250000000,
    "thirty_day_requests": 1250
  }
}
Credit tracking is handled by the AI Stats Dashboard under Gateway -> Credits. Every Gateway response includes a usage block with token counts and cost metadata so that you can reconcile the per-request spend before the dashboard invoices your team. Use the dashboard to top up, configure auto top-up, and view the per-category billing breakdown that matches the model, provider, and endpoint values returned from the API.

Authorizations

Authorization
string
header
required

Bearer token authentication

Query Parameters

team_id
string
required

The team ID to query

Response

Credit information

ok
boolean
Example:

true

credits
object
Last modified on February 11, 2026