Skip to content

Anthropic

FieldDescription
admin_keyAn Anthropic Admin API key (prefix sk-ant-admin01-)

Set via the TUI Providers screen or the environment variable ANTHROPIC_ADMIN_KEY / ANTHROPIC_API_KEY.

Keys are listed across all workspaces in the organisation via /v1/organizations/api_keys. Each key includes name, workspace scope, created_at, created_by (user ID + name), and last_used_at.

Last used resolution: Anthropic’s API does not expose per-key last-used timestamps directly. KeyLedger fetches a 30-day usage report (/v1/organizations/usage_report/messages) and matches usage to keys by ID. Keys with no usage in the past 30 days show ‘>31 days ago’ as the Last Used value, since the usage window only covers 31 days of history — the exact last-used date beyond that window is not retrievable.

FieldDefaultDescription
resolve_user_namestrueFetch user names to display owner info
resolve_workspace_namestrueFetch workspace names for scope display
exclude_workspaces(empty)Comma-separated workspace names to skip
include_archived_workspacesfalseInclude keys from archived workspaces
Pattern IDRegexDescription
anthropic-api-keysk-ant-api03-[A-Za-z0-9_\-]{90,100}Standard API key
anthropic-admin-keysk-ant-admin01-[A-Za-z0-9_\-]{90,100}Admin API key