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

# Oauth Installations

> List the installations of the GitHub App a connection signed in through that the connection's GitHub user can access.

Only for a connection whose credential was minted through a platform OAuth app with installation tokens (preflight's ``installation_binding_available``); 409 otherwise.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/workspaces/{workspace}/oauth/installations
openapi: 3.1.0
info:
  description: >-
    Modular and extensible framework for building AI agents. This API requires
    JWT Bearer token authentication for most endpoints. Include your JWT token
    in the Authorization header. Public endpoints include /, /health, /docs,
    /redoc, and /openapi.json.
  title: AgentArea API
  version: 0.2.0
servers: []
security:
  - bearer: []
paths:
  /v1/workspaces/{workspace}/oauth/installations:
    get:
      tags:
        - v1
        - protected
        - oauth-connect
      summary: Oauth Installations
      description: >-
        List the installations of the GitHub App a connection signed in through
        that the connection's GitHub user can access.


        Only for a connection whose credential was minted through a platform
        OAuth app with installation tokens (preflight's
        ``installation_binding_available``); 409 otherwise.
      operationId: oauth_installations_v1_oauth_installations_get
      parameters:
        - description: Slug of the workspace the request acts in
          in: path
          name: workspace
          required: true
          schema:
            description: Slug of the workspace the request acts in
            maxLength: 120
            pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
            title: Workspace
            type: string
        - description: MCP instance whose sign-in to use
          in: query
          name: instance_id
          required: false
          schema:
            anyOf:
              - format: uuid
                type: string
              - type: 'null'
            description: MCP instance whose sign-in to use
            title: Instance Id
        - description: API connection whose sign-in to use
          in: query
          name: openapi_connection_id
          required: false
          schema:
            anyOf:
              - format: uuid
                type: string
              - type: 'null'
            description: API connection whose sign-in to use
            title: Openapi Connection Id
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OAuthInstallationsResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    OAuthInstallationsResponse:
      properties:
        installations:
          items:
            $ref: '#/components/schemas/OAuthInstallation'
          title: Installations
          type: array
      required:
        - installations
      title: OAuthInstallationsResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    OAuthInstallation:
      properties:
        account:
          title: Account
          type: string
        account_type:
          description: Organization or User
          title: Account Type
          type: string
        id:
          title: Id
          type: integer
        repository_selection:
          description: 'all or selected: what the installation itself reaches'
          title: Repository Selection
          type: string
      required:
        - id
        - account
        - account_type
        - repository_selection
      title: OAuthInstallation
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    bearer:
      bearerFormat: JWT
      description: JWT Bearer token for authentication
      scheme: bearer
      type: http
    HTTPBearer:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.