Skip to main content
PATCH
/
template_parameter
/
{role}
/
{parameter}
Update template parameter
curl --request PATCH \
  --url https://start.aiotic.ai/template_parameter/{role}/{parameter} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "value": "<string>"
}
'
{
  "role": "<string>",
  "parameter": "<string>",
  "value": "<string>"
}

Authorizations

X-API-Key
string
header
required

API key for authentication. Required on all endpoints except /healthcheck. Customer and product endpoints also accept a customer-specific API key.

Path Parameters

role
string
required

Role of the template (e.g., system, assistant, user)

parameter
string
required

Name of the template parameter

Body

application/json
value
string | null
required

New value of the prompt template parameter

Response

Template parameter updated

role
string
required

Role of the template (e.g., system, assistant, user)

parameter
string
required

Name of the template parameter

value
string | null
required

Value of the template parameter