---
title: "Create pull request"
method: POST
path: "/api/v1/projects/{projectUuid}/git/branches/{branch}/pull-request"
tags: ["Git Files"]
---

# Create pull request

`POST /api/v1/projects/{projectUuid}/git/branches/{branch}/pull-request`

Create a pull request from a branch to the default branch

## Path parameters

- `projectUuid` string, required
- `branch` string, required

## Request body

- CreateGitPullRequestRequest
  - `description` string, required
  - `title` string, required

## Response `201`

Created

- ApiGitPullRequestCreatedResponse
  - `results` PullRequestCreated, required
    - `prUrl` string, required
    - `prTitle` string, required
  - `status` 'ok', required

## Other responses

- `default` — Error

---

[API](https://skmtc.dev/lightdash/apis/lightdash-api.md) · [All operations](https://skmtc.dev/lightdash/apis/lightdash-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lightdash/lightdash-api/revisions/40c933755c9a/schema)
