query_requests
Retrieve individual LLM requests with cost, latency, model, and status details. Filter by model, provider, user, or error status to analyze specific calls.
Instructions
List individual LLM requests with cost, latency, model, status, and error message. Use when the user wants to see specific calls — recent ones, errors only, particular model, particular user, etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows to return. Default 20, max 100. | |
| model | No | Filter to a specific model substring. | |
| since | No | ISO 8601 timestamp lower bound. Only return requests created at or after this time. | |
| status | No | Filter by overall status — success (2xx) or error (4xx/5xx). | |
| userId | No | Filter to a specific end-user (the value the customer attaches via x-spanlens-user). | |
| provider | No | Filter to a specific provider. |