tokmeter_search
Search individual token usage records by model, provider, project, date range, or cost thresholds to find specific usage events or investigate high-cost entries.
Instructions
Flexible search across individual token usage records with filtering by model, provider, project, date range, and cost thresholds. Returns individual records sorted by timestamp. Use this to find specific usage events or investigate high-cost records. Individual records exist only while agents keep their transcripts, so the default (all) scope searches the last 14 days.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max records to return (default: 25) | |
| model | No | Filter by model name substring | |
| scope | No | Time scope: today, week (last 7d), month (calendar month), or all (default) | |
| since | No | Start date (YYYY-MM-DD) for custom date range | |
| until | No | End date (YYYY-MM-DD) for custom date range | |
| project | No | Filter by project name/path substring | |
| sort_by | No | Sort by cost (desc), tokens (desc), or time (desc). Default: time | |
| max_cost | No | Maximum cost per record (USD) | |
| min_cost | No | Minimum cost per record (USD) | |
| providers | No | Filter to specific providers (e.g. ['claude-code','cursor']) |