Return API usage history
usage
Return API usage history
Use this operation to return api usage history. Authenticate with Authorization: Bearer <AGENTBODY_API_KEY>. Pagination: omit cursor on the first request. When has_more is true, pass next_cursor unchanged as cursor. Cursors are opaque; do not construct, modify, or reuse them outside this pagination flow. Correct a 400 invalid-input error; do not retry unchanged.
GET
Return API usage history
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Maximum number of results to return. The Gateway may return fewer results.
Required range:
1 <= x <= 100Opaque cursor returned by the preceding response. Omit it on the first request. Do not construct, modify, or reuse it outside this pagination flow.
Maximum string length:
1000Optional usage status filter.
Available options:
success, failed Optional AgentBody capability identifier returned by usage history. Use it only to filter this API key's usage records.
