---
title: "Get the GitHub integration"
method: GET
path: "/integrations/github"
---

# Get the GitHub integration

`GET /integrations/github`

## Request

- Base URL: `https://app.gecko.security/api/v1`
- URL: `https://app.gecko.security/api/v1/integrations/github`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Current GitHub App installations for the team, one per organization, with the same connection health the dashboard shows. Never returns credentials.

## Response `200`

Success

- GitHubIntegration
  - `object` 'github_integration', required
  - `enabled` boolean, required
  - `installations` object[], required
    - `installation_id` integer, nullable, required
    - `account` string, required
    - `enabled` boolean, required
    - `status` 'ok' | 'outdated' | 'broken', required: `outdated`: an organization owner has not accepted permissions the App now requests. `broken`: GitHub is rejecting the installation (suspended or uninstalled).
    - `status_reason` string, nullable, required: Why the status is not `ok`, e.g. "missing permissions: checks: write".
    - `settings_url` string, nullable, required
    - `connected_at` string, required
  - `tracked_repositories_count` integer, required

## Other responses

- `401`: Authentication error
- `403`: Authorization error
- `404`: Not found
- `429`: Rate limited

---

[API](https://skmtc.dev/gecko/apis/gecko-security-api.md) - [All operations](https://skmtc.dev/gecko/apis/gecko-security-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gecko/apis/gecko-security-api/revisions/9da49dae8b07?raw)
