At a glance
- Availability: Experimental (how to enable).
- Auth: API key.
- Connection: The key from
ANTHROPIC_ADMIN_API_KEYis sent as thex-api-keyheader. - Docs: https://docs.anthropic.com/en/api/admin-api
Credentials
Set these per environment. See Connect an integration.| Variable | Required | Description |
|---|---|---|
ANTHROPIC_ADMIN_API_KEY | Yes | Admin API key for Anthropic organization management (starts with sk-ant-admin) Docs. |
Setup
- Access Anthropic Console: Go to https://console.anthropic.com and sign in to your organization account
- Navigate to Organization Settings: Click on your organization name in the top-right corner, then select ‘Organization Settings’
- Go to API Keys: In the left sidebar, click on ‘API Keys’ under the Organization section
- Create Admin API Key: Click ‘Create API Key’ and select ‘Admin’ as the key type. Admin keys have full access to organization management features including workspaces, usage data, members, and API key management
- Name Your Key: Give your key a descriptive name (e.g., ‘Veryfront Admin Integration’) to identify its purpose
- Copy and Secure Your Key: Copy the API key immediately after creation. This is the only time you’ll be able to see the full key. Store it securely - you’ll need it for the ANTHROPIC_ADMIN_API_KEY environment variable
- Set Environment Variable: Add the API key to your .env file: ANTHROPIC_ADMIN_API_KEY=sk-ant-admin-***
- Verify Access: Test the integration by calling the get-organization tool to confirm your admin key has the correct permissions
- Admin API keys have full access to organization management features. Keep them secure and never commit them to version control
- The Admin API authenticates with the x-api-key header and requires the anthropic-version header on every request (tools default it to 2023-06-01)
- Admin API keys are only available on organization accounts; individual accounts cannot use the Admin API
- You can revoke API keys at any time from the Anthropic Console
- Rate limits apply to all API endpoints. See https://docs.anthropic.com/en/api/rate-limits for details
Tools
| Tool | Access | Description |
|---|---|---|
| list-workspaces | Read | List all workspaces in the organization |
| get-usage | Read | Get API usage statistics for a date range |
| list-api-keys | Read | List API keys for a workspace or organization |
| list-members | Read | List all members in the organization |
| get-organization | Read | Get organization details and settings |