Source Intelligence
Sweep 28 Aug 2026 ยท 16:06Z Build v2.1.251 479 read Stable v2.1.236 Latest v2.1.250 Next v2.1.251 Feeds RSS JSON llms.txt

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

Search the documentation

50 pages for timeout.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it. Cut at 50, so a narrower query shows the rest.

PDF Processing Claude Developer Platform · in the page agents-and-tools/agent-skills/best-practices …`python # HTTP requests typically complete within 30 seconds # Longer timeout accounts for slow connections REQUEST_TIMEOUT = 30 # Three retries balances reliability vs speed # Most intermittent fail… Edit docker-compose.yaml: increment the integer in the setup service's Claude Developer Platform · in the page agents-and-tools/mcp-tunnels/deploy-compose …listen_addr: ":8080" log_level: info shutdown_timeout: 30s tunnel_domain: ${TUNNEL_DOMAIN} tls: cert_file: /data/tls.crt key_file: /data/tls… reference Claude Developer Platform · in the page agents-and-tools/mcp-tunnels/reference …| `info` | | `shutdown_timeout` | How long to wait for in-flight requests during graceful shutdown.… security Claude Developer Platform · in the page agents-and-tools/mcp-tunnels/security …title="Docker Compose"> ```bash docker compose down --timeout 0 ``` </Tab> </Tabs> </Step> <Step title="Detach the upstream MCP servers"> Remove the upstream… bash-tool Claude Developer Platform · in the page agents-and-tools/tool-use/bash-tool …to run. Your application owns everything else: the shell process, the timeout, and the safety checks. The following steps show a minimal implementation. <Steps> <Step title="Create a persistent bas… code-execution-tool Claude Developer Platform · in the page agents-and-tools/tool-use/code-execution-tool …code execution result with a non-zero `return_code` and a `detection_timeout` status message in its output. This is separate from the `execution_time_exceeded` [error code](https://platform.claude.co… computer-use-tool Claude Developer Platform · in the page agents-and-tools/tool-use/computer-use-tool …aitMs = 500): Promise<void> { clickAt(x, y); await setTimeout(waitMs); // Allow UI to update } ``` ```csharp C# static void ClickAndWait(int x, int y, double w… Process results programmatically Claude Developer Platform · in the page agents-and-tools/tool-use/programmatic-tool-calling …esult, the pending call times out after about 4 minutes and raises a `TimeoutError` inside the code. Return each tool result well before the `expires_at` timestamp on the paused response. See [Contain… Beta Claude Developer Platform · in the page api/beta …"rate_limit_error"` default: rate_limit_error - `BetaGatewayTimeoutError object` - `message: string` default: Request timeout - `type: "timeout_error"` default: timeo… Agents Claude Developer Platform · in the page api/beta/agents …calls without `restart` will run against the fresh session. - `timeout_ms: optional number` Per-call timeout in milliseconds. Defaults to the runner-wide tool timeout when omitted or z… Memories Claude Developer Platform · in the page api/beta/memory_stores/memories …"rate_limit_error"` default: rate_limit_error - `BetaGatewayTimeoutError object` - `message: string` default: Request timeout - `type: "timeout_error"` default: timeo… Batches Claude Developer Platform · in the page api/beta/messages/batches …r"` default: rate_limit_error - `BetaGatewayTimeoutError object` - `message: string` default: Request timeout - `type: "timeout_error… Retrieve Message Batch results Claude Developer Platform · in the page api/beta/messages/batches/results …r"` default: rate_limit_error - `BetaGatewayTimeoutError object` - `message: string` default: Request timeout - `type: "timeout_error… errors Claude Developer Platform · in the page api/errors …https://platform.claude.com/docs/en/api/errors#request-id). * 504 - `timeout_error`: The request timed out while processing. Consider using the [streaming Messages API](https://platform.claude.com/do… Batches Claude Developer Platform · in the page api/messages/batches …error"` default: rate_limit_error - `GatewayTimeoutError object` - `message: string` default: Request timeout - `type: "timeout_error… Retrieve Message Batch results Claude Developer Platform · in the page api/messages/batches/results …error"` default: rate_limit_error - `GatewayTimeoutError object` - `message: string` default: Request timeout - `type: "timeout_error… overview Claude Developer Platform · in the page api/overview …Built-in retry logic and error handling * Streaming support * Request timeouts and connection management For a list of client SDKs, see [Client SDKs](https://platform.claude.com/docs/en/cli-sdks-libr… Message Batches API Claude Developer Platform · in the page build-with-claude/batch-processing …still processing... waiting`); await new Promise((resolve) => setTimeout(resolve, 60_000)); } console.log(messageBatch); ``` ```csharp C# AnthropicClient client = new(); string messa… extended-thinking Claude Developer Platform · in the page build-with-claude/extended-thinking …beyond 32k tokens produces long-running requests that can hit system timeouts and open-connection limits. To track what a budget actually costs you, monitor the `usage.output_tokens_details.thinking… mid-conversation-effort-example Claude Developer Platform · in the page build-with-claude/mid-conversation-effort-example …eneral-purpose agent. Answer the user's request directly." REQUEST_TIMEOUT_SECONDS = 600 BASH_TIMEOUT_SECONDS = 60 TOOL_RESULT_MAX_CHARS = 8000 MAX_CONCURRENT = 10 DOC_TEST_MODE = bool(os.e… prompting-claude-fable-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-fable-5 …hifts teams encounter when adjusting to Claude Fable 5. Adjust client timeouts, streaming, and user-facing progress indicators before migrating, and consider restructuring harnesses to check on runs a… search-results Claude Developer Platform · in the page build-with-claude/search-results …figure the product, navigate to Settings > Configuration. The default timeout is 30 seconds, but can be adjusted between 10-120 seconds based on your needs.", ) ],… streaming Claude Developer Platform · in the page build-with-claude/streaming …e `max_tokens` values, where the SDKs require streaming to avoid HTTP timeouts. <CodeGroup> ```bash CLI # The ant CLI's --stream flag emits one event per line and does not # accumulate into a f… structured-outputs Claude Developer Platform · in the page build-with-claude/structured-outputs …satisfied. As a final stop-gap, the API also enforces a **compilation timeout of 180 seconds**. Schemas that pass all explicit checks but produce very large compiled grammars may hit this timeout. ##… thinking Claude Developer Platform · in the page build-with-claude/thinking …ire streaming when `max_tokens` is greater than 21,333, to avoid HTTP timeouts on long-running requests. This is a client-side validation, not an API restriction. If you don't need to process events i… apple-foundation-models Claude Developer Platform · in the page cli-sdks-libraries/libraries/apple-foundation-models …alizer also accepts `baseURL` (default `https://api.anthropic.com`), `timeout`, and `serverTools` (see [Server-side tools](https://platform.claude.com/docs/en/cli-sdks-libraries/libraries/apple-founda… csharp Claude Developer Platform · in the page cli-sdks-libraries/sdks/csharp …th { BaseUrl = "https://example.com", Timeout = TimeSpan.FromSeconds(42), } ) .Messages.Create(parameters); Console.WriteLine(message); ``` Using a [`… go Claude Developer Platform · in the page cli-sdks-libraries/sdks/go …ackoff. The SDK retries by default all connection errors, 408 Request Timeout, 409 Conflict, 429 Rate Limit, and >=500 Internal errors. You can use the `WithMaxRetries` option to configure or disable… java Claude Developer Platform · in the page cli-sdks-libraries/sdks/java …for example, because of a network connectivity problem) * 408 Request Timeout * 409 Conflict * 429 Rate Limit * 5xx Internal The API may also explicitly instruct the SDK to retry or not retry a reque… php Claude Developer Platform · in the page cli-sdks-libraries/sdks/php …ption` | | Other HTTP error | `APIStatusException` | | Timeout | `APITimeoutException` | | Network error | `APIConnectionException` | ## Retries Certain err… For Amazon Bedrock support Claude Developer Platform · in the page cli-sdks-libraries/sdks/python …(for example, because of a network connectivity problem), 408 Request Timeout, 409 Conflict, 429 Rate Limit, and >=500 Internal errors are all retried by default. You can use the `max_retries` option… Automatically handles tool execution loop Claude Developer Platform · in the page cli-sdks-libraries/sdks/ruby …rverError` | | Other HTTP error | `APIStatusError` | | Timeout | `APITimeoutError` | | Network error | `APIConnectionError` | ## Retries Certain errors will… typescript Claude Developer Platform · in the page cli-sdks-libraries/sdks/typescript …(for example, because of a network connectivity problem), 408 Request Timeout, 409 Conflict, 429 Rate Limit, and >=500 Internal errors are all retried by default. You can use the `maxRetries` option… Fetch the first page (newest activities first) and capture its trailing cursor. Claude Developer Platform · in the page manage-claude/compliance-activity-feed …successfully returned page remains valid; a request that fails (5xx, timeout, network error) does not advance your position. Retry the same request with the same cursor. Only move to the next cursor… inference-hooks Claude Developer Platform · in the page manage-claude/inference-hooks …evaluates the content and responds with a verdict within the verdict timeout your organization configures (5 seconds by default). 4. On `allow`, inference proceeds normally. On `deny`, the request is… inference-hooks-configuration Claude Developer Platform · in the page manage-claude/inference-hooks-configuration …| | Timeout | The AI security server did not return a verdict within the timeout.… inference-hooks-endpoint Claude Developer Platform · in the page manage-claude/inference-hooks-endpoint …lds the request until your AI security server responds or the verdict timeout elapses. ## The prompt frame The request body is a JSON object with these fields: | Field | Type | Des… Create the app registration that represents the Claude API audience. Claude Developer Platform · in the page manage-claude/wif-providers/azure …ms={"api-version": "2019-08-01", "resource": AUDIENCE}, timeout=5, ) else: # VM or VM Scale Set: Azure Instance Metadata Service (IMDS) response = req… dreams Claude Developer Platform · in the page managed-agents/dreams …---------------------------------------------------------------- | | `timeout` | The pipeline exceeded its runtime budget.… mcp-connector Claude Developer Platform · in the page managed-agents/mcp-connector …iled_error` | The MCP server could not be reached (network error, timeout, or non-authentication HTTP failure).… spawn.sh: called once per claimed work item Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes …lets open requests # finish before that hook runs, so set --timeout-graceful-shutdown to bound the wait. async def shutdown() -> None: for task in inflight:… overview Claude Developer Platform · in the page release-notes/overview …dev), a maintained, API-compatible fork: build custom `http_client`, `Timeout`, and transport objects from `httpx2` (the `DefaultHttpxClient` helpers are unchanged), and call `httpx2.alias_httpx()` at… Intercept and control agent behavior with hooks Claude Code CLI · in the page agent-sdk/hooks …| | `timeout` | `number` | `undefined` | Timeout in seconds. When omitted, Claude Code applies the [event's default timeout](#h… Hosting the Agent SDK Claude Code CLI · in the page agent-sdk/hosting …loads ticket history across interactions. Tune your provider's idle timeout to how frequently you expect users to return. Shutting a container down without a `SessionStore` configured loses the tran… Connect to external tools with MCP Claude Code CLI · in the page agent-sdk/mcp …ays the first turn? | First-turn wait timeout | | :-------------------------------------------------… Observability with OpenTelemetry Claude Code CLI · in the page agent-sdk/observability …t attempts to flush pending data, but the flush is bounded by a short timeout, so spans can still be dropped if the collector is slow to respond. If your process is killed before the CLI shuts down, a… Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …e session_store_flush: SessionStoreFlushMode = "batched" load_timeout_ms: int = 60_000 task_budget: TaskBudget | None = None ``` | Property | Type… Streaming Input Claude Code CLI · in the page agent-sdk/streaming-vs-single-mode …it for conditions or user input await new Promise((resolve) => setTimeout(resolve, 2000)); // Follow-up with image yield { type: "user", message: { role: "user",… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …e={null} function startup(params?: { options?: Options; initializeTimeoutMs?: number; }): Promise<WarmQuery>; ``` #### Parameters | Parameter | Type | Description… Handle approvals and user input Claude Code CLI · in the page agent-sdk/user-input …---------------------------- | | `Bash` | `command`, `description`, `timeout` | | `Write` | `file_path`, `content` | | `Edit` | `file_path`, `old_string`, `new_string` | | `Read…