HumanClarificationRead
A human-in-the-loop clarification: when the bot is unsure mid-dialogue, it can ask a human operator a question and wait for the answer before replying to the lead. This record tracks the question, the operator's response, and how the answer was sourced.
Unique numeric identifier of the record.
External/string identifier of the clarification request.
ID of the dialogue (conversation) this record relates to.
ID of the agent (a configured AI assistant / bot persona) this record belongs to.
ID of the product (workspace) that owns this record. Most endpoints scope access by product.
Lifecycle status of the clarification.
user_message objectrequired
The lead message that triggered the clarification.
- string
- null
user_message_id objectrequired
ID of that lead message.
- integer
- null
The question posed to the human operator.
dialogue_history objectrequired
Snapshot of dialogue history provided as context.
- string
- null
lead_field_snapshot object[]required
Ordered snapshot of selected lead fields captured when the clarification was opened.
Lead CRM field key shown to the manager.
value objectrequired
Raw value captured from lead.crm_fields when the clarification was created.
- string
- integer
- number
- boolean
- string[]
- object
manager_response objectrequired
The operator's answer.
- string
- null
Where the answer came from — a manager, or recalled from a previous clarification.
Possible values: [manager, hitl_recall]
IDs of prior clarifications a recalled answer was drawn from.
answer_source_reason objectrequired
Why this answer source was chosen.
- string
- null
response_message_id objectrequired
ID of the bot message that delivered the answer to the lead.
- integer
- null
response_text objectrequired
The text ultimately sent to the lead.
- string
- null
reformulated_question objectrequired
A reformulated version of the question, if produced.
- string
- null
rag_entry objectrequired
Knowledge-base entry produced from this clarification, if any.
- string
- null
Status of turning this clarification into a knowledge entry.
rag_error objectrequired
Error detail for the knowledge-entry step, if any.
- string
- null
error objectrequired
General error detail, if any.
- string
- null
Creation time (UTC, ISO 8601).
completed_at objectrequired
When the clarification was completed (UTC).
- date-time
- null
{
"id": 0,
"clarification_id": "string",
"dialogue_id": 0,
"agent_id": 0,
"product_id": 0,
"status": "string",
"user_message": "string",
"user_message_id": 0,
"question_text": "string",
"dialogue_history": "string",
"lead_field_snapshot": [
{
"name": "string",
"value": "string"
}
],
"manager_response": "string",
"answer_source": "manager",
"answer_source_clarification_ids": [
"string"
],
"answer_source_reason": "string",
"response_message_id": 0,
"response_text": "string",
"reformulated_question": "string",
"rag_entry": "string",
"rag_status": "string",
"rag_error": "string",
"error": "string",
"created_at": "2024-07-29T15:51:28.071Z",
"completed_at": "2024-07-29T15:51:28.071Z"
}