Per-request history of your developer API keys [read]
Changed onOne row per API gateway request the caller's developer API keys made in a range of UTC days, newest first, a page at a time: model, endpoint, tokens, list and billed cost, HTTP status and latency. Pass nextCursor back as cursor for the next page; it is null on the last page. Session usage is not included (source=session returns no rows). The same rows as Settings › API usage. 503 unavailable when the request log cannot be read; retry.
get/billing/usage/requests
Request
- Base URLhttps://api.agentsky.dev/v1
- URLhttps://api.agentsky.dev/v1/billing/usage/requests
- Authnone declared
Query parameters
fromstring date
First UTC day included, YYYY-MM-DD; defaults to 29 days before today
tostring date
First UTC day excluded, YYYY-MM-DD; defaults to tomorrow. A range spans at most 366 days
api_key_idstring
Only this API key's requests
cursorstring
nextCursor from the previous page
Response
OK
Changes
- info
endpoint added
- info