Get usage history

View as Markdown
Get usage history by month for the past N months. Owner, admin, viewer.

Headers

AuthorizationstringRequired

Bearer {access_token}

X-Workspace-IdstringRequired
Workspace UUID

Query parameters

monthsintegerOptionalDefaults to 12

Number of months (1-24)

Response

Wrapped as {“data”: UsageHistoryResponse}. Each month: changePercent is JSON null when not computable; changeReason optional (computed|baseline_zero|no_prev_window).

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error