1,120 pages for message.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Delete chat
Claude Developer Platform · in the page
api/compliance/apps/chats/delete
…hats/{claude_chat_id}` Permanently deletes a chat and all associated messages and files. This is a destructive operation that cannot be undone. A chat's remote sessions are deleted first. If that de…
Files
Claude Developer Platform · in the page
api/compliance/apps/chats/files
…s/{claude_file_id}` Retrieves metadata for a file referenced in chat messages, without downloading the file content. Use the sibling `/content` endpoint to download the bytes. ### Path parameters -…
Download file content
Claude Developer Platform · in the page
api/compliance/apps/chats/files/download
…}/content` Downloads the binary content of a file referenced in chat messages. ## Path parameters - `claude_file_id: string` The file ID (tagged ID, e.g., claude_file_abc123) ## Headers - `"an…
Get file metadata
Claude Developer Platform · in the page
api/compliance/apps/chats/files/retrieve
…s/{claude_file_id}` Retrieves metadata for a file referenced in chat messages, without downloading the file content. Use the sibling `/content` endpoint to download the bytes. ## Path parameters -…
Generated Files
Claude Developer Platform · in the page
api/compliance/apps/chats/generated_files
…nerated-file id (e.g., 'claude_gen_file_abc123') as returned in `chat_messages[].generated_files[].id` from GET /apps/chats/{claude_chat_id}/messages. ### Headers - `"anthropic-version": optional st…
Download a Claude-generated file
Claude Developer Platform · in the page
api/compliance/apps/chats/generated_files/download
…nerated-file id (e.g., 'claude_gen_file_abc123') as returned in `chat_messages[].generated_files[].id` from GET /apps/chats/{claude_chat_id}/messages. ## Headers - `"anthropic-version": optional str…
Get Claude-generated file metadata
Claude Developer Platform · in the page
api/compliance/apps/chats/generated_files/retrieve
…nerated-file id (e.g., 'claude_gen_file_abc123') as returned in `chat_messages[].generated_files[].id` from GET /apps/chats/{claude_chat_id}/messages. ## Headers - `"anthropic-version": optional str…
List chats
Claude Developer Platform · in the page
api/compliance/apps/chats/list
…th `order_by=updated_at` returns a chat again after it receives a new message, is moved into or out of a project, or is deleted in claude.ai. A chat is not guaranteed to be returned again after other…
Sessions
Claude Developer Platform · in the page
api/compliance/apps/sessions
…ence calls than the service can return for one session (100,000). The messages endpoint then returns only the session's earliest calls, up to that many, and ends before the session does; `updated_at`…
Local
Claude Developer Platform · in the page
api/compliance/apps/sessions/local
…ence calls than the service can return for one session (100,000). The messages endpoint then returns only the session's earliest calls, up to that many, and ends before the session does; `updated_at`…
List local sessions
Claude Developer Platform · in the page
api/compliance/apps/sessions/local/list
…ence calls than the service can return for one session (100,000). The messages endpoint then returns only the session's earliest calls, up to that many, and ends before the session does; `updated_at`…
Retrieve a local session
Claude Developer Platform · in the page
api/compliance/apps/sessions/local/retrieve
…ence calls than the service can return for one session (100,000). The messages endpoint then returns only the session's earliest calls, up to that many, and ends before the session does; `updated_at`…
Remote
Claude Developer Platform · in the page
api/compliance/apps/sessions/remote
…rries session metadata only; retrieve a session's transcript from the messages endpoint. By default the list spans every such organization; pass up to 500 `organization_ids[]` values to narrow it. Pas…
List remote sessions
Claude Developer Platform · in the page
api/compliance/apps/sessions/remote/list
…rries session metadata only; retrieve a session's transcript from the messages endpoint. By default the list spans every such organization; pass up to 500 `organization_ids[]` values to narrow it. Pas…
errors
Claude Developer Platform · in the page
api/errors
…The request timed out while processing. Consider using the [streaming Messages API](https://platform.claude.com/docs/en/build-with-claude/streaming) for long-running requests. See [Long requests](http…
Before
Claude Developer Platform · in the page
api/migration-2026-10-21
…26-10-21`: ```bash curl https://api.anthropic.com/v1/messages \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2026-10-21" \ -H "content-typ…
spans
Claude Developer Platform · in the page
api/opentelemetry/spans
….path` | `string` | The URL's path, for example `/v1/messages`.…
Organization
Claude Developer Platform · in the page
api/organization
…s is `success` if the roundtrip succeeded, or `failure` with an error message if it failed or timed out. #### Path parameters - `external_key_id: string` ID of the External Key. maxLength: 204…
External Keys
Claude Developer Platform · in the page
api/organization/external_keys
…s is `success` if the roundtrip succeeded, or `failure` with an error message if it failed or timed out. ### Path parameters - `external_key_id: string` ID of the External Key. maxLength: 2048…
Validate External Key
Claude Developer Platform · in the page
api/organization/external_keys/validate
…s is `success` if the roundtrip succeeded, or `failure` with an error message if it failed or timed out. ## Path parameters - `external_key_id: string` ID of the External Key. maxLength: 2048…
Rate Limits
Claude Developer Platform · in the page
api/organization/rate_limits
…ganization Rate Limits **GET** `/v1/organizations/rate_limits` List Messages API rate limits for your organization. Each entry corresponds to one rate-limit group (either a model family or an API-s…
List Organization Rate Limits
Claude Developer Platform · in the page
api/organization/rate_limits/list
…ganization Rate Limits **GET** `/v1/organizations/rate_limits` List Messages API rate limits for your organization. Each entry corresponds to one rate-limit group (either a model family or an API-s…
Workspaces
Claude Developer Platform · in the page
api/organization/workspaces
…chGroup object` - `type: "batch"` Always `batch`: the Message Batches API. default: batch - `id: string` Opaque identifier of the rate-limit group (for example…
Rate Limits
Claude Developer Platform · in the page
api/organization/workspaces/rate_limits
…chGroup object` - `type: "batch"` Always `batch`: the Message Batches API. default: batch - `id: string` Opaque identifier of the rate-limit group (for example…
List Workspace Rate Limits
Claude Developer Platform · in the page
api/organization/workspaces/rate_limits/list
…chGroup object` - `type: "batch"` Always `batch`: the Message Batches API. default: batch - `id: string` Opaque identifier of the rate-limit group (for example…
Set Workspace Rate Limits
Claude Developer Platform · in the page
api/organization/workspaces/rate_limits/update
…chGroup object` - `type: "batch"` Always `batch`: the Message Batches API. default: batch - `id: string` Opaque identifier of the rate-limit group (for example…
overview
Claude Developer Platform · in the page
api/overview
…d](https://platform.claude.com/docs/en/get-started) and [Working with Messages](https://platform.claude.com/docs/en/build-with-claude/working-with-messages). For managed agent infrastructure, see the…
rate-limits
Claude Developer Platform · in the page
api/rate-limits
…"type": "error", "error": { "type": "rate_limit_error", "message": "You have reached your API usage limits: your organization has crossed its monthly API usage threshold, set based on you…
service-tiers
Claude Developer Platform · in the page
api/service-tiers
…eter: <CodeGroup> ```bash cURL curl https://api.anthropic.com/v1/messages \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "content-type: application/jso…
User Profiles
Claude Developer Platform · in the page
api/user_profiles
…product or a company that the platform resells Claude access to. A Messages, Message Batches or token counting request can send a profile's `id` in the `anthropic-user-profile-id` header to attribu…
Create User Profile
Claude Developer Platform · in the page
api/user_profiles/create
…product or a company that the platform resells Claude access to. A Messages, Message Batches or token counting request can send a profile's `id` in the `anthropic-user-profile-id` header to attribu…
Get User Profile
Claude Developer Platform · in the page
api/user_profiles/retrieve
…product or a company that the platform resells Claude access to. A Messages, Message Batches or token counting request can send a profile's `id` in the `anthropic-user-profile-id` header to attribu…
Update User Profile
Claude Developer Platform · in the page
api/user_profiles/update
…product or a company that the platform resells Claude access to. A Messages, Message Batches or token counting request can send a profile's `id` in the `anthropic-user-profile-id` header to attribu…
versioning
Claude Developer Platform · in the page
api/versioning
…//platform.claude.com/docs/en/api/migration-2026-10-21#upgrade). * Messages API: * A request that places a `document` block directly in an `assistant` message returns a 400 error. * Sendin…
cache-diagnostics
Claude Developer Platform · in the page
build-with-claude/cache-diagnostics
…estamp interpolated into your system prompt, or an edit to an earlier message can silently invalidate the cache. Without cache diagnostics, the only signal is `usage.cache_read_input_tokens` dropping…
citations
Claude Developer Platform · in the page
build-with-claude/citations
…ample shows how to enable citations on a plain text document with the Messages API: <CodeGroup> ```bash cURL curl https://api.anthropic.com/v1/messages \ -H "content-type: application/json" \…
claude-in-amazon-bedrock
Claude Developer Platform · in the page
build-with-claude/claude-in-amazon-bedrock
…ations entirely inside the AWS security boundary while using the same Messages API shape you use with Anthropic's first-party API. <Note> This page covers Claude in Amazon Bedrock, which serves Cla…
claude-in-microsoft-foundry
Claude Developer Platform · in the page
build-with-claude/claude-in-microsoft-foundry
…ash cURL curl https://{resource}.services.ai.azure.com/anthropic/v1/messages \ -H "content-type: application/json" \ -H "api-key: YOUR_AZURE_API_KEY" \ -H "anthropic-version: 2023-06-01"…
anthropic-managed
Claude Developer Platform · in the page
build-with-claude/claude-models-on-google-cloud/anthropic-managed
…creating and changing workspace resources<br />This includes sending messages and counting tokens. It also includes managing batches, files, skills, and Claude Managed Agents resources. | | `roles/cl…
google-managed
Claude Developer Platform · in the page
build-with-claude/claude-models-on-google-cloud/google-managed
…use `:streamRawPredict` instead. A request is nearly identical to a [Messages API](https://platform.claude.com/docs/en/api/messages/create) request. It differs in two main ways: * **Model:** The end…
overview
Claude Developer Platform · in the page
build-with-claude/claude-models-on-google-cloud/overview
…rkspace ID.<br />It ends in a Claude API path, such as `.../invoke/v1/messages`.…
claude-on-amazon-bedrock-legacy
Claude Developer Platform · in the page
build-with-claude/claude-on-amazon-bedrock-legacy
…dentifiers and AWS event-stream encoding. For models available on the Messages-API Bedrock endpoint, see [Claude in Amazon Bedrock](https://platform.claude.com/docs/en/build-with-claude/claude-in-amaz…
claude-platform-on-aws
Claude Developer Platform · in the page
build-with-claude/claude-platform-on-aws
…n AWS gives you the full Anthropic platform experience, including the Messages API, Agent Skills, code execution, and beta features, accessible through your AWS account. Unlike [Amazon Bedrock](https:…
compaction-background
Claude Developer Platform · in the page
build-with-claude/compaction-background
…equest-a-summary) with your history as it stands, and record how many messages it held. 2. While that request runs, keep the conversation going on the full history. Append each new turn, don't edit an…
compaction-keep-recent-turns
Claude Developer Platform · in the page
build-with-claude/compaction-keep-recent-turns
…s/en/build-with-claude/compaction-on-demand#compact-in-a-loop): which messages go into the compaction request, and what you send after the block. Everything in [Continue from the summary](https://plat…
compaction-on-demand
Claude Developer Platform · in the page
build-with-claude/compaction-on-demand
…ts exactly as it came. From then on the block takes the place of the messages it summarizes. It goes first in `messages`, the summarized messages are removed, and your next turn follows it. Claude re…
compaction-thinking-blocks
Claude Developer Platform · in the page
build-with-claude/compaction-thinking-blocks
…conversation uses. * **The kept turns directly follow the summarized messages, and you send them unchanged.** Send each kept message exactly as it is in your history. Don't skip or add a message betw…
compaction-threshold
Claude Developer Platform · in the page
build-with-claude/compaction-threshold
…mpacted context. On subsequent requests, append the response to your messages. The API automatically drops all content blocks prior to the `compaction` block, continuing the conversation from the sum…
context-editing
Claude Developer Platform · in the page
build-with-claude/context-editing
…lues: <CodeGroup> ```bash cURL curl https://api.anthropic.com/v1/messages \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "content-type: application/jso…
context-windows
Claude Developer Platform · in the page
build-with-claude/context-windows
…accumulation:** As the conversation advances through turns, each user message and assistant response accumulates within the context window, and previous turns are preserved completely. * **Context wi…