Create variable
Autorizações
Parâmetros de caminho
Corpo
Body for creating a new dynamic prompt variable on an agent.
Type of the variable, controlling shape and validation of values.
text_short, text_long, number, date, time, datetime, single_choice, multi_choice, bool Text to inject when a boolean variable resolves to false.
"no"
Text to inject when a boolean variable resolves to true.
"yes"
Default value. Polymorphic: shape depends on type (string, number, boolean, choice).
"Ada"
Optional help text shown next to the variable.
500"Full name of the customer being assisted."
Human-readable label shown in the prompt editor.
200"Customer name"
Separator used when concatenating multi_choice options into a single string.
10", "
Stable identifier of the variable. Lowercase ASCII; must start with a letter and may contain digits and underscores. Up to 50 characters.
1^[a-z][a-z0-9_]{0,49}$"customer_name"
Required (and validated 1..50) for single_choice / multi_choice variables.
Whether the variable must be set before the agent can respond.
true
Sort order of this variable in the prompt editor.
10
Resposta
Created
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 
