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

# List the organisation's demo base stacks

> List the organisation's shared demo base stacks (every status except deleted) with their live-demo reference counts. Reads are member-visible; browser session authentication only (no bearer twin).



## OpenAPI

````yaml https://platform.ankra.app/openapi.json get /org/ai-environment/demo-base-stacks
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://platform.ankra.app
security: []
paths:
  /org/ai-environment/demo-base-stacks:
    get:
      tags:
        - AI Environment
      summary: List the organisation's demo base stacks
      description: >-
        List the organisation's shared demo base stacks (every status except
        deleted) with their live-demo reference counts. Reads are
        member-visible; browser session authentication only (no bearer twin).
      operationId: list_demo_base_stacks
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DemoBaseStackListResponse'
          description: The organisation's demo base stacks
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
components:
  schemas:
    DemoBaseStackListResponse:
      properties:
        base_stacks:
          items:
            $ref: '#/components/schemas/DemoBaseStack'
          type: array
      required:
        - base_stacks
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    DemoBaseStack:
      description: >-
        One shared demo base stack: an organisation-level stack-profile
        designation that materialises lazily as a persistent stack in a stable
        ankra-demo-base-* namespace on the staging cluster. Status is one of:
        configured (saved, never materialised), deploying, ready, failed,
        deleting, deleted.
      properties:
        cluster_id:
          format: uuid
          type: string
        created_at:
          format: date-time
          type: string
        id:
          format: uuid
          type: string
        idle_ttl_hours:
          anyOf:
            - type: integer
            - type: 'null'
          description: >-
            Idle hours after which the maintainer loop tears the stack down;
            null disables the idle TTL.
        last_error:
          type: string
        last_used_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
        live_demo_count:
          description: >-
            The number of non-destroyed demos referencing this base stack;
            deletion is refused while it is non-zero.
          type: integer
        name:
          type: string
        namespace:
          type: string
        parameters:
          items:
            $ref: '#/components/schemas/DemoStackParameter'
          type: array
        profile_id:
          format: uuid
          type: string
        profile_name:
          description: Denormalized onto reads only (never persisted).
          type: string
        profile_version:
          anyOf:
            - type: integer
            - type: 'null'
          description: Null tracks the profile's current version.
        status:
          enum:
            - configured
            - deploying
            - ready
            - failed
            - deleting
            - deleted
          type: string
      required:
        - id
        - cluster_id
        - name
        - profile_id
        - parameters
        - namespace
        - status
        - created_at
        - live_demo_count
      type: object
    ValidationError:
      properties:
        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
    DemoStackParameter:
      description: >-
        One stack-profile parameter binding. Secret values ride as
        ${SECRET_SLOT:<uuid>} sentinels, never resolved values.
      properties:
        name:
          type: string
        value:
          type: string
      required:
        - name
        - value
      type: object

````