Updates an existing variable within an analysis model.
Important: Variables cannot be modified if the model has existing call analyses, as this would affect historical results.
Requires scope: write:model-variable
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Request body for creating or updating a variable.
Unique identifier key for this variable within the model
1 - 128"greeting_quality"
Data type: STRING, INTEGER, DECIMAL, BOOLEAN, DATE, TIME, or DATETIME
STRING, INTEGER, DECIMAL, BOOLEAN, DATE, TIME, DATETIME Whether this variable must have a value in analysis results
true
Human-readable display name for UI presentation
128"Greeting Quality"
Description of what this variable measures
256"Evaluates the quality and professionalism of the greeting"
Weight for scoring calculations. Higher weight = more impact on score.
x >= 010
Display order within the category or model
x >= 01
ID of the category this variable belongs to. Must exist in the same model.
1
Successful Response
Response model for variable.
Unique identifier
1
Parent model ID
1
Variable key
"greeting_quality"
Data type
STRING, INTEGER, DECIMAL, BOOLEAN, DATE, TIME, DATETIME Whether this variable is required
Whether the variable is active
Creation timestamp
Creator identifier
Category ID if assigned
Human-readable display name
Variable description
Scoring weight
Display order
Last update timestamp
Last updater identifier