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.

Query Parameters

limit
integer
default:100

Maximum repositories per page, default 100.

Required range: 1 <= x <= 100
cursor
string

Opaque nextCursor from the previous page; repeat its limit. Selected-repository installation results may be up to a minute old. A walk can skip or repeat items when provider access changes; deduplicate by id. A page that shrinks below a saved nonzero offset returns 409 snapshot_stale; restart without cursor.

Response

OK

items
object[]
required

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

nextCursor
null | string
required

Cursor for the next page, or null.

total
integer
required

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

Required range: 0 <= x <= 9007199254740991