UseDocumentation Index
Fetch the complete documentation index at: https://docs.wafer.ai/llms.txt
Use this file to discover all available pages before exploring further.
GET /v1/usage/me to query usage attributed to the user that owns the API key. The endpoint returns daily buckets, per-model token totals, request counts, and estimated cost.
Run
Parameters
period(optional):1d,7d, or30dstart_atandend_at(optional): explicit ISO timestamps instead ofperiodendpoint(optional): restrict usage to one endpoint, such aspass.wafer.aipass_account_id(optional): restrict usage to one pass account UUID
period or start_at plus end_at. If no endpoint is provided, usage is aggregated across endpoints visible to the key’s owning user.
Response Shape
Key Fields
days: token usage buckets over the requested periodmodels: per-model token totals, cache-read tokens, request counts, and estimated costtotal_input_tokens,total_output_tokens: token totals across all returned modelstotal_requests: total requests attributed to the user in the windowtotal_estimated_cost_cents: estimated cost in cents for the returned usage
Errors
401: missing or invalid API key400: invalidpass_account_idor invalid time window429: rate limit exceeded