> ## 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/skills/skill_abc123/versions \
    -H "Authorization: Bearer $THEO_API_KEY"
  ```

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

## 响应

<ResponseField name="versions" type="object[]">
  版本记录数组。

  <Expandable title="Version object">
    <ResponseField name="id" type="string">版本记录 ID。</ResponseField>
    <ResponseField name="version" type="string">语义化版本字符串。</ResponseField>
    <ResponseField name="status" type="string">`"active"`（生效中）、`"superseded"`（已被取代）或 `"withdrawn"`（已撤回）。</ResponseField>
    <ResponseField name="changelog" type="string | null">该版本的 Markdown 格式变更日志。</ResponseField>
    <ResponseField name="manifestSnapshot" type="object">发布时的完整清单。</ResponseField>
    <ResponseField name="createdAt" type="string">ISO 8601 时间戳。</ResponseField>
  </Expandable>
</ResponseField>

## 端点

`GET /api/v1/skills/{id}/versions`

需要通过 Bearer 令牌进行身份验证。参见[身份验证](/api-reference/authentication)。


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