Get Ai Usage

GET/api/v1/billing/ai-usage

Return current daily and monthly AI request counts with plan limits.

Operation ID: get_ai_usage_api_v1_billing_ai_usage_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.

Responses

200Successful Response

successboolean
messagestring
codestring
dataGetAiUsageResponse

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject