Get Ai Usage Details
GET
/api/v1/billing/ai-usage/details
Return detailed AI usage stats: top users, model breakdown, daily trend.
Authentication
Bearer token authentication. Pass your DayZero API token in the
Authorization header and the
target business UUID in
x-business-id.
Parameters
Query
-
scopestring -
Set to 'firm' to aggregate across all firm businesses.
Responses
422 Validation Error
Schema: HTTPValidationError
-
detailarray · ValidationError ValidationError -
5 fields
-
locarray · string | integer required -
msgstring required -
typestring required -
inputobject -
ctxobject
-