List requests
list_requestsOne project's request log, newest first, with the Requests screen's filters, search and date range, paged by cursor. Pass endCursor back as after for the next page; use get_request for a call's payload. A range is at most 31 days. Mirrors the Requests screen; needs project Read on the project.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End of the range, ISO 8601. Defaults to now. | |
| from | No | Start of the range, ISO 8601. Defaults to 24 hours before `to`, the screen's default range. | |
| after | No | The endCursor of the previous page. | |
| first | No | How many calls per page, 1 to 100; 25 when omitted. | |
| search | No | Matches a request id, a key name or a data point id. | |
| project | No | The project's slug, exactly as get_viewer or list_projects returned it. May be omitted when the organization has one live project. | |
| keyNames | No | API key names to keep. | |
| statuses | No | Exact status codes to keep, for example [401]. | |
| endpoints | No | Endpoints to keep, as routed, for example "/api/v1/ingest". | |
| statusClasses | No | Status classes to keep: "2xx", "4xx", "5xx". |