agents
Stream an agent turn's events.
Changed onReturns the events a turn produced, streaming while it runs. Requires the machine:read scope.
get/v1/agents/{name}/turns/{turn}/events
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
Turn number
Query parameters
afterinteger
Replay only events numbered above this
Response
text/event-stream: an event per agent event (id = its number), then done with the finished turn
Changes
- info
endpoint added
- info