---
title: "GET /v1/threads/{chatId}/messages"
method: GET
path: "/v1/threads/{chatId}/messages"
---

# GET /v1/threads/{chatId}/messages

`GET /v1/threads/{chatId}/messages`

## Request

- Base URL: `https://api.pantheon.run`
- URL: `https://api.pantheon.run/v1/threads/{chatId}/messages`
- Auth: HTTP bearer

## Path parameters

- `chatId` string, required

## Query parameters

- `limit` integer
- `before` string

## Response `200`

Default Response

- object
  - `hasMore` boolean
  - `messages` object[]
    - `chat_type` string, nullable
    - `content` string, nullable
    - `id` unknown
    - `is_bot_message` boolean, nullable
    - `message_type` string, nullable
    - `timestamp` string, nullable
  - `total` integer

---

[API](https://skmtc.dev/pantheon-run/apis/pantheon-developer-api.md) · [All operations](https://skmtc.dev/pantheon-run/apis/pantheon-developer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pantheon-run/apis/pantheon-developer-api/revisions/e51924bd212a?raw)
