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

# Get Skill Version Endpoint

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

## Request

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

Retrieve a specific version's content.

By default returns that version's ``SKILL.md`` manifest as ``text/markdown``.
With ``full_content=true`` returns all files of that version packaged as an
``application/zip`` archive. Mirrors ``GET /v1/skills/{skill_id}`` but pinned
to the requested ``version`` rather than the skill's default.

## Path parameters

- `skill_id` string, required
- `version` integer, required

## Query parameters

- `full_content` boolean: When true, return every file of this version as a zip archive instead of the SKILL.md text.

## Response `200`

The version's SKILL.md as text/markdown, or — with full_content=true — all files of that version as an application/zip archive.

- unknown

## 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)
