List Logs
list-logsReview recent API request logs to debug issues, audit usage, or check request history. Retrieve log details like endpoint, method, response status, and user agent with pagination support.
Instructions
Purpose: List API request logs for the account. Use to review recent API activity, debug issues, or audit API usage.
Returns: For each log: id, created_at, endpoint, method, response_status, user_agent. Use pagination (limit, after/before) for large lists.
When to use:
User wants to see recent API activity
Debugging API issues or checking request history
User says "show my logs", "what API calls were made?", "check recent requests"
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-logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Log ID after which to retrieve more (for forward pagination). Cannot be used with "before". | |
| limit | No | Number of logs to retrieve. Default: 20, Max: 100, Min: 1 | |
| before | No | Log ID before which to retrieve more (for backward pagination). Cannot be used with "after". |