> ## 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.