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

# Fetch a snapshot by permalink

`GET /permalinks/{permalinkId}`

## Path parameters

- `permalinkId` string, required

## Response `200`

Snapshot

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

## Other responses

- `404` — Permalink not found

## Changes

- **2025-01-22** `7a2b2f42a2f2` — 3 breaking, 1 warning, 2 info
  - added the new path request parameter `permalinkId`
  - removed the required property `meta/created_at` from the response with the `200` status
  - removed the required property `meta/file_name` from the response with the `200` status
  - deleted the `path` request parameter `permalink_id`
  - …2 more
- **2025-01-22** `d3210261c539` — 1 info
  - api operation id `getPermalink` was added

[Change history](https://skmtc.dev/lapisla-prover/apis/lapisla-prover-api/changes/permalinks/:permalinkId/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-service-production.skmtc.workers.dev/v1/apis/lapisla-prover/lapisla-prover-api/revisions/7a2b2f42a2f2/schema)
