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

499 pages for force.

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

Count tokens in a Message Claude Developer Platform · in the page api/messages/count_tokens …ter it will perform. You can use natural language descriptions to reinforce important aspects of the tool input JSON schema. - `eager_input_streaming: optional boolean or null` Enable eage… Create a Message Claude Developer Platform · in the page api/messages/create …ter it will perform. You can use natural language descriptions to reinforce important aspects of the tool input JSON schema. - `eager_input_streaming: optional boolean or null` Enable eage… Organization Claude Developer Platform · in the page api/organization …k_jti: optional boolean or null` Whether the jwt-bearer exchange enforces JTI single-use (replay protection) for tokens from this issuer. Defaults to true. Applies only to assertions carrying a `jt… Federation Claude Developer Platform · in the page api/organization/federation …k_jti: optional boolean or null` Whether the jwt-bearer exchange enforces JTI single-use (replay protection) for tokens from this issuer. Defaults to true. Applies only to assertions carrying a `jt… Issuers Claude Developer Platform · in the page api/organization/federation/issuers …k_jti: optional boolean or null` Whether the jwt-bearer exchange enforces JTI single-use (replay protection) for tokens from this issuer. Defaults to true. Applies only to assertions carrying a `jt… Archive Federation Issuer Claude Developer Platform · in the page api/organization/federation/issuers/archive …uer. - `check_jti: boolean` Whether the jwt-bearer exchange enforces JTI single-use (replay protection) for tokens from this issuer. Applies only to assertions carrying a `jti` claim; tokens w… Create Federation Issuer Claude Developer Platform · in the page api/organization/federation/issuers/create …k_jti: optional boolean or null` Whether the jwt-bearer exchange enforces JTI single-use (replay protection) for tokens from this issuer. Defaults to true. Applies only to assertions carrying a `jt… List Federation Issuers Claude Developer Platform · in the page api/organization/federation/issuers/list …uer. - `check_jti: boolean` Whether the jwt-bearer exchange enforces JTI single-use (replay protection) for tokens from this issuer. Applies only to assertions carrying a `jti` claim; tokens w… Get Federation Issuer Claude Developer Platform · in the page api/organization/federation/issuers/retrieve …uer. - `check_jti: boolean` Whether the jwt-bearer exchange enforces JTI single-use (replay protection) for tokens from this issuer. Applies only to assertions carrying a `jti` claim; tokens w… Update Federation Issuer Claude Developer Platform · in the page api/organization/federation/issuers/update …k_jti: optional boolean or null` Whether the jwt-bearer exchange enforces JTI single-use (replay protection) for tokens from this issuer. Applies only to assertions carrying a `jti` claim; tokens w… Rules Claude Developer Platform · in the page api/organization/federation/rules …ce); rules carrying only the legacy `workspace_id` binding do not enforce this. - `type: "federation_rule"` default: federation_rule - `id: string` Tagged ID of the federation rule… Archive Federation Rule Claude Developer Platform · in the page api/organization/federation/rules/archive …ce); rules carrying only the legacy `workspace_id` binding do not enforce this. - `type: "federation_rule"` default: federation_rule - `id: string` Tagged ID of the federation rule… Create Federation Rule Claude Developer Platform · in the page api/organization/federation/rules/create …ce); rules carrying only the legacy `workspace_id` binding do not enforce this. - `type: "federation_rule"` default: federation_rule - `id: string` Tagged ID of the federation rule… Get Federation Rule Claude Developer Platform · in the page api/organization/federation/rules/retrieve …ce); rules carrying only the legacy `workspace_id` binding do not enforce this. - `type: "federation_rule"` default: federation_rule - `id: string` Tagged ID of the federation rule… Update Federation Rule Claude Developer Platform · in the page api/organization/federation/rules/update …ce); rules carrying only the legacy `workspace_id` binding do not enforce this. - `type: "federation_rule"` default: federation_rule - `id: string` Tagged ID of the federation rule… Workspaces Claude Developer Platform · in the page api/organization/workspaces …key is scoped to this compartment. 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… Archive Workspace Claude Developer Platform · in the page api/organization/workspaces/archive …key is scoped to this compartment. 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… Create Workspace Claude Developer Platform · in the page api/organization/workspaces/create …key is scoped to this compartment. 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… List Workspaces Claude Developer Platform · in the page api/organization/workspaces/list …key is scoped to this compartment. 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… Rate Limits Claude Developer Platform · in the page api/organization/workspaces/rate_limits …ut the organization limit still applies, so the lower of the two is enforced. Returns the targeted group's entry with this request applied, in the shape `GET /v1/organizations/workspaces/{workspace_i… Set Workspace Rate Limits Claude Developer Platform · in the page api/organization/workspaces/rate_limits/update …ut the organization limit still applies, so the lower of the two is enforced. Returns the targeted group's entry with this request applied, in the shape `GET /v1/organizations/workspaces/{workspace_i… Get Workspace Claude Developer Platform · in the page api/organization/workspaces/retrieve …key is scoped to this compartment. 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… Update Workspace Claude Developer Platform · in the page api/organization/workspaces/update …key is scoped to this compartment. 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… overview Claude Developer Platform · in the page api/overview …</Note> ## Rate limits and availability ### Rate limits The API enforces rate limits and spend limits to prevent misuse and manage capacity. Limits are organized into usage tiers; your organizatio… rate-limits Claude Developer Platform · in the page api/rate-limits …ts an organization can make over a defined period of time. The API enforces service-configured limits at the organization level, but you can also set user-configurable limits for your organization's… User Profiles Claude Developer Platform · in the page api/user_profiles …ow in the platform's database. Not interpreted by Anthropic and not enforced unique. 1 to 255 characters. minLength: 1, maxLength: 255 - `metadata: optional map[string]` Free-form key-value d… Create User Profile Claude Developer Platform · in the page api/user_profiles/create …ow in the platform's database. Not interpreted by Anthropic and not enforced unique. 1 to 255 characters. minLength: 1, maxLength: 255 - `metadata: optional map[string]` Free-form key-value d… List User Profiles Claude Developer Platform · in the page api/user_profiles/list …** `/v1/user_profiles` List User Profiles ## Query parameters - `enforcement_status: optional array of UserProfileEnforcementStatus` Return only the user profiles whose `enforcement_status` is o… Get User Profile Claude Developer Platform · in the page api/user_profiles/retrieve …ofile was created, in RFC 3339 format. format: date-time - `enforcement_actions: array of UserProfileEnforcementAction` The enforcement actions open on this profile; empty when none is op… Update User Profile Claude Developer Platform · in the page api/user_profiles/update …ow in the platform's database. Not interpreted by Anthropic and not enforced unique. 1 to 255 characters. minLength: 1, maxLength: 255 - `metadata: optional map[string]` Key-value pairs to me… claude-in-amazon-bedrock Claude Developer Platform · in the page build-with-claude/claude-in-amazon-bedrock …M and 500,000 output TPM without additional Anthropic approval. AWS enforces requests-per-minute (RPM) limits on the Bedrock side; contact AWS support for RPM adjustments. ## Data retention Data han… claude-on-amazon-bedrock-legacy Claude Developer Platform · in the page build-with-claude/claude-on-amazon-bedrock-legacy …s, only basic text extraction is available * For full control without forced citations, use the InvokeModel API ### Mid-conversation system messages on Bedrock [Mid-conversation system messages](htt… sent_count = len(messages sent in the compaction request) Claude Developer Platform · in the page build-with-claude/compaction …with-claude/thinking#preserved-in-conversation). Where the check is enforced, the continuation request is rejected with a 400 error. The preserved text and tool blocks can stay as they are. Letting th… compaction-thinking-blocks Claude Developer Platform · in the page build-with-claude/compaction-thinking-blocks …the first later request that sends the kept thinking where the API enforces the check: a 400 error by default, or dropped thinking blocks if the request sets `thinking.block_binding.prefix_mismatch_b… compaction-threshold Claude Developer Platform · in the page build-with-claude/compaction-threshold …with-claude/thinking#preserved-in-conversation). Where the check is enforced, the continuation request is rejected with a 400 error. The preserved text and tool blocks can stay as they are. Letting th… fallback-credit Claude Developer Platform · in the page build-with-claude/fallback-credit …* The request used `output_config.format` or a `tool_choice` that forces tool use. Either one rules out the appended-assistant-message shape. * The refusal arrived after server tools had run. Th… mid-conversation-effort-example Claude Developer Platform · in the page build-with-claude/mid-conversation-effort-example …nd and return [output, isError]. The coreutils timeout command * enforces the time limit. No sandbox: example code only. */ function runBash(string $command): array { fwrite(STDERR, "[… pdf-support Claude Developer Platform · in the page build-with-claude/pdf-support …*InvokeModel API:** Provides full control over PDF processing without forced citations. #### Common issues If Claude isn't seeing images or charts in your PDFs when using the Converse API, you likel… preserved-thinking Claude Developer Platform · in the page build-with-claude/preserved-thinking …claude/preserved-thinking#account-bound-thinking) for where the API enforces this. The model check applies to every account. The API enforces the prefix check by default for accounts created on or af… claude-prompting-best-practices Claude Developer Platform · in the page build-with-claude/prompt-engineering/claude-prompting-best-practices …n title="Controlling output formatting"> Prefills have been used to force specific output formats such as JSON/YAML, classification, and similar patterns where the prefill constrains Claude to a par… Delivering work Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-fable-5-1 …rols-2026-08-01` header). Adopt the pattern even if the check isn't enforced for your account, so the same code works on every account. Most history edits that trip the check also restart the [prompt… prompting-claude-haiku-5-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-haiku-5-5 …_config.format` from any request where the model must call a tool. 3. Force the call with [`tool_choice`](https://platform.claude.com/docs/en/agents-and-tools/tool-use/define-tools#forcing-tool-use).… prompting-claude-opus-4-8 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-opus-4-8 …e user throughout long agentic traces. If you've added scaffolding to force interim status messages ("After every 3 tool calls, summarize progress"), try removing it. If you find that the length or co… prompting-claude-sonnet-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-sonnet-5 …e user throughout long agentic traces. If you've added scaffolding to force interim status messages ("After every 3 tool calls, summarize progress"), try removing it. If you find that the length or co… search-results Claude Developer Platform · in the page build-with-claude/search-results …t runtime, and Claude cites it in the response. The following example forces the tool call with [`tool_choice`](https://platform.claude.com/docs/en/agents-and-tools/tool-use/define-tools#forcing-tool-… structured-outputs Claude Developer Platform · in the page build-with-claude/structured-outputs …] public array $addresses; } ``` **API-enforced constraints** (sent in the schema): `description`, `format`, `const`, `itemClass`, `minItems` (0 or 1 only). **SDK-v… task-budgets Claude Developer Platform · in the page build-with-claude/task-budgets …tasks. * You have a predictable per-task cost or latency ceiling to enforce. * You want the model to finish gracefully (summarize findings, report progress) as it approaches the budget rather than cut… thinking Claude Developer Platform · in the page build-with-claude/thinking …}` with those effort levels return a 400 error. This restriction is enforced on each request. With thinking disabled, Claude Opus 5 can occasionally emit tool calls as plain text or include internal X… thinking-steering-and-cost Claude Developer Platform · in the page build-with-claude/thinking-steering-and-cost …ith a thinking block. (Models using a legacy manual thinking budget enforce that the final assistant turn of a thinking-enabled request starts with one; see [Turn structure in manual mode](https://pla… thinking-tool-workflows Claude Developer Platform · in the page build-with-claude/thinking-tool-workflows …h-claude/thinking#thinking-with-tool-use): `tool_choice` options that force tool use return an error with manual extended thinking (`thinking: {type: "enabled"}`). Adaptive thinking supports forced to…
Feedback