v106

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-02160524464.6 KB
Runs

Get Run Pull Request

Returns the stored pull request record for a run plus live GitHub details when available.

get/api/v1/runs/{id}/pull_request

Path parameters

idstring required

Unique run identifier (ULID).

Response

Pull request detail

Example response

{
  "data": {
    "link": {
      "owner": "fabro-sh",
      "repo": "fabro",
      "number": 123,
      "html_url": "https://github.com/fabro-sh/fabro/pull/123"
    },
    "details": {
      "title": "Move PR commands server-side",
      "body": "Detailed description",
      "state": "open",
      "merged_at": "2026-04-23T15:45:00Z",
      "mergeable": true,
      "additions": 234,
      "deletions": 67,
      "changed_files": 5,
      "author": {
        "login": "octocat"
      },
      "head_branch": "fabro/run/demo",
      "base_branch": "main"
    }
  }
}