---
title: "Get the project dependencies of a snapshot"
method: GET
path: "/registry/{snapshotId}"
tags: ["registry"]
---

# Get the project dependencies of a snapshot

`GET /registry/{snapshotId}`

## Path parameters

- `snapshotId` string, required

## Response `200`

Project dependencies retrieved successfully

- ProjectFetchResult
  - `result` 'ok' | 'error', required
  - `ok` Project
    - `id` string, required
    - `dependencies` Dependency[], required
      - `id` string, required
      - `snapshot` Snapshot, required
        - `meta` SnapshotMeta, required
          - `id` string, required
          - `owner` string, required
          - `fileName` string, required
          - `version` integer, required
          - `license` string — SPDX license identifier
          - `registered` boolean
          - `createdAt` string, date-time, required
        - `content` string, required
  - `error` string

## Other responses

- `404` — Snapshot not found

## Changes

- **2026-07-17** `4ff151025f7c` — 2 info
  - the `ok/dependencies/items/snapshot/meta/fileName` response's property pattern was changed from `/^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i` to `/^[a-z\d](?:[a-z\d]|[-_](?=[a-z\d])){0,38}$/i` for the status `200`
  - the `ok/dependencies/items/snapshot/meta/owner` response's property pattern was changed from `/^[a-z\d](?:[a-z\d]|-_(?=[a-z\d])){0,38}$/i` to `/^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i` for the status `200`
- **2025-02-09** `11f1b67626ff` — 1 info
  - the `ok/dependencies/items/snapshot/meta/owner` response's property pattern was changed from `/^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i` to `/^[a-z\d](?:[a-z\d]|-_(?=[a-z\d])){0,38}$/i` for the status `200`
- **2025-02-06** `4b32864c1d82` — 1 info
  - added the optional property `ok/dependencies/items/snapshot/meta/license` to the response with the `200` status
- **2025-01-23** `65605c05e7f7` — 3 breaking, 1 warning, 2 info
  - added the new path request parameter `snapshotId`
  - removed the required property `ok/dependencies/items/snapshot/meta/created_at` from the response with the `200` status
  - removed the required property `ok/dependencies/items/snapshot/meta/file_name` from the response with the `200` status
  - deleted the `path` request parameter `snapshot_id`
  - …2 more
- …earlier changes not shown

[Full history](https://skmtc.dev/lapisla-prover/apis/lapisla-prover-api/changes/registry/:snapshotId/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/4ff151025f7c/schema)
