Skip to main content
PATCH

Authorizations

x-api-key
string
header
required

Path Parameters

aiVariableId
string
required

The AI variable ID

Body

application/json
prompt
string

New prompt template. Enginy regenerates the internal prompt representation from this value. Use GET /v1/contacts/fields or GET /v1/companies/fields to discover the valid placeholder names for this workspace. Unsupported generic placeholders such as {previousMessage} are rejected in manual/public AI-variable updates.

Minimum string length: 1
model
string | null

Optional new model ID.

outputSchema
object

Optional new output contract.

Enable or disable Deep Search.

entity
enum<string>

Optional new entity.

Available options:
CONTACT,
COMPANY
folderId
integer | null

Optional new folder ID.

customWebsiteField
string | null

Optional new custom website field source.

Response

AI variable updated successfully

status
enum<string>
required
Available options:
success
message
string
required
data
object
required