{"name":"CLAUDE_STREAM_IDLE_TIMEOUT_MS","slug":"claude-stream-idle-timeout-ms","family":"env","title":"Environment variables","noun":"environment variable","description":"A new admin key, `inferenceStreamIdleTimeoutSec`, sets Claude Code's stream idle timeout (300 to 1800 seconds) for sessions the app starts","description_source":"entry","described_by":{"version":"2.1.281","anchor":"admin-schema-inferencestreamidletimeoutsec"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.309","builds":150,"mined_builds":150,"first_cited":{"version":"2.1.126","released_at":"2026-04-30 20:30:34","spans":1}},"aliases":[],"entries":[{"version":"2.1.295","anchor":"stream-idle-and-api-timeouts-can-come-from-a-server-side-con","heading":"Stream and request timeouts can now come from a received configuration","line":"If you leave the timeout variables unset, Claude Code can now take stream-idle and request timeouts from a received configuration","released_at":"2026-10-08 18:22:58","reason":"found in this entry's text"},{"version":"2.1.281","anchor":"admin-schema-inferencestreamidletimeoutsec","heading":"Admin schema: inferenceStreamIdleTimeoutSec","line":"A new admin key, `inferenceStreamIdleTimeoutSec`, sets Claude Code's stream idle timeout (300 to 1800 seconds) for sessions the app starts","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text"},{"version":"2.1.126","anchor":"streaming-idle-timeout-calculation-extracted-into-a-helper","heading":"Streaming idle-timeout calculation extracted into a helper","line":null,"released_at":"2026-04-30 20:30:34","reason":"found in this entry's text"},{"version":"2.1.104","anchor":"byte-level-stream-idle-timeout-detection","heading":"Byte-level stream idle timeout detection","line":null,"released_at":"2026-04-12 02:26:22","reason":"found in this entry's text"}],"entries_total":4,"docs":[{"source":"claude-code","path":"agent-sdk\/python","title":"Agent SDK reference - Python","documented":false},{"source":"claude-code","path":"agent-sdk\/typescript","title":"Agent SDK reference - TypeScript","documented":false},{"source":"claude-code","path":"claude-apps-gateway-deploy","title":"Claude apps gateway deployment and operations","documented":false},{"source":"claude-code","path":"env-vars","title":"Environment variables","documented":false},{"source":"claude-code","path":"network-config","title":"Enterprise network configuration","documented":false},{"source":"claude-code","path":"workflows","title":"Orchestrate subagents at scale with dynamic workflows","documented":false},{"source":"claude-docs","path":"third-party\/claude-desktop\/configuration","title":"Configuration reference","documented":false},{"source":"claude-docs","path":"third-party\/claude-desktop\/gateway","title":"Deploy Claude Desktop on 3P with an LLM gateway","documented":false}],"docs_total":8,"gates":[],"related":[{"name":"CLAUDE_STREAM_FIRST_BYTE_TIMEOUT_MS","slug":"claude-stream-first-byte-timeout-ms","description":"Hung requests are aborted when headers never arrive, and you can tune the window."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-stream-idle-timeout-ms","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}