AGTCloud API Docs
GuidesAPI ReferenceIntegrations and resourcesUpdate and help
Account and usage

Query API Key quota

Query the current API Key’s granted, used, and remaining quota, model restrictions, and expiry.

GET/api/usage/token

Query the current API Key's own quota. Quota differs from input/output Token counts in a model response. Missing or invalid Authorization returns HTTP 401.

Authorization

bearerAuth
AuthorizationBearer <token>

Authorization: Bearer your-api-key. The sk- prefix is optional.

In: header

Response Body

application/json

application/json