← All docs

GET /v1/activity

Per-request ledger with four cache meters and API-key CSV/JSON export.

One row per request with input / cache-read / cache-write / output tokens, cost, latency, and status. Prompt bodies are not stored. Raw APIRequest rows expire after 24 hours; this ledger does not.

Auth is the same API key (or login session) you use for inference. This is not an account-management endpoint, so API keys work. An API key only sees rows it created. A session sees the personal account (orgId null) as a whole.

curl -H "Authorization: Bearer $EVERYAIS_API_KEY" \
  "https://api.everyais.com/v1/activity?status=FAILED&limit=50"

curl -H "Authorization: Bearer $EVERYAIS_API_KEY" \
  "https://api.everyais.com/v1/activity/export?format=csv"
QueryMeaning
since / untilunix seconds
modelcanonical slug or public alias
statusCOMPLETED, FAILED, or REFUNDED
limitlist default 50, max 200
cursorlist pagination
formatexport only. csv or json (default)

Export returns at most 50000 newest rows. When truncated, JSON sets truncated: true and both formats set x-everyais-truncated: true. Failed requests are recorded at cost 0.