agents

Cancel an agent turn.

Changed on

Stops a turn that is still running. Requires the machine:create or machine:exec scope.

post/v1/agents/{name}/turns/{turn}/cancel

Request

Path parameters

namestring required

Session name

turninteger required

Running turn number

Response

Turn cancelled and its machine stopped; the next turn restarts it

Changes