Skip to main content
Versions

List skill versions

Return the paginated list of all versions of a skill, newest first.

GET /api/v1/cloud/skills/{skill_id}/versions Returns the paginated list of all versions of the specified skill, ordered by version descending (newest first).

Path parameters

ParameterTypeRequiredDescription
skill_idstringYesSkill unique identifier

Headers

HeaderRequiredDescription
AuthorizationYesBearer <PAT or SAT>

Query parameters

ParameterTypeRequiredDescription
limitintegerNoMaximum number of records per page. Default 20, maximum 1000
pagestringNoForward cursor; pass the next_page value from the previous response

Example request

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

Example response

HTTP 200 OK
{
  "data": [
    {
      "id": "skillver_019e3bbb6a25768b9b50ca2f52aa4345",
      "type": "skill_version",
      "skill_id": "skill_019e3bba474b73cfaf19eae9b5f5e66d",
      "version": "1759264410332875",
      "name": "my-custom-skill",
      "description": "Custom skill example (second revision)",
      "directory": "my-custom-skill",
      "created_at": "2026-05-19T10:12:07.332875Z"
    },
    {
      "id": "skillver_019e3bba474b7f10a3c2b4d5e6f70123",
      "type": "skill_version",
      "skill_id": "skill_019e3bba474b73cfaf19eae9b5f5e66d",
      "version": "1759178010641129",
      "name": "my-custom-skill",
      "description": "Custom skill example",
      "directory": "my-custom-skill",
      "created_at": "2026-05-18T15:35:24.248164Z"
    }
  ],
  "has_more": false,
  "next_page": null
}

Response fields

FieldTypeDescription
dataarrayArray of Skill version objects, ordered by version descending
has_morebooleanWhether more records are available; when true, use next_page as the next page's page value
next_pagestring | nullForward cursor for the next page; pass as page when has_more is true
Skill version object:
FieldTypeDescription
idstringVersion unique identifier
typestringAlways "skill_version"
skill_idstringOwning Skill ID
versionstringVersion identifier
namestringname from this version's SKILL.md frontmatter
descriptionstringdescription from this version's SKILL.md frontmatter
directorystringSkill directory name
created_atstringVersion creation time
content_sizeinteger⚠️ Deprecated: size of the version's zip content in bytes (no replacement; will be removed)
content_sha256string⚠️ Deprecated: SHA-256 hash of the version's content (no replacement; will be removed)
statusstring⚠️ Deprecated: version status active (no replacement; will be removed)
updated_atstring⚠️ Deprecated: version last-update time (versions are immutable; use created_at instead)

Errors

HTTPTypeTrigger
401TOKEN_INVALIDMissing or invalid authentication token
404not_found_errorSkill does not exist or is no longer accessible

Notes

See Errors for the full error envelope.