> ## Documentation Index
> Fetch the complete documentation index at: https://docs.2027.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# get_session_trace

> Get the agent's conversation log

# get\_session\_trace

Retrieve the full conversation log from an evaluation session. Supports pagination for long sessions.

## Parameters

| Parameter        | Type    | Required | Description                                              |
| ---------------- | ------- | -------- | -------------------------------------------------------- |
| `slug`           | string  | Yes      | Report slug                                              |
| `offset`         | number  | No       | Start from turn index (default: last 20 turns)           |
| `limit`          | number  | No       | Max turns to return (default: 20)                        |
| `includeBrowser` | boolean | No       | Include browser screenshots and actions (default: false) |

## Response

```json theme={null}
{
  "slug": "resend-com-a1b2c3d4",
  "totalTurns": 47,
  "totalToolCalls": 23,
  "totalErrors": 2,
  "turns": [
    {
      "role": "assistant",
      "content": "Let me start by reading the Resend documentation...",
      "toolCalls": []
    }
  ]
}
```
