Docs
Sign in

Repositories the connected access reaches.

Through whichever GitHub access serves the workspace now: the App's installations (every repository each linked installation reaches, merged; canPush from that installation's permissions) or the legacy token (its 500 most recently pushed repositories, and for search also GitHub's own search).

GET/api/v1/github/repos

Scoperead

Each with defaultBranch, private, archived and canPush (whether that access can push; null when GitHub did not say). Sorted by fullName, then githubId, in plain ASCII order; search matches part of fullName, ignoring ASCII case. Paged. With the legacy token only the workspace's owner, signed in, may read it: never an API key or a limited CLI sign-in, whatever its scopes (403 not_allowed). 409 github_access_required, 503 github_unavailable, 429 rate_limited as for the accounts.

Query parameters.

limit1–200

Page size. Default 50.

orderenum

Sort by creation time, then ID. desc newest, asc oldest. One of asc, desc. Default asc.

cursorstring

Previous page’s nextCursor. Keep filters and order. At least 1 character.

searchstring

1 to 100 characters.

Response.

200 OK · data: object[]. Pass nextCursor as cursor when hasMore is true.