---
title: "Get Run Pull Request Creation"
method: GET
path: "/api/v1/runs/{id}/pull_request/creation"
tags: ["Runs"]
---

# Get Run Pull Request Creation

`GET /api/v1/runs/{id}/pull_request/creation`

Returns the latest explicit pull request creation requested for this run.

## Path parameters

- `id` string, required

## Response `200`

Latest pull request creation state

- PullRequestCreation — Durable status for the latest explicit pull request creation requested for a run.
  - `id` string, required — Stable identifier for one explicit pull request creation request.
  - `status` 'pending' | 'succeeded' | 'failed', required — Durable state of a pull request creation request.
  - `model` string, required — Resolved model identifier used to generate the pull request content.
  - `force` boolean, required — Whether creation was allowed for a run without a successful conclusion.
  - `requested_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `pull_request` PullRequestLink — Minimal GitHub pull request link associated with a run.
    - `owner` string, required
    - `repo` string, required
    - `number` integer, required
    - `html_url` string, uri, required — Computed GitHub web URL for the pull request.
  - `error` string, nullable

## Other responses

- `404` — Run or pull request creation not found

---

[API](https://skmtc.net/fabro-sh/apis/fabro-run-api.md) · [All operations](https://skmtc.net/fabro-sh/apis/fabro-run-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fabro-sh/fabro-run-api/versions/bee030053823/schema)
