v15

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

Send async message

Create and send a new message to a session asynchronously, starting the session if needed and returning immediately.

post/session/{sessionID}/prompt_async

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

Prompt accepted