# List GitHub integrations

List GitHub App installations connected to your organization.





Returns the GitHub App installations your organization has connected. These are the organization-level installations; to discover the repositories accessible under each installation, use [`GET /integrations/github-repos`](/api/integrations/list-github-repos).

```http
GET /api/public/v1/integrations/github
```

## Example [#example]

<Tabs items="[&#x22;bash&#x22;, &#x22;TypeScript&#x22;, &#x22;Ruby&#x22;, &#x22;Python&#x22;, &#x22;Go&#x22;]">
  <Tab value="bash">
    ```bash
    curl -X GET https://api.nairi.ai/api/public/v1/integrations/github \
      -H "Authorization: Bearer $NAIRI_API_KEY"
    ```
  </Tab>

  <Tab value="TypeScript">
    ```ts
    const res = await fetch("https://api.nairi.ai/api/public/v1/integrations/github", {
      headers: { Authorization: `Bearer ${process.env.NAIRI_API_KEY}` },
    });
    const integrations = await res.json();
    ```
  </Tab>

  <Tab value="Ruby">
    ```ruby
    require "net/http"
    require "json"
    require "uri"

    uri = URI("https://api.nairi.ai/api/public/v1/integrations/github")
    req = Net::HTTP::Get.new(uri)
    req["Authorization"] = "Bearer #{ENV['NAIRI_API_KEY']}"

    res = Net::HTTP.start(uri.host, uri.port, use_ssl: true) { |h| h.request(req) }
    integrations = JSON.parse(res.body)
    ```
  </Tab>

  <Tab value="Python">
    ```python
    import os
    import requests

    res = requests.get(
        "https://api.nairi.ai/api/public/v1/integrations/github",
        headers={"Authorization": f"Bearer {os.environ['NAIRI_API_KEY']}"},
    )
    integrations = res.json()
    ```
  </Tab>

  <Tab value="Go">
    ```go
    package main

    import (
    	"encoding/json"
    	"fmt"
    	"io"
    	"net/http"
    	"os"
    )

    func main() {
    	req, _ := http.NewRequest("GET", "https://api.nairi.ai/api/public/v1/integrations/github", nil)
    	req.Header.Set("Authorization", "Bearer "+os.Getenv("NAIRI_API_KEY"))
    	res, _ := http.DefaultClient.Do(req)
    	defer res.Body.Close()
    	raw, _ := io.ReadAll(res.Body)
    	var integrations []map[string]any
    	json.Unmarshal(raw, &integrations)
    	fmt.Println(integrations)
    }
    ```
  </Tab>
</Tabs>

## Response: `200 OK` [#response-200-ok]

```json
[
  {
    "id": "01KFY29B6JSXMNJ91MEDZK7CXD",
    "github_installation_id": "12345678",
    "github_html_url": "https://github.com/acme-org",
    "created_at": "2026-02-22T18:11:09.000Z",
    "updated_at": "2026-02-22T18:11:09.000Z"
  }
]
```

## Response fields [#response-fields]

| Field                       | Type   | Description                                                    |
| --------------------------- | ------ | -------------------------------------------------------------- |
| `id`                        | string | Integration ULID.                                              |
| `github_installation_id`    | string | GitHub's numeric installation ID.                              |
| `github_html_url`           | string | URL of the GitHub user or organization that installed the app. |
| `created_at` / `updated_at` | string | ISO 8601 timestamps.                                           |
