> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hitheo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 獲取對話

> 獲取指定對話及其消息。

獲取指定對話，包括其完整的消息歷史記錄。

## 身份驗證

需要 Bearer 令牌。參見[身份驗證](/api-reference/authentication)。

## 路徑參數

<ParamField path="id" type="string" required>
  對話的 UUID。
</ParamField>

## 請求示例

<CodeGroup>
  ```bash curl theme={null}
  curl https://www.hitheo.ai/api/v1/conversations/conv_abc123 \
    -H "Authorization: Bearer $THEO_API_KEY"
  ```

  ```typescript SDK theme={null}
  const conversation = await theo.conversation("conv_abc123");
  ```
</CodeGroup>

## 響應

<ResponseField name="conversation" type="object">
  對話對象，包含 `id`、`title`、`messages`（數組）、`createdAt` 和 `updatedAt`。
</ResponseField>

## 端點

`GET /api/v1/conversations/{id}`

需要通過 Bearer 令牌進行身份驗證。參見[身份驗證](/api-reference/authentication)。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.