Tokens
Get per-agent token cost breakdown
Changed onget/api/tokens/by-agent
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- Auth
- API key in cookie __Host-mc-session
- or API key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
daysinteger
Time window in days
Response
Per-agent cost breakdown
Changes
- info
endpoint added
- info