v1

OpenAPI 3.1.02026-08-04552282508.9 KB
AgentChat

Start New Node Session

Archive the current active session for this node and start fresh.

Idempotent in the sense that if no active session exists, this just means the next message will create one (no work needed). Returns the archived row id (if any) so the frontend can confirm.

post/api/agent-chat/nodes/{node_id}/sessions/new

Path parameters

node_idstring required

Request body

workflow_idstring nullable
titlestring nullable

Response

Successful Response

{"stackTrail":"paths:/api/agent-chat/nodes/{node_id}/sessions/new:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}