Get Usage By Category
Return the signed-in user's personal token debits broken down by consumption type (llm_completion_debit, mcp_tool_debit). A category with no debits is absent from the response, not present with value 0.
Authorization
OAuth2AuthorizationCodeBearer AuthorizationBearer <token>
In: header
Query Parameters
verify_locally?Verify Locally
Default
trueResponse Body
application/json
application/json
curl -X GET "https://example.com/v1/billing/usage-by-category"{ "usage": { "property1": 0, "property2": 0 }}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}