---
title: "Retrieve the path to repository storage"
method: GET
path: "/api/v4/projects/{id}/storage"
tags: ["projects"]
---

# Retrieve the path to repository storage

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

## Request

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

Retrieves the path to repository storage for a specified project. If you are using Gitaly Cluster (Praefect), see Praefect-generated replica paths instead. Administrators only.

## Path parameters

- `id` string, required

## Response `200`

Retrieve the path to repository storage

- APIEntitiesProjectRepositoryStorage: API_Entities_ProjectRepositoryStorage model
  - `disk_path` string, required
  - `project_id` integer, required
  - `repository_storage` string, required
  - `created_at` string, date-time, required

## Other responses

- `403`: Unauthenticated

---

[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)
