---
title: "Fetch a snapshot by permalink"
method: GET
path: "/permalinks/{permalink_id}"
tags: ["permalinks"]
---

# Fetch a snapshot by permalink

`GET /permalinks/{permalink_id}`

## Path parameters

- `permalink_id` string, required

## Response `200`

Snapshot

- Snapshot
  - `meta` SnapshotMeta, required
    - `id` string, required
    - `owner` string, required
    - `file_name` string, required
    - `version` integer, required
    - `registered` boolean
    - `created_at` string, date-time, required
  - `content` string, required

## Other responses

- `404` — Permalink not found

## Changes

- **2025-01-20** `211195a7bd6a` — 2 info
  - the response property `content` became required for the status `200`
  - the response property `meta` became required for the status `200`
- **2025-01-20** `20e8e755a09e` — 1 breaking, 3 info
  - added the pattern `^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}@[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}@[0-9]+$` to the `path` request parameter `permalink_id`
  - the `meta/file_name` response's property pattern `/^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i` was added for the status `200`
  - the `meta/id` response's property pattern `^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}@[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}@[0-9]+$` was added for the status `200`
  - the `meta/owner` response's property pattern `/^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i` was added for the status `200`
- **2025-01-20** `62a8a43f650d` — 1 info
  - added the required property `meta/id` to the response with the `200` status
- **2025-01-20** `93e312846ab3` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/lapisla-prover/apis/lapisla-prover-api/changes/permalinks/:permalink_id/get.md)

---

[API](https://skmtc.dev/lapisla-prover/apis/lapisla-prover-api.md) · [All operations](https://skmtc.dev/lapisla-prover/apis/lapisla-prover-api/llms.txt) · [OpenAPI document](https://skmtc.dev/lapisla-prover/apis/lapisla-prover-api/revisions/211195a7bd6a?raw)
