Cancel Process Chat

Stop the running turn on process_id. Body: {session_id}.

Returns core's {success, cancelled, session_id} verbatim — cancelled is the honest answer from the machine that owns the turn, which is the whole point of this route existing.

post/api/processes/{process_id}/agent/chat/cancel

Path parameters

process_idstring required

Headers

authorizationstring nullable

Response

Successful Response

object required

Changes