Models

View as Markdown

Model rollup for the date range (requests, cost USD, token totals).

Success data: { "period", "models": [...] }

Headers

AuthorizationstringOptional

Optional. Bearer JWT, Virtual Key, or PAT. Server also accepts Cookie alephant_token; not modeled as a header here.

X-Workspace-IdstringOptional

Optional in the spec; required for authenticated analytics. Omit for unauthenticated GET /v1/analytics/health.

Query parameters

dateFromstringRequired

Inclusive start YYYY-MM-DD.

dateTostringRequired

Inclusive end YYYY-MM-DD.

Response

codeinteger
messagestring
dataany