Skip to main content
Versions

Skill バージョンの一覧取得

Forward API リファレンス。

Description

Lists all versions of the specified Skill in descending created_at order, with cursor pagination. Versions are immutable after creation.

パス

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

リクエストヘッダー

ヘッダー必須説明
AuthorizationはいBearer <PAT または SAT>

パス参数

パラメーター型必須説明
idstringはいSkill ID。

クエリパラメーター

パラメーター型必須説明
identity_idstringNoFor Identity-owned resources only. PATs may supply this query parameter; omitting it uses the administrator scope. SAT ownership is determined by the credential; any SAT (including Admin SAT) explicitly supplying this parameter, even with an empty value, receives HTTP 400. Versions inherit ownership from their Skill. See Identity ownership.
limitintegerNoPage size, up to 100; defaults to 20.
pagestringNoForward pagination cursor from next_page in the previous response. Omit it to start from the first page.

リクエスト例

curl -X GET "https://api.qoder.com/api/v1/forward/skills/skill_xxx/versions?limit=10" \
  -H "Authorization: Bearer $QODER_ACCESS_TOKEN"

レスポンス例

HTTP 200 OK
{
  "data": [
    {
      "id": "skillver_xxx",
      "skill_id": "skill_xxx",
      "version": "1786973491821648",
      "name": "customer-reply",
      "description": "Customer reply skill",
      "directory": "customer-reply",
      "content_size": 2607,
      "content_sha256": "9de8ae3a296bc6198cd080f5ce31d523a34fd0a52e2e64365055fa79a0d3383d",
      "status": "active",
      "created_at": "2026-08-17T13:31:31.917881Z",
      "metadata": {}
    }
  ],
  "has_more": false
}

レスポンスフィールド

Each item in the response data array is a Skill version object. See Skill version list pagination fields for has_more and next_page.

エラー

HTTPType発生条件
400invalid_request_errorThe limit or page parameter is invalid, or any SAT explicitly supplies query identity_id (even with an empty value).
401authentication_error認証トークンがないか、無効です。
403permission_errorAn owner mismatch occurs in the administrator scope, or a downstream service denies access.
404not_found_errorThe Skill does not exist or is not visible in the current Identity scope; the Identity specified by the PAT is invalid, disabled, deleted, or outside the caller's ownership.
500/502/503api_errorForward または依存サービスでエラーが発生しました。