---
title: "Get Message Route"
method: GET
path: "/api/threads/{thread_id}/messages/{message_id}"
tags: ["message"]
---

# Get Message Route

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

Get a message by ID.

## Path parameters

- `message_id` string, uuid, required
- `thread_id` string, uuid, required

## Response `200`

Successful Response

- Message
  - `thread_id` string, uuid, required
  - `role` 'user' | 'assistant', required
  - `content` string, required
  - `metadata` MessageMetadataOutput, required
    - `original_llm_response` string, nullable
    - `trustworthiness_score` number, nullable
    - `trustworthiness_explanation` string, nullable
    - `is_expert_answer` boolean, nullable
    - `is_bad_response` boolean, nullable
    - `guardrailed` boolean, nullable
    - `escalated_to_sme` boolean, nullable
    - `citations` string[], nullable
    - `scores` object, 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-08-05** `9e6009a931b6` — 6 info
  - added the optional property `metadata/escalated_to_sme` to the response with the `200` status
  - added the optional property `metadata/guardrailed` to the response with the `200` status
  - added the optional property `metadata/original_llm_response` to the response with the `200` status
  - added `subschema #1` to the `metadata/scores` response property `anyOf` list for the response status `200`
  - …2 more
- **2025-04-15** `bb543bebe38d` — 10 breaking
  - the response property `metadata/scores/anyOf[subschema #1: ResponseScoreMetadata]/context_sufficiency/anyOf[subschema #1: EvalResult]/log/anyOf[subschema #1: EvalLog]/explanation` became optional for the status `200`
  - the response property `metadata/scores/anyOf[subschema #1: ResponseScoreMetadata]/query_ease/anyOf[subschema #1: EvalResult]/log/anyOf[subschema #1: EvalLog]/explanation` became optional for the status `200`
  - the response property `metadata/scores/anyOf[subschema #1: ResponseScoreMetadata]/response_groundedness/anyOf[subschema #1: EvalResult]/log/anyOf[subschema #1: EvalLog]/explanation` became optional for the status `200`
  - the response property `metadata/scores/anyOf[subschema #1: ResponseScoreMetadata]/response_helpfulness/anyOf[subschema #1: EvalResult]/log/anyOf[subschema #1: EvalLog]/explanation` became optional for the status `200`
  - …6 more
- …earlier changes not shown

[Full history](https://skmtc.dev/cleanlab/apis/agility/changes/api/threads/:thread_id/messages/:message_id/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/9e6009a931b6/schema)
