or_activity
Track OpenRouter API usage grouped by endpoint for the last 30 UTC days. Filter by date, API key hash, or user ID to analyze consumption patterns.
Instructions
Show OpenRouter usage grouped by endpoint for the last 30 UTC days. Optional filters: date (YYYY-MM-DD), api_key_hash, user_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Single UTC date in YYYY-MM-DD | |
| limit | No | Max rows in output (default 50) | |
| user_id | No | Org member user_id (org accounts only) | |
| aggregate | No | Aggregation: none=raw rows sorted by usage; by_model/by_day/by_provider/by_key=grouped totals | |
| api_key_hash | No | Filter by inference key hash |