---
title: "Watch one agent turn's events"
method: GET
path: "/agents/sessions/{session_id}/turns/{turn_id}/events"
tags: ["AI", "Agents"]
---

# Watch one agent turn's events

`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`

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.

## Path parameters

- `session_id` string, required
- `turn_id` string, required

## Query parameters

- `after` string, nullable

## Headers

- `Last-Event-ID` string, nullable

## Response `200`

Request fulfilled, document follows

- unknown

## Other responses

- `400`: Bad request syntax or unsupported method
- `403`: Request forbidden -- authorization will not help

---

[API](https://skmtc.dev/mammoth/apis/mammoth-analytics.md) · [All operations](https://skmtc.dev/mammoth/apis/mammoth-analytics/llms.txt) · [OpenAPI document](https://skmtc.dev/mammoth/apis/mammoth-analytics/revisions/fe078afe239b?raw)
