List Usage Records
Usage
List Usage Records
Get usage records with optional filters
GET
List Usage Records
List Usage Records
Returns token usage records with optional filtering by work order, run, model, and date range.Request
Filter by work order ID
Filter by run ID
Filter by model name (e.g.,
claude-sonnet-4-20250514)Start date filter (ISO 8601)
End date filter (ISO 8601)
Maximum number of records to return (1-1000)
Number of records to skip for pagination
Response
Indicates if the request was successful
Array of usage records
Example Response
Use Cases
- Track token usage per work order
- Analyze model costs over time
- Audit execution history
- Generate billing reports