Post Agent Session Message
POST /agent/sessions/{session_id}/messages
Append a message to an agent session WITHOUT asking for a reply.
No model runs and nothing is charged: the message is stored in the
session’s log and shown to anyone watching it. Use POST /agent/chat to
get an answer. A session you cannot see is a 404.
Authorizations
Parameters
Path Parameters
Session id (UUID).
Session id (UUID).
Header Parameters
Request Body required
Mirror of messages_router.PostMessageRequest.
object
The message text.
Responses
201
Successful Response
object
An open envelope for the app’s answer.
Open because the chat answer (kind, message, chips, sources,
work_item_id, …) and the oversight feed (approvals, blockers,
autonomous_fixes, states, bounds) are both still growing, and a
dropped field on an agent surface is one the caller does not know they
lost.
object
object
Whether there are more pages
Items per page
Current page number (1-indexed)
Total number of items
422
Validation Error