CH·02CLI reference

deeprelay requests

Browse and export your request log

Browse and export your request log

Synopsis

Browse and export the request log: one row for every inference request your organization made in the last 90 days, across chat completions, messages, responses, embeddings, images and video. Each row records when the request ran, which surface and model it used, which API key made it, how it ended, the tokens it used, what it cost and how long it took. Prompt and completion content is never stored here.

Admission refusals are logged too. A request stopped before it ran (a key's budget was reached, the model is not on the key's allowlist, a spending limit or quota ran out) appears with status rejected, the error code that says why, and a cost of $0.00 — you were not charged.

Who sees what. An admin, or a full_access key, sees every row in the organization. A member, or a standard key, sees only rows made with keys they own: a key sees its own requests, and a signed-in member sees requests made with the keys they created. Rows carry the key's id, name and display prefix — never the key itself.

Rows older than 90 days leave this view but are kept for billing.

deeprelay requests [command]

Examples

# The latest requests
deeprelay requests list

# Look up the request behind a response id or an X-Request-Id
deeprelay requests get chatcmpl-8f2c41d0a1b2

# Everything one key did yesterday, as CSV
deeprelay requests export --key 11111111-2222-3333-4444-555555555555 \
  --from 2026-10-08 --to 2026-10-09 --out requests.csv

Options

  -h, --help   help for requests

Options inherited from parent commands

      --api-base string   API base URL (override with DEEPRELAY_API_BASE env) (default "https://api.deeprelay.ai/v1")
      --debug             Enable debug logging to stderr
      --no-preflight      Skip the plan/credit check before inference requests (override with DEEPRELAY_NO_PREFLIGHT env)
  -o, --output string     Output format: table|json (default table on TTY, json otherwise) (default "table")

SEE ALSO

← The deeprelay CLI