GET /v1/skills/{skill_id}/versions
Returns the current stored version descriptor for the specified skill as a data array.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
skill_id | string | Yes | Skill unique identifier |
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer $QODER_PAT |
Example request
Example response
HTTP 200 OKResponse fields
| Field | Type | Description |
|---|---|---|
data | array | Array of Skill version objects |
SkillVersion object
| Field | Type | Description |
|---|---|---|
version | string | Version number (string format, e.g. "1", "2") |
skill_id | string | Owning Skill ID |
status | string | Version status: active |
content_size | integer | Size of the version’s zip content in bytes |
content_sha256 | string | SHA-256 hash of the version’s content |
created_at | string | Version creation time (ISO 8601) |
updated_at | string | Version last-update time (ISO 8601) |
Errors
| HTTP | Type | Trigger |
|---|---|---|
| 401 | TOKEN_INVALID | Missing or invalid authentication token |
| 404 | not_found_error | Skill does not exist or is no longer accessible |
Notes
- Version numbers are returned as strings (such as
"1"). - The current implementation returns the active Skill’s current version descriptor.
- Updating
contentthroughPUT /v1/skills/{skill_id}increments the version number. - Updating metadata only does not increment the version.
Related
Agent Skills
Attach domain expertise to your agent.