latestOpenAPI 3.1.02026-08-149289225.1 KB

664536fccd0e

AgentSessions

Send a message to a coding agent, streaming the reply (SSE)

post/api/v0beta1/agent-sessions/stream

Request body

messagestring required
agent'claude' | 'codex'
session_idstring
sandbox_idstring
new_sessionboolean
repo_urlstring

Response

A text/event-stream of the send. Frames are named by the SSE event: field: status, delta, terminal done (the full AgentSessionSendResponse), or error.