Python (SDK)
Usage
Get classify usage
Retrieve usage metrics for classify operations.
GET
Python (SDK)
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
Required range:
-9007199254740991 <= x <= 9007199254740991Example:
1704067200
End time (Unix seconds), exclusive
Required range:
-9007199254740991 <= x <= 9007199254740991Example:
1704153600
Width of each time bucket (1m, 1h, 1d)
Available options:
1m, 1h, 1d Example:
"1d"
Number of buckets to return
Required range:
1 <= x <= 1440Example:
30
Pagination cursor
Example:
"cursor_abc123"
Filter by external Subs (externalUserIds)
Example:
["user_123", "user_456"]Group by specified fields
Available options:
user_id, api_key_id, model Filter by model names