---
title: "Load messages for an existing chat session"
method: GET
path: "/v2/aether/chats/{chat_id}/messages"
tags: ["aether", "chats"]
---

# Load messages for an existing chat session

`GET /v2/aether/chats/{chat_id}/messages`

## Request

- Base URL: `https://api.stuut.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stuut.ai/v2/aether/chats/{chat_id}/messages`
- Auth: HTTP bearer

Returns the 50 most recent messages in chronological order, including any
file parts attached to each message.

## Path parameters

- `chat_id` string, required

## Response `200`

Successful Response

- UIMessage[]
  - `id` string, required
  - `role` 'user' | 'assistant' | 'system', required
  - `parts` union[], required
    - union
      - TextPart
        - `type` 'text', required
        - `text` string, required
      - ReasoningPart
        - `type` 'reasoning', required
        - `reasoning` string, required
      - ToolInvocationPart
        - `type` 'tool-invocation', required
        - `toolCallId` string, required
        - `toolName` string, required
        - `args` object, required
        - `state` string, required
        - `result` object, nullable, required
      - FilePart
        - `type` 'file', required
        - `mediaType` string, nullable, required
        - `url` string, nullable, required
      - SourceUrlPart
        - `type` 'source-url', required
        - `sourceId` string, nullable, required
        - `url` string, nullable, required
        - `title` string, nullable, required
  - `createdAt` string, date-time, nullable, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/stuut/apis/stuut-api.md) - [All operations](https://skmtc.dev/stuut/apis/stuut-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stuut/apis/stuut-api/revisions/ff0ad16a55ff?raw)
