---
title: "Create Github Pr"
method: POST
path: "/github/pr"
---

# Create Github Pr

`POST /github/pr`

## Request

- Base URL: `https://emfirge.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://emfirge.cloud/github/pr`
- Auth: none declared

## Request body

- GitHubPRRequest
  - `installation_id` integer, required
  - `repo` string, required
  - `finding` object, required
  - `hcl` string, required

## Response `200`

Successful Response

- GitHubPRResponse
  - `pr_url` string, required
  - `pr_number` integer, required
  - `branch` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/emfirge/apis/aws-risk-analysis-agent.md) · [All operations](https://skmtc.dev/emfirge/apis/aws-risk-analysis-agent/llms.txt) · [OpenAPI document](https://skmtc.dev/emfirge/apis/aws-risk-analysis-agent/revisions/149a9263d07a?raw)
