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

# List Prompts



## OpenAPI

````yaml GET /v1/prompts
openapi: 3.0.0
info:
  title: Wardin API
  description: AI governance & observability platform — external REST API
  version: '1.0'
  contact: {}
servers: []
security: []
tags: []
paths:
  /v1/prompts:
    get:
      tags:
        - prompts
      summary: List all prompts for the tenant (with label map)
      operationId: PromptsController_list
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PromptDto'
      security:
        - bearer: []
components:
  schemas:
    PromptDto:
      type: object
      properties:
        id:
          type: string
          description: Prompt UUID
        name:
          type: string
          description: Human-readable prompt name (unique per tenant)
        description:
          type: string
          description: Optional description
        labels:
          type: object
          description: 'Map of label name → version number (e.g. { production: 2 })'
          additionalProperties:
            type: number
        createdAt:
          format: date-time
          type: string
      required:
        - id
        - name
        - description
        - labels
        - createdAt
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````