---
title: "Fetches a policy version"
method: GET
path: "/policy/{packageName}/version/{version}"
tags: ["PolicyVersion"]
---

# Fetches a policy version

`GET /policy/{packageName}/version/{version}`

## Path parameters

- `packageName` string, required
- `version` string, required

## Response `200`

Successful operation

- PolicyVersion
  - `_id` string, required — Document ID
  - `updatedAt` string, date-time, required — Timestamp when this was last modified
  - `createdAt` string, date-time, required — Timestamp when this was created
  - `packageName` string, required — Policy NPM package name
  - `version` string, required — Policy version - must be an exact semver
  - `changes` string, required — Changelog information for this version
  - `repository` string[], required — Repository URLs
  - `description` string, required — Policy description
  - `keywords` string[], required — Keywords for the policy
  - `dependencies` string[], required — Dependencies of the policy
  - `author` object, required — Author information
    - `name` string, required — Name of the author
    - `email` string, email, required — Email of the author
    - `url` string, uri — URL of the author's website
  - `contributors` object[], required — Contributors information
    - `name` string, required — Name of the contributor
    - `email` string, email, required — Email of the contributor
    - `url` string, uri — URL of the contributor's website
  - `homepage` string, uri — Policy homepage
  - `ipfsCid` string, required — IPFS CID of the code that implements this policy.
  - `parameters` object — Schema parameters
    - `uiSchema` string, required — UI Schema for parameter display
    - `jsonSchema` string, required — JSON Schema for parameter validation
  - `isDeleted` boolean — Whether or not this PolicyVersion is deleted

## Other responses

- `404` — Policy version not found
- `default` — Unexpected error

## Changes

- **2025-07-02** `cfdc102dddd1` — 1 info
  - added the optional property `isDeleted` to the response with the `200` status
- **2025-06-28** `f7b25b5b140b` — 2 info
  - api tag `PolicyVersion` added
  - api tag `policy/version` removed
- **2025-06-24** `d4634804dbfb` — 2 breaking, 2 info
  - the response property `parameters` became optional for the status `200`
  - removed the required property `status` from the response with the `200` status
  - the response required property `ipfsCid` became read-only for the status `200`
  - the response required property `parameters` became read-only for the status `200`
- **2025-06-19** `e514cea423bb` — 1 warning, 6 info
  - removed the optional property `isDeleted` from the response with the `200` status
  - api tag `policy/version` added
  - api tag `PolicyVersion` removed
  - the response optional property `parameters` became not read-only for the status `200`
  - …3 more

[Change history](https://skmtc.dev/lit-protocol/apis/vincent-registry-api/changes/policy/:packageName/version/:version/get.md)

---

[API](https://skmtc.dev/lit-protocol/apis/vincent-registry-api.md) · [All operations](https://skmtc.dev/lit-protocol/apis/vincent-registry-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lit-protocol/vincent-registry-api/revisions/825608de85fb/schema)
