---
title: "Get Github Pull Request Status"
method: GET
path: "/github/pull-request"
tags: ["github"]
---

# Get Github Pull Request Status

`GET /github/pull-request`

## Query parameters

- `url` string, required — github.com pull-request URL

## Response `200`

Successful Response

- PrStatus — Live status of a pull request, resolved via a GitHub App installation.
  - `number` integer, required
  - `title` string, required
  - `repo` string, required
  - `url` string, required
  - `state` 'open' | 'merged' | 'closed' | 'draft', required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/tryscott/apis/one-shot-api.md) · [All operations](https://skmtc.dev/tryscott/apis/one-shot-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tryscott/one-shot-api/revisions/28bdface01df/schema)
