Follow Discord
Sweep 03 Nov 2026 · 22:27Z Build v2.1.318 536 read Stable v2.1.311 Latest v2.1.318 Next v2.1.318 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

1,063 pages for prompt.

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

Validate an MCP OAuth Credential Claude Developer Platform · in the page api/beta/vaults/credentials/mcp_oauth_validate …this header. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"` - `"pdfs-2024-09-25"` - `"toke… Retrieve a Credential Claude Developer Platform · in the page api/beta/vaults/credentials/retrieve …this header. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"` - `"pdfs-2024-09-25"` - `"toke… Update a Credential Claude Developer Platform · in the page api/beta/vaults/credentials/update …this header. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"` - `"pdfs-2024-09-25"` - `"toke… Delete a Vault Claude Developer Platform · in the page api/beta/vaults/delete …this header. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"` - `"pdfs-2024-09-25"` - `"toke… List Vaults Claude Developer Platform · in the page api/beta/vaults/list …this header. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"` - `"pdfs-2024-09-25"` - `"toke… Retrieve a Vault Claude Developer Platform · in the page api/beta/vaults/retrieve …this header. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"` - `"pdfs-2024-09-25"` - `"toke… Update a Vault Claude Developer Platform · in the page api/beta/vaults/update …this header. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"` - `"pdfs-2024-09-25"` - `"toke… routines-fire Claude Developer Platform · in the page api/claude-code/routines-fire …//code.claude.com/docs/en/routines) is a saved configuration there: a prompt, one or more repositories, and connectors, packaged so it can run unattended on a schedule, in response to GitHub events, o… Apps Claude Developer Platform · in the page api/compliance/apps …laude.ai - `instructions: string` Project's custom instructions / prompt - `is_private: boolean` If false, the project is visible to all organization members; if true the project is accessible… Projects Claude Developer Platform · in the page api/compliance/apps/projects …laude.ai - `instructions: string` Project's custom instructions / prompt - `is_private: boolean` If false, the project is visible to all organization members; if true the project is accessible… Get project details Claude Developer Platform · in the page api/compliance/apps/projects/retrieve …laude.ai - `instructions: string` Project's custom instructions / prompt - `is_private: boolean` If false, the project is visible to all organization members; if true the project is accessible… Sessions Claude Developer Platform · in the page api/compliance/apps/sessions …her party during the session. Marker messages indicate that the prompt history diverged from what was captured, that the request's `system` field was present but is not shown, or that earl… Local Claude Developer Platform · in the page api/compliance/apps/sessions/local …her party during the session. Marker messages indicate that the prompt history diverged from what was captured, that the request's `system` field was present but is not shown, or that earl… Messages Claude Developer Platform · in the page api/compliance/apps/sessions/local/messages …her party during the session. Marker messages indicate that the prompt history diverged from what was captured, that the request's `system` field was present but is not shown, or that earl… Retrieve local session messages Claude Developer Platform · in the page api/compliance/apps/sessions/local/messages/list …her party during the session. Marker messages indicate that the prompt history diverged from what was captured, that the request's `system` field was present but is not shown, or that earl… Remote Claude Developer Platform · in the page api/compliance/apps/sessions/remote …session_id}/messages` Retrieve one remote session's transcript: user prompts, assistant responses, and tool calls and results. Thinking blocks and images are not included. Messages are returned olde… Messages Claude Developer Platform · in the page api/compliance/apps/sessions/remote/messages …session_id}/messages` Retrieve one remote session's transcript: user prompts, assistant responses, and tool calls and results. Thinking blocks and images are not included. Messages are returned olde… Retrieve remote session messages Claude Developer Platform · in the page api/compliance/apps/sessions/remote/messages/list …session_id}/messages` Retrieve one remote session's transcript: user prompts, assistant responses, and tool calls and results. Thinking blocks and images are not included. Messages are returned olde… errors Claude Developer Platform · in the page api/errors …ild-with-claude/structured-outputs) on models that support it, system prompt instructions, or [`output_config.format`](https://platform.claude.com/docs/en/build-with-claude/structured-outputs#usage) i… Messages Claude Developer Platform · in the page api/messages …maximum number of tokens to generate. Set to `0` to populate the [prompt cache](https://platform.claude.com/docs/en/build-with-claude/prompt-caching?sdk_languages=http#pre-warming-the-cache) witho… Batches Claude Developer Platform · in the page api/messages/batches …ody parameters - `requests: array of object` List of requests for prompt completion. Each is an individual request to create a Message. minItems: 1, maxItems: 100000 - `custom_id: string`… Create a Message Batch Claude Developer Platform · in the page api/messages/batches/create …ody parameters - `requests: array of object` List of requests for prompt completion. Each is an individual request to create a Message. minItems: 1, maxItems: 100000 - `custom_id: string`… Retrieve Message Batch results Claude Developer Platform · in the page api/messages/batches/results …when the request did not supply `diagnostics`, or when it did and no prompt-cache divergence was detected. - `cache_miss_reason: CacheMissReason or null` Explains why the prom… Count tokens in a Message Claude Developer Platform · in the page api/messages/count_tokens …es?sdk_languages=http). Note that if you want to include a [system prompt](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices?sdk_languages=htt… Create a Message Claude Developer Platform · in the page api/messages/create …maximum number of tokens to generate. Set to `0` to populate the [prompt cache](https://platform.claude.com/docs/en/build-with-claude/prompt-caching?sdk_languages=http#pre-warming-the-cache) witho… Before Claude Developer Platform · in the page api/migration-2026-10-21 …es its request body from flags. `ant auth status`, the first-run prompt of `ant apply`, and the note about multiple authentication sources now call these credentials `ANTHROPIC_API_KEY` and `ANTH… spans Claude Developer Platform · in the page api/opentelemetry/spans ….input_tokens` | `int` | The tokens written to the prompt cache. Absent on [`anthropic.session.outcome_evaluation`](https://platform.claude.com/docs/en/api/opentelemetry/spans#anthr… rate-limits Claude Developer Platform · in the page api/rate-limits …+ `cache_creation_input_tokens` count toward your ITPM limit, making [prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) an effective way to increase your effective… Message Batches API Claude Developer Platform · in the page build-with-claude/batch-processing …he pre-warming](https://platform.claude.com/docs/en/build-with-claude/prompt-caching#pre-warming-the-cache)) is not supported inside a batch, because an ephemeral cache entry written during batch proc… cache-diagnostics Claude Developer Platform · in the page build-with-claude/cache-diagnostics …/build-with-claude/cache-diagnostics description: Diagnose unexpected prompt cache misses by comparing consecutive requests and identifying exactly where the prompt prefix diverged. featureMetadata:… citations Claude Developer Platform · in the page build-with-claude/citations …] ) puts response ``` </CodeGroup> <Tip> **Comparison with prompt-based approaches** Compared to prompting Claude to cite sources, the citations feature offers the following advantages:… claude-in-amazon-bedrock Claude Developer Platform · in the page build-with-claude/claude-in-amazon-bedrock …claude.com/docs/en/api/messages/create) (`/anthropic/v1/messages`) * [Prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) * [Thinking](https://platform.claude.com/doc… claude-in-microsoft-foundry Claude Developer Platform · in the page build-with-claude/claude-in-microsoft-foundry …bject to Anthropic’s data use terms. For deployments hosted on Azure, prompts and completions remain within Azure. Only usage metadata and content flagged by Anthropic’s safety systems egress to Anthr… anthropic-managed Claude Developer Platform · in the page build-with-claude/claude-models-on-google-cloud/anthropic-managed …https://platform.claude.com/docs/en/build-with-claude/pdf-support) * [Prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) * [1-hour duration](https://platform.claud… google-managed Claude Developer Platform · in the page build-with-claude/claude-models-on-google-cloud/google-managed …ges API](https://platform.claude.com/docs/en/api/messages/create) * [Prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) * [Thinking](https://platform.claude.com/do… claude-on-amazon-bedrock-legacy Claude Developer Platform · in the page build-with-claude/claude-on-amazon-bedrock-legacy …t/userguide/model-invocation-logging.html) that allows you to log the prompts and completions associated with your usage. Anthropic recommends that you log your activity on at least a 30-day rolling… claude-platform-on-aws Claude Developer Platform · in the page build-with-claude/claude-platform-on-aws …uests, run model inference, and store your workspace content (such as prompts, outputs, files, Skills, and batches). For workspaces created before September 18, 2026, 00:00 UTC, Anthropic might proces… sent_count = len(messages sent in the compaction request) Claude Developer Platform · in the page build-with-claude/compaction …want users to use one chat for a long period of time * Task-oriented prompts that require a lot of follow-up work (often tool use) that might exceed the context window ## How compaction works When… compaction-background Claude Developer Platform · in the page build-with-claude/compaction-background …conversation compacts. const compactAtTokens = 2500; const systemPrompt = "You help design a recipe app's data model. Keep answers short."; const questions = [ "What are the main entities… compaction-keep-recent-turns Claude Developer Platform · in the page build-with-claude/compaction-keep-recent-turns …conversation compacts. const compactAtTokens = 2500; const systemPrompt = "You help design a recipe app's data model. Keep answers short."; const keepTurns = 2; const questions = [ "What… compaction-on-demand Claude Developer Platform · in the page build-with-claude/compaction-on-demand …block alone with `stop_reason` `"compaction"`. Send the same `system` prompt and `tools` that you use for the rest of the conversation. The summarizer reads them, and if you keep turns after the block… compaction-thinking-blocks Claude Developer Platform · in the page build-with-claude/compaction-thinking-blocks …nd they stay the same on the requests that follow. [Change the system prompt or tools](https://platform.claude.com/docs/en/build-with-claude/compaction-thinking-blocks#change-the-system-prompt-or-tool… compaction-threshold Claude Developer Platform · in the page build-with-claude/compaction-threshold …want users to use one chat for a long period of time * Task-oriented prompts that require a lot of follow-up work (often tool use) that might exceed the context window ## How compaction works When… context-editing Claude Developer Platform · in the page build-with-claude/context-editing …nking block clearing (`clear_thinking_20251015`) | Applied before the prompt reaches Claude. Clears specific content from conversation history. Each strategy can be configured independently.… context-windows Claude Developer Platform · in the page build-with-claude/context-windows …er context window allows the model 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 *co… effort Claude Developer Platform · in the page build-with-claude/effort …rsation-beta) with a per-message `output_config`, which preserves the prompt cache. See also: [Prompting Claude Fable 5.1](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/pro… This will automatically use the environment variable VOYAGE_API_KEY. Claude Developer Platform · in the page build-with-claude/embeddings …etrieval quality. When using the `input_type` parameter, special prompts are prepended to the input text prior to embedding. Specifically: > 📘 **Prompts associated with `input_type`** >… extended-thinking Claude Developer Platform · in the page build-with-claude/extended-thinking …e the budget, how manual mode interacts with interleaved thinking and prompt caching, and how to migrate to adaptive thinking. To learn how thinking itself works, including thinking blocks and the re… fallback-credit Claude Developer Platform · in the page build-with-claude/fallback-credit …cs/en/build-with-claude/fallback-credit description: Avoid paying the prompt-cache cost twice when you retry a refused request on another model. featureMetadata: status: beta betaHeader: fallback-… fast-mode Claude Developer Platform · in the page build-with-claude/fast-mode …ors. <Note> Falling back from fast to standard speed results in a [prompt cache](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) miss. Requests at different speeds do not shar…
Feedback