Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

199 pages for streaming.

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

migration Claude Developer Platform · in the page managed-agents/migration …vironment.ID, }); var stream = client.Beta.Sessions.Events.StreamStreaming(session.ID); await client.Beta.Sessions.Events.Send(session.ID, new() { Events = [ new BetaMa… multiagent-orchestration Claude Developer Platform · in the page managed-agents/multiagent-orchestration …stream](https://platform.claude.com/docs/en/managed-agents/events-and-streaming). Additional threads are spawned at runtime when it delegates work. A workflow run also creates threads. A subagent’s t… permission-policies Claude Developer Platform · in the page managed-agents/permission-policies …events](https://platform.claude.com/docs/en/managed-agents/events-and-streaming#stream-events) in the Session event stream guide, or [subscribe to webhooks](https://platform.claude.com/docs/en/managed… quickstart Claude Developer Platform · in the page managed-agents/quickstart …creating an agent, setting up an environment, starting a session, and streaming agent responses. Let Claude Code set up your agent for you ```text /claude-api managed-agents-onboard ``` ## Core con… reference Claude Developer Platform · in the page managed-agents/reference …stream](https://platform.claude.com/docs/en/managed-agents/events-and-streaming) for sending, streaming, and listing events. Webhook event types are listed separately in [Subscribe to webhooks](https:… scheduled-deployments Claude Developer Platform · in the page managed-agents/scheduled-deployments …stream](https://platform.claude.com/docs/en/managed-agents/events-and-streaming) or [webhooks](https://platform.claude.com/docs/en/managed-agents/webhooks). Deployment lifecycle changes and the outcom… secure-deployment Claude Developer Platform · in the page managed-agents/secure-deployment …ession](https://platform.claude.com/docs/en/managed-agents/events-and-streaming#answer-tool-calls-that-pause-the-session). * **Keep a person in the loop.** Use `always_ask` on the powerful tool so a p… secure-deployment-monitoring Claude Developer Platform · in the page managed-agents/secure-deployment-monitoring …ession](https://platform.claude.com/docs/en/managed-agents/events-and-streaming#answer-tool-calls-that-pause-the-session). In a self-hosted sandbox, an `agent.tool_use` event can be waiting for your s… spawn.sh: called once per claimed work item Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes …stream](https://platform.claude.com/docs/en/managed-agents/events-and-streaming) as ordinary tool events. Because each worker syncs on an interval, a change written in one session becomes visible to a… self-hosted-sandboxes-custom-tools Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-custom-tools …result](https://platform.claude.com/docs/en/managed-agents/events-and-streaming#return-a-custom-tool-result). </CodeGroupItem> ```go Go package main import ( "context"… self-hosted-sandboxes-memory Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-memory …stream](https://platform.claude.com/docs/en/managed-agents/events-and-streaming) as ordinary tool events. Because each worker syncs on an interval, a change written in one session becomes visible to… self-hosted-sandboxes-operations Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-operations …rrupt`](https://platform.claude.com/docs/en/managed-agents/events-and-streaming#interrupt-the-agent) event. The session’s work is queued again, and the next worker that claims it retries the mount.… self-hosted-sandboxes-reference Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-reference …reason](https://platform.claude.com/docs/en/managed-agents/events-and-streaming#respond-when-the-session-goes-idle) does not count. Defaults to `60s`. Set it to `0` to turn off the timeout. With an `-… session-observability Claude Developer Platform · in the page managed-agents/session-observability …" href="https://platform.claude.com/docs/en/managed-agents/events-and-streaming"> Send events, stream responses, and interrupt or redirect your session while it runs. </Card> <Card title="Ses… session-operations Claude Developer Platform · in the page managed-agents/session-operations …event](https://platform.claude.com/docs/en/managed-agents/events-and-streaming#send-system-messages). The semantics of a `tools` (csharp, go: `Tools`) or `mcp_servers` (java, php: `mcpServers`; csha… session-threads Claude Developer Platform · in the page managed-agents/session-threads …await foreach (var evt in client.Beta.Sessions.Threads.Events.StreamStreaming(thread.ID, new() { SessionID = session.ID })) { if (evt.Value is BetaManagedAgentsAgentMessageEvent mess… sessions Claude Developer Platform · in the page managed-agents/sessions …events](https://platform.claude.com/docs/en/managed-agents/events-and-streaming#send-events) endpoint immediately after creation. Per-event content rules are also the same as on that endpoint. An empt… tools Claude Developer Platform · in the page managed-agents/tools …ession](https://platform.claude.com/docs/en/managed-agents/events-and-streaming#handling-custom-tool-calls). For sessions that run in a self-hosted sandbox, the environment worker can [serve custom t… tools-web-restrictions Claude Developer Platform · in the page managed-agents/tools-web-restrictions …error`](https://platform.claude.com/docs/en/managed-agents/events-and-streaming) event. It then returns to `idle` without retrying. To continue the session: 1. Fix the setting by [updating the sessi… webhooks Claude Developer Platform · in the page managed-agents/webhooks …stream](https://platform.claude.com/docs/en/managed-agents/events-and-streaming), webhooks notify you of major state changes. Webhook events return the event `type` and `id`, not the full object. Whe… workflow-runs Claude Developer Platform · in the page managed-agents/workflow-runs …stream](https://platform.claude.com/docs/en/managed-agents/events-and-streaming). To stop a run, ask the agent to stop it (see [Interrupt a session with runs open](https://platform.claude.com/docs/en/… migration-guide Claude Developer Platform · in the page models/haiku-5-5/migration-guide …. The exact increase depends on the content. Requests, responses, and streaming events keep the same shape. What changes is anything you measure or budget in tokens: * `usage` fields and [token count… migration-guide Claude Developer Platform · in the page models/opus-5-5/migration-guide …ffort parameter does not require it). * Remove the `fine-grained-tool-streaming-2025-05-14` beta header. * Remove the `interleaved-thinking-2025-05-14` beta header (adaptive thinking enables interleav… migration-guide Claude Developer Platform · in the page models/sonnet-5-5/migration-guide …migration-guide#computer-use-toolset), without the `fine-grained-tool-streaming-2025-05-14` beta header. On Amazon Bedrock, `computer_20251124` also works. * [Pair the advisor tool](https://platform.c… overview Claude Developer Platform · in the page release-notes/overview …p_reason: "refusal"` without Claude having generated any output. See [Streaming refusals](https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/handle-streaming-refusals) for det… claude-fable-5-1 Claude Developer Platform · in the page release-notes/system-prompts/claude-fable-5-1 …xolotl, grinding across the letters of "HAPPY BIRTHDAY" with confetti streaming behind. [creates an SVG banner of the skateboarding-axolotl design] </response> <rationale>Claude recognizes the charac… claude-fable-5-2 Claude Developer Platform · in the page release-notes/system-prompts/claude-fable-5-2 …xolotl, grinding across the letters of "HAPPY BIRTHDAY" with confetti streaming behind. [creates an SVG banner of the skateboarding-axolotl design] </response> <rationale>Claude recognizes the charac… claude-opus-5-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-5-5 …xolotl, grinding across the letters of "HAPPY BIRTHDAY" with confetti streaming behind. [creates an SVG banner of the skateboarding-axolotl design] </response> <rationale>Claude recognizes the charac… reduce-latency Claude Developer Platform · in the page test-and-evaluate/strengthen-guardrails/reduce-latency …odel such as Claude Haiku 5.5, trimming prompt and output tokens, and streaming responses. --- Latency refers to the time it takes for the model to process a prompt and generate an output. Latency ca… How the agent loop works Claude Code CLI · in the page agent-sdk/agent-loop …`:** only emitted when partial messages are enabled. Contains raw API streaming events (text deltas, tool input chunks). See [Stream responses](https://code.claude.com/docs/en/agent-sdk/streaming-outp… Configure your agent Claude Code CLI · in the page agent-sdk/configuration …aises, so wrap the loop in a try block to continue past the error * **Streaming input**: the session stays alive past a cap result, and the max-turns count starts over for each queued message. The bud… Track cost and usage Claude Code CLI · in the page agent-sdk/cost-tracking …agent-sdk/typescript#sdkresultmessage) message at the end, except in [streaming input mode](https://code.claude.com/docs/en/agent-sdk/streaming-vs-single-mode.md), where one `query()` call carries mul… Modifying system prompts Claude Code CLI · in the page agent-sdk/modifying-system-prompts …Code: a coding agent operating in a repository, with a human watching streaming output and steering the work. The further your product is from that, the more you'll want to write your own prompt. | Y… Configure permissions Claude Code CLI · in the page agent-sdk/permissions …ermission mode when calling `query()` or change it dynamically during streaming sessions. With Claude Code v2.1.302 or later, your app starts in `default` mode unless you set a permission mode or it… Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …ext | | **Connection** | Managed automatically | Manual control | | **Streaming Input** | ✅ Supported | ✅ Supported | | **Interrupts** | ❌ Not supported | ✅ Supported | | **Hooks** | ✅ Supported | ✅ S… Quickstart Claude Code CLI · in the page agent-sdk/quickstart …l for debugging but noisy otherwise. > [!NOTE] > > This example uses streaming to show progress in real-time. If you don't need live output (for example, for background jobs or CI pipelines), you can… Extend agents with skills Claude Code CLI · in the page agent-sdk/skills …n in [Single Message Input](https://code.claude.com/docs/en/agent-sdk/streaming-vs-single-mode.md#single-message-input), or set `maxTurns` high enough for the work to complete. ### Compact history wi… Track todos Claude Code CLI · in the page agent-sdk/todo-tracking …md): the options, types, and tool documentation for the Python SDK * [Streaming Input](https://code.claude.com/docs/en/agent-sdk/streaming-vs-single-mode.md): the two input modes, and when to use stre… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …kusermessage)`>` | The input prompt as a string or async iterable for streaming mode | | `options` | [`Options`](#options) | Optional configuration object (see Options type below) | #### Returns Ret… TypeScript SDK V2 session API (removed) Claude Code CLI · in the page agent-sdk/typescript-v2-preview …The API surface reduced to creating a session, sending a message, and streaming the response: * `createSession()` / `resumeSession()`: Start or continue a conversation * `session.send()`: Send a mess… Handle approvals and user input Claude Code CLI · in the page agent-sdk/user-input …aude toward what the user wants instead * **Redirect entirely**: use [streaming input](https://code.claude.com/docs/en/agent-sdk/streaming-vs-single-mode.md) to send Claude a completely new instructio… Claude Code on Amazon Bedrock Claude Code CLI · in the page amazon-bedrock …com/bedrock/latest/userguide/inference-profiles-support.html) ID ### Streaming errors behind a gateway or proxy Amazon Bedrock streams `InvokeModelWithResponseStream` responses in a binary event-str… Auto mode classifier request charges Claude Code CLI · in the page auto-mode-classifier-billing …ace of the header. * **Responses**: the gateway returns responses and streaming events without dropping fields or rewriting tool-use IDs. To let the checks' results through, it keeps the `safeguard_re… Claude Code changelog Claude Code CLI · in the page changelog …les jumping between grid and stacked layouts on half-typed rows while streaming, and long tables falling back to raw pipes * Fixed the /resume picker showing the text of CLAUDE.md or CLAUDE.local.md a… Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry Claude Code CLI · in the page claude-apps-gateway …nt that defines a `sigv4` block at all pins all three request forms, `streaming`, `presigned`, and `sigv4a`, to `deny`. An `awsPairs` pair is never forwarded in a form that can re-sign; a pair that na… Claude apps gateway configuration Claude Code CLI · in the page claude-apps-gateway-config …s to this upstream | Carries `headers:` | | - | - | | `/v1/messages`, streaming or not, and `/v1/messages/count_tokens` | Yes | | A request that failed over from another upstream | Yes, this upstream'… Claude apps gateway deployment and operations Claude Code CLI · in the page claude-apps-gateway-deploy …teway replica sends at most 256 requests upstream at the same time. A streaming response counts against the limit until the stream ends. A request that arrives while a replica is at the limit waits i… Deploy Claude apps gateway on AWS Claude Code CLI · in the page claude-apps-gateway-on-aws …tes: idle_timeout.timeout_seconds=3600`, a margin above the gateway's streaming keepalive; see [Troubleshooting](#troubleshooting) > > With IRSA, the AWS SDK reads a projected service-account token an… Deploy Claude apps gateway on Google Cloud Claude Code CLI · in the page claude-apps-gateway-on-gcp …hind GKE Ingress defaults to a 30-second timeout, which cuts off long streaming responses. > > Don't apply an egress NetworkPolicy that blocks `169.254.169.254` on a Workload Identity cluster; the pod… CLI reference Claude Code CLI · in the page cli-reference …ok-events "query"` | | `--include-partial-messages` | Include partial streaming events in output. Requires `--print` and `--output-format stream-json` | `claude -p --output-format stream-json --verbos…
Feedback