Get Api Usage
Changed onSummary + daily / per-key / per-operation aggregates for the caller's team.
Role-scoped: admins/owners see every row in the team; members see only rows attributable to their own API keys plus their own MCP-origin rows. Max range 90 days; defaults to the last 7 days when unspecified.
Request
- Base URLhttps://api.moda.app/v1
- URLhttps://api.moda.app/v1/usage
- AuthHTTP bearer
Query parameters
Optional API-key UUID filter. Narrows all aggregates to the given key.
ISO8601 UTC lower bound (inclusive). Defaults to to - 7d.
ISO8601 UTC upper bound (exclusive). Defaults to now.
Headers
Calendar-dated API version pin. New integrations should pin 2026-05-01 to opt into the newest response shapes. For back-compat the server also accepts requests with no header and resolves them to the current default (today: 2026-04-12); that default advances on each sunset date. Any unsupported value returns 400 unsupported_version.
Response
Successful Response
Changes
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status
- info