Patch Thread Goal
Mutate the goal's status. Body: {action: 'pause'|'resume'| 'complete'|'clear', expected_goal_id?: str}. clear bypasses the optimistic-lock check on purpose (matches local behavior). Returns {ok, goal, outcome: 'applied'|'unchanged'|'stale_id'}.
patch/api/processes/{process_id}/threads/{session_id}/goal
Path parameters
process_idstring required
session_idstring required
Headers
authorizationstring nullable
Request body
object required
Response
Successful Response
object required
Changes
No recorded changes to this endpoint across all 1 revision of this API.