Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

1,267 pages for auth.

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

context-windows Claude Developer Platform · in the page build-with-claude/context-windows …e. * The API uses cryptographic signatures to verify thinking block authenticity. If you modify a thinking block, the API returns an error. <Note> Most current Claude models support [interleaved… This will automatically use the environment variable VOYAGE_API_KEY. Claude Developer Platform · in the page build-with-claude/embeddings …odb.com/v1/embeddings \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $VOYAGE_API_KEY" \ -d '{ "input": ["Sample text 1", "Sample text 2"], "model": "voyage-4", "in… message-threads Claude Developer Platform · in the page build-with-claude/message-threads …`, `tool_choice`, `thinking`, `mcp_servers` (apart from each server’s authorization token), `context_management`, `output_config`, the `skills` in `container`, the top-level `cache_control`, and the s… mid-conversation-effort-example Claude Developer Platform · in the page build-with-claude/mid-conversation-effort-example …tool’s description states that while the mode is on, the model should author and run a workflow for every substantive task without asking first. <Note> This example uses mid-conversation system mes… mid-conversation-system-messages Claude Developer Platform · in the page build-with-claude/mid-conversation-system-messages …//mcp.example.com/calendar", "name": "calendar", "authorization_token": "YOUR_TOKEN" } ], "tools": [ { "name": "get_weather", "descr… preserved-thinking Claude Developer Platform · in the page build-with-claude/preserved-thinking …d otherwise." } ``` The model treats this message with system-prompt authority, and everything before it stays unchanged. In a tool loop, place the message after the `tool_result` user message, never… claude-prompting-best-practices Claude Developer Platform · in the page build-with-claude/prompt-engineering/claude-prompting-best-practices …s performance. ``` Or: ```text wrap Make these edits to the authentication flow. ``` </Accordion> To make Claude more proactive about taking action by default, you can add this to your sy… Delivering work Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-fable-5-1 …partial background is exactly what makes an out-of-date answer sound authoritative, so familiarity is not a reason to skip the search. ``` ## Reduce safeguard false positives Claude Fable 5.1’s saf… prompting-claude-opus-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-opus-5 …re often longer than on prior models. If your product includes Claude-authored documents, add explicit length calibration: ```text wrap Match the length of written documents to what the task needs: c… search-results Claude Developer Platform · in the page build-with-claude/search-results …s.company.com/api-reference", "title": "API Reference - Authentication", "content": [ { "type": "text", "text": "All API… skills-guide Claude Developer Platform · in the page build-with-claude/skills-guide …h the Claude API in under 10 minutes. </Card> <Card title="Skill authoring best practices" icon="hammer" href="https://platform.claude.com/docs/en/agents-and-tools/agent-skills/best-practices">… structured-outputs Claude Developer Platform · in the page build-with-claude/structured-outputs …class Book { public String title; public Person author; @JsonPropertyDescription("The year in which the book was first published.") public int publicationYea… thinking Claude Developer Platform · in the page build-with-claude/thinking …:"Confirmed the retry path never refreshes the expired token. Editing auth.py to add the refresh call."}} event: content_block_delta data: {"type":"content_block_delta","index":1,"delta":{"type":"sig… thinking-steering-and-cost Claude Developer Platform · in the page build-with-claude/thinking-steering-and-cost …/en/build-with-claude/effort#effort-levels) on the effort page is the authority for which levels each model supports. ### System prompt guidance System prompt guidance shifts Claude’s thinking thres… thinking-troubleshooting Claude Developer Platform · in the page build-with-claude/thinking-troubleshooting …etention#model-specific-data-retention-requirements) unless expressly authorized by Anthropic. ## A 400 error says `"thinking.type.enabled"` is not supported The request fails with a 400 error whose… working-with-messages Claude Developer Platform · in the page build-with-claude/working-with-messages …essages#limitations). A mid-conversation system message has the same authority as the top-level `system` field, but because it is appended to the end of the message history, it does not invalidate an… apply Claude Developer Platform · in the page cli-sdks-libraries/cli/apply …ates the same resources instead of creating new ones. To install and authenticate the CLI, see the [CLI quickstart](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/quickstart). `ant apply`… quickstart Claude Developer Platform · in the page cli-sdks-libraries/cli/quickstart …raries/cli/quickstart description: Install the ant command-line tool, authenticate, and send your first request to the Claude API. --- The `ant` CLI provides access to the Claude API from your termin… scripting Claude Developer Platform · in the page cli-sdks-libraries/cli/scripting …t CLI commands in scripts, operate on resources from Claude Code, and authenticate curl calls with CLI credentials. --- This page covers task-oriented workflows built on the `ant` CLI. For the underl… sessions-connect Claude Developer Platform · in the page cli-sdks-libraries/cli/sessions-connect …version 1.32.0 or later of the CLI. To install or update the CLI and authenticate, see the [CLI quickstart](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/quickstart). ## Connect to a se… using Claude Developer Platform · in the page cli-sdks-libraries/cli/using …and output mechanics that apply across every endpoint. To install and authenticate, see the [Quickstart](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/quickstart). To chain commands and v… apple-foundation-models Claude Developer Platform · in the page cli-sdks-libraries/libraries/apple-foundation-models …iguration types that reach it (`ClaudeLanguageModel`, `ClaudeModel`, `AuthMode`, `ClaudeServerTool`). For direct access to the Messages API in another language, see the [Client SDKs](https://platform.… openai-sdk Claude Developer Platform · in the page cli-sdks-libraries/libraries/openai-sdk …ervice account key](https://platform.claude.com/docs/en/manage-claude/authentication#key-types) that isn’t scoped to a workspace, also send the `anthropic-workspace-id` header on every request (for ex… csharp Claude Developer Platform · in the page cli-sdks-libraries/sdks/csharp …k)) { Console.WriteLine(textBlock.Text); } } ``` For authentication options including Workload Identity Federation, see [Authentication](https://platform.claude.com/docs/en/manage-cla… go Claude Developer Platform · in the page cli-sdks-libraries/sdks/go …pic.TextBlock); ok { fmt.Println(textBlock.Text) } } } ``` For authentication options including Workload Identity Federation, see [Authentication](https://platform.claude.com/docs/en/manage-cla… java Claude Developer Platform · in the page cli-sdks-libraries/sdks/java …ssages.Model; // Configures using the `anthropic.apiKey`, `anthropic.authToken`, and `anthropic.baseUrl` system properties // Or configures using the `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, and… php Claude Developer Platform · in the page cli-sdks-libraries/sdks/php …k): bool => $block->type === 'text'); echo $textBlock->text; ``` For authentication options including Workload Identity Federation, see [Authentication](https://platform.claude.com/docs/en/manage-cla… For Amazon Bedrock support Claude Developer Platform · in the page cli-sdks-libraries/sdks/python …file so that your API key isn’t stored in source control. </Tip> For authentication options including Workload Identity Federation, see [Authentication](https://platform.claude.com/docs/en/manage-cla… Automatically handles tool execution loop Claude Developer Platform · in the page cli-sdks-libraries/sdks/ruby …each do |block| puts block.text if block.type == :text end ``` For authentication options including Workload Identity Federation, see [Authentication](https://platform.claude.com/docs/en/manage-cla… typescript Claude Developer Platform · in the page cli-sdks-libraries/sdks/typescript …(block.type === "text") { console.log(block.text); } } ``` For authentication options including Workload Identity Federation, see [Authentication](https://platform.claude.com/docs/en/manage-cla… get-api-key Claude Developer Platform · in the page get-api-key …ect an [expiration](https://platform.claude.com/docs/en/manage-claude/authentication#key-expiration), and set **Linked account** to yourself or a service account. You can also select a [workspace](htt… get-started Claude Developer Platform · in the page get-started …sign in to the one you have. </Step> <Step title="Choose how to authenticate"> Signing in with the CLI is recommended for local development. Follow the steps for one of the following op… intro Claude Developer Platform · in the page intro …Workload Identity Federation instead of a static key. [Read the authentication guide](https://platform.claude.com/docs/en/manage-claude/authentication) </Step> <Step title="Understand the M… access-transparency-log Claude Developer Platform · in the page manage-claude/access-transparency-log …t. You verify the hashes it returns against a signed checkpoint. ### Authentication and scoping Send your Compliance Access Key in the `x-api-key` header and the `anthropic-version` header, as for e… admin-api Claude Developer Platform · in the page manage-claude/admin-api …matically with the Admin API, using an Admin API key, an `org:admin` OAuth token, or a personal or service account key. --- The [Admin API](https://platform.claude.com/docs/en/api/organization) lets… admin-api-keys Claude Developer Platform · in the page manage-claude/admin-api-keys …aude Console or Claude Enterprise organization. --- An Admin API key authenticates every API in the **Admin** section of this guide: the [Admin API](https://platform.claude.com/docs/en/manage-claude/… api-and-data-retention Claude Developer Platform · in the page manage-claude/api-and-data-retention …based applications](https://platform.claude.com/docs/en/manage-claude/authentication#browser-based-applications). ### What ZDR covers * **Claude Messages and Token Counting APIs:** ZDR applies to th… app-attest Claude Developer Platform · in the page manage-claude/app-attest …or running a proxy, using Apple's App Attest service. --- App Attest authenticates iOS and macOS apps that call the Claude API directly from the device, with usage billed to your workspace. This page… First request Claude Developer Platform · in the page manage-claude/claude-code-analytics-api …ttps://platform.claude.com/docs/en/manage-claude/admin-api-keys), an OAuth token with the `org:admin` scope, or a personal or service account key that isn’t scoped to a workspace; workspace API keys d… cmek Claude Developer Platform · in the page manage-claude/cmek …ess to an incorrect or spoofed principal can expose your data to an unauthorized party. Always verify the Anthropic identifier against the published production identities in each configuration guide.… cmek-azure-key-vault Claude Developer Platform · in the page manage-claude/cmek-azure-key-vault …show --name <your-vault-name> \ --query "{rbac:properties.enableRbacAuthorization, purge:properties.enablePurgeProtection, pub:properties.publicNetworkAccess, net:properties.networkAcls.defaultActio… cmek-coverage-claude-platform Claude Developer Platform · in the page manage-claude/cmek-coverage-claude-platform …//platform.claude.com/docs/en/managed-agents/vaults) values, such as OAuth tokens and client secrets | Write-only and never returned in API responses.… Fetch the first page (newest activities first). Claude Developer Platform · in the page manage-claude/compliance-activity-feed …each key type carries the scope. </Check> The Activity Feed records authentication, chat, file, project, administrative, and platform activity across your organization and returns it in reverse chro… compliance-api Claude Developer Platform · in the page manage-claude/compliance-api …dpoint lives under `/v1/compliance/*` on `https://api.anthropic.com`, authenticates through the `x-api-key` header, and takes the [`anthropic-version`](https://platform.claude.com/docs/en/api/versioni… compliance-api-access Claude Developer Platform · in the page manage-claude/compliance-api-access …based applications](https://platform.claude.com/docs/en/manage-claude/authentication#browser-based-applications). <Warning> **Turning the Compliance API off stops activity recording.** An o… WARNING: This operation PERMANENTLY deletes the chat, all of its messages, Claude Developer Platform · in the page manage-claude/compliance-content-data …nts are not available to Admin API keys (`sk-ant-admin01-...`); calls authenticated with an Admin API key return [403 Forbidden](https://platform.claude.com/docs/en/manage-claude/compliance-errors#403… compliance-errors Claude Developer Platform · in the page manage-claude/compliance-errors …| | [401 Unauthorized](https://platform.claude.com/docs/en/manage-claude/compliance-errors#401-unauthorized) | No… compliance-faq Claude Developer Platform · in the page manage-claude/compliance-faq …h the Compliance API?"> No. A Claude API key (`sk-ant-api03-...`) authenticates calls to Claude models on the Claude API; it does not authenticate calls to `/v1/compliance/*`. The Compliance API a… before_id is the first_id from a previous response Claude Developer Platform · in the page manage-claude/compliance-integration-patterns …or model responses from Claude Console, or from Claude API workloads authenticated with an API key. * On-device activity in local sessions that is never sent to Anthropic, such as local files that Cl… compliance-org-data Claude Developer Platform · in the page manage-claude/compliance-org-data …/docs/en/manage-claude/compliance-api-access) to provision one. Calls authenticated with an Admin API key (`sk-ant-admin01-...`) return [403 Forbidden](https://platform.claude.com/docs/en/manage-claud…
Feedback