List requests by endpoint(s)
list_requests_by_endpointRetrieve request history for one or more endpoints, filtered by time range, status, or request ID, with pagination, sorting, and optional payloads.
Instructions
Lists requests for one or more endpoints (same endpoint_id style as usage/explore:
comma-separated or repeated query params, up to 50 IDs).
Authentication: Requires API key (user or enterprise).
Filters:
Time range via start / end. If
startis omitted, defaults to the last 24 hours — unlessrequest_idis provided, in which case the default start bound is widened to 90 days.Status (success, error, user_error)
Request ID
Pagination via cursor/limit (limit defaults to 50, max 100)
Sorting:
By end time (default) or duration
Expansions:
Include payloads by adding expand=payloads
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End date in ISO8601 format, exclusive (e.g., '2025-02-01T00:00:00Z' or '2025-02-01'). Data up to but not including this timestamp is returned. Defaults to current time. | |
| limit | No | Number of items to return per page (max 100) | |
| start | No | Start date in ISO8601 format (e.g., '2025-01-01T00:00:00Z' or '2025-01-01'). Defaults to 24 hours ago. | |
| cursor | No | Pagination cursor encoding the page number | |
| expand | No | Fields to expand in the response. Use payloads to include input and output payloads. | |
| status | No | Filter by request status | |
| account | No | Exact private account key profile label, not an authenticated provider owner ID. | |
| sort_by | No | Sort results by end time or duration | ended_at |
| request_id | No | Filter by specific request ID | |
| endpoint_id | Yes | Filter by specific endpoint ID(s). Accepts 1-50 endpoint IDs. Supports comma-separated values: ?endpoint_id=model1,model2 or array syntax: ?endpoint_id=model1&endpoint_id=model2 |