Skip to main content
GET
List pull requests for a connected repository

Authorizations

Authorization
string
header
required

A Recursion API key, created in the console under API keys.

Path Parameters

connection_id
string<uuid>
required

Integration connection id (UUID) as returned by listIntegrationConnections.

repository
string
required

Repository name reachable through this connection. Bare names, owner/name references, and names ending in .git are accepted.

Minimum string length: 1

Query Parameters

state
string

Pull request state: open, closed, or all.

page
integer

1-based page of up to 100 pull requests.

Response

One page of pull requests in a GitHub repository reachable through an integration connection. Returned to populate a pull request picker.

One page of pull requests in a GitHub repository reachable through an integration connection. Returned to populate a pull request picker.

page
integer
required

1-based page this response covers. Defaults to 1 when the request omits or under-specifies it.

pull_requests
object[]
required

Pull requests reachable on this page, up to 100 per page.