> ## 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.

# Get a specific preview config



## OpenAPI

````yaml /openapi.yaml get /api/v1/organizations/{org_id}/projects/{project_name}/stack-preview-configs/{id}
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}/projects/{project_name}/stack-preview-configs/{id}:
    get:
      tags:
        - Preview Configs
      summary: Get a specific preview config
      operationId: getPreviewConfig
      parameters:
        - description: The ID of the organization
          explode: false
          in: path
          name: org_id
          required: true
          schema:
            type: string
          style: simple
        - description: The name of the project
          explode: false
          in: path
          name: project_name
          required: true
          schema:
            type: string
          style: simple
        - description: The id of record
          explode: false
          in: path
          name: id
          required: true
          schema:
            type: string
          style: simple
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StackPreviewConfig'
          description: Successful operation
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Preview config not found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Internal server error
      security:
        - Bearer: []
components:
  schemas:
    StackPreviewConfig:
      example:
        description: description
        annotations:
          - value: value
            key: key
          - value: value
            key: key
        created_at: '2000-01-23T04:56:07.000Z'
        git_repository:
          repo_url: repo_url
          base_branch: base_branch
          integration_id: integration_id
        env:
          - name: name
            self_output: self_output
            value: value
          - name: name
            self_output: self_output
            value: value
        labels:
          - value: value
            key: key
          - value: value
            key: key
        organisation_id: organisation_id
        updated_at: '2000-01-23T04:56:07.000Z'
        project_id: project_id
        user_id: user_id
        name: name
        id: id
        stackfile_path: stackfile_path
        max_active_previews: 0
      properties:
        id:
          readOnly: true
          type: string
        organisation_id:
          readOnly: true
          type: string
        project_id:
          readOnly: true
          type: string
        user_id:
          readOnly: true
          type: string
        name:
          type: string
        description:
          type: string
        git_repository:
          $ref: '#/components/schemas/PreviewGitRepository'
        stackfile_path:
          type: string
        max_active_previews:
          type: integer
        env:
          description: >-
            Env var overrides applied to every preview environment; may use
            secret references.
          items:
            $ref: '#/components/schemas/EnvVar'
          type: array
        labels:
          items:
            $ref: '#/components/schemas/Label'
          type: array
        annotations:
          items:
            $ref: '#/components/schemas/Annotation'
          type: array
        created_at:
          format: date-time
          readOnly: true
          type: string
        updated_at:
          format: date-time
          readOnly: true
          type: string
      type: object
    Error:
      allOf:
        - $ref: '#/components/schemas/ObjectReference'
        - $ref: '#/components/schemas/Error_allOf'
    PreviewGitRepository:
      additionalProperties: false
      example:
        repo_url: repo_url
        base_branch: base_branch
        integration_id: integration_id
      properties:
        repo_url:
          type: string
        base_branch:
          type: string
        integration_id:
          description: Org-level git integration override for clone auth
          type: string
      required:
        - repo_url
      type: object
    EnvVar:
      additionalProperties: false
      example:
        name: name
        self_output: self_output
        value: value
      properties:
        name:
          type: string
        value:
          description: Literal environment variable value.
          type: string
        self_output:
          description: >-
            Read this environment variable from one of the resource's own
            declared outputs, for example public_url.
          type: string
      required:
        - name
      type: object
    Label:
      additionalProperties: false
      example:
        value: value
        key: key
      properties:
        key:
          type: string
        value:
          type: string
      required:
        - key
        - value
      type: object
    Annotation:
      example:
        value: value
        key: key
      properties:
        key:
          type: string
        value:
          type: string
      required:
        - key
        - value
      type: object
    ObjectReference:
      properties:
        id:
          type: string
        kind:
          type: string
        href:
          type: string
      type: object
    Error_allOf:
      properties:
        code:
          type: string
        reason:
          type: string
        operation_id:
          type: string
        details:
          additionalProperties: true
          description: Optional structured, machine-readable error context
          type: object
      type: object
  securitySchemes:
    Bearer:
      bearerFormat: JWT
      scheme: bearer
      type: http

````