Anthropic
Credential
Section titled “Credential”| Field | Description |
|---|---|
admin_key | An Anthropic Admin API key (prefix sk-ant-admin01-) |
Set via the TUI Providers screen or the environment variable ANTHROPIC_ADMIN_KEY / ANTHROPIC_API_KEY.
What is listed
Section titled “What is listed”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.
Configuration fields
Section titled “Configuration fields”| Field | Default | Description |
|---|---|---|
resolve_user_names | true | Fetch user names to display owner info |
resolve_workspace_names | true | Fetch workspace names for scope display |
exclude_workspaces | (empty) | Comma-separated workspace names to skip |
include_archived_workspaces | false | Include keys from archived workspaces |
Key patterns
Section titled “Key patterns”| Pattern ID | Regex | Description |
|---|---|---|
anthropic-api-key | sk-ant-api03-[A-Za-z0-9_\-]{90,100} | Standard API key |
anthropic-admin-key | sk-ant-admin01-[A-Za-z0-9_\-]{90,100} | Admin API key |