anthropic_admin
How to get these credentialsAnthropic Admin API credentials. Provide api_key (an Admin API key, sk-ant-admin01-..., or an organization-scoped personal or service-account key) or oauth_token (an OAuth access token with the org:admin scope). Required: every object in this catalog reads organization data.
CREATE SECRET anthropic_admin (
TYPE anthropic_admin,
api_key '<ANTHROPIC_ADMIN_API_KEY>', -- secret
oauth_token '<OAUTH_TOKEN>' -- secret
);
| Key | Type | Required | Description |
|---|---|---|---|
| api_key secret | VARCHAR | β | An Admin API key (sk-ant-admin01-...) from Console > Settings > Admin keys, or an organization-scoped personal or service-account key. Set this or oauth_token. |
| oauth_token secret | VARCHAR | β | An OAuth access token carrying the org:admin scope. Used only when api_key is not set. |
The worker doesn't mark which keys are required.
Needed by all_organizationall_usersall_invitesall_workspacesall_workspace_membersall_api_keysall_rate_limitsall_workspace_rate_limitsmessages_usagecost_reportclaude_code_usageuser_by_id and 2 more functions