---
title: "Get Pull Request"
method: GET
path: "/api/v4/{workspace-slug}/pull-requests/{pull-request-public-id}"
---

# Get Pull Request

`GET /api/v4/{workspace-slug}/pull-requests/{pull-request-public-id}`

## Request

- Base URL: `https://api.app.shortcut.com`
- URL: `https://api.app.shortcut.com/api/v4/{workspace-slug}/pull-requests/{pull-request-public-id}`
- Auth: HTTP bearer

Get Pull Request returns information about a chosen Pull Request.

## Path parameters

- `workspace-slug` string, required
- `pull-request-public-id` integer, required

## Query parameters

- `fields` string

## Response `200`

Resource

- PullRequestEntityWrapper
  - `$schema` string, required: The URI for the json-schema for this response.
  - `entity` PullRequest, required
    - `branch` BranchSlim
      - `entity_type` 'branch:slim', required: The type of this entity.
      - `id` integer, required: The unique ID of the Branch.
      - `name` string, required: The name of the Branch.
      - `uri` string, required: A resolvable URI for the entity that will return the full representation.
    - `closed` boolean: True/False boolean indicating whether the VCS Pull Request has been closed.
    - `created_at` string, date-time: The time/date the Pull Request was created.
    - `draft` boolean: True/False boolean indicating whether the Pull Request is in draft state.
    - `entity_type` 'pull-request': The type of this entity.
    - `external_id` string: The Pull Request's id in the VCS provider.
    - `external_url` string: The URL for the Pull Request in the VCS provider.
    - `id` integer: The unique ID of the Pull Request.
    - `repository` RepositorySlim: The Repository that contains the Commit.
      - `entity_type` 'repository:slim', required: The type of this entity.
      - `id` integer, required: The unique ID of the Repository.
      - `name` string, required: The name of the Repository.
      - `uri` string, required: A resolvable URI for the entity that will return the full representation.
    - `stories` NestedStorySlimList: A list of Stories associated with this Project.
      - `current_items` integer, required
      - `entities` StorySlim[], required
        - `app_url` string, required: The Shortcut application url for the Story.
        - `entity_type` 'story:slim', required: The type of this entity.
        - `id` integer, required: The unique ID of the Story.
        - `name` string, required: The name of the Story.
        - `uri` string, required: A resolvable URI for the entity that will return the full representation.
      - `list_url` string, required
      - `total_items` integer, required
    - `target_branch` BranchSlim
      - `entity_type` 'branch:slim', required: The type of this entity.
      - `id` integer, required: The unique ID of the Branch.
      - `name` string, required: The name of the Branch.
      - `uri` string, required: A resolvable URI for the entity that will return the full representation.
    - `title` string: The title of the Pull Request.
    - `updated_at` string, date-time: The time/date the Pull Request was last updated.
    - `uri` string: A resolvable URI for the entity that will return the full representation.

## Other responses

- `400`: Schema mismatch
- `404`: Resource does not exist
- `422`: Unprocessable

---

[API](https://skmtc.dev/shortcut-com/apis/shortcut-api.md) - [All operations](https://skmtc.dev/shortcut-com/apis/shortcut-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shortcut-com/apis/shortcut-api/revisions/bf2d8439832f?raw)
