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

# List Messages Route

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

Lists messages for a given thread.

## Path parameters

- `thread_id` string, uuid, required

## Query parameters

- `limit` integer
- `offset` integer

## Response `200`

Successful Response

- Message[]
  - `thread_id` string, uuid, required
  - `role` 'user' | 'assistant', required
  - `content` string, required
  - `metadata` MessageMetadata, required
    - `trustworthiness_score` number, nullable
    - `trustworthiness_explanation` string, nullable
    - `citations` string[], nullable
  - `id` string, uuid, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `deleted_at` string, date-time, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2025-01-15** `92f517edd77d` — 1 info
  - added the optional property `items/metadata/trustworthiness_explanation` to the response with the `200` status
- **2024-12-12** `ba95a7c2fd2d` — 2 breaking
  - response property `items/metadata/citations` list-of-types was widened by adding types `array` to media type `application/json` of response `200`
  - the `items/metadata/citations/anyOf[subschema #1]/` response's property type/format changed from `string`/`` to `array`/`` for status `200`
- **2024-12-10** `d53dc22c3558` — 1 info
  - added the optional property `items/metadata/citations` to the response with the `200` status

[Change history](https://skmtc.dev/cleanlab/apis/agility/changes/api/threads/:thread_id/messages/get.md)

---

[API](https://skmtc.dev/cleanlab/apis/agility.md) · [All operations](https://skmtc.dev/cleanlab/apis/agility/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cleanlab/agility/revisions/d95b89c34a94/schema)
