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.

Headers

x-tenant-id
string

Optional tenant consistency check. When present, it must name the tenant bound to the API key, including when x-organization-id is default.

Minimum string length: 1
x-organization-id
string

Organization in which to act. Required for a tenant-scoped API key. Optional for an organization-scoped key, where it must name that same organization. The value may be an organization id or default.

Minimum string length: 1

Path Parameters

connectionId
string<uuid>
required

Integration connection id (UUID) as returned by managedAgentsListIntegrationConnections.

repositoryOwner
string
required

Repository owner reachable through this connection. Must be one canonical path segment; an encoded slash does not name this route and returns 404 before routing.

Minimum string length: 1
Pattern: ^(?!\.{1,2}$)(?!.*%2[fF])[^/\\\u0000-\u001F\u007F]+$
repositoryName
string
required

Repository name reachable through this connection. Must be one canonical path segment; an encoded slash does not name this route and returns 404 before routing.

Minimum string length: 1
Pattern: ^(?!\.{1,2}$)(?!.*%2[fF])[^/\\\u0000-\u001F\u007F]+$

Query Parameters

state
string

Pull request state: open, closed, or all.

page
integer

1-based page of up to 100 pull requests.

Required range: -9007199254740991 <= x <= 9007199254740991

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.

Required range: -9007199254740991 <= x <= 9007199254740991
pull_requests
object[]
required

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