1,265 pages for -p.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Create Action URL
Claude Developer Platform · in the page
api/user_profiles/action_urls/create
…"user_profile_action_url", "url": "https://platform.claude.com/user-profiles/enrollment/M3J0bGJxZ2ppMnptbnB1" } ```
Create User Profile
Claude Developer Platform · in the page
api/user_profiles/create
…tes them. Every field is optional. Not accepted under the legacy `user-profiles-2026-03-24` and `user-profiles-2026-08-18` beta headers, which take the top-level `external_id` (and, under `user-profil…
List User Profiles
Claude Developer Platform · in the page
api/user_profiles/list
…ing is complete. Rejected with `invalid_request_error` under the `user-profiles-2026-09-04` and earlier beta headers. Fails with `overloaded_error` when a profile's enforcement actions cannot be read…
Get User Profile
Claude Developer Platform · in the page
api/user_profiles/retrieve
…oken counting request can send a profile's `id` in the `anthropic-user-profile-id` header to attribute the request to that entity. - `type: "user_profile"` Object type. Always `user_profile`.…
Update User Profile
Claude Developer Platform · in the page
api/user_profiles/update
…be cleared and `null` is rejected. Not accepted under the legacy `user-profiles-2026-03-24` and `user-profiles-2026-08-18` beta headers. - `account_status: optional UserProfileExternalUserAccountSt…
versioning
Claude Developer Platform · in the page
api/versioning
…m on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws), [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/build-with-claude/claud…
citations
Claude Developer Platform · in the page
build-with-claude/citations
…rocessing](https://platform.claude.com/docs/en/build-with-claude/batch-processing). <Warning> **Citations and structured outputs are incompatible** Citations cannot be used together with [struct…
claude-in-amazon-bedrock
Claude Developer Platform · in the page
build-with-claude/claude-in-amazon-bedrock
…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 Claude through the Messages API at `/anthropic/v1/me…
claude-in-microsoft-foundry
Claude Developer Platform · in the page
build-with-claude/claude-in-microsoft-foundry
…rm.claude.com/docs/en/about-claude/pricing#claude-in-microsoft-foundry-pricing) for details. ## Hosting options Claude models in Microsoft Foundry are available in two hosting options. You choose th…
anthropic-managed
Claude Developer Platform · in the page
build-with-claude/claude-models-on-google-cloud/anthropic-managed
…m \ anthropic-managed-claude.cloudpartnerservices.goog \ --project=my-project-id ``` Replace `my-project-id` with your project ID. You can also enable both from the Claude pa…
google-managed
Claude Developer Platform · in the page
build-with-claude/claude-models-on-google-cloud/google-managed
…Agent Platform](https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/partner-models/claude) page. 2. The [gcloud CLI](https://cloud.google.com/sdk/docs/install) installed, for local…
overview
Claude Developer Platform · in the page
build-with-claude/claude-models-on-google-cloud/overview
…de.com/docs/en/api/claude-models-on-google-cloud-anthropic-managed-iam-permissions"> Look up permissions, roles, and audit log types. </Card> </CardGroup>
claude-on-amazon-bedrock-legacy
Claude Developer Platform · in the page
build-with-claude/claude-on-amazon-bedrock-legacy
…m on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws). Existing Bedrock users can follow the [migration guide](https://platform.claude.com/docs/en/build-with-claude/c…
sent_count = len(messages sent in the compaction request)
Claude Developer Platform · in the page
build-with-claude/compaction
…laude-mythos-5-1`, `claude-fable-5`, `claude-mythos-5`, `claude-mythos-preview`, `claude-opus-5`, `claude-opus-4-8`, `claude-opus-4-7`, `claude-opus-4-6`, `claude-sonnet-5`, `claude-sonnet-4-6` - Plat…
compaction-background
Claude Developer Platform · in the page
build-with-claude/compaction-background
…hos-5-1 - claude-fable-5 - claude-mythos-5 - claude-mythos-preview - claude-opus-5-5 - claude-opus-5 - claude-opus-4-8 - claude-opus-4-7 - claude-opus-4-6 - claude-…
compaction-keep-recent-turns
Claude Developer Platform · in the page
build-with-claude/compaction-keep-recent-turns
…hos-5-1 - claude-fable-5 - claude-mythos-5 - claude-mythos-preview - claude-opus-5-5 - claude-opus-5 - claude-opus-4-8 - claude-opus-4-7 - claude-opus-4-6 - claude-…
compaction-on-demand
Claude Developer Platform · in the page
build-with-claude/compaction-on-demand
…hos-5-1 - claude-fable-5 - claude-mythos-5 - claude-mythos-preview - claude-opus-5-5 - claude-opus-5 - claude-opus-4-8 - claude-opus-4-7 - claude-opus-4-6 - claude-…
compaction-thinking-blocks
Claude Developer Platform · in the page
build-with-claude/compaction-thinking-blocks
…hos-5-1 - claude-fable-5 - claude-mythos-5 - claude-mythos-preview - claude-opus-5-5 - claude-opus-5 - claude-opus-4-8 - claude-opus-4-7 - claude-opus-4-6 - claude-…
compaction-threshold
Claude Developer Platform · in the page
build-with-claude/compaction-threshold
…hos-5-1 - claude-fable-5 - claude-mythos-5 - claude-mythos-preview - claude-opus-5-5 - claude-opus-5 - claude-opus-4-8 - claude-opus-4-7 - claude-opus-4-6 - claude-…
context-editing
Claude Developer Platform · in the page
build-with-claude/context-editing
…m.claude.com/docs/en/build-with-claude/context-editing#default-summary-prompt) | Custom prompt for summary generation | #### Choosing a token threshold The threshold determines when compaction o…
context-windows
Claude Developer Platform · in the page
build-with-claude/context-windows
…(https://platform.claude.com/docs/en/about-claude/pricing#long-context-pricing), except on Claude Haiku 5.5, where prompts over 100,000 tokens cost more. A single request can include up to 600 images…
effort
Claude Developer Platform · in the page
build-with-claude/effort
…hos-5-1 - claude-fable-5 - claude-mythos-5 - claude-mythos-preview - claude-opus-5-5 - claude-opus-5 - claude-opus-4-8 - claude-opus-4-7 - claude-opus-4-6 - claude-…
This will automatically use the environment variable VOYAGE_API_KEY.
Claude Developer Platform · in the page
build-with-claude/embeddings
…s embedding models and rerankers. Its embedding models include general-purpose, multimodal, contextualized, and domain-specific models. The rest of this guide is for Voyage AI, but you should assess…
extended-thinking
Claude Developer Platform · in the page
build-with-claude/extended-thinking
…rocessing](https://platform.claude.com/docs/en/build-with-claude/batch-processing) to avoid networking issues. Pushing the model to think beyond 32k tokens produces long-running requests that can hit…
fallback-credit
Claude Developer Platform · in the page
build-with-claude/fallback-credit
…e Batches](https://platform.claude.com/docs/en/build-with-claude/batch-processing) don't mint credit tokens, and redemption applies only to direct Messages API requests: a token passed on a batch requ…
fast-mode
Claude Developer Platform · in the page
build-with-claude/fast-mode
…ng](https://platform.claude.com/docs/en/about-claude/pricing#fast-mode-pricing) page. ## Rate limits Fast mode has a dedicated rate limit that is separate from standard Opus rate limits. When your f…
files
Claude Developer Platform · in the page
build-with-claude/files
…/en/api/files/list). The SDK returns the first page and provides [auto-pagination](https://platform.claude.com/docs/en/api/overview#pagination) helpers. <CodeGroup> ```bash cURL curl https://api.…
handling-stop-reasons
Claude Developer Platform · in the page
build-with-claude/handling-stop-reasons
…on directly. With cURL, inspect stop_reason # on the response and re-POST with the assistant content appended. curl https://api.anthropic.com/v1/messages \ -H "x-api-key: $ANTHROPIC_API_KEY" \…
mid-conversation-effort-example
Claude Developer Platform · in the page
build-with-claude/mid-conversation-effort-example
…EFFORT = "xhigh" SYSTEM_PROMPT = ( "You are a helpful general-purpose agent. Answer the user's request directly." ) REQUEST_TIMEOUT_SECONDS = 600 BASH_TIMEOUT_SECONDS = 60 TOOL_RESUL…
mid-conversation-system-messages
Claude Developer Platform · in the page
build-with-claude/mid-conversation-system-messages
…ns of cached turns. Adding it to the top-level `system` field would re-process the entire history. * **Per-turn context that must be authoritative.** You want to inject a freshness note, a session dea…
overview
Claude Developer Platform · in the page
build-with-claude/overview
…m on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws) have a [beta header](https://platform.claude.com/docs/en/api/beta-headers). | | **Deprecated** | Feature is stil…
pdf-support
Claude Developer Platform · in the page
build-with-claude/pdf-support
…atform.claude.com/docs/en/build-with-claude/pdf-support#amazon-bedrock-pdf-support). ### Amazon Bedrock PDF support When using PDF support through the Converse API, part of [Claude on Amazon Bedrock…
preserved-thinking
Claude Developer Platform · in the page
build-with-claude/preserved-thinking
…atform.claude.com/docs/en/build-with-claude/preserved-thinking#replace-prefix-edits). In the Message Batches API, an item that leaves the field unset doesn't fail. Where the API enforces the check by…
Request 2 caches its request content (not the response)
Claude Developer Platform · in the page
build-with-claude/prompt-caching
…(https://platform.claude.com/docs/en/about-claude/pricing#long-context-pricing), and data residency. On a model priced by prompt length, cache reads and cache writes count toward a request's prompt le…
overview
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/overview
…latform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices"> For model-specific tuning guidance for Claude's latest models, start here. </Card> </CardGroup>…
prompting-claude-fable-5
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-fable-5
…latform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices). Claude Fable 5 takes on problems that were previously too complex, long-running, or ambiguous for pri…
Delivering work
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-fable-5-1
…latform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices). Your existing Claude Fable 5 prompts should perform well on Claude Fable 5.1 without changes, but a h…
prompting-claude-haiku-5-5
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-haiku-5-5
…latform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices). Existing Claude Haiku 4.5 prompts should perform well without changes. Start with the section that ma…
prompting-claude-opus-4-8
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-opus-4-8
…latform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices). Claude Opus 4.8 has particular strengths in long-horizon agentic work, knowledge work, vision, and me…
prompting-claude-opus-5
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-opus-5
…latform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices). Claude Opus 5 is built for complex agentic coding and enterprise work, with particular strengths in l…
prompting-claude-opus-5-5
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-opus-5-5
…latform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices). Claude Opus 5.5 generates output tokens more than 30 percent faster than Claude Opus 5 and tends to c…
prompting-claude-sonnet-5
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-sonnet-5
…latform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices). Claude Sonnet 5 has particular strengths in coding and agentic tasks. It performs well out of the box…
prompting-claude-sonnet-5-5
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-sonnet-5-5
…latform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices). Existing Claude Sonnet 5 prompts should perform well without changes, and the patterns in [Prompting…
refusals-and-fallback
Claude Developer Platform · in the page
build-with-claude/refusals-and-fallback
…| | `"general_harms"` | The request falls under a usage-policy area outside the four named categories. Benign work can also trigger this category.…
skills-guide
Claude Developer Platform · in the page
build-with-claude/skills-guide
…https://platform.claude.com/docs/en/agents-and-tools/agent-skills/best-practices"> Learn how to write effective Skills that Claude can discover and use successfully. </Card> </CardGroup> ## Ove…
streaming
Claude Developer Platform · in the page
build-with-claude/streaming
…ith SDKs The [Python SDK](https://github.com/anthropics/anthropic-sdk-python) and [TypeScript SDK](https://github.com/anthropics/anthropic-sdk-typescript) offer multiple ways of streaming. The [PHP S…
structured-outputs
Claude Developer Platform · in the page
build-with-claude/structured-outputs
…hos-5-1 - claude-fable-5 - claude-mythos-5 - claude-mythos-preview - claude-opus-5-5 - claude-opus-5 - claude-opus-4-8 - claude-opus-4-7 - claude-opus-4-6 - claude-…
thinking
Claude Developer Platform · in the page
build-with-claude/thinking
…://platform.claude.com/docs/en/build-with-claude/thinking#thinking-and-prompt-caching). ### Preserving thinking blocks When Claude calls a tool, it pauses construction of its response to await exter…
thinking-steering-and-cost
Claude Developer Platform · in the page
build-with-claude/thinking-steering-and-cost
…latform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices#leverage-thinking-and-interleaved-thinking-capabilities). ### Effort levels Effort is the primary stee…
thinking-troubleshooting
Claude Developer Platform · in the page
build-with-claude/thinking-troubleshooting
…disabled, most commonly on tool-heavy workloads such as search. System-prompt rules instructing the model not to think or not to reason increase the tag leakage. Re-enable thinking (the default) and…