Get Ai Usage Details

GET /api/v1/billing/ai-usage/details

Return detailed AI usage stats: top users, model breakdown, daily trend.

Operation ID: get_ai_usage_details_api_v1_billing_ai_usage_details_get · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Query

scope string

Set to 'firm' to aggregate across all firm businesses.

Responses

200 Successful Response

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object