---
title: "Generate changelog data"
method: GET
path: "/api/v4/projects/{id}/repository/changelog"
tags: ["repositories"]
---

# Generate changelog data

`GET /api/v4/projects/{id}/repository/changelog`

## Request

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

Generates changelog data based on commits in a repository, without committing them to a changelog file. Works exactly like `POST /projects/:id/repository/changelog`, except the changelog data is not committed to any changelog file.

## Path parameters

- `id` string, required

## Query parameters

- `version` string, required
- `from` string
- `to` string
- `date` string, date-time
- `trailer` string
- `config_file` string
- `config_file_ref` string

## Response `200`

Generate changelog data

- APIEntitiesChangelog: API_Entities_Changelog model
  - `notes` string, required

---

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