C

Claude API

REST discovered

Details
URL
https://api.anthropic.com
Docs
https://platform.claude.com/docs/en/api/overview
Authentication
Claude API key api_key discovered Get key ↗
x-api-key: <credential>

In the Claude Console, open Settings → API keys and create a key. Use workspaces to scope keys by project or environment. Send it in the x-api-key header for direct HTTP requests, or set ANTHROPIC_API_KEY for SDKs and supported CLIs.

Claude Workload Identity Federation access token oauth2 discovered Set up OAuth ↗
Authorization: Bearer <credential>

Configure Workload Identity Federation in the Claude Console by creating a service account, federation issuer, and federation rule, then point your SDK or workload at the rule. Your workload exchanges its IdP-issued JWT at POST /v1/oauth/token for a short-lived Claude API access token and sends that token as Authorization: Bearer <token>. This is intended for production workloads and CI/CD rather than manual use.