Get daily consumption

以 Markdown 格式查看

Returns usage broken down by day over a date range.

Scope: analytics:read

身份验证

AuthorizationBearer

Your ara_ API key from Settings > Ara API. Keys are capability-scoped: run, plugins:read, secrets:read, secrets:write, sessions:read, knowledge:read, repos:read, repos:write, reviews:read, reviews:write, analytics:read, org:read, org:write, attachments:read, attachments:write, plugins:write, guardrails:read, guardrails:write.

路径参数

orgIdstring必需

Organization id or slug. Resolve it with GET /v3/self.

查询参数

start_datedate可选

Inclusive start date (YYYY-MM-DD).

end_datedate可选

Inclusive end date (YYYY-MM-DD).

group_byenum可选
Optional dimension to group by. Unknown values fall back to the ungrouped daily series.
允许的值:

响应

Daily consumption.
dailylist of objects可选

Per-day series (ungrouped requests).

itemslist of objects可选

Per-key totals. Present instead of daily when group_by is set.

totalobject可选
start_datedate可选
end_datedate可选