---
title: "Download snapshot of a Git repository"
method: GET
path: "/api/v4/projects/{id}/snapshot"
tags: ["project_snapshots"]
---

# Download snapshot of a Git repository

`GET /api/v4/projects/{id}/snapshot`

## Request

- Base URL: `https://gitlab.com`
- URL: `https://gitlab.com/api/v4/projects/{id}/snapshot`
- Auth: none declared

Downloads snapshot of a Git repository.

## Path parameters

- `id` string, required

## Query parameters

- `wiki` boolean

## Response `200`

Download snapshot of a Git repository

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/gitlab/apis/gitlab-api.md) - [All operations](https://skmtc.dev/gitlab/apis/gitlab-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gitlab/apis/gitlab-api/revisions/b234947ef3f2?raw)
