AgentHumanClarificationConfig
Persisted settings for escalating an unresolved client question to a human manager.
Whether the agent may defer a dialogue and ask a human manager for help.
falsechannel_id object
Manager-facing destination chat/channel for clarification notifications.
- string
- null
message_thread_id object
Optional thread or topic inside the manager channel.
- string
- null
How long the clarification may stay pending before expiring.
Possible values: >= 1
14400extra_text object
Optional extra static text appended to the manager notification.
- string
- null
Whether the client-facing waiting message is sent after the manager notification succeeds.
truefollow_up_message_source object
Optional source of the client-facing waiting message. Literal content (text, prepared_message_id, waba_template_id, files) is sent as-is; a source with only prompt_id generates the message with that prompt; when unset, the message is generated with a built-in prompt.
- MessageSource
- null
text object
- string
- null
prompt_id object
- integer
- null
prompt_version_id object
- integer
- null
prepared_message_id object
- integer
- null
waba_template_id object
- integer
- null
caption object
- string
- null
timeout_follow_up_message_source object
- MessageSource
- null
text object
- string
- null
prompt_id object
- integer
- null
prompt_version_id object
- integer
- null
prepared_message_id object
- integer
- null
waba_template_id object
- integer
- null
caption object
- string
- null
Ordered lead CRM field keys that should be snapshotted into each clarification.
How the pre-reply clarification gate participates. With enforce (default), a separate classifier decides per client message whether the agent may ask the manager, and the agent's clarification prompt is applied as that classifier's policy instead of as main-prompt instructions. With shadow, the classifier runs and its verdicts are logged, but nothing changes for the agent. With off, the classifier does not run. Automatic re-runs (dialogue resumer, pings) never ask the manager, in any mode.
Possible values: [off, shadow, enforce]
enforceGate verdict labels that let the agent ask the manager when gate_mode is enforce. Defaults to needs_manager_fact and likely_needs_manager_fact; narrow to needs_manager_fact alone for the strictest gating.
Possible values: [needs_manager_fact, likely_needs_manager_fact, answerable_or_clarify, out_of_scope, background_turn, gate_error]
max_clarifications_per_day object
Maximum manager-reaching clarification attempts per dialogue per rolling 24 hours (default 3). Over the limit the agent answers from available knowledge instead of asking the manager. Null removes the limit.
- integer
- null
Possible values: >= 1
{
"enabled": false,
"channel_id": "string",
"message_thread_id": "string",
"timeout_seconds": 14400,
"extra_text": "string",
"follow_up_enabled": true,
"follow_up_message_source": {
"text": "string",
"prompt_id": 0,
"prompt_version_id": 0,
"prepared_message_id": 0,
"waba_template_id": 0,
"file_ids": [
0
],
"caption": "string"
},
"timeout_follow_up_message_source": {
"text": "string",
"prompt_id": 0,
"prompt_version_id": 0,
"prepared_message_id": 0,
"waba_template_id": 0,
"file_ids": [
0
],
"caption": "string"
},
"lead_field_names": [
"string"
],
"gate_mode": "enforce",
"gate_arming_labels": [
"needs_manager_fact"
],
"max_clarifications_per_day": 0
}