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.
Messages
Claude Developer Platform · title
api/beta/messages
Cancel a Message Batch
Claude Developer Platform · title
api/beta/messages/batches/cancel
Create a Message Batch
Claude Developer Platform · title
api/beta/messages/batches/create
Delete a Message Batch
Claude Developer Platform · title
api/beta/messages/batches/delete
List Message Batches
Claude Developer Platform · title
api/beta/messages/batches/list
Retrieve Message Batch results
Claude Developer Platform · title
api/beta/messages/batches/results
Retrieve a Message Batch
Claude Developer Platform · title
api/beta/messages/batches/retrieve
Count tokens in a Message
Claude Developer Platform · title
api/beta/messages/count_tokens
Create a Message
Claude Developer Platform · title
api/beta/messages/create
Get Messages Usage Report
Claude Developer Platform · title
api/beta/organization/usage_report/retrieve_messages
Messages
Claude Developer Platform · title
api/compliance/apps/chats/messages
Get chat messages
Claude Developer Platform · title
api/compliance/apps/chats/messages/list
Messages
Claude Developer Platform · title
api/compliance/apps/sessions/local/messages
Retrieve local session messages
Claude Developer Platform · title
api/compliance/apps/sessions/local/messages/list
Messages
Claude Developer Platform · title
api/compliance/apps/sessions/remote/messages
Retrieve remote session messages
Claude Developer Platform · title
api/compliance/apps/sessions/remote/messages/list
Messages
Claude Developer Platform · title
api/messages
Cancel a Message Batch
Claude Developer Platform · title
api/messages/batches/cancel
Create a Message Batch
Claude Developer Platform · title
api/messages/batches/create
Delete a Message Batch
Claude Developer Platform · title
api/messages/batches/delete
List Message Batches
Claude Developer Platform · title
api/messages/batches/list
Retrieve Message Batch results
Claude Developer Platform · title
api/messages/batches/results
Retrieve a Message Batch
Claude Developer Platform · title
api/messages/batches/retrieve
Count tokens in a Message
Claude Developer Platform · title
api/messages/count_tokens
Create a Message
Claude Developer Platform · title
api/messages/create
Message Batches API
Claude Developer Platform · title
build-with-claude/batch-processing
sent_count = len(messages sent in the compaction request)
Claude Developer Platform · title
build-with-claude/compaction
mid-conversation-system-messages
Claude Developer Platform · title
build-with-claude/mid-conversation-system-messages
working-with-messages
Claude Developer Platform · title
build-with-claude/working-with-messages
WARNING: This operation PERMANENTLY deletes the chat, all of its messages,
Claude Developer Platform · title
manage-claude/compliance-content-data
Message your other Claude Code sessions
Claude Code CLI · title
cross-session-messaging
Messages
Model Context Protocol · title
specification/2024-11-05/basic/messages
Batches
Claude Developer Platform · path
api/beta/messages/batches
Batches
Claude Developer Platform · path
api/messages/batches
api-credits-for-subscribers
Claude Developer Platform · in the page
about-claude/api-credits-for-subscribers
…en/build-with-claude/prompt-caching) for repeated context. * Use the [Message Batches API](https://platform.claude.com/docs/en/build-with-claude/batch-processing) for work that doesn't need an immedia…
glossary
Claude Developer Platform · in the page
about-claude/glossary
…ure that allows API users to connect to MCP servers directly from the Messages API without building an MCP client. This allows seamless integration with MCP-compatible tools and services through the C…
Or, for the model with the same capabilities and no access approval requirement:
Claude Developer Platform · in the page
about-claude/models/migration-guide
…m previous Claude versions --- <Note> This guide covers migrating [Messages API](https://platform.claude.com/docs/en/build-with-claude/working-with-messages) code. If you use [Claude Managed Agents…
optimizing-for-cost-and-intelligence
Claude Developer Platform · in the page
about-claude/models/optimizing-for-cost-and-intelligence
….stream)' last_request.json | \ curl https://api.anthropic.com/v1/messages \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "content-type: applicati…
pricing
Claude Developer Platform · in the page
about-claude/pricing
…al tokens are consumed by: * Command outputs (stdout/stderr) * Error messages * Large file contents See [tool use pricing](https://platform.claude.com/docs/en/about-claude/pricing#tool-use-pricing)…
commerce-agents
Claude Developer Platform · in the page
about-claude/use-case-guides/commerce-agents
…ommerce, an open-source blueprint with working implementations on the Messages API, the Claude Agent SDK, and Claude Managed Agents. --- This guide shows how to build commerce agents on Claude: a sho…
content-moderation
Claude Developer Platform · in the page
about-claude/use-case-guides/content-moderation
…tokens: 28.6B (assuming 1 token per 3.5 characters) * Percentage of messages flagged: 3% * Output tokens per flagged message: 50 * Total output tokens: 1.5B * **Claude Haiku 5.5 estimated cost*…
customer-support-chat
Claude Developer Platform · in the page
about-claude/use-case-guides/customer-support-chat
…ss should have two main methods: one that calls the API to generate a message, and one that processes each incoming user input. <CodeGroup exclude="shell"> ```python Python # In your chatbot.py,…
legal-summarization
Claude Developer Platform · in the page
about-claude/use-case-guides/legal-summarization
…lease agreement text: {text} """ response = client.messages.create( model=model, max_tokens=max_tokens, system="You are a legal analyst specializing in…
overview
Claude Developer Platform · in the page
about-claude/use-case-guides/overview
…ng and merchant agents from an open-source blueprint that runs on the Messages API, the Claude Agent SDK, and Claude Managed Agents. </Card> </CardGroup> ## Choosing a build path The three paths f…
ticket-routing
Claude Developer Platform · in the page
about-claude/use-case-guides/ticket-routing
…# Send the prompt to the API to classify the support request. message = client.messages.create( model=DEFAULT_MODEL, max_tokens=2048, output_config={"effort": "lo…
PDF Processing
Claude Developer Platform · in the page
agents-and-tools/agent-skills/best-practices
…mit Helper skill:** ```yaml description: Generate descriptive commit messages by analyzing git diffs. Use when the user asks for help writing commit messages or reviewing staged changes. ``` Avoid v…
claude-api-skill
Claude Developer Platform · in the page
agents-and-tools/agent-skills/claude-api-skill
…ce material for building applications on two Anthropic surfaces: * **Messages API:** The primary surface for single requests, streaming chat, tool use, batch processing, prompt caching, structured ou…
PDF Processing
Claude Developer Platform · in the page
agents-and-tools/agent-skills/overview
…dow. Only its output (such as "Validation passed" or a specific error message) consumes tokens, which makes scripts far more efficient than having Claude generate equivalent code during the task. * **…
quickstart
Claude Developer Platform · in the page
agents-and-tools/agent-skills/quickstart
…newable energy. Specify Skills using the `container` parameter in the Messages API: <CodeGroup> ```bash cURL # Create a message with the PowerPoint Skill response=$( curl --fail-with-body -…
mcp-connector
Claude Developer Platform · in the page
agents-and-tools/mcp-connector
…onnector description: Connect to remote MCP servers directly from the Messages API without an MCP client, and allowlist, denylist, or configure individual tools. featureMetadata: status: beta beta…