List API requests
list_api_requestsUse this when the user wants to review or debug recent calls: every request of the last 30 days, newest first, with its status, time and cost. Filter by status class, route or time, or find one request by its id. A connection without full access sees only its own requests. Free.
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_api_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | A request id, matched exactly. | |
| to | No | Only requests made before this time, in ISO 8601. | |
| from | No | Only requests made at or after this time, in ISO 8601. | |
| cursor | No | The `nextCursor` of the page before. | |
| apiKeyId | No | Only this key's requests. A key without full access reads only its own. | |
| endpoint | No | Only requests to this route, as the requests name it. | |
| pageSize | No | Requests per page. | |
| statusClass | No | Only requests answered with a status in this class. |