---
title: "List what the agent changed in one chat"
method: GET
path: "/agents/sessions/{session_id}/actions"
tags: ["AI", "Agents"]
---

# List what the agent changed in one chat

`GET /agents/sessions/{session_id}/actions`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/agents/sessions/{session_id}/actions`
- 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`

The chat's change record, newest first: each write the agent made, the object it touched and a short note of its state after the write.

## Path parameters

- `session_id` string, required

## Response `200`

Request fulfilled, document follows

- AgentActionsResponse
  - `actions` AgentActionItem[], required
    - `id` integer, required
    - `created_at` string, date-time, required
    - `verb` string, required
    - `kind` string, required
    - `object_id` integer, nullable
    - `name` string, nullable
    - `project_id` integer, nullable
    - `tool_name` string, required
    - `created` boolean, required
    - `after_summary` string, nullable
    - `job_id` integer, nullable
    - `run_id` integer, nullable
    - `step_n` integer, nullable
    - `plan_id` string, nullable
    - `turn_id` string, nullable
    - `label` string, nullable

## 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/9d8804f81a10?raw)
