---
title: "GET /api/v1/sessions/{id}/messages"
method: GET
path: "/api/v1/sessions/{id}/messages"
tags: ["Sessions"]
---

# GET /api/v1/sessions/{id}/messages

`GET /api/v1/sessions/{id}/messages`

## Path parameters

- `id` string, required

## Query parameters

- `limit` integer

## Response `200`

Chat messages for the session

- object
  - `messages` object[], required
    - `id` string, required
    - `role` 'user' | 'assistant', required
    - `content` unknown
    - `timestamp` number, nullable, required
    - `createdAt` string, nullable, required
  - `sessionKey` string, nullable, required

## Other responses

- `404` — Session not found

## Changes

- **2026-03-20** `4f74610c45c1` — 1 info
  - endpoint added
- **2026-03-19** `239b3cc94d80` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/nexu-io/apis/nexu-controller-api/changes/api/v1/sessions/:id/messages/get.md)

---

[API](https://skmtc.dev/nexu-io/apis/nexu-controller-api.md) · [All operations](https://skmtc.dev/nexu-io/apis/nexu-controller-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nexu-io/nexu-controller-api/revisions/ee3237405da6/schema)
