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

# List organizations



## OpenAPI

````yaml /api/openapi.yaml get /api/v1/organizations
openapi: 3.1.0
info:
  title: OpenCluster Control Plane API
  version: 0.1.0
  description: HTTP contract for the OpenCluster product API and inbound webhook endpoints.
  license:
    name: Apache-2.0
servers:
  - url: http://localhost:8080
    description: Local self-hosted deployment
security: []
tags:
  - name: Authentication
  - name: Organizations
  - name: Members
  - name: Sessions
  - name: Policy
  - name: Audit
  - name: Integration Types
  - name: Integrations
  - name: Relays
  - name: Incidents
  - name: Investigations
  - name: Conversations
  - name: Postmortems
  - name: Webhook Deliveries
  - name: Webhook Intake
  - name: Metadata
paths:
  /api/v1/organizations:
    get:
      tags:
        - Organizations
      summary: List organizations
      operationId: listOrganizations
      responses:
        '200':
          description: Organizations available to the caller.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationList'
        '401':
          $ref: '#/components/responses/Unauthorized'
      security:
        - SessionCookie: []
components:
  schemas:
    OrganizationList:
      type: object
      additionalProperties: false
      required:
        - organizations
      properties:
        organizations:
          type: array
          items:
            $ref: '#/components/schemas/Organization'
    Organization:
      type: object
      additionalProperties: false
      required:
        - id
        - displayName
        - membership
      properties:
        id:
          $ref: '#/components/schemas/OrganizationID'
        displayName:
          type: string
          minLength: 1
          maxLength: 256
        membership:
          $ref: '#/components/schemas/OrganizationMembership'
    Error:
      type: object
      additionalProperties: false
      required:
        - error
      properties:
        error:
          type: string
          minLength: 1
          maxLength: 1024
          example: the selected Organization is not available to this caller
        reason:
          type: string
          enum:
            - credential_rejected
            - session_expired
            - session_revoked
        requires:
          type: string
          minLength: 1
          maxLength: 128
    OrganizationID:
      type: string
      pattern: ^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$
      minLength: 1
      maxLength: 63
    OrganizationMembership:
      type: object
      additionalProperties: false
      required:
        - id
        - role
      properties:
        id:
          $ref: '#/components/schemas/UUID'
        role:
          type: string
          enum:
            - admin
            - editor
            - viewer
    UUID:
      type: string
      format: uuid
  responses:
    Unauthorized:
      description: Missing or rejected credential.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    SessionCookie:
      type: apiKey
      in: cookie
      name: __Host-oc_session

````