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

# Update Prompt Config

> Update prompt configuration



## OpenAPI

````yaml /public-apis/openapi/prompts.json put /v1/prompts/config
openapi: 3.0.0
info:
  version: 1.0.0
  contact:
    name: Maxim Engineering
    email: eng@getmaxim.ai
  title: Maxim SDK API - prompts
  description: API documentation for Maxim SDK prompts endpoints
servers:
  - url: https://api.getmaxim.ai
security: []
paths:
  /v1/prompts/config:
    put:
      tags:
        - Prompt Config
      summary: Update Prompt Config
      description: Update prompt configuration
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: string
                deploymentFields:
                  type: array
                  items:
                    type: object
                    properties:
                      variable:
                        type: string
                      operator:
                        type: string
                      value:
                        nullable: true
                    required:
                      - variable
                      - operator
              required:
                - id
                - deploymentFields
      responses:
        '200':
          description: Prompt configuration updated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      promptId:
                        type: string
                      config:
                        type: object
                        additionalProperties:
                          nullable: true
                      createdAt:
                        type: string
                      updatedAt:
                        type: string
                    required:
                      - id
                      - promptId
                      - config
                      - createdAt
                      - updatedAt
                required:
                  - data
        '400':
          description: Invalid request parameters
        '401':
          description: Unauthorized
        '404':
          description: Prompt configuration not found
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-maxim-api-key
      description: API key for authentication

````