Anthropic · Authentication Profile

Anthropic Authentication

Authentication

Anthropic secures its APIs with apiKey across 1 declared security scheme, as derived from its OpenAPI definitions.

Artificial IntelligenceClaudeFoundation ModelsLarge Language ModelsMachine-LearningMCPAgents
Methods: apiKey Schemes: 1 OAuth flows: API key in: header

Security Schemes

AdminApiKeyAuth apiKey
· in: header (x-api-key)

Source

Authentication Profile

Raw ↑
generated: '2026-06-20'
method: searched
docs: https://docs.anthropic.com/en/manage-claude/authentication
source: openapi/anthropic-admin-api-openapi.yml, openapi/anthropic-claude-code-analytics-api-openapi.yml,
  openapi/anthropic-files-api-openapi.yml, openapi/anthropic-managed-agents-api-openapi.yml,
  openapi/anthropic-message-batches-api-openapi.yml, openapi/anthropic-messages-api-openapi.yml,
  openapi/anthropic-models-api-openapi.yml, openapi/anthropic-prompts-api-openapi.yml, openapi/anthropic-skills-api-openapi.yml,
  openapi/anthropic-token-counting-api-openapi.yml, openapi/anthropic-usage-cost-api-openapi.yml
summary:
  types:
  - apiKey
  api_key_in:
  - header
  additional_mechanisms:
  - name: Admin API key
    description: Privileged key (sk-ant-admin...) required for the Admin, Usage/Cost,
      and Claude Code Analytics APIs, sent as x-api-key.
  - name: Workload Identity Federation (WIF)
    description: GA. Exchange short-lived OIDC tokens from an external IdP (AWS IAM,
      GCP, GitHub Actions, Kubernetes, Microsoft Entra ID, Okta, SPIFFE) for API access
      instead of long-lived keys; SDKs handle token exchange and refresh.
    docs: https://docs.anthropic.com/en/manage-claude/workload-identity-federation
  - name: AWS SigV4
    description: On Claude Platform on AWS, requests authenticate with AWS credentials
      and SigV4 signatures via native AWS endpoints.
  - name: MCP OAuth
    description: Remote MCP servers and Managed Agents vault credentials use OAuth 2.0
      (mcp_oauth), separate from the REST API key auth.
  key_expiration: API keys and Admin API keys support optional expiration (expires_at)
    configurable in the Claude Console.
schemes:
- name: AdminApiKeyAuth
  type: apiKey
  in: header
  parameter: x-api-key
  description: Your Admin API key for authentication (starts with sk-ant-admin...).
  sources:
  - openapi/anthropic-admin-api-openapi.yml
  - openapi/anthropic-claude-code-analytics-api-openapi.yml
  - openapi/anthropic-files-api-openapi.yml
  - openapi/anthropic-managed-agents-api-openapi.yml
  - openapi/anthropic-message-batches-api-openapi.yml
  - openapi/anthropic-messages-api-openapi.yml
  - openapi/anthropic-models-api-openapi.yml
  - openapi/anthropic-prompts-api-openapi.yml
  - openapi/anthropic-skills-api-openapi.yml
  - openapi/anthropic-token-counting-api-openapi.yml
  - openapi/anthropic-usage-cost-api-openapi.yml