Skip to main content
GET
List the repositories a connection can reach, for the grant picker

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.

Query Parameters

page
integer

1-based page of up to 100 repositories.

Required range: -9007199254740991 <= x <= 9007199254740991

Response

One page of the repositories a GitHub integration connection can reach. Returned to populate a repository picker when scoping a vault grant.

One page of the repositories a GitHub integration connection can reach. Returned to populate a repository picker when scoping a vault grant.

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
repositories
object[] | null
required

Repositories reachable on this page, up to 100 per page.

total_count
integer
required

Total repositories the connection can reach across all pages, as reported by GitHub.

Required range: -9007199254740991 <= x <= 9007199254740991