List Request Logs
Logs
List Request Logs
List API request logs for the organization
GET
List Request Logs
Beta. The request logs schema is new and may evolve. Field names should be stable, but we reserve the right to add fields or adjust response shape before general availability.
Overview
Returns a paginated list of API request logs for the authenticated organization. Filterable by date range, HTTP status code, method, API key, and path. Per-plan access control limits the historical window:| Plan | Retention window |
|---|---|
free | Last 7 days |
starter | Last 30 days |
beta, pro, enterprise | Last 90 days |
billing:read scope. Querying logs does not consume metered usage.
Query Parameters
Start of date range (ISO 8601). Accepts
YYYY-MM-DD or full ISO datetime. Defaults to 24 hours ago.End of date range (ISO 8601). Accepts
YYYY-MM-DD or full ISO datetime. Defaults to now.Filter to a specific HTTP status code (100—599).
Filter by HTTP method (
GET, POST, PATCH, DELETE, etc.).Filter to requests made with a specific API key (
key_...).Case-insensitive substring match against path or request ID (max 200 characters).
Items per page (1—100).
Pagination cursor from a previous response.
Response
Always
"list".Whether more pages are available.
Code Examples
Errors
| Status | Type | Description |
|---|---|---|
| 400 | validation_error | Invalid date format or start_date > end_date |
| 401 | unauthorized | Missing or invalid API key |
| 403 | forbidden | API key lacks billing:read |
| 403 | plan_limit_exceeded | Requested window exceeds your plan’s log retention |
| 429 | rate_limited | Too many requests |
Related Endpoints
- Get Request Log — single request log detail
- Get Usage Summary — aggregate usage by day, endpoint type, or API key