agents
Send an agent a turn.
Changed onStarts a new turn with the given input. Requires the machine:exec scope.
post/v1/agents/{name}/turns
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
Headers
Idempotency-Keystring nullable
Retry the same turn without running it twice; a different request using the same key conflicts
Request body
Response
Turn started; it runs whether or not a client stays connected
Changes
- info
endpoint added
- info