---
title: "List Skill Versions Endpoint"
method: GET
path: "/v1/skills/{skill_id}/versions"
tags: ["Skills"]
---

# List Skill Versions Endpoint

`GET /v1/skills/{skill_id}/versions`

## Request

- Base URL: `https://api.pharia.example.com`
- URL: `https://api.pharia.example.com/v1/skills/{skill_id}/versions`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/aleph-alpha/apis/stateful-responses/docs/v1/skills/:skill_id/versions/get.ts> (a function with typed inputs; its response is checked against the schema)

List all versions of a skill, ascending by version.

Activation is per-skill, so every version in the list carries the same
per-caller ``is_active`` (one activation lookup for the whole list).

## Path parameters

- `skill_id` string, required

## Response `200`

Successful Response

- SkillVersionListResponse: Response body for listing a skill's versions.
  - `object` 'list'
  - `data` SkillVersionResponse[], required
    - `skill_id` string, required
    - `version` integer, required
    - `created_at` integer, required
    - `file_count` integer, required
    - `size_bytes` integer, required
    - `manifest` SkillManifest, required: Parsed ``SKILL.md`` YAML front matter. ``name`` and ``description`` are required; everything else is optional and preserved verbatim. The hyphenated spec key ``allowed-tools`` is mapped to :attr:`allowed_tools` during parsing.
      - `name` string, required
      - `description` string, required
      - `license` string, nullable
      - `compatibility` string, nullable
      - `metadata` object
      - `allowed_tools` string, nullable
    - `is_active` boolean

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `413`: Content Too Large
- `422`: Validation errors are returned as 400, not 422. This entry exists because FastAPI generates it automatically.
- `425`: Too Early
- `500`: Internal Server Error
- `501`: Not Implemented
- `502`: Bad Gateway
- `504`: Gateway Timeout

---

[API](https://skmtc.dev/aleph-alpha/apis/stateful-responses.md) - [All operations](https://skmtc.dev/aleph-alpha/apis/stateful-responses/llms.txt) - [OpenAPI document](https://skmtc.dev/aleph-alpha/apis/stateful-responses/revisions/2747297acb54?raw)
