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": null
}
]
}
'{
"data": {
"id": "<string>",
"promptId": "<string>",
"config": {},
"createdAt": "<string>",
"updatedAt": "<string>"
}
}Update prompt configuration
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": null
}
]
}
'{
"data": {
"id": "<string>",
"promptId": "<string>",
"config": {},
"createdAt": "<string>",
"updatedAt": "<string>"
}
}Was this page helpful?