---
title: "Create file PR"
method: POST
path: "/api/v1/projects/{projectUuid}/git-integration/pull-requests/file-change"
tags: ["Git Integration"]
deprecated: true
---

# Create file PR

`POST /api/v1/projects/{projectUuid}/git-integration/pull-requests/file-change`

> **Deprecated.**

Create a pull request with arbitrary file changes

## Path parameters

- `projectUuid` string, required

## Request body

- object
  - `description` string, required
  - `title` string, required
  - `originalSha` string, required
  - `content` string, required
  - `filePath` string, required

## Response `200`

Success

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

## Other responses

- `default` — Error

---

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