Skip to main content
POST
JavaScript

Path Parameters

sessionID
string
required
Pattern: ^ses.*

Query Parameters

directory
string
workspace
string

Body

application/json
parts
object[]
required
messageID
string
Pattern: ^msg.*
model
object
agent
string
noReply
boolean
tools
object

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

format
object
system
string
variant
string

Response

Prompt accepted