608 pages for reason.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
budgets
Claude Developer Platform · in the page
managed-agents/budgets
…in in mind. A session that reaches its budget goes idle with a `stop_reason` (java, php: `stopReason`; csharp, go: `StopReason`) of `budget_reached`; it is not terminated, and its history and sandbox…
DCF Model Rubric
Claude Developer Platform · in the page
managed-agents/define-outcomes
…t 5 years forward - Growth rate assumptions are explicitly stated and reasonable ## Cost Structure - COGS and operating expenses are modeled separately - Margins are consistent with historical trends…
events-and-streaming
Claude Developer Platform · in the page
managed-agents/events-and-streaming
…event means the agent has stopped and is waiting for input. Its `stop_reason.type` says why: | `stop_reason.type` | Why the session stopped | What to do | | ----- | ----- | ----- | | `end_turn` | The…
memory
Claude Developer Platform · in the page
managed-agents/memory
…fferent parts of memory have different owners or access rules. Common reasons: * **Shared reference material:** one read-only store attached to many sessions (standards, conventions, domain knowledge…
migration
Claude Developer Platform · in the page
managed-agents/migration
…e": "assistant", "content": response.content}) if response.stop_reason == "end_turn": break for block in response.content: if block.type == "tool_use": re…
multiagent-orchestration
Claude Developer Platform · in the page
managed-agents/multiagent-orchestration
…message_received` (the advice) 4. `session.thread_status_idle` (`stop_reason: end_turn`) 5. `session.thread_status_terminated` A consultation emits no `agent.tool_use` events, and no `agent.thread_me…
permission-policies
Claude Developer Platform · in the page
managed-agents/permission-policies
…r `auto`, the object also records the server’s determination, plus a `reason_code` when the outcome is `ask` or `deny`. For example, when `bash` is under `auto` and the server evaluates a call as hig…
reference
Claude Developer Platform · in the page
managed-agents/reference
…finished its current task and is waiting for input. Includes a `stop_reason` (java, php: `stopReason`; csharp, go: `StopReason`) indicating why the agent stopped. | | `session.status_rescheduled`…
scheduled-deployments
Claude Developer Platform · in the page
managed-agents/scheduled-deployments
…tly. ```json { "id": "depl_01xyz", "status": "active", "paused_reason": null, "schedule": { "type": "cron", "expression": "0 20 * * 5", "timezone": "America/New_York", "last_r…
secure-deployment-monitoring
Claude Developer Platform · in the page
managed-agents/secure-deployment-monitoring
…tatus_idled` webhook. It fires each time a session goes idle, for any reason | | Sessions that reach a budget or terminate | The `session.budget_reached` and `session.status_terminated` webhooks | | S…
spawn.sh: called once per claimed work item
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes
…| | The session sits `idle` with a `requires_action` stop reason and no error event shortly after a worker claimed it. | The worker failed the work item because it cou…
self-hosted-sandboxes-custom-tools
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes-custom-tools
…or client serves it, the session pauses with a `requires_action` stop reason. It stays paused until something posts the result. See [Answer tool calls that pause the session](https://platform.claude.c…
self-hosted-sandboxes-operations
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes-operations
…t) instead. | | The session sits `idle` with a `requires_action` stop reason and no error event shortly after a worker claimed it. | The worker failed the work item because it could not mount a memory…
self-hosted-sandboxes-reference
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes-reference
…es on to the next work item. Idle time with a [`requires_action` stop reason](https://platform.claude.com/docs/en/managed-agents/events-and-streaming#respond-when-the-session-goes-idle) does not count…
then: histchars= HISTFILE=/dev/null ant beta:worker poll --workdir /workspace
Claude Developer Platform · in the page
managed-agents/self-hosted/call-the-api
…case "session.status_idle": if event.stop_reason.type != "requires_action": break case "session.status_terminated": br…
configure
Claude Developer Platform · in the page
managed-agents/self-hosted/configure
…for a wrong API key | The token failed a check. The log line has the reason. | `oidc token` | | `403` | The token’s groups match no `roles` entry | `token holds no role` | ### Microsoft Entra ID En…
differences
Claude Developer Platform · in the page
managed-agents/self-hosted/differences
…n status | The server retries a model call that fails for a temporary reason and reports each attempt on the event stream, as the hosted service does. The session’s status stays `running` between atte…
inference-provider
Claude Developer Platform · in the page
managed-agents/self-hosted/inference-provider
…type `model_request_failed_error`, and the session stays usable. The reason is in the server log, on a line that contains `credential supplier failed`. If the token endpoint’s reply has no `expires_…
upgrade
Claude Developer Platform · in the page
managed-agents/self-hosted/upgrade
…se:** The output of `docker compose up --build -d` might not show the reason. Run `docker compose logs` to find it. | What the log shows | What it means | What to do | | ----- | ----- | ----- | | A l…
session-observability
Claude Developer Platform · in the page
managed-agents/session-observability
…session emits one immediately before it goes idle, whatever the stop reason. * The session emits one when a thread pauses at a [session budget](https://platform.claude.com/docs/en/managed-agents/budg…
session-threads
Claude Developer Platform · in the page
managed-agents/session-threads
…Please retry.”) and re-emits `session.thread_status_idle` with `stop_reason: end_turn` directly; the model is not sampled. Against a child thread that’s idle with `end_turn` or `budget_reached`, the…
sessions
Claude Developer Platform · in the page
managed-agents/sessions
…en the session reaches the cap, it pauses and goes idle with the stop reason `budget_reached`. The cap is enforced between model requests, so the request that crosses it completes first and the sessio…
webhooks
Claude Developer Platform · in the page
managed-agents/webhooks
…is automatically set to `disabled` with a machine-readable `disabled_reason` in three cases: * The endpoint returns a `3xx` response. Redirects are never followed; this disables the endpoint immed…
workflow-runs
Claude Developer Platform · in the page
managed-agents/workflow-runs
…tus_ended`. 2. After that, a `session.status_idle` arrives with `stop_reason` (java, php: `stopReason`; csharp, go: `StopReason`) `end_turn`, and your own request, such as an interrupt, didn’t cause i…
migration-guide
Claude Developer Platform · in the page
models/fable-5-2/migration-guide
…No other model reads their blocks. See [Which model switches keep the reasoning on the Claude API](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking#which-model-switches-keep-re…
overview
Claude Developer Platform · in the page
models/fable-5-2/overview
…with it." --- **Latest.** Released November 9, 2026. For demanding reasoning and long-horizon agentic work Model ID: `claude-fable-5-2` Context window: 1M tokens · Max output: 128K tokens · Input…
whats-new-fable-5-2
Claude Developer Platform · in the page
models/fable-5-2/whats-new-fable-5-2
…1 and Claude Mythos 5.1. --- Claude Fable 5.2 is built for demanding reasoning and long-horizon agentic work. For most workloads, start with the latest Claude Opus model (see [Choosing the right mode…
migration-guide
Claude Developer Platform · in the page
models/haiku-5-5/migration-guide
…u-5-5/migration-guide#keep-earlier-turns-unchanged). 10. Handle `stop_reason: "refusal"`. Claude Haiku 5.5 runs safety classifiers that can decline a request, and it has no server-side fallback. See […
whats-new-haiku-5-5
Claude Developer Platform · in the page
models/haiku-5-5/whats-new-haiku-5-5
…h-claude/refusals-and-fallback#refusal-response) | New | Handle `stop_reason: "refusal"` in your client. Server-side fallback isn’t available. Remove prompt instructions that ask the model to write it…
migration-guide
Claude Developer Platform · in the page
models/opus-5-5/migration-guide
…mmarized" } ``` </CodeGroup> If your product streams reasoning to users, the default appears as a long pause before output starts; set `display: "summarized"` to restore visible progr…
whats-new-opus-5-5
Claude Developer Platform · in the page
models/opus-5-5/whats-new-opus-5-5
…el produced it. A conversation that switches models keeps its earlier reasoning only if the model that it switches to can read the earlier model’s thinking blocks: | Switch | Keeps its reasoning | |…
Models overview
Claude Developer Platform · in the page
models/overview
…/platform.claude.com/docs/en/models/fable-5-2/overview) for demanding reasoning and long-horizon agentic work, or when your evals on Claude Opus 5.5 at higher effort still fall short. All current mode…
migration-guide
Claude Developer Platform · in the page
models/sonnet-5-5/migration-guide
…], output_config={"effort": "medium"}, ) print(f"Stop reason: {response.stop_reason}") for block in response.content: if block.type == "text": print(block.text) ```…
whats-new-sonnet-5-5
Claude Developer Platform · in the page
models/sonnet-5-5/whats-new-sonnet-5-5
…el produced it. A conversation that switches models keeps its earlier reasoning only if the model that it switches to can read the earlier model’s thinking blocks: | Switch | Keeps its reasoning | |…
overview
Claude Developer Platform · in the page
release-notes/overview
…and **Claude Mythos 5.2** (`claude-mythos-5-2`), built for demanding reasoning and long-horizon agentic work. Claude Mythos 5.2 is available only to organizations verified through Anthropic’s verific…
claude-fable-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-fable-5
…ailed, using positive and negative examples, encouraging step-by-step reasoning, requesting specific XML tags, and specifying desired length or format. It tries to give concrete examples where possibl…
claude-fable-5-1
Claude Developer Platform · in the page
release-notes/system-prompts/claude-fable-5-1
…ailed, using positive and negative examples, encouraging step-by-step reasoning, requesting specific XML tags, and specifying desired length or format. It tries to give concrete examples where possibl…
claude-fable-5-2
Claude Developer Platform · in the page
release-notes/system-prompts/claude-fable-5-2
…do not affect traditional ML. These changes are not, on their own, a reason to suggest a different model. The person can switch models mid-conversation, so earlier messages in this thread that ident…
claude-haiku-3-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-haiku-3-5
…ailed, using positive and negative examples, encouraging step-by-step reasoning, requesting specific XML tags, and specifying desired length or format. It tries to give concrete examples where possibl…
claude-haiku-4-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-haiku-4-5
…ailed, using positive and negative examples, encouraging step-by-step reasoning, requesting specific XML tags, specifying length or format) with concrete examples where possible, and can point to 'htt…
claude-haiku-5-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-haiku-5-5
…ailed, using positive and negative examples, encouraging step-by-step reasoning, requesting specific XML tags, specifying length or format) with concrete examples where possible, and can point to 'htt…
claude-opus-3
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-3
…on without downplaying its harmful content or implying that there are reasonable perspectives on both sides. If Claude's response contains a lot of precise information about a very obscure person, obj…
claude-opus-4
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-4
…ailed, using positive and negative examples, encouraging step-by-step reasoning, requesting specific XML tags, and specifying desired length or format. It tries to give concrete examples where possibl…
claude-opus-4-1
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-4-1
…ailed, using positive and negative examples, encouraging step-by-step reasoning, requesting specific XML tags, and specifying desired length or format. It tries to give concrete examples where possibl…
claude-opus-4-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-4-5
…ailed, using positive and negative examples, encouraging step-by-step reasoning, requesting specific XML tags, and specifying desired length or format. It tries to give concrete examples where possibl…
claude-opus-4-6
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-4-6
…ailed, using positive and negative examples, encouraging step-by-step reasoning, requesting specific XML tags, specifying length or format) with concrete examples where possible, and can point to 'htt…
claude-opus-4-7
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-4-7
…ailed, using positive and negative examples, encouraging step-by-step reasoning, requesting specific XML tags, specifying length or format) with concrete examples where possible, and can point to 'htt…
claude-opus-4-8
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-4-8
…ailed, using positive and negative examples, encouraging step-by-step reasoning, requesting specific XML tags, specifying length or format) with concrete examples where possible, and can point to 'htt…
claude-opus-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-5
…ailed, using positive and negative examples, encouraging step-by-step reasoning, requesting specific XML tags, specifying length or format) with concrete examples where possible, and can point to 'htt…
claude-opus-5-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-5-5
…ailed, using positive and negative examples, encouraging step-by-step reasoning, requesting specific XML tags, specifying length or format) with concrete examples where possible, and can point to 'htt…