---
title: "Discover GHES App installations"
method: GET
path: "/github_app/ghes/discover"
tags: ["Git Sync"]
---

# Discover GHES App installations

`GET /github_app/ghes/discover`

Lists every installation the configured self-managed GitHub App can see,
annotated with the workspaces in this Windmill instance the
installation is currently assigned to. Super-admin only.

## Response `200`

Discovered installations

- object[]
  - `installation_id` integer, required
  - `account_id` string, required — GitHub login of the installation's account (org or user)
  - `assigned_workspaces` object[], required
    - `workspace_id` string, required
    - `provisioned_by_admin` boolean, required

---

[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/964225251155/schema)
