AI
Agents

Watch one agent turn's events

Server-Sent Events of a turn, each with id = its stream id. Resume after the Last-Event-ID header (or the after query). Ends with a turn_end event, or after a bounded lifetime: reconnect with the last id.

get/agents/sessions/{session_id}/turns/{turn_id}/events

Request

  • Base URL: https://app.mammoth.io/api/v2
  • URL: https://app.mammoth.io/api/v2/agents/sessions/{session_id}/turns/{turn_id}/events
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-KEY and API key in header X-API-SECRET and API key in header X-WORKSPACE-ID

Path parameters

session_idstring required
turn_idstring required

Query parameters

afterstring nullable

Headers

Last-Event-IDstring nullable

Response

Request fulfilled, document follows

unknown required

Changes

No recorded changes to this operation across all 5 revisions of this API.