PUT
/
v1
/
prompts
/
config
curl --request PUT \
  --url https://api.getmaxim.ai/v1/prompts/config \
  --header 'Content-Type: application/json' \
  --header 'x-maxim-api-key: <api-key>' \
  --data '{
  "id": "<string>",
  "deploymentFields": [
    {
      "variable": "<string>",
      "operator": "<string>",
      "value": "<any>"
    }
  ]
}'
{
  "data": {
    "id": "<string>",
    "promptId": "<string>",
    "config": {},
    "createdAt": "<string>",
    "updatedAt": "<string>"
  }
}

Authorizations

x-maxim-api-key
string
header
required

API key for authentication

Body

application/json

Response

200
application/json
Prompt configuration updated successfully

The response is of type object.