Send message to a thread with streaming.
Send a message to a thread and stream assistant output as server-sent events.
Authorizations
Bearer JWT token or API Key (sk-*).
Path Parameters
Body
Content of the message, validated up to 100000 tokens.
1Optional hidden draft user message id created before attachment uploads. When provided, the send operation finalizes that draft instead of creating a new user message.
Optional execution model identifier enabled for this instance.
Optional assistant reasoning effort override: low, medium, high, or xhigh. Defaults to low.
low, medium, high, xhigh Alias for reasoningEffort used by assistant preferences. Prefer reasoningEffort for new clients.
low, medium, high, xhigh Allow the Assistant turn to continue after the client disconnects. Defaults to false unless the operation states otherwise.
Optional flag for send-message endpoints. When true, an active streamed assistant turn for the thread is interrupted before appending this message.
Optional durable turn goal for non-plan execution. Agent runtime carries this goal across tool loops, compaction, and follow-up turns without forcing visible plan review.
1Execution mode for the turn. Interactive may pause for approval or clarification. Background and automation should avoid user-blocking pauses.
interactive, execute, background, automation Planning policy for the turn. standard can create and show progress; review_required creates a user-reviewed plan before execution.
standard, review_required Per-turn approval policy. default requires approval for side-effecting tool calls, auto_review uses conditional safe auto-review, and full skips normal approval gates.
default, auto_review, full Optional per-tool approval policy overrides. Runtime sanitizes keys and enum values before persisting them.
Optional allowlist of operational tool names for this turn. Omit to allow the gateway default surface; pass an empty array to admit no tools for direct-answer turns.
Optional registry plugin ids attached to this assistant turn.
Response
Message streamed.

