v15

latestOpenAPI 3.1.1raw.githubusercontent.com2026-06-05137173413.9 KB

Send message

Create and send a new message to a session, streaming the AI response.

post/session/{sessionID}/message

Path parameters

sessionIDstring required

Query parameters

directorystring
workspacestring

Request body

messageIDstring
agentstring
noReplyboolean
toolsobject

@deprecated tools and permissions have been merged, you can set permissions on the session itself now

systemstring
variantstring

Response

Created message