---
title: "get connected repositories"
method: GET
path: "/github_app/connected_repositories"
tags: ["Git Sync"]
---

# get connected repositories

`GET /github_app/connected_repositories`

## Query parameters

- `page` integer

## Response `200`

connected repositories

- object[]
  - `workspace_id` string
  - `installation_id` number, required
  - `account_id` string, required
  - `repositories` object[], required
    - `name` string, required
    - `url` string, required
  - `total_count` number, required — Total number of repositories available for this installation
  - `per_page` number, required — Number of repositories loaded per page
  - `error` string — Error message if token retrieval failed
  - `github_base_url` string, nullable — Set for self-managed (GHES) installs. Cloud installs omit this field.
  - `provisioned_by_admin` boolean — True when the installation was assigned by the instance super-admin from instance settings. Workspace admins cannot remove these.

---

[API](https://skmtc.net/windmill/apis/windmill-api.md) · [All operations](https://skmtc.net/windmill/apis/windmill-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/windmill/windmill-api/revisions/c5c1c302c431/schema)
