List the repositories on GitHub
GET
/api/v1/github/repos
const url = 'https://digize.com/api/v1/github/repos';const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://digize.com/api/v1/github/repos \ --header 'x-api-key: <x-api-key>'The repositories the workspace’s GitHub installation reaches, most recently pushed first, with the Workers that deploy from each. Up to 500; give the Digize app more repositories on GitHub to see them here.
Needs the sites:read permission.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Done
Media typeapplication/json
object
account
required
The GitHub account or organization.
string
settingsUrl
required
string
data
required
Array<object>
Example generated
{ "account": "example", "settingsUrl": "example", "data": [ { "id": 1, "fullName": "example", "name": "example", "private": true, "defaultBranch": "example", "url": "example", "archived": true, "pushedAt": "2026-04-15T12:00:00Z", "linkedTo": [ { "worker": "example", "branch": "example" } ] } ]}What was sent isn’t valid (invalid).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}No key, or one that’s unknown, off or expired.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}The key doesn’t have the permission this needs.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}Nothing has that id (not_found).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}Over the rate limit; see retry-after.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}