---
title: "List Session Turns"
method: GET
path: "/api/sessions/{session_id}/turns"
tags: ["sessions"]
---

# List Session Turns

`GET /api/sessions/{session_id}/turns`

## Path parameters

- `session_id` string, uuid, required

## Query parameters

- `limit` integer
- `after_sequence` integer, nullable

## Response `200`

Successful Response

- SessionTurnPageResponse
  - `items` UIMessageResponse[], required
    - `id` string, required
    - `role` 'user' | 'assistant', required
    - `parts` union[], required
      - union
        - TextUIMessagePart
          - `text` string, required
          - `state` string, nullable
          - `type` 'text'
        - ReasoningUIMessagePart
          - `text` string, required
          - `state` string, nullable
          - `type` 'reasoning'
        - DynamicToolUIMessagePart
          - `type` 'dynamic-tool'
          - `toolName` string, required
          - `toolCallId` string, required
          - `state` string, required
          - `input` unknown, required
          - `output` unknown
          - `errorText` string, nullable
          - `providerExecuted` boolean, nullable
        - StepStartUIMessagePart
          - `type` 'step-start'
        - DataStatusUIMessagePart
          - `data` unknown, required
          - `type` 'data-status'
        - DataStepUIMessagePart
          - `data` unknown, required
          - `type` 'data-step'
        - DataRLMCodeUIMessagePart
          - `data` unknown, required
          - `type` 'data-rlm-code'
        - DataRLMOutputUIMessagePart
          - `data` unknown, required
          - `type` 'data-rlm-output'
        - DataSkillUIMessagePart
          - `data` unknown, required
          - `id` string, nullable
          - `type` 'data-skill'
        - DataAttachmentUIMessagePart
          - `data` unknown, required
          - `id` string, nullable
          - `type` 'data-attachment'
        - DataWarningUIMessagePart
          - `data` unknown, required
          - `type` 'data-warning'
        - DataArtifactUIMessagePart
          - `data` unknown, required
          - `id` string, nullable
          - `type` 'data-artifact'
        - DataUsageUIMessagePart
          - `data` unknown, required
          - `type` 'data-usage'
        - DataStructuredResultUIMessagePart
          - `data` unknown, required
          - `type` 'data-structured-result'
    - `metadata` object, nullable
  - `next_after_sequence` integer, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-08-12** `c1023e1ee5f5` — 3 breaking, 10 warning, 1 info
  - added `#/components/schemas/TextUIMessagePart, #/components/schemas/ReasoningUIMessagePart, #/components/schemas/DynamicToolUIMessagePart, #/components/schemas/StepStartUIMessagePart, #/components/schemas/DataStatusUIMessagePart, #/components/schemas/DataStepUIMessagePart, #/components/schemas/DataRLMCodeUIMessagePart, #/components/schemas/DataRLMOutputUIMessagePart, #/components/schemas/DataSkillUIMessagePart, #/components/schemas/DataAttachmentUIMessagePart, #/components/schemas/DataWarningUIMessagePart, #/components/schemas/DataArtifactUIMessagePart, #/components/schemas/DataUsageUIMessagePart, #/components/schemas/DataStructuredResultUIMessagePart` to the `items/items/parts/items/` response property `oneOf` list for the response status `200`
  - the `items/items/parts/items/` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - removed the required property `items/items/parts/items/type` from the response with the `200` status
  - removed the optional property `items/items/parts/items/data` from the response with the `200` status
  - …10 more
- **2026-07-17** `655778279cb1` — 1 info
  - endpoint added
- **2026-07-17** `62e8c152aa18` — 1 breaking
  - api path removed without deprecation
- …earlier changes not shown

[Full history](https://skmtc.dev/qredence/apis/fleet-rlm/changes/api/sessions/:session_id/turns/get.md)

---

[API](https://skmtc.dev/qredence/apis/fleet-rlm.md) · [All operations](https://skmtc.dev/qredence/apis/fleet-rlm/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/qredence/fleet-rlm/revisions/3e0490b230d7/schema)
