CH·02CLI reference

deeprelay api-keys list

List your active API keys

List your active API keys

Synopsis

Lists your active API keys. Revoked keys are not shown. Admins see every key in the organization; members see the keys they created.

The table shows ID NAME PREFIX SCOPES BUDGET USED ALLOWED RPS EXPIRES CREATED:

  • PREFIX is the display form … — enough to recognise a key, never the key itself
  • SCOPES is full_access, standard, read_only or granular, with +keys:manage when the key can manage keys
  • BUDGET and USED are the monthly budget and this month's spend against it; both are empty for a key with no budget
  • ALLOWED is All models, or the allowlist with models that have left the catalog marked (stale)
  • EXPIRES is a date, or Never

-o json prints the API objects. They never contain the key itself.

Examples

deeprelay api-keys list

# Keys with a budget, as JSON
deeprelay api-keys list -o json | jq '.[] | select(.budget_cents != null)'
deeprelay api-keys list [flags]

Options

  -h, --help   help for list

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

  • deeprelay api-keys - Create and manage API keys with budgets, model allowlists and rate limits

← The deeprelay CLI