Overview
The Management API lets you retrieve organization balance totals, manage organization API keys, and retrieve usage and billing for a specific key without using a standard inference API key. Use a management token from your Dashboard Settings page:Available Endpoints
Usage Filters
GET /v1/management/api-keys/{keyId}/usage supports the following query parameters:
If both
startDate and endDate are present, startDate must be earlier than or equal to endDate.
API Key Request Body
POST /v1/management/api-keys
PATCH /v1/management/api-keys/
At least one PATCH field must be provided.
Monetary Fields
- Management API monetary request and response fields are USD-only.
limitCurrencydefaults toUSD; sendingCNYreturns400withcurrency_retired.
Reporting Semantics
modelrefers to the model requested by the caller.modelVendorrefers to the public model vendor, not provider-specific execution details.sceneis the public request scene derived from the endpoint or task type.
/usageline items can includebilling_transaction_idonce the underlying request has reached settled billing state. Userequest_id+billing_transaction_idfor request-level reconciliation.
Billing Pagination Note
/usage is paginated. /billing is currently an aggregated breakdown endpoint and does not return page / limit style pagination metadata. If you need line-level records, use /usage.