Usage

Aggregated usage

get/usage

Request

  • Base URL: https://api.aginera.ai/partner/v1
  • URL: https://api.aginera.ai/partner/v1/usage
  • Auth: OAuth 2 (authorization code, authorization URL https://auth.aginera.ai/oauth/authorize, token URL https://auth.aginera.ai/oauth/token; client credentials, token URL https://login.microsoftonline.com/65f567a9-6e6a-4f81-863c-aea4ece1f8eb/oauth2/v2.0/token, scopes: billing:read)

Query parameters

fromstring required
tostring required
group_by'day' | 'surface' | 'agent' | 'client' | 'user' | 'operation' | 'end_customer'
surface'rest' | 'mcp'
end_customer_refstring
format'json' | 'csv'

Response

OK

fromstring required
tostring required
group_bystring required

Changes

No recorded changes to this operation across all 1 revision of this API.