> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codecobra.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List Github Installations

> List every App installation the user can see.

Used by the settings panel and repo picker so users understand
which accounts the App is actually installed on (rather than just
seeing a single "Connected as @x · Installation N" line that hid
the multi-install reality).



## OpenAPI

````yaml /openapi.json get /api/github/installations
openapi: 3.1.0
info:
  description: >-
    Public CodeCobra API. Authenticate by sending a personal API key in the
    `Authorization: Bearer <key>` header. Generate keys from Settings → API keys
    in the CodeCobra dashboard.
  title: CodeCobra Public API
  version: 1.0.0
servers: []
security: []
paths:
  /api/github/installations:
    get:
      tags:
        - public
      summary: List Github Installations
      description: |-
        List every App installation the user can see.

        Used by the settings panel and repo picker so users understand
        which accounts the App is actually installed on (rather than just
        seeing a single "Connected as @x · Installation N" line that hid
        the multi-install reality).
      operationId: list_github_installations_api_github_installations_get
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/GitHubInstallationSummary'
                title: >-
                  Response List Github Installations Api Github Installations
                  Get
                type: array
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    GitHubInstallationSummary:
      description: |-
        One row per App installation the user can see.

        Surfaced to the settings panel and the project-create repo picker
        so users understand which accounts the App actually has access to,
        not just whichever one happened to be stored as "primary".
      properties:
        account_avatar_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Account Avatar Url
        account_login:
          anyOf:
            - type: string
            - type: 'null'
          title: Account Login
        account_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Account Type
        html_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Html Url
        id:
          title: Id
          type: integer
        repository_count:
          default: 0
          title: Repository Count
          type: integer
      required:
        - id
      title: GitHubInstallationSummary
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http

````