agents
Cancel an agent turn.
Changed onStops a turn that is still running. Requires the machine:create or machine:exec scope.
post/v1/agents/{name}/turns/{turn}/cancel
Request
- Base URLhttps://api.smolmachines.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
namestring required
Session name
turninteger required
Running turn number
Response
Turn cancelled and its machine stopped; the next turn restarts it
Changes
- info
endpoint added
- info