v9

OpenAPI 3.1.02026-08-0352108381.8 KB
Requests

List Requests

List your team's individual API and app requests in a time range. Each request reports how many credits it consumed (api_credits, ui_credits), its response time (duration, in seconds), HTTP status code, endpoint type and the number of records returned. Use it to inspect per-request consumption and latency. Defaults to the last 5 days when no dates are given.

get/v0/requests/

Query parameters

start_datetimestring date-time nullable

Start datetime in ISO format (e.g., 2023-01-01T00:00:00). Defaults to 5 days ago.

Start datetime in ISO format (e.g., 2023-01-01T00:00:00). Defaults to 5 days ago.

end_datetimestring date-time nullable

End datetime in ISO format (e.g., 2023-01-01T23:59:59). Defaults to now.

End datetime in ISO format (e.g., 2023-01-01T23:59:59). Defaults to now.

pageinteger

The page number of the results

The page number of the results

limitinteger

Return at most this many results

Return at most this many results

is_origin_appboolean nullable

Filter by origin app or api

Filter by origin app or api

origin'api' | 'app' | 'web' | 'mcp'

Filter by request origin (api, app, web, mcp)

api_key_idstring uuid nullable

Filter by API key id

Filter by API key id

Response

Successful Response

Example response

{
  "metadata": {
    "total_results": 2034
  }
}