Skip to main content
GET
Get daily consumption

Authorizations

Authorization
string
header
required

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.

Path Parameters

orgId
string
required

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

Query Parameters

start_date
string<date>

Inclusive start date (YYYY-MM-DD).

end_date
string<date>

Inclusive end date (YYYY-MM-DD).

group_by
enum<string>

Optional dimension to group by. Unknown values fall back to the ungrouped daily series.

Available options:
session,
user

Response

200 - application/json

Daily consumption.

daily
object[]

Per-day series (ungrouped requests).

items
object[]

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

total
object
start_date
string<date>
end_date
string<date>