Update variable
Autorizações
Corpo
Body for updating an existing dynamic prompt variable. All fields are optional; only provided fields are updated. JsonNullable fields are tri-state: omit, set, or clear with null.
New text to inject when a boolean variable resolves to false.
"no"
New text to inject when a boolean variable resolves to true.
"yes"
New default value. Polymorphic: shape depends on the variable's type.
"Ada"
New help text shown next to the variable.
"Full name of the customer being assisted."
New human-readable label.
200"Customer name"
New separator used when concatenating multi_choice options into a single string.
", "
New stable identifier of the variable. Same naming rules as on create.
^[a-z][a-z0-9_]{0,49}$"customer_name"
When provided, replaces the option set entirely.
Whether the variable must be set before the agent can respond.
true
New sort order of this variable in the prompt editor.
10
New variable type. Changing type may require resetting defaultValue/options.
text_short, text_long, number, date, time, datetime, single_choice, multi_choice, bool Resposta
OK
Dynamic-prompt variable definition (per agent).
Prompt fragment when bool variable is false.
Prompt fragment when bool variable is true.
Default value (shape depends on type).
Display label shown in the Hub form.
Joiner for multi_choice rendered values (default ,).
Slug used in {{name}} references inside the systemPrompt.
Options for single_choice / multi_choice (null otherwise).
Whether the Hub form must submit this field.
text_short, text_long, number, date, time, datetime, single_choice, multi_choice, bool 
