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

> ## Agent Instructions
> Treat Stackdome as an application-delivery platform for coding agents and developers, not as a Kubernetes dashboard.
> Prefer the Stackdome agent plugin as the user entry point and the stackdome CLI as the execution interface.
> Route agents who need the maintained deploy skill to npx skills add stackdome/skills and the complete operational workflow to /guides/ai-agents.
> Verify commands and flags with stackdome --help. Run stackdome init before authoring stackfile.yaml and stackdome validate before deploying.
> Use -o json for automation and verify documented terminal states before claiming success.
> Never request a user's account password. Use API-token authentication.
> During alpha, Stackdome Cloud is ephemeral and capacity-limited, and each organization can connect one cluster.
> Do not expose Kubernetes as a user concern unless the task is self-hosting or infrastructure architecture.

# List all clusters for an organization



## OpenAPI

````yaml /openapi.yaml get /api/v1/organizations/{org_id}/clusters
openapi: 3.0.0
info:
  description: >-
    Deploy, debug, and operate applications through the Stackdome REST API on
    Stackdome Cloud or a self-hosted installation. This API is in alpha and may
    change before general availability.
  title: Stackdome API
  version: 0.0.1-alpha
servers:
  - url: /
security: []
paths:
  /api/v1/organizations/{org_id}/clusters:
    get:
      summary: List all clusters for an organization
      parameters:
        - description: The ID of the organization
          explode: false
          in: path
          name: org_id
          required: true
          schema:
            type: string
          style: simple
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClusterList'
          description: Successful operation
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '500':
          description: Internal server error
      security:
        - Bearer: []
components:
  schemas:
    ClusterList:
      example:
        total: 0
        items:
          - cluster_url: cluster_url
            cluster_ca_data: cluster_ca_data
            organisation_id: organisation_id
            cluster_sa_token: cluster_sa_token
            name: name
            cluster_image_registry:
              organisation_id: organisation_id
              cluster_id: cluster_id
              updated_at: '2000-01-23T04:56:07.000Z'
              name: name
              created_at: '2000-01-23T04:56:07.000Z'
              id: id
              spec:
                backend_storage_size: backend_storage_size
                backend_storage_class: backend_storage_class
              status:
                state: null
                conditions:
                  - reason: reason
                    last_transition_time: '2000-01-23T04:56:07.000Z'
                    type: type
                    message: message
                    observed_generation: 1
                    status: status
                  - reason: reason
                    last_transition_time: '2000-01-23T04:56:07.000Z'
                    type: type
                    message: message
                    observed_generation: 1
                    status: status
            id: id
            platform: true
          - cluster_url: cluster_url
            cluster_ca_data: cluster_ca_data
            organisation_id: organisation_id
            cluster_sa_token: cluster_sa_token
            name: name
            cluster_image_registry:
              organisation_id: organisation_id
              cluster_id: cluster_id
              updated_at: '2000-01-23T04:56:07.000Z'
              name: name
              created_at: '2000-01-23T04:56:07.000Z'
              id: id
              spec:
                backend_storage_size: backend_storage_size
                backend_storage_class: backend_storage_class
              status:
                state: null
                conditions:
                  - reason: reason
                    last_transition_time: '2000-01-23T04:56:07.000Z'
                    type: type
                    message: message
                    observed_generation: 1
                    status: status
                  - reason: reason
                    last_transition_time: '2000-01-23T04:56:07.000Z'
                    type: type
                    message: message
                    observed_generation: 1
                    status: status
            id: id
            platform: true
      properties:
        items:
          items:
            $ref: '#/components/schemas/Cluster'
          type: array
        total:
          type: integer
      type: object
    Cluster:
      example:
        cluster_url: cluster_url
        cluster_ca_data: cluster_ca_data
        organisation_id: organisation_id
        cluster_sa_token: cluster_sa_token
        name: name
        cluster_image_registry:
          organisation_id: organisation_id
          cluster_id: cluster_id
          updated_at: '2000-01-23T04:56:07.000Z'
          name: name
          created_at: '2000-01-23T04:56:07.000Z'
          id: id
          spec:
            backend_storage_size: backend_storage_size
            backend_storage_class: backend_storage_class
          status:
            state: null
            conditions:
              - reason: reason
                last_transition_time: '2000-01-23T04:56:07.000Z'
                type: type
                message: message
                observed_generation: 1
                status: status
              - reason: reason
                last_transition_time: '2000-01-23T04:56:07.000Z'
                type: type
                message: message
                observed_generation: 1
                status: status
        id: id
        platform: true
      properties:
        id:
          type: string
        name:
          type: string
        organisation_id:
          type: string
        platform:
          readOnly: true
          type: boolean
        cluster_url:
          type: string
        cluster_ca_data:
          type: string
        cluster_sa_token:
          type: string
        cluster_image_registry:
          $ref: '#/components/schemas/ClusterImageRegistry'
      required:
        - cluster_ca_data
        - cluster_sa_token
        - cluster_url
        - name
      type: object
    ClusterImageRegistry:
      example:
        organisation_id: organisation_id
        cluster_id: cluster_id
        updated_at: '2000-01-23T04:56:07.000Z'
        name: name
        created_at: '2000-01-23T04:56:07.000Z'
        id: id
        spec:
          backend_storage_size: backend_storage_size
          backend_storage_class: backend_storage_class
        status:
          state: null
          conditions:
            - reason: reason
              last_transition_time: '2000-01-23T04:56:07.000Z'
              type: type
              message: message
              observed_generation: 1
              status: status
            - reason: reason
              last_transition_time: '2000-01-23T04:56:07.000Z'
              type: type
              message: message
              observed_generation: 1
              status: status
      properties:
        id:
          type: string
        name:
          type: string
        organisation_id:
          readOnly: true
          type: string
        cluster_id:
          readOnly: true
          type: string
        spec:
          $ref: '#/components/schemas/ClusterImageRegistrySpec'
        status:
          $ref: '#/components/schemas/ClusterImageRegistryStatus'
        created_at:
          format: date-time
          type: string
        updated_at:
          format: date-time
          type: string
      required:
        - name
      type: object
    ClusterImageRegistrySpec:
      example:
        backend_storage_size: backend_storage_size
        backend_storage_class: backend_storage_class
      properties:
        backend_storage_size:
          type: string
        backend_storage_class:
          type: string
      type: object
    ClusterImageRegistryStatus:
      example:
        state: null
        conditions:
          - reason: reason
            last_transition_time: '2000-01-23T04:56:07.000Z'
            type: type
            message: message
            observed_generation: 1
            status: status
          - reason: reason
            last_transition_time: '2000-01-23T04:56:07.000Z'
            type: type
            message: message
            observed_generation: 1
            status: status
      properties:
        state:
          $ref: '#/components/schemas/ClusterImageRegistryState'
        conditions:
          items:
            $ref: '#/components/schemas/Condition'
          type: array
      type: object
    ClusterImageRegistryState:
      enum:
        - ImageRegistryPending
        - ImageRegistryError
        - ImageRegistryRunning
      type: string
    Condition:
      additionalProperties: false
      example:
        reason: reason
        last_transition_time: '2000-01-23T04:56:07.000Z'
        type: type
        message: message
        observed_generation: 1
        status: status
      properties:
        type:
          type: string
        status:
          type: string
        observed_generation:
          type: integer
        last_transition_time:
          format: date-time
          type: string
        reason:
          type: string
        message:
          type: string
      type: object
  securitySchemes:
    Bearer:
      bearerFormat: JWT
      scheme: bearer
      type: http

````