---
title: "List Thread Messages"
method: GET
path: "/api/threads/{thread_id}/messages"
tags: ["threads", "threads"]
---

# List Thread Messages

`GET /api/threads/{thread_id}/messages`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/threads/{thread_id}/messages`
- Auth: none declared

List messages in a thread with pagination.

Uses workspace-aware database routing (Supabase or shared DB).
Returns messages ordered by sent_at DESC (newest first).

## Path parameters

- `thread_id` string, required

## Query parameters

- `limit` integer
- `before_id` string, nullable: Load messages before this message ID

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/77bef09a9209?raw)
