问答

向运行中的对话追加消息

向运行中的 agent turn 追加用户消息(after 排队 / inject 注入)。无活 turn 时返回 new_run。

post/sessions/{session_id}/steer

Path parameters

session_idstring required

会话 ID

Request body

channelstring
deliverystring

Delivery is "after" (default) or "inject". See the constants above.

expected_assistant_message_idstring

Optional for older clients. New clients pin delivery to the run they see and supply a stable ID so a consume event may precede the HTTP response.

querystring required
steer_idstring

Response

queued | new_run

object required

Changes

Changed in 3 of the 82 revisions of this API.12