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

# List playbooks

> Returns a list of all available playbooks for the organization, including their names,
associated monitor names, and any required attributes.




## OpenAPI

````yaml GET /playbook
openapi: 3.0.3
info:
  title: Wild Moose Execution API
  description: >-
    API for running playbook-based debugging agents to investigate production
    issues
  version: 1.0.0
servers:
  - url: https://api.wildmoose.ai
    description: Production server
security:
  - bearerAuth: []
paths:
  /playbook:
    get:
      tags:
        - Playbook Execution
      summary: List available playbooks
      description: >
        Returns a list of all available playbooks for the organization,
        including their names,

        associated monitor names, and any required attributes.
      operationId: listPlaybooks
      responses:
        '200':
          description: List of available playbooks
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PlaybookInfo'
              example:
                - name: Performance checks
                  monitorNames:
                    - Average latency spike{{suffix}}
                    - Instance {{host}} CPU is >{{threshold}}%
                  requiredAttributes:
                    - environment
                    - cluster
                - name: cascading-service-analysis
                  monitorNames:
                    - '{{prefix}}Error rate in {{service}} exceeded{{suffix}}'
        '401':
          description: Unauthorized - Invalid or missing JWT token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden - API not enabled for organization
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Client ID not configured for organization
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    PlaybookInfo:
      type: object
      properties:
        name:
          type: string
          description: Name of the playbook
          example: performance-checks
        monitorNames:
          type: array
          description: >-
            Array of monitor names that trigger this playbook. May include
            placeholder patterns using {{...}} syntax.
          items:
            type: string
          example:
            - Average latency spike{{suffix}}
            - Instance {{host}} CPU is >{{threshold}}%
        requiredAttributes:
          type: array
          description: >-
            Array of required attribute names that must be specified (either
            directly or via a link to a message from which they can be parsed)
            when executing this playbook
          items:
            type: string
          example:
            - environment
            - cluster
      required:
        - name
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Error message
          example: Internal server error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT token obtained from Auth0

````