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

370 pages for prefix.

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

Chats Claude Developer Platform · in the page api/compliance/apps/chats …claude_gen_file_abc123', or a file id, e.g. 'claude_file_abc123'; the prefix tells them apart. Download the first from the generated-files content endpoint and the second from the files content endpoi… Messages Claude Developer Platform · in the page api/compliance/apps/chats/messages …claude_gen_file_abc123', or a file id, e.g. 'claude_file_abc123'; the prefix tells them apart. Download the first from the generated-files content endpoint and the second from the files content endpoi… Get chat messages Claude Developer Platform · in the page api/compliance/apps/chats/messages/list …claude_gen_file_abc123', or a file id, e.g. 'claude_file_abc123'; the prefix tells them apart. Download the first from the generated-files content endpoint and the second from the files content endpoi… Sessions Claude Developer Platform · in the page api/compliance/apps/sessions …liance_local_session - `id: string` Local session identifier, prefixed `clls_`. Unique within the parent organization. Treat as an opaque string; the format may change without notice. - `cr… Local Claude Developer Platform · in the page api/compliance/apps/sessions/local …liance_local_session - `id: string` Local session identifier, prefixed `clls_`. Unique within the parent organization. Treat as an opaque string; the format may change without notice. - `cr… List local sessions Claude Developer Platform · in the page api/compliance/apps/sessions/local/list …liance_local_session - `id: string` Local session identifier, prefixed `clls_`. Unique within the parent organization. Treat as an opaque string; the format may change without notice. - `cr… Messages Claude Developer Platform · in the page api/compliance/apps/sessions/local/messages …ance_local_session_message - `id: string` Message identifier, prefixed `clsm_`. Stable for as long as the message's turn is retained: identifiers of retained turns do not change as older turns… Retrieve local session messages Claude Developer Platform · in the page api/compliance/apps/sessions/local/messages/list …ance_local_session_message - `id: string` Message identifier, prefixed `clsm_`. Stable for as long as the message's turn is retained: identifiers of retained turns do not change as older turns… Retrieve a local session Claude Developer Platform · in the page api/compliance/apps/sessions/local/retrieve …compliance_local_session - `id: string` Local session identifier, prefixed `clls_`. Unique within the parent organization. Treat as an opaque string; the format may change without notice. - `crea… Groups Claude Developer Platform · in the page api/compliance/groups …: 500, max: 1000) default: 500, minimum: 1, maximum: 1000 - `name_prefix: optional string` Filter groups by name prefix default: "" - `page: optional string` Opaque pagination token from… List Compliance Groups Claude Developer Platform · in the page api/compliance/groups/list …: 500, max: 1000) default: 500, minimum: 1, maximum: 1000 - `name_prefix: optional string` Filter groups by name prefix default: "" - `page: optional string` Opaque pagination token from… errors Claude Developer Platform · in the page api/errors …ugust 31, 2026, and for any request that sets `thinking.block_binding.prefix_mismatch_behavior` to `"error"`, a replayed block whose earlier history changed is rejected with a 400 `invalid_request_err… Files Claude Developer Platform · in the page api/files …Opaque page cursor returned in a prior list response's `next_page`. Prefixed `page_`. ### Headers - `"anthropic-version": optional string` The version of the Claude API you want to use. Read… List Files Claude Developer Platform · in the page api/files/list …Opaque page cursor returned in a prior list response's `next_page`. Prefixed `page_`. ## Headers - `"anthropic-version": optional string` The version of the Claude API you want to use. Read… Messages Claude Developer Platform · in the page api/messages …one and returns `diagnostics.cache_miss_reason` when the prompt-cache prefix could not be reused. Pass `null` on the first turn to opt in without a prior message to compare. maxLength: 256 - `in… Batches Claude Developer Platform · in the page api/messages/batches …one and returns `diagnostics.cache_miss_reason` when the prompt-cache prefix could not be reused. Pass `null` on the first turn to opt in without a prior message to compare. maxLength: 256… Create a Message Batch Claude Developer Platform · in the page api/messages/batches/create …one and returns `diagnostics.cache_miss_reason` when the prompt-cache prefix could not be reused. Pass `null` on the first turn to opt in without a prior message to compare. maxLength: 256… Retrieve Message Batch results Claude Developer Platform · in the page api/messages/batches/results …Explains why the prompt cache could not fully reuse the prefix from the request identified by `diagnostics.previous_message_id`. `null` means diagnosis is still pending — the response wa… Create a Message Claude Developer Platform · in the page api/messages/create …one and returns `diagnostics.cache_miss_reason` when the prompt-cache prefix could not be reused. Pass `null` on the first turn to opt in without a prior message to compare. maxLength: 256 - `in… Before Claude Developer Platform · in the page api/migration-2026-10-21 …anges the same way, and its classes have the same names with a `Beta` prefix. The JSON that the SDK sends is the same, except that a beta system message now has `role` before `content`. `addUserM… spans Claude Developer Platform · in the page api/opentelemetry/spans …| The block's `type` with the prefix `anthropic_`, such as `anthropic_image`. The part has no other fields. |… Organization Claude Developer Platform · in the page api/organization …`id: string` Identifier of the external key config. A tagged ID prefixed `ekey_`, or — for organizations on the Claude Platform on AWS — the AWS KMS key ARN. - `attachment: ExternalKeyAttache… External Keys Claude Developer Platform · in the page api/organization/external_keys …`id: string` Identifier of the external key config. A tagged ID prefixed `ekey_`, or — for organizations on the Claude Platform on AWS — the AWS KMS key ARN. - `attachment: ExternalKeyAttache… Create External Key Claude Developer Platform · in the page api/organization/external_keys/create …`id: string` Identifier of the external key config. A tagged ID prefixed `ekey_`, or — for organizations on the Claude Platform on AWS — the AWS KMS key ARN. - `attachment: ExternalKeyAttache… List External Keys Claude Developer Platform · in the page api/organization/external_keys/list …`id: string` Identifier of the external key config. A tagged ID prefixed `ekey_`, or — for organizations on the Claude Platform on AWS — the AWS KMS key ARN. - `attachment: ExternalKeyAttache… Get External Key Claude Developer Platform · in the page api/organization/external_keys/retrieve …`id: string` Identifier of the external key config. A tagged ID prefixed `ekey_`, or — for organizations on the Claude Platform on AWS — the AWS KMS key ARN. - `attachment: ExternalKeyAttache… Update External Key Claude Developer Platform · in the page api/organization/external_keys/update …`id: string` Identifier of the external key config. A tagged ID prefixed `ekey_`, or — for organizations on the Claude Platform on AWS — the AWS KMS key ARN. - `attachment: ExternalKeyAttache… Federation Claude Developer Platform · in the page api/organization/federation …nant identity via an identity-bearing claim, a tenant-pinning subject prefix (such as `repo:YOUR_ORG/...`), or a CEL condition referencing one of those identity claims (e.g. `claims.repository_owner`)… Rules Claude Developer Platform · in the page api/organization/federation/rules …nant identity via an identity-bearing claim, a tenant-pinning subject prefix (such as `repo:YOUR_ORG/...`), or a CEL condition referencing one of those identity claims (e.g. `claims.repository_owner`)… Archive Federation Rule Claude Developer Platform · in the page api/organization/federation/rules/archive …`true`) is rejected with 400. maxLength: 4096 - `subject_prefix: optional string or null` Match the verified JWT `sub` claim. Exact match unless the value ends with `*`, in which c… Create Federation Rule Claude Developer Platform · in the page api/organization/federation/rules/create …nant identity via an identity-bearing claim, a tenant-pinning subject prefix (such as `repo:YOUR_ORG/...`), or a CEL condition referencing one of those identity claims (e.g. `claims.repository_owner`)… List Federation Rules Claude Developer Platform · in the page api/organization/federation/rules/list …`true`) is rejected with 400. maxLength: 4096 - `subject_prefix: optional string or null` Match the verified JWT `sub` claim. Exact match unless the value ends with `*`, in which c… Get Federation Rule Claude Developer Platform · in the page api/organization/federation/rules/retrieve …`true`) is rejected with 400. maxLength: 4096 - `subject_prefix: optional string or null` Match the verified JWT `sub` claim. Exact match unless the value ends with `*`, in which c… Update Federation Rule Claude Developer Platform · in the page api/organization/federation/rules/update …nant identity via an identity-bearing claim, a tenant-pinning subject prefix (such as `repo:YOUR_ORG/...`), or a CEL condition referencing one of those identity claims (e.g. `claims.repository_owner`)… overview Claude Developer Platform · in the page api/overview …| | `anthropic-workspace-id` | The `wrkspc_`-prefixed ID of the [workspace](https://platform.claude.com/docs/en/manage-claude/workspaces) that the API key or access token reso… User Profiles Claude Developer Platform · in the page api/user_profiles …ile`. - `id: string` Unique identifier for this user profile, prefixed `uprof_`. - `access_type: UserProfileAccessType` How the platform uses the API for this entity: `application` (de… Create User Profile Claude Developer Platform · in the page api/user_profiles/create …ile`. - `id: string` Unique identifier for this user profile, prefixed `uprof_`. - `access_type: UserProfileAccessType` How the platform uses the API for this entity: `application` (de… Delete User Profile Claude Developer Platform · in the page api/user_profiles/delete …eted`. - `id: string` Identifier of the deleted user profile, prefixed `uprof_`. ## Example ```bash curl https://api.anthropic.com/v1/user_profiles/$USER_PROFILE_ID \ -X DELETE \ -H… List User Profiles Claude Developer Platform · in the page api/user_profiles/list …ile`. - `id: string` Unique identifier for this user profile, prefixed `uprof_`. - `access_type: UserProfileAccessType` How the platform uses the API for this entity: `application` (de… Get User Profile Claude Developer Platform · in the page api/user_profiles/retrieve …ile`. - `id: string` Unique identifier for this user profile, prefixed `uprof_`. - `access_type: UserProfileAccessType` How the platform uses the API for this entity: `application` (de… Update User Profile Claude Developer Platform · in the page api/user_profiles/update …ile`. - `id: string` Unique identifier for this user profile, prefixed `uprof_`. - `access_type: UserProfileAccessType` How the platform uses the API for this entity: `application` (de… Message Batches API Claude Developer Platform · in the page build-with-claude/batch-processing …claude/prompt-caching"> Reduce cost and latency by caching prompt prefixes shared across requests in a batch. </Card> </CardGroup> cache-diagnostics Claude Developer Platform · in the page build-with-claude/cache-diagnostics …mparing consecutive requests and identifying exactly where the prompt prefix diverged. featureMetadata: status: ga zdr: eligibility: eligible note: Excludes [Covered Models](https://platfo… claude-in-amazon-bedrock Claude Developer Platform · in the page build-with-claude/claude-in-amazon-bedrock …Model IDs in Claude in Amazon Bedrock carry an `anthropic.` provider prefix. Model capabilities and behaviors are documented on the [Models overview](https://platform.claude.com/docs/en/models/overvi… claude-on-amazon-bedrock-legacy Claude Developer Platform · in the page build-with-claude/claude-on-amazon-bedrock-legacy …e base model ID. The inference profile ID is the base model ID with a prefix from a column marked "Yes" in the following table, for example us.anthropic.claude-sonnet-4-5-20250929-v1:0. You can also p… claude-platform-on-aws Claude Developer Platform · in the page build-with-claude/claude-platform-on-aws …rst-party Claude API. There are no Bedrock-style ARNs or `anthropic.` prefixes. New models typically launch on Claude Platform on AWS the same day as the first-party Claude API. <Tip> Upgrading to… sent_count = len(messages sent in the compaction request) Claude Developer Platform · in the page build-with-claude/compaction …re-insert after the compaction block, or send `thinking.block_binding.prefix_mismatch_behavior: "drop_block"` with the `thinking-binding-controls-2026-08-01` [beta header](https://platform.claude.com/… compaction-thinking-blocks Claude Developer Platform · in the page build-with-claude/compaction-thinking-blocks …r dropped thinking blocks if the request sets `thinking.block_binding.prefix_mismatch_behavior` to `"drop_block"`. In the Message Batches API, an item that leaves the field unset doesn't fail. Where t… compaction-threshold Claude Developer Platform · in the page build-with-claude/compaction-threshold …re-insert after the compaction block, or send `thinking.block_binding.prefix_mismatch_behavior: "drop_block"` with the `thinking-binding-controls-2026-08-01` [beta header](https://platform.claude.com/… context-editing Claude Developer Platform · in the page build-with-claude/context-editing …d block is rejected unless you opt into dropping it. See [Keeping the prefix unchanged](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking#prefix-check). ### Context editing and…
Feedback