cURL
curl --request GET \ --url https://api.chatgrid.ai/v1/v1/me/usage \ --header 'Authorization: Bearer <token>'
{ "object": "usage", "data": { "credits_remaining": 4200, "total_credits_allocated": 5000, "monthly_allowance": 5000, "purchased_credits": 0, "last_reset_at": "2026-03-01T00:00:00.000Z", "updated_at": "2026-03-15T12:00:00.000Z" } }
Returns the authenticated user’s credit balance and usage details.
Pass your API key (prefixed cgk_) or a Supabase JWT in the Authorization: Bearer <token> header.
cgk_
Authorization: Bearer <token>
Credit usage.
usage
Show child attributes