Get usage history

以 Markdown 格式查看
Get usage history by month for the past N months. Owner, admin, viewer.

请求头

Authorizationstring必需

Bearer {access_token}

X-Workspace-Idstring必需
Workspace UUID

查询参数

monthsinteger可选默认为 12

Number of months (1-24)

响应

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

monthslist of objects

错误

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