Skip to main content
Versions

List Skill Versions

Forward API reference.

Description

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

Path

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

Request headers

HeaderRequiredDescription
AuthorizationYesBearer <PAT or SAT>

Path parameters

ParameterTypeRequiredDescription
idstringYesSkill ID.

Query parameters

ParameterTypeRequiredDescription
identity_idstringNoUse only when operating on Identity-owned resources. A PAT can explicitly supply this query parameter; omitting it uses administrator scope. SAT ownership is determined by the credential. Explicitly supplying this parameter with any SAT (including an empty value) returns HTTP 400. Versions inherit the ownership of 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.

Example request

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

Example response

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
}

Response fields

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

Errors

HTTPTypeTrigger
400invalid_request_errorThe limit or page parameter is invalid, or any SAT explicitly supplies the query parameter identity_id (including an empty value).
401authentication_errorThe authentication token is missing or invalid.
403permission_errorAn Owner mismatch occurs in 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 authorized scope.
500/502/503api_errorForward or a dependent service failed.