Skip to main content
POST
Send a prompt to a session (fire-and-forget). Use -w to wait for response, -i for interactive.

Body

application/json
nameOrKey
string
required

Session name

agent
string

Agent to use when creating a new session

barrier
string

Delivery barrier: p0|p1|p2|p3

channel
string

Override delivery channel

interactive
boolean

Interactive mode

prompt
string

Prompt to send (omit for interactive mode)

to
string

Override delivery target

wait
boolean

Wait for response (chat mode)

Response

Success — no @Returns schema declared; payload shape is loose.

The response is of type object.