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

# Get  Prompt Variables

> Get the list of prompt variables.

Args:
    _admin_user (User): The current user

Returns:
    list[str]: The list of prompt variables



## OpenAPI

````yaml https://dev-api.cattix.com/openapi.json get /api/v1/chat/get_prompt_variables
openapi: 3.1.0
info:
  title: CATTIX API
  description: CATTIX Backend API
  version: 0.107.0
servers:
  - url: http://localhost:8000
    description: Local
  - url: https://dev-api.cattix.com
    description: Development
  - url: https://staging-api.cattix.com
    description: Staging
  - url: https://api.cattix.com
    description: Production
security: []
paths:
  /api/v1/chat/get_prompt_variables:
    get:
      tags:
        - Chat
      summary: Get  Prompt Variables
      description: |-
        Get the list of prompt variables.

        Args:
            _admin_user (User): The current user

        Returns:
            list[str]: The list of prompt variables
      operationId: get__prompt_variables_api_v1_chat_get_prompt_variables_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/PromptVariablesSchema'
                type: array
                title: >-
                  Response Get  Prompt Variables Api V1 Chat Get Prompt
                  Variables Get
      security:
        - OAuth2PasswordBearer: []
components:
  schemas:
    PromptVariablesSchema:
      properties:
        name:
          type: string
          title: The name of the variable
      type: object
      required:
        - name
      title: PromptVariablesSchema
      description: The schema for the prompt variables.
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: api/v1/users/authorization/token

````