Get responses usage
Retrieve usage metrics for agent responses, aggregated from the Response table.
Documentation Index
Fetch the complete documentation index at: https://docs.mka1.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.
Headers
Optional external end-user identifier forwarded by the API gateway.
Query Parameters
Start time (Unix seconds), inclusive
-9007199254740991 <= x <= 90071992547409911704067200
End time (Unix seconds), exclusive
-9007199254740991 <= x <= 90071992547409911704153600
Width of each time bucket (1m, 1h, 1d)
1m, 1h, 1d "1d"
Number of buckets to return
1 <= x <= 144030
Pagination cursor
"cursor_abc123"
Filter by external Subs (externalUserIds)
["user_123", "user_456"]Group by specified fields
user_id, api_key_id, model, background Filter by model names
Filter by background status (true=background only, false=foreground only)