Skip to main content
POST
Ask the coach to answer what was said

Authorizations

Authorization
string
header
required

A pc_… token generated from Settings > API & MCP.

Body

application/json
agent
object

Required when agentKey names an agent: its instructions live on the caller's disk, not in this database.

agentKey
string

The agent whose thread this is. Absent means the coach's own.

Maximum string length: 200
images
object[]
Maximum array length: 4
mode
string

A brain-dump: organise it into tasks and a plan now, without asking questions.

Allowed value: "dump"
uiContext
string

Where the person is — the view, project or task open in front of them.

Maximum string length: 2000

Response

Success.

reply
string
required
actions
integer
required

Tool calls the coach made. Zero means it only spoke.

Required range: -9007199254740991 <= x <= 9007199254740991