Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

232 pages for timeout.

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

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 versus speed # Most intermittent… 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… advisor-tool Claude Developer Platform · in the page agents-and-tools/tool-use/advisor-tool …e request, so allow more than the // C# SDK's default non-streaming timeout, which it sizes from max_tokens. var client = new AnthropicClient { Timeout = TimeSpan.FromMinutes(5) }; var tools =… 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 …- `message: string` default: Rate limited - `BetaGatewayTimeoutError object` - `type: "timeout_error"` default: timeout_error - `message: string` default: Request… Dreams Claude Developer Platform · in the page api/beta/dreams …- `type: string` A code for why the dream failed, such as `timeout` or `internal_error`. The [Dreams guide](https://platform.claude.com/docs/en/managed-agents/dreams?sdk_languages=ht… Archive a Dream Claude Developer Platform · in the page api/beta/dreams/archive …- `type: string` A code for why the dream failed, such as `timeout` or `internal_error`. The [Dreams guide](https://platform.claude.com/docs/en/managed-agents/dreams?sdk_languages=ht… Cancel a Dream Claude Developer Platform · in the page api/beta/dreams/cancel …- `type: string` A code for why the dream failed, such as `timeout` or `internal_error`. The [Dreams guide](https://platform.claude.com/docs/en/managed-agents/dreams?sdk_languages=ht… Create a Dream Claude Developer Platform · in the page api/beta/dreams/create …- `type: string` A code for why the dream failed, such as `timeout` or `internal_error`. The [Dreams guide](https://platform.claude.com/docs/en/managed-agents/dreams?sdk_languages=ht… List Dreams Claude Developer Platform · in the page api/beta/dreams/list …- `type: string` A code for why the dream failed, such as `timeout` or `internal_error`. The [Dreams guide](https://platform.claude.com/docs/en/managed-agents/dreams?sdk_languages=ht… Get a Dream Claude Developer Platform · in the page api/beta/dreams/retrieve …- `type: string` A code for why the dream failed, such as `timeout` or `internal_error`. The [Dreams guide](https://platform.claude.com/docs/en/managed-agents/dreams?sdk_languages=ht… Memories Claude Developer Platform · in the page api/beta/memory_stores/memories …- `message: string` default: Rate limited - `BetaGatewayTimeoutError object` - `type: "timeout_error"` default: timeout_error - `message: string` default: Request… Retrieve Message Batch results Claude Developer Platform · in the page api/beta/messages/batches/results …string` default: Rate limited - `BetaGatewayTimeoutError object` - `type: "timeout_error"` default: timeout_error - `message: string`… Telemetry Destinations Claude Developer Platform · in the page api/beta/organization/telemetry_destinations …led yet. Examples are `temporary DNS failure`, `TLS failure`, `timeout`, `connection failure`, `invalid address`, `HTTP error (status 503)`, and `redirect (status 301)`. The message is `invalid… Create a Telemetry Destination Claude Developer Platform · in the page api/beta/organization/telemetry_destinations/create …led yet. Examples are `temporary DNS failure`, `TLS failure`, `timeout`, `connection failure`, `invalid address`, `HTTP error (status 503)`, and `redirect (status 301)`. The message is `invalid… List Telemetry Destinations Claude Developer Platform · in the page api/beta/organization/telemetry_destinations/list …led yet. Examples are `temporary DNS failure`, `TLS failure`, `timeout`, `connection failure`, `invalid address`, `HTTP error (status 503)`, and `redirect (status 301)`. The message is `invalid… Retrieve a Telemetry Destination Claude Developer Platform · in the page api/beta/organization/telemetry_destinations/retrieve …led yet. Examples are `temporary DNS failure`, `TLS failure`, `timeout`, `connection failure`, `invalid address`, `HTTP error (status 503)`, and `redirect (status 301)`. The message is `invalid… Test a Telemetry Destination Claude Developer Platform · in the page api/beta/organization/telemetry_destinations/test …n the destination returned one. Examples: `HTTP error (status 403)`, `timeout`, `TLS failure`. It has the same form as the destination's `delivery_health.last_error` and never contains the destination… Update a Telemetry Destination Claude Developer Platform · in the page api/beta/organization/telemetry_destinations/update …led yet. Examples are `temporary DNS failure`, `TLS failure`, `timeout`, `connection failure`, `invalid address`, `HTTP error (status 503)`, and `redirect (status 301)`. The message is `invalid… Events Claude Developer Platform · in the page api/beta/sessions/events …Why the run did not finish. - `BetaManagedAgentsTimeoutWorkflowRunError object` The run reached its time limit. - `type: "timeout_error"` -… List Events Claude Developer Platform · in the page api/beta/sessions/events/list …Why the run did not finish. - `BetaManagedAgentsTimeoutWorkflowRunError object` The run reached its time limit. - `type: "timeout_error"` -… Stream Events Claude Developer Platform · in the page api/beta/sessions/events/stream …Why the run did not finish. - `BetaManagedAgentsTimeoutWorkflowRunError object` The run reached its time limit. - `type: "timeout_error"` -… Threads Claude Developer Platform · in the page api/beta/sessions/threads …Why the run did not finish. - `BetaManagedAgentsTimeoutWorkflowRunError object` The run reached its time limit. - `type: "timeout_error"` -… Events Claude Developer Platform · in the page api/beta/sessions/threads/events …Why the run did not finish. - `BetaManagedAgentsTimeoutWorkflowRunError object` The run reached its time limit. - `type: "timeout_error"` -… List Session Thread Events Claude Developer Platform · in the page api/beta/sessions/threads/events/list …Why the run did not finish. - `BetaManagedAgentsTimeoutWorkflowRunError object` The run reached its time limit. - `type: "timeout_error"` -… Stream Session Thread Events Claude Developer Platform · in the page api/beta/sessions/threads/events/stream …Why the run did not finish. - `BetaManagedAgentsTimeoutWorkflowRunError object` The run reached its time limit. - `type: "timeout_error"` -… Vaults Claude Developer Platform · in the page api/beta/vaults …CP server didn't return one for the failing step, for example after a timeout or a DNS or TLS failure. - `body: string` Response body. May be truncated and has sensitive values scrubbe… Credentials Claude Developer Platform · in the page api/beta/vaults/credentials …CP server didn't return one for the failing step, for example after a timeout or a DNS or TLS failure. - `body: string` Response body. May be truncated and has sensitive values scrubbe… Validate an MCP OAuth Credential Claude Developer Platform · in the page api/beta/vaults/credentials/mcp_oauth_validate …CP server didn't return one for the failing step, for example after a timeout or a DNS or TLS failure. - `body: string` Response body. May be truncated and has sensitive values scrubbe… 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 …ge: string` default: Rate limited - `GatewayTimeoutError object` - `type: "timeout_error"` default: timeout_error - `message: string`… Retrieve Message Batch results Claude Developer Platform · in the page api/messages/batches/results …ge: string` default: Rate limited - `GatewayTimeoutError object` - `type: "timeout_error"` default: timeout_error - `message: string`… spans Claude Developer Platform · in the page api/opentelemetry/spans …rror response doesn't have an error type. `connection_error`, `client_timeout_error`, or `client_error` when the call failed in the SDK. `api_error` when the server ended a stream early.… 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 [SDKs, CLI, and libraries](https://platform.claude.com/docs/en/… 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 …al-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… prompting-claude-opus-5-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-opus-5-5 …ops the model at the limit, so if you need a hard stop, keep your own timeout. Also check answer quality on your own tasks, because under time pressure the model might search and verify a little less.… 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 SDK requires streaming to avoid HTTP timeouts. <CodeGroup exclude="shell:cURL"> ```bash CLI # The ant CLI's --stream flag emits one event on each line and does no… 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 might hit this timeout.… thinking Claude Developer Platform · in the page build-with-claude/thinking …res 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); ``` You can us…
Feedback