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.
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 might also explicitly instruct the SDK to retry or not retry a req…
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 are…
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).
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…
compliance-errors
Claude Developer Platform · in the page
manage-claude/compliance-errors
…ep the same `id`, so deduplicate on `id`. * Set your client's request timeout to at least 5 minutes for this walk. * Lowering `limit` is not a reliable way to avoid this error. If an oldest-first req…
compliance-sessions
Claude Developer Platform · in the page
manage-claude/compliance-sessions
…instead, with no `order` and no `page`, and set your client's request timeout to at least 5 minutes. If an oldest-first page returns the same error, that errors guide entry says what to do. On a very…
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
…a publicly routable host. | | 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
…Anthropic waits 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…
api
Claude Developer Platform · in the page
manage-claude/opentelemetry/api
…The API retries a delivery later, a limited number of times, after a timeout, a connection, TLS, or DNS failure, an invalid address, or a `408`, `429`, or `5xx` response. It doesn't retry other failu…
plugins-api
Claude Developer Platform · in the page
manage-claude/plugins-api
…on can take up to 120 seconds before it returns, so set your client's timeout above that. Both endpoints require the `read:plugins` or `write:plugins` scope (`read:org_audit` and `read:compliance_org_…
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
…ts open requests # finish before that hook runs, so set --timeout-graceful-shutdown to bound the wait. async def shutdown() -> None: for task in inflight:…
self-hosted-sandboxes-custom-tools
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes-custom-tools
…and keep the session open for # the life of the worker. The timeout turns a hung tool call into an error # result instead of a stalled call. async with ( st…
self-hosted-sandboxes-operations
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes-operations
…conds after the stop signal by default. Raise that limit with `--stop-timeout` on `docker run`, or with your orchestrator's termination grace period. If a worker is killed before its teardown runs, a…
self-hosted-sandboxes-workers
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes-workers
…n 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:…
workflow-runs
Claude Developer Platform · in the page
managed-agents/workflow-runs
…run's lifetime from passing, so a run that stays paused can end with `timeout_error`. The following events report a run's start, its phases, and its end. A pause at the budget sends one too. A pause a…
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…
Configure your agent
Claude Code CLI · in the page
agent-sdk/configuration
…ss reads, see [Environment variables](/docs/en/env-vars). To tune API timeouts and stall detection this way, follow the Handle slow or stalled API responses section in the [TypeScript reference](/docs…
Intercept and control agent behavior with hooks
Claude Code CLI · in the page
agent-sdk/hooks
…Array of callback functions to execute when the pattern matches | | `timeout` | `number` | `undefined` | Timeout in seconds. When omitted, Claude Code applies the [event's default timeout](#hook-time…
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
…Name`, the first turn always waits for that tool's server, up to `MCP_TIMEOUT`, wherever you configured it. For a server in `options.mcpServers`, find its type in the first column to see how long the…
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 | Default | Description | | :- | :- | :-…
Streaming Input
Claude Code CLI · in the page
agent-sdk/streaming-vs-single-mode
…Wait for conditions or user input await new Promise((resolve) => setTimeout(resolve, 2000)); // Follow-up with image yield { type: "user", message: { role: "user", content:…
Troubleshoot the Agent SDK
Claude Code CLI · in the page
agent-sdk/troubleshooting
…s not being called, a tool missing from an SDK MCP server, connection timeouts, tool output that exceeds the maximum allowed tokens | [MCP troubleshooting](/docs/en/agent-sdk/mcp#troubleshooting) | |…
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 | | :- | :- | :- | | `options`…
Handle approvals and user input
Claude Code CLI · in the page
agent-sdk/user-input
…Tool | Input fields | | - | - | | `Bash` | `command`, `description`, `timeout` | | `Write` | `file_path`, `content` | | `Edit` | `file_path`, `old_string`, `new_string` | | `Read` | `file_path`, `offs…
Claude Code on Amazon Bedrock
Claude Code CLI · in the page
amazon-bedrock
…th-amazon-bedrock-api-keys/). #### Credential caching and resolution timeout Claude Code resolves the AWS default credential provider chain once and keeps the resolved credentials in memory. It reus…
Best practices for Claude Code
Claude Code CLI · in the page
best-practices
…*"fix the login bug"* | *"users report that login fails after session timeout. check the auth flow in src/auth/, especially token refresh. write a failing test that reproduces the issue, then fix it"*…
Claude Code changelog
Claude Code CLI · in the page
changelog
…ng the session's setup; if yours needs longer, raise `--checkout-hook-timeout-min` or set it to `0` * Self-hosted runner: Changed the certificate file built for Anthropic-managed git to filter its tru…
Channels reference
Claude Code CLI · in the page
channels-reference
…t nextId = 1 Bun.serve({ port: 8788, hostname: '127.0.0.1', idleTimeout: 0, // don't close idle SSE streams async fetch(req) { const url = new URL(req.url) // GET /events: SSE stream…
Claude apps gateway configuration
Claude Code CLI · in the page
claude-apps-gateway-config
…orwarding to your observability stack * [`access_control`, `limits`, `timeouts`, `rate_limits`](#http-tuning): IP allow/deny, request size caps, upstream time-to-first-byte, and per-IP sign-in limits…
Claude apps gateway deployment and operations
Claude Code CLI · in the page
claude-apps-gateway-deploy
…rects them breaks sign-in and token refresh. Give the proxy any idle timeout longer than the gateway's keepalive interval, which depends on the upstream: * On every upstream except `provider: anthro…
Deploy Claude apps gateway on AWS
Claude Code CLI · in the page
claude-apps-gateway-on-aws
…ay's keepalive pings keep streams inside that default, so raising the timeout adds margin above the ping cadence; the [Troubleshooting](#troubleshooting) row on dropped streams covers the mechanism an…
Deploy Claude apps gateway on Google Cloud
Claude Code CLI · in the page
claude-apps-gateway-on-gcp
…serviceaccount.com" \ --min-instances=1 \ --max-instances=8 \ --timeout=3600 \ --ingress=internal \ --network="$VPC" --subnet=cc-gateway-subnet --vpc-egress=private-ranges-only \ --set-sec…
Claude apps gateway spend limits
Claude Code CLI · in the page
claude-apps-gateway-spend-limits
…stgres availability The pre-check queries Postgres with a two-second timeout. If the store is unreachable or times out, enforcement fails open by default: the request proceeds, the gateway logs a war…
Use Claude Code in the cloud
Claude Code CLI · in the page
claude-code-on-the-web
…me limits**: commands Claude runs and SessionStart hooks have default timeouts you can change, and a setup script is cached only when it finishes in roughly five minutes. See [Time limits](/docs/en/cl…
Explore the .claude directory
Claude Code CLI · in the page
claude-directory
…const [isFullscreen, setIsFullscreen] = useState(false); const copyTimeoutRef = useRef(null); const rootRef = useRef(null); useEffect(() => { setMounted(true); const applyHash = scroll…
claude-tag
Claude Code CLI · in the page
claude-tag
…d.appendChild(a),function(){window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(a)},1)}}();function f(){window.removeEventListener("scroll",d),document.removeEventListener…
CLI reference
Claude Code CLI · in the page
cli-reference
…0 on success or 1 on failure. Use `--json` for the raw payload and `--timeout <minutes>` to override the 45-minute default. Use `--post` on a `github.com` pull request target to post the finished find…
Configure cloud environments
Claude Code CLI · in the page
cloud-environments
…mmands Claude runs**: a cloud environment doesn't set its own command timeout, so the Bash tool's defaults apply. Claude waits 2 minutes for a foreground command by default and can ask for up to 10 mi…
Explore the context window
Claude Code CLI · in the page
context-window
…A42', vis: 'full', desc: '"Use a subagent to research session timeout handling, then fix it"', tip: 'Follow-ups add to the same context. Delegating research to a subagent keeps large file…
Desktop application
Claude Code CLI · in the page
desktop
…les itself](#environment-variables-desktop-sets-itself), such as `API_TIMEOUT_MS`, and your sessions get its value for those instead of yours. > [!NOTE] > > If your environment selector is above the…
Environment variables
Claude Code CLI · in the page
env-vars
…ab title="macOS, Linux, WSL"> ```bash theme={null} export API_TIMEOUT_MS="1200000" claude ``` To set it for every session, add the `export` line to `~/.bashrc`, `~/.zshrc`, or you…