v1

latestOpenAPI 3.1.12026-07-17124229467.0 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