---
title: "Retrieve Pages settings for a project"
method: GET
path: "/api/v4/projects/{id}/pages"
tags: ["gitlab_pages"]
---

# Retrieve Pages settings for a project

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

## Request

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

Retrieves Pages settings for a specified project. You must have the Maintainer or Owner role for the project.

## Path parameters

- `id` string, required

## Response `200`

Retrieve Pages settings for a project

## Other responses

- `401`: Unauthorized
- `404`: Not Found

---

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