Authorizations
API key for authentication
Path Parameters
Body
application/json
Start date in RFC3339 format (e.g., 2025-01-01T00:00:00Z). Required. The date range cannot exceed 100 days from start to end.
Example:
"2025-01-01T00:00:00Z"
End date in RFC3339 format (e.g., 2025-01-31T23:59:59Z). Optional. Defaults to 24 hours from start if not specified. Must be after start date. The date range cannot exceed 100 days.
Example:
"2025-01-31T23:59:59Z"
Fields to group by: user_id, model_requested, or extra.<field_name>
Time resolution for aggregation
Available options:
hour, day, month Response
200 - application/json
Successfully retrieved usage data
Map of period (string) to usage entry