Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

621 pages for anthropic_api_key.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Service Accounts Claude Developer Platform · in the page api/organization/workspaces/service_accounts …-H 'anthropic-version: 2026-10-21' \ -H "Authorization: Bearer $ANTHROPIC_API_KEY" ``` #### Response (200) ```json { "data": [ { "created_by_actor_id": "created_by_actor_id",… Create Service Account Workspace Member Claude Developer Platform · in the page api/organization/workspaces/service_accounts/add …-H 'anthropic-version: 2026-10-21' \ -H "Authorization: Bearer $ANTHROPIC_API_KEY" \ -d '{ "service_account_id": "service_account_id", "workspace_role": "workspace_admin"… List Service Account Workspace Members Claude Developer Platform · in the page api/organization/workspaces/service_accounts/list …-H 'anthropic-version: 2026-10-21' \ -H "Authorization: Bearer $ANTHROPIC_API_KEY" ``` ### Response (200) ```json { "data": [ { "created_by_actor_id": "created_by_actor_id",… Delete Service Account Workspace Member Claude Developer Platform · in the page api/organization/workspaces/service_accounts/remove …-H 'anthropic-version: 2026-10-21' \ -H "Authorization: Bearer $ANTHROPIC_API_KEY" ``` ### Response (200) ```json { "service_account_id": "service_account_id", "type": "service_account_wor… Get Service Account Workspace Member Claude Developer Platform · in the page api/organization/workspaces/service_accounts/retrieve …-H 'anthropic-version: 2026-10-21' \ -H "Authorization: Bearer $ANTHROPIC_API_KEY" ``` ### Response (200) ```json { "created_by_actor_id": "created_by_actor_id", "implicit": true, "servi… Update Service Account Workspace Member Claude Developer Platform · in the page api/organization/workspaces/service_accounts/update …-H 'anthropic-version: 2026-10-21' \ -H "Authorization: Bearer $ANTHROPIC_API_KEY" \ -d '{ "workspace_role": "workspace_admin" }' ``` ### Response (200) ```json { "crea… Update Workspace Claude Developer Platform · in the page api/organization/workspaces/update …-H 'anthropic-version: 2026-10-21' \ -H "Authorization: Bearer $ANTHROPIC_API_KEY" \ -d '{ "display_color": "#6C5BB9", "external_key_id": "ekey_01SDCCSbTxrXDpWc1phhtcfK",… service-tiers Claude Developer Platform · in the page api/service-tiers …RL curl https://api.anthropic.com/v1/messages \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "content-type: application/json" \ -d '{ "model": "… Skills Claude Developer Platform · in the page api/skills …-H 'anthropic-version: 2026-10-21' \ -H "Authorization: Bearer $ANTHROPIC_API_KEY" \ -F 'files[]=@/path/to/file' ``` #### Response (200) ```json { "id": "skill_01JAbcdefghijklmnopqrstuvw… Create Skill Claude Developer Platform · in the page api/skills/create …-H 'anthropic-version: 2026-10-21' \ -H "Authorization: Bearer $ANTHROPIC_API_KEY" \ -F 'files[]=@/path/to/file' ``` ### Response (200) ```json { "id": "skill_01JAbcdefghijklmnopqrstuvw"… Delete Skill Claude Developer Platform · in the page api/skills/delete …-H 'anthropic-version: 2026-10-21' \ -H "Authorization: Bearer $ANTHROPIC_API_KEY" ``` ### Response (200) ```json { "id": "skill_01JAbcdefghijklmnopqrstuvw", "type": "skill_deleted" } ```… List Skills Claude Developer Platform · in the page api/skills/list …-H 'anthropic-version: 2026-10-21' \ -H "Authorization: Bearer $ANTHROPIC_API_KEY" ``` ### Response (200) ```json { "data": [ { "id": "skill_01JAbcdefghijklmnopqrstuvw", "cre… Get Skill Claude Developer Platform · in the page api/skills/retrieve …-H 'anthropic-version: 2026-10-21' \ -H "Authorization: Bearer $ANTHROPIC_API_KEY" ``` ### Response (200) ```json { "id": "skill_01JAbcdefghijklmnopqrstuvw", "created_at": "2024-10-30T23:5… Versions Claude Developer Platform · in the page api/skills/versions …-H 'anthropic-version: 2026-10-21' \ -H "Authorization: Bearer $ANTHROPIC_API_KEY" \ -F 'files[]=@/path/to/file' ``` #### Response (200) ```json { "id": "id", "created_at": "2024-10-30… Create Skill Version Claude Developer Platform · in the page api/skills/versions/create …-H 'anthropic-version: 2026-10-21' \ -H "Authorization: Bearer $ANTHROPIC_API_KEY" \ -F 'files[]=@/path/to/file' ``` ### Response (200) ```json { "id": "id", "created_at": "2024-10-30T… Delete Skill Version Claude Developer Platform · in the page api/skills/versions/delete …-H 'anthropic-version: 2026-10-21' \ -H "Authorization: Bearer $ANTHROPIC_API_KEY" ``` ### Response (200) ```json { "id": "id", "type": "skill_version_deleted" } ``` List Skill Versions Claude Developer Platform · in the page api/skills/versions/list …-H 'anthropic-version: 2026-10-21' \ -H "Authorization: Bearer $ANTHROPIC_API_KEY" ``` ### Response (200) ```json { "data": [ { "id": "id", "created_at": "2024-10-30T23:58:27… Get Skill Version Claude Developer Platform · in the page api/skills/versions/retrieve …-H 'anthropic-version: 2026-10-21' \ -H "Authorization: Bearer $ANTHROPIC_API_KEY" ``` ### Response (200) ```json { "id": "id", "created_at": "2024-10-30T23:58:27.427722Z", "description"… User Profiles Claude Developer Platform · in the page api/user_profiles …-H 'anthropic-version: 2026-10-21' \ -H "Authorization: Bearer $ANTHROPIC_API_KEY" \ -d '{ "external_user_details": { "account_status": "active", "country":… Action URLs Claude Developer Platform · in the page api/user_profiles/action_urls …-H 'anthropic-version: 2026-10-21' \ -H "Authorization: Bearer $ANTHROPIC_API_KEY" \ -d '{ "action": { "type": "enroll_end_user" } }' ``` #### Respon… Create Action URL Claude Developer Platform · in the page api/user_profiles/action_urls/create …-H 'anthropic-version: 2026-10-21' \ -H "Authorization: Bearer $ANTHROPIC_API_KEY" \ -d '{ "action": { "type": "enroll_end_user" } }' ``` ### Respons… Create User Profile Claude Developer Platform · in the page api/user_profiles/create …-H 'anthropic-version: 2026-10-21' \ -H "Authorization: Bearer $ANTHROPIC_API_KEY" \ -d '{ "external_user_details": { "account_status": "active", "country":… Delete User Profile Claude Developer Platform · in the page api/user_profiles/delete …-H 'anthropic-version: 2026-10-21' \ -H "Authorization: Bearer $ANTHROPIC_API_KEY" ``` ### Response (200) ```json { "id": "uprof_011CZkZCu8hGbp5mYRQgUmz9", "type": "user_profile_deleted" }… List User Profiles Claude Developer Platform · in the page api/user_profiles/list …-H 'anthropic-version: 2026-10-21' \ -H "Authorization: Bearer $ANTHROPIC_API_KEY" ``` ### Response (200) ```json { "data": [ { "id": "uprof_011CZkZCu8hGbp5mYRQgUmz9", "acces… Get User Profile Claude Developer Platform · in the page api/user_profiles/retrieve …-H 'anthropic-version: 2026-10-21' \ -H "Authorization: Bearer $ANTHROPIC_API_KEY" ``` ### Response (200) ```json { "id": "uprof_011CZkZCu8hGbp5mYRQgUmz9", "access_type": "application",… Update User Profile Claude Developer Platform · in the page api/user_profiles/update …-H 'anthropic-version: 2026-10-21' \ -H "Authorization: Bearer $ANTHROPIC_API_KEY" \ -d '{ "external_user_details": { "account_status": "suspended" }… Message Batches API Claude Developer Platform · in the page build-with-claude/batch-processing …l https://api.anthropic.com/v1/messages/batches \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "content-type: application/json" \ -d '{ "requests"… cache-diagnostics Claude Developer Platform · in the page build-with-claude/cache-diagnostics …with-body https://api.anthropic.com/v1/messages \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "content-type: application/json" \ -d '{ "model": "… citations Claude Developer Platform · in the page build-with-claude/citations …sages \ -H "content-type: application/json" \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -d '{ "model": "claude-opus-5-5", "max_tokens": 1024… claude-in-microsoft-foundry Claude Developer Platform · in the page build-with-claude/claude-in-microsoft-foundry …content": "Hello!"} ] }' ``` ```bash CLI # ant reads ANTHROPIC_API_KEY export ANTHROPIC_API_KEY="YOUR_AZURE_API_KEY" ant messages create \ --base-url https://example-resource… anthropic-managed Claude Developer Platform · in the page build-with-claude/claude-models-on-google-cloud/anthropic-managed …le Cloud (Anthropic managed) ignores these environment variables: * `ANTHROPIC_API_KEY` * `ANTHROPIC_AUTH_TOKEN` * `ANTHROPIC_BASE_URL` ### Credential precedence The SDK client for Claude Models on… claude-platform-on-aws Claude Developer Platform · in the page build-with-claude/claude-platform-on-aws …```bash CLI # Replace us-west-2 with your AWS region # ant reads ANTHROPIC_API_KEY. Generate a key in the AWS Console # (see API key authentication). export ANTHROPIC_API_KEY="YOUR_AWS_API_KE… sent_count = len(messages sent in the compaction request) Claude Developer Platform · in the page build-with-claude/compaction …RL curl https://api.anthropic.com/v1/messages \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "anthropic-beta: compact-2026-01-12" \ -H "content-type:… compaction-on-demand Claude Developer Platform · in the page build-with-claude/compaction-on-demand …s. curl https://api.anthropic.com/v1/messages \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "anthropic-beta: compact-2026-09-04" \ -H "content-type:… compaction-threshold Claude Developer Platform · in the page build-with-claude/compaction-threshold …RL curl https://api.anthropic.com/v1/messages \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "anthropic-beta: compact-2026-01-12" \ -H "content-type:… context-editing Claude Developer Platform · in the page build-with-claude/context-editing …RL curl https://api.anthropic.com/v1/messages \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "content-type: application/json" \ -H "anthropic-beta: co… effort Claude Developer Platform · in the page build-with-claude/effort …RL curl https://api.anthropic.com/v1/messages \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "content-type: application/json" \ -d '{ "model": "… extended-thinking Claude Developer Platform · in the page build-with-claude/extended-thinking …RL curl https://api.anthropic.com/v1/messages \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "content-type: application/json" \ -d '{ "model": "… fast-mode Claude Developer Platform · in the page build-with-claude/fast-mode …RL curl https://api.anthropic.com/v1/messages \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "content-type: application/json" \ -d '{ "model": "… files Claude Developer Platform · in the page build-with-claude/files …curl -X POST https://api.anthropic.com/v1/files \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -F "file=@/path/to/document.pdf" ``` ```bash CLI ant file… handling-stop-reasons Claude Developer Platform · in the page build-with-claude/handling-stop-reasons …RL curl https://api.anthropic.com/v1/messages \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "content-type: application/json" \ -d '{ "model": "… mid-conversation-effort-example Claude Developer Platform · in the page build-with-claude/mid-conversation-effort-example …-body -sS https://api.anthropic.com/v1/messages \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "content-type: application/json" \ -d '{ "model": "… mid-conversation-system-messages Claude Developer Platform · in the page build-with-claude/mid-conversation-system-messages …sages \ -H "content-type: application/json" \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "anthropic-beta: inline-tools-2026-09-15" \ -d '{ "… multilingual-support Claude Developer Platform · in the page build-with-claude/multilingual-support …sages \ -H "content-type: application/json" \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -d '{ "model": "claude-opus-5-5", "max_tokens": 1024… pdf-support Claude Developer Platform · in the page build-with-claude/pdf-support …sages \ -H "content-type: application/json" \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -d '{ "model": "claude-opus-5-5", "max_tokens": 1024… preserved-thinking Claude Developer Platform · in the page build-with-claude/preserved-thinking …RL curl https://api.anthropic.com/v1/messages \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "anthropic-beta: thinking-binding-controls-2026-08-01" \… Request 2 caches its request content (not the response) Claude Developer Platform · in the page build-with-claude/prompt-caching …sages \ -H "content-type: application/json" \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -d '{ "model": "claude-opus-5-5", "max_tokens": 1024… claude-prompting-best-practices Claude Developer Platform · in the page build-with-claude/prompt-engineering/claude-prompting-best-practices …sages \ -H "content-type: application/json" \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -d '{ "model": "claude-opus-5-5", "max_tokens": 1024… refusals-and-fallback Claude Developer Platform · in the page build-with-claude/refusals-and-fallback …-body -sS https://api.anthropic.com/v1/messages \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "anthropic-beta: server-side-fallback-2026-07-01" \ -H "c… search-results Claude Developer Platform · in the page build-with-claude/search-results …RL curl https://api.anthropic.com/v1/messages \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "content-type: application/json" \ -d '{ "model": "…
Feedback