v1

Get Session Analytics

Measured tokens and spend over time, plus estimated content cost.

Token lanes use the request's saved rates. Content attribution apportions input/cache spend by text size, counting carried context on every request. It is an estimate, not a tool call fee. Only the latest 200 retained request bodies are inspected; missing or unsupported context remains explicitly unattributed. No raw prompts or tool results are returned. Session tokens may read only their own session's analytics.

get/v1/sessions/{id}/analytics

Request

  • Base URL
    https://api.ellipsis.dev
  • URL
    https://api.ellipsis.dev/v1/sessions/{id}/analytics
  • Auth
    HTTP bearer

Path parameters

idstring required

Headers

user-agentstring nullable

Response

Successful Response

attributed_requestsinteger required
attribution_request_limitinteger required

Maximum recent stored request bodies inspected. Older, missing, multimodal, or incomplete context is left unattributed.

bucket_secondsinteger required
chargedinteger required
historical_entriesinteger required

Carried-forward billing totals without per-request measurements. Included in spend, excluded from the timeline and request counts.

pending_requestsinteger required
requestsinteger required
unresolved_requestsinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.