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

874 pages for auto.

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

errors Claude Developer Platform · in the page api/errors …nd maintain consistent usage patterns. </Warning> The official SDK automatically retries transient failures (such as connection errors, rate limits, and 5xx server errors) with exponential backoff,… Messages Claude Developer Platform · in the page api/messages …l: optional CacheControlEphemeral or null` Top-level cache control automatically applies a cache_control marker to the last cacheable block in the request. - `container: optional MessageCreatePara… Batches Claude Developer Platform · in the page api/messages/batches …ptional CacheControlEphemeral or null` Top-level cache control automatically applies a cache_control marker to the last cacheable block in the request. - `container: optional MessageCreate… Create a Message Batch Claude Developer Platform · in the page api/messages/batches/create …ptional CacheControlEphemeral or null` Top-level cache control automatically applies a cache_control marker to the last cacheable block in the request. - `container: optional MessageCreate… Count tokens in a Message Claude Developer Platform · in the page api/messages/count_tokens …l: optional CacheControlEphemeral or null` Top-level cache control automatically applies a cache_control marker to the last cacheable block in the request. - `output_config: optional OutputConfig`… Create a Message Claude Developer Platform · in the page api/messages/create …l: optional CacheControlEphemeral or null` Top-level cache control automatically applies a cache_control marker to the last cacheable block in the request. - `container: optional MessageCreatePara… Before Claude Developer Platform · in the page api/migration-2026-10-21 …TypeScript reports it as an unknown property. To keep compacting automatically at a token threshold: ```typescript // Before const runner = client.beta.messages.toolRunner({ //… spans Claude Developer Platform · in the page api/opentelemetry/spans …e agent asks to use a tool, but the server denies the use under the [`auto` permission policy](https://platform.claude.com/docs/en/managed-agents/permission-policies#let-the-server-evaluate-each-call-… Organization Claude Developer Platform · in the page api/organization …d, to re-enable polling after the system pauses it. Polling is paused automatically; sending `true` is rejected. - `max_jwt_lifetime_seconds: optional number or null` Maximum allowed iat→exp sprea… Compliance Settings Claude Developer Platform · in the page api/organization/compliance_settings …-runs) re-enables the Compliance API even after a `disabled` request. Automated provisioning never disables compliance settings. ### Headers - `"anthropic-version": optional string` The version o… Update Compliance Settings Claude Developer Platform · in the page api/organization/compliance_settings/update …-runs) re-enables the Compliance API even after a `disabled` request. Automated provisioning never disables compliance settings. ## Headers - `"anthropic-version": optional string` The version of… Federation Claude Developer Platform · in the page api/organization/federation …d, to re-enable polling after the system pauses it. Polling is paused automatically; sending `true` is rejected. - `max_jwt_lifetime_seconds: optional number or null` Maximum allowed iat→exp sprea… Issuers Claude Developer Platform · in the page api/organization/federation/issuers …d, to re-enable polling after the system pauses it. Polling is paused automatically; sending `true` is rejected. - `max_jwt_lifetime_seconds: optional number or null` Maximum allowed iat→exp sprea… Update Federation Issuer Claude Developer Platform · in the page api/organization/federation/issuers/update …d, to re-enable polling after the system pauses it. Polling is paused automatically; sending `true` is rejected. - `max_jwt_lifetime_seconds: optional number or null` Maximum allowed iat→exp sprea… Invites Claude Developer Platform · in the page api/organization/invites …s that draw members from a finite pool of purchased seats, the invite automatically consumes a seat from the lowest tier with availability; there is no seat-tier parameter. When no seat is free the re… Create Invite Claude Developer Platform · in the page api/organization/invites/create …s that draw members from a finite pool of purchased seats, the invite automatically consumes a seat from the lowest tier with availability; there is no seat-tier parameter. When no seat is free the re… Workspaces Claude Developer Platform · in the page api/organization/workspaces …ent. On GCP and Azure, Anthropic enforces the compartment binding automatically; you do not need to reference this value in your key configuration. See the CMEK integration guide for the r… Archive Workspace Claude Developer Platform · in the page api/organization/workspaces/archive …ent. On GCP and Azure, Anthropic enforces the compartment binding automatically; you do not need to reference this value in your key configuration. See the CMEK integration guide for the r… Create Workspace Claude Developer Platform · in the page api/organization/workspaces/create …ent. On GCP and Azure, Anthropic enforces the compartment binding automatically; you do not need to reference this value in your key configuration. See the CMEK integration guide for the r… List Workspaces Claude Developer Platform · in the page api/organization/workspaces/list …ent. On GCP and Azure, Anthropic enforces the compartment binding automatically; you do not need to reference this value in your key configuration. See the CMEK integration guide for the r… Get Workspace Claude Developer Platform · in the page api/organization/workspaces/retrieve …ent. On GCP and Azure, Anthropic enforces the compartment binding automatically; you do not need to reference this value in your key configuration. See the CMEK integration guide for the r… Update Workspace Claude Developer Platform · in the page api/organization/workspaces/update …ent. On GCP and Azure, Anthropic enforces the compartment binding automatically; you do not need to reference this value in your key configuration. See the CMEK integration guide for the r… overview Claude Developer Platform · in the page api/overview …, the SDK sends the authentication, version, and content-type headers automatically; you pass `anthropic-workspace-id` yourself when your key needs it. For API versioning details, see [API versions](h… rate-limits Claude Developer Platform · in the page api/rate-limits …orm on AWS are placed on the Start tier and can move to a higher tier automatically as they build a history of paid AWS Marketplace invoices. To request higher limits, contact your Anthropic account r… service-tiers Claude Developer Platform · in the page api/service-tiers …"role": "user", "content": "Hello, Claude!"}], "service_tier": "auto" }' ``` ```bash CLI ant messages create <<'YAML' model: claude-opus-4-8 max_tokens: 1024 messages: - rol… versioning Claude Developer Platform · in the page api/versioning …ude.com/docs/en/cli-sdks-libraries/overview), this is handled for you automatically." --- For any given API version, Anthropic preserves: * Existing input parameters * Existing output parameters Ho… Message Batches API Claude Developer Platform · in the page build-with-claude/batch-processing ….com/docs/en/api/messages/batches/list). The API supports pagination, automatically fetching additional pages as needed: <CodeGroup> ```bash cURL # Fetches one page. While the response's has_more… citations Claude Developer Platform · in the page build-with-claude/citations …all documents in your original request. </Step> </Steps> <Tip> **Automatic chunking vs custom content** By default, plain text and PDF documents are automatically chunked into sentences. If yo… claude-in-microsoft-foundry Claude Developer Platform · in the page build-with-claude/claude-in-microsoft-foundry …s pane. If you select **Default settings** instead, the deployment is automatically configured as Hosted on Azure for models available in both hosting options. 4. On your first Claude deployment, rev… anthropic-managed Claude Developer Platform · in the page build-with-claude/claude-models-on-google-cloud/anthropic-managed …ud auth application-default login`. * **On Google Cloud:** The client automatically uses the service account attached to the workload, for example on Compute Engine, GKE, or Cloud Run. * **A service a… claude-on-amazon-bedrock-legacy Claude Developer Platform · in the page build-with-claude/claude-on-amazon-bedrock-legacy …igV4 request signing, which the SDK examples in the other tabs handle automatically. For a Bedrock endpoint you can call with a self-contained cURL command, see [Making your first request with Claude… claude-platform-on-aws Claude Developer Platform · in the page build-with-claude/claude-platform-on-aws …handles the AWS Marketplace subscription for you, then redirects you automatically. If your organization has a private offer from Anthropic, the Console looks it up and prompts you to accept it… sent_count = len(messages sent in the compaction request) Claude Developer Platform · in the page build-with-claude/compaction …ng conversations and agentic workflows. It handles context management automatically, without client-side summarization code. </Tip> Compaction extends the effective context length for long-running co… compaction-threshold Claude Developer Platform · in the page build-with-claude/compaction-threshold …ompaction-threshold description: Have the API summarize older context automatically, inside an ordinary request, when the conversation reaches a token threshold you set. featureMetadata: status: bet… context-editing Claude Developer Platform · in the page build-with-claude/context-editing …orm.claude.com/docs/en/build-with-claude/context-editing description: Automatically manage conversation context as it grows with context editing. --- <Note> To learn how zero data retention (ZDR) a… context-windows Claude Developer Platform · in the page build-with-claude/context-windows …el to handle more complex and lengthy prompts, but more context isn't automatically better. As token count grows, accuracy and recall degrade, a phenomenon known as *context rot*. This makes curating… extended-thinking Claude Developer Platform · in the page build-with-claude/extended-thinking …orm.claude.com/docs/en/build-with-claude/thinking), which interleaves automatically with no header. * **Claude Opus 4.6**: manual mode has no interleaved thinking at all. Only its adaptive mode interl… fallback-credit Claude Developer Platform · in the page build-with-claude/fallback-credit …ude/refusals-and-fallback#client-side-fallback) apply fallback credit automatically. If you use either, skip this page. [Refusals and fallback](https://platform.claude.com/docs/en/build-with-claude/r… fast-mode Claude Developer Platform · in the page build-with-claude/fast-mode …docs/en/manage-claude/usage-cost-api). ## Retries and fallbacks ### Automatic retries The SDK automatically retries fast mode `429` errors up to 2 times by default (configurable with `max_retries`… files Claude Developer Platform · in the page build-with-claude/files …docs/en/api/files/list). The SDK returns the first page and provides [auto-pagination](https://platform.claude.com/docs/en/api/overview#pagination) helpers. <CodeGroup> ```bash cURL curl https://… handling-stop-reasons Claude Developer Platform · in the page build-with-claude/handling-stop-reasons …form.claude.com/docs/en/agents-and-tools/tool-use/tool-runner), which automatically handles tool execution, result formatting, and conversation management. </Note> <CodeGroup> ```bash cURL curl h… mid-conversation-effort-example Claude Developer Platform · in the page build-with-claude/mid-conversation-effort-example …loops to a single turn when that environment variable is set, so the automated docs harness can validate that the file compiles and completes quickly without running the full orchestration; leave it… mid-conversation-system-messages Claude Developer Platform · in the page build-with-claude/mid-conversation-system-messages …as an operator-level fact: files changed on disk, the user toggled an auto-approve setting, available tools changed, or the remaining token budget dropped below a threshold. * **User input that should… multilingual-support Claude Developer Platform · in the page build-with-claude/multilingual-support …ar language context:** Although Claude can detect the target language automatically, explicitly stating the input and output languages you want improves reliability. For enhanced fluency, you can prom… overview Claude Developer Platform · in the page build-with-claude/overview …conversations. When input tokens reach the trigger threshold, the API automatically summarizes earlier parts of the conversation. | ZDR eligible | <PlatformAvailability claudeApiBeta… pdf-support Claude Developer Platform · in the page build-with-claude/pdf-support …ithin PDFs * Uses approximately 1,000 tokens for a 3-page PDF * Automatically used when citations are not enabled 2. **Claude PDF Chat** (New mode - Full visual understanding) * Provides co… preserved-thinking Claude Developer Platform · in the page build-with-claude/preserved-thinking …| ### Check whether your code edits the prefix <Tip> **Automate this check with the Claude API skill.** In the latest version of [Claude Code](https://code.claude.com/docs/en/overview),… Request 2 caches its request content (not the response) Claude Developer Platform · in the page build-with-claude/prompt-caching …prompt prefixes with `cache_control` to cut costs and latency, using automatic caching or explicit breakpoints with 5-minute or 1-hour TTLs. --- Prompt caching optimizes your API usage by allowing r… claude-prompting-best-practices Claude Developer Platform · in the page build-with-claude/prompt-engineering/claude-prompting-best-practices …ample prompt: ```text Sample prompt wrap Your context window will be automatically compacted as it approaches its limit, allowing you to continue working indefinitely from where you left off. Therefo… prompting-claude-fable-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-fable-5 …ks might also trigger these safeguards. To re-route declined requests automatically, configure [server-side or client-side fallback](https://platform.claude.com/docs/en/build-with-claude/refusals-and-…
Feedback