CH·02CLI reference

deeprelay api-keys get

Show one API key's scopes, limits and budget use

Show one API key's scopes, limits and budget use

Synopsis

Shows one API key by id: name, display prefix, scopes, monthly budget with this month's spend and reset date, model allowlist (stale models marked), rate limit and burst, expiry, created and last-used times. The key itself is never shown. An unknown id, or a key you cannot see, prints API key not found and exits 1.

Examples

deeprelay api-keys get 11111111-2222-3333-4444-555555555555
deeprelay api-keys get 11111111-2222-3333-4444-555555555555 -o json
deeprelay api-keys get <key-id> [flags]

Options

  -h, --help   help for get

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