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

# List live holders of a state's template attachment

> Every live door binding a detach of ``template`` from ``name`` would be refused on — the gate's own gather.

404 for an unknown state or an unattached template; a referee raising propagates loudly,
exactly as at the gate.



## OpenAPI

````yaml /openapi.json get /api/states/{name}/attachments/{template}/referees
openapi: 3.1.0
info:
  description: >-
    The operator HTTP surface served under /api/*. The platform's core routes.
    Plugin routes are published by each plugin.
  title: tai42-skeleton API
  version: 30.0.0
servers: []
security: []
paths:
  /api/states/{name}/attachments/{template}/referees:
    get:
      tags:
        - states
      summary: List live holders of a state's template attachment
      description: >-
        Every live door binding a detach of ``template`` from ``name`` would be
        refused on — the gate's own gather.


        404 for an unknown state or an unattached template; a referee raising
        propagates loudly,

        exactly as at the gate.
      operationId: get_api_states_name_attachments_template_referees
      parameters:
        - in: path
          name: name
          required: true
          schema:
            type: string
        - in: path
          name: template
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/HoldersPreview'
                required:
                  - data
                type: object
          description: Success.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Missing or invalid api key.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Resource not found.
        '501':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Error.
      security:
        - ApiKeyAuth: []
components:
  schemas:
    HoldersPreview:
      description: >-
        Every live holder the named action would be refused on — the same gather
        its gate reads.
      properties:
        action:
          enum:
            - rename
            - delete
            - detach
          title: Action
          type: string
        holders:
          items:
            $ref: '#/components/schemas/ReferenceHolder'
          title: Holders
          type: array
      required:
        - action
        - holders
      title: HoldersPreview
      type: object
    Error:
      properties:
        code:
          description: >-
            Stable machine-readable reason a client keys a dedicated error state
            on, present on refusals that opt in (e.g. a 501 not-configured
            refusal). Optional: absent when the error carries only a
            human-readable message.
          type: string
        error:
          type: string
      required:
        - error
      type: object
    ReferenceHolder:
      additionalProperties: false
      description: >-
        One live holder of a name: what it is, which one, where inside it, and a
        one-line description.


        ``kind`` is the holder's kind (``"hook"``, ``"preset version"``; a
        plugin declares its own),

        ``name`` the holder's own name, ``locator`` the fields that place the
        reference inside the

        holder (a version, a node id), and ``summary`` the line a person reads.
      properties:
        kind:
          minLength: 1
          title: Kind
          type: string
        locator:
          additionalProperties:
            anyOf:
              - type: string
              - type: integer
          title: Locator
          type: object
        name:
          minLength: 1
          title: Name
          type: string
        summary:
          minLength: 1
          title: Summary
          type: string
      required:
        - kind
        - name
        - summary
      title: ReferenceHolder
      type: object
  securitySchemes:
    ApiKeyAuth:
      in: header
      name: x-api-key
      type: apiKey

````

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