Stream a Copilot reply
Run one normal Zach turn using the API-key tenant’s workspace.
The stream’s first thread event carries the session’s thread_id. Pass
that value back as thread_id to continue the same conversation, and to
GET /copilot/sessions/{thread_id} to read it. idempotency_key makes a
turn safe to retry. The same approval policy and tool authorization used by
the application still applies; API keys do not bypass it. This operation can change workspace data or trigger an external side effect; review the request before sending it and do not retry blindly after a timeout.
POST
cURL
Body
application/json
Response
Successful Response