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

Export billing records

Export filtered billing records as an Excel file.

POST/bill/excel

Filter by time range and optional API Key/model names. Success returns Excel; authentication, validation, or processing failures may return JSON business errors with HTTP 200. Check Content-Type and the response body.

Authorization

billingToken
token<token>

Billing authentication token, sent in the token Header without Bearer. In Try It, enter the system access token generated in personal settings; the billing credential is obtained automatically. Code examples show the full process.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body