---
title: "Find the open pull request for a branch through the caller's GitHub connection [read]"
method: GET
path: "/connectors/github/pulls"
tags: ["connectors"]
---

# Find the open pull request for a branch through the caller's GitHub connection \[read\]

`GET /connectors/github/pulls`

## Request

- Base URL: `https://api.agentsky.dev/v1`
- URL: `https://api.agentsky.dev/v1/connectors/github/pulls`
- Auth: HTTP bearer

For a client that pushed `branch` to `repo` and opened the PR in a browser, without a signed-in GitHub CLI. Answers `{ pull: null }` when no PR from that branch of the repository itself is open, 404 `github_not_connected` and 409 `github_reconnect_required` as `GET /connectors/github/repos`. The token never leaves the platform.

## Query parameters

- `repo` string, required
- `branch` string, required

## Response `200`

OK

- object
  - `pull` object, nullable, required
    - `url` string, required
    - `number` integer, required
    - `title` string, required

## Other responses

- `default`: Error — { error: { code, message } }

## Changes

- **2026-11-02** `e5e8f0229a99`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agentsky/apis/agentsky-developer-api/changes/connectors/github/pulls/get.md)

---

[API](https://skmtc.dev/agentsky/apis/agentsky-developer-api.md) - [All operations](https://skmtc.dev/agentsky/apis/agentsky-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agentsky/apis/agentsky-developer-api/revisions/8280a065ef6a?raw)
