Skip to content
Guides
Payments & FinanceBilling
billing:read

Get AI credit usage for the current cycle

GET/v1/billing/current/ai-credits/usage

Get AI credit usage for the current cycle. A successful request returns HTTP 200 with the documented response body.

Authorization

bearerAuth
AuthorizationBearer <token>

OAuth2 access token issued by Ecomiq Auth.

In: header

Header Parameters

x-Store-Id?string

Store the request acts on. Not needed when the token is bound to a store.

Authorization*string

OAuth 2.0 bearer token.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/billing/current/ai-credits/usage" \  -H "x-Store-Id: <store-id>" \  -H "Authorization: Bearer <token>"
{  "cycleStartsOn": "2026-08-01T15:30:00Z",  "cycleEndsOn": "2026-08-01T15:30:00Z",  "items": [    {      "source": "unknown",      "credits": 1,      "uses": 1    }  ]}