# List HITL events

List the human-in-the-loop (HITL) events for a conversation. When Fin is unsure of an answer it can consult a teammate before replying, proposing a draft that the teammate approves, steers with free-text feedback, or takes over. Each consultation is returned as a series of events, oldest first, across every consultation on the conversation.
Requires the `read_conversations` OAuth scope, and the caller must be able to access the conversation.
Events are only recorded once a consultation has ended, so a consultation still awaiting a teammate does not appear.
Which fields appear in `data` depends on `event_type`:
| `event_type` | `data` fields |
|  --- | --- |
| `fin_consultation_started` | `channel`, `rule_threshold_percent`, `confidence_percent`, `sharp_ask`, `ask_rationale`, `issue_summary`, `customer_question` |
| `fin_draft_proposed` | `draft` |
| `fin_teammate_input_received` | `round_index`, `teammate_input`, `reviewer_admin_id`, `regeneration_outcome` |
| `fin_draft_revised` | `round_index`, `revised_draft`, `regeneration_outcome` |
| `fin_consultation_finished` | `outcome`, `approved_draft_type`, `final_draft`, `sent_text`, `reviewer_admin_id`, `duration_seconds`, `rounds_count`, `payload_truncated` |

A consultation always produces a `fin_consultation_started` and a `fin_consultation_finished` event. `fin_draft_proposed` appears when Fin proposed a draft. `fin_teammate_input_received` appears once per round of teammate feedback, and `fin_draft_revised` once per round where Fin produced a revised draft in response.
Notes on interpreting the response:
- `hitl_cycle_id` identifies the consultation, so it is the same on every event of one consultation. It is not unique per event. A conversation can hold several consultations — a consultation that replaces an outstanding one finishes with an `outcome` of `superseded`.
- `conversation_part_id` links an event to a conversation part where one exists. It is `null` in ordinary cases: teammate feedback given through the inbox creates no conversation part, a revised draft has no part of its own, and a consultation that escalated or was superseded sent no reply.
- `created_at` on `fin_draft_proposed` is approximate. It reports when the consultation started, which is when the draft was proposed.
- `rule_id`, `rule_name` and `rule_threshold_percent` are recorded when the consultation begins and are not updated afterwards, so a rule that has since been renamed or retuned will not match its current settings. They are `null` for consultations not triggered by a rule.
- `reviewer_admin_id` identifies the teammate involved in that event: on `fin_teammate_input_received` the teammate who gave the feedback, and on `fin_consultation_finished` the teammate who approved the draft or took over. On a consultation with several rounds these can be different teammates.
- `rounds_count` counts every round of teammate feedback the consultation had. Only the ten most recent rounds are retained, so a heavily steered consultation returns fewer `fin_teammate_input_received` events than `rounds_count`.
- Redacting a conversation removes this data. Depending on how it was redacted, the conversation either returns no events or returns events whose text fields are all `null`.

Endpoint: GET /conversations/{id}/hitl_events
Version: 2.18
Security: bearerAuth

## Path parameters:

  - `id` (string, required)
    The identifier for the conversation as given by Intercom.

## Header parameters:

  - `Intercom-Version` (string)

## Response 200 fields (application/json):

  - `type` (string)
    The type of the object.
    Enum: "list"

  - `data` (array)
    An array of HITL event objects.

  - `data.hitl_cycle_id` (string)
    Identifies the consultation this event belongs to. The same on every event of one consultation, so it is not unique per event.
    Example: 3f2a91c4-8e77-4d61-9a2b-0c5d7e1f4a80

  - `data.event_type` (string)
    What happened.
    Enum: "fin_consultation_started", "fin_draft_proposed", "fin_teammate_input_received", "fin_draft_revised", "fin_consultation_finished"

  - `data.conversation_part_id` (string)
    The conversation part this event relates to, where one exists.
    Example: 4471002

  - `data.rule_id` (string)
    The escalation rule that triggered the consultation, as recorded when it began. Null if no rule triggered it.
    Example: 88

  - `data.rule_name` (string)
    The rule's name as recorded when the consultation began, which may differ from its current name.
    Example: Refunds over $100

  - `data.created_at` (integer)
    Unix timestamp for when the event occurred. Approximate on `fin_draft_proposed`.
    Example: 1767225600

  - `data.data` (object)
    Fields specific to this event. Which are present depends on `event_type` — see the endpoint description for the full mapping.

  - `data.data.channel` (string)
    The channel the conversation was on when Fin consulted a teammate.
    Enum: "email", "chat", "voice", "unknown"

  - `data.data.rule_threshold_percent` (integer)
    The confidence threshold the rule required, as a percentage.
    Example: 60

  - `data.data.confidence_percent` (integer)
    How confident Fin was in its answer, as a percentage. Compare against `rule_threshold_percent`.
    Example: 42

  - `data.data.sharp_ask` (string)
    The question Fin put to the teammate.
    Example: How long do refunds take?

  - `data.data.ask_rationale` (string)
    Why Fin needed to ask.
    Example: No article covers refund timelines.

  - `data.data.issue_summary` (string)
    Fin's summary of what the customer needs.
    Example: Customer chasing a refund.

  - `data.data.customer_question` (string)
    The customer's message that prompted the consultation.
    Example: Where is my refund?

  - `data.data.draft` (string)
    The reply Fin proposed to the teammate.
    Example: Refunds are processed within 30 days.

  - `data.data.round_index` (integer)
    Which round of teammate feedback this event belongs to, starting at 1.
    Example: 1

  - `data.data.teammate_input` (string)
    The feedback the teammate gave Fin.
    Example: Tell them 5 business days.

  - `data.data.reviewer_admin_id` (string)
    The teammate involved in this event — who gave the feedback, or who approved the draft or took over.
    Example: 4001

  - `data.data.regeneration_outcome` (string)
    How Fin responded to the feedback. `answer` means it produced a revised draft, and is the only value accompanied by a `fin_draft_revised` event. `no_answer` means it had nothing to send, `failed` that regeneration failed, `consult_teammate` that it asked the teammate again, and `pending` that the consultation ended before Fin responded.
    Example: answer

  - `data.data.revised_draft` (string)
    The reply Fin produced after the teammate's feedback.
    Example: Refunds take 5 business days.

  - `data.data.outcome` (string)
    How the consultation ended.
    Enum: "approved", "taken_over", "timed_out_sent", "timed_out_escalated", "superseded"

  - `data.data.approved_draft_type` (string)
    Whether the teammate approved Fin's original draft or the one it revised after their feedback.
    Enum: "original", "revised"

  - `data.data.final_draft` (string)
    The reply as it stood when the consultation ended.
    Example: Refunds take 5 business days.

  - `data.data.sent_text` (string)
    What was sent to the customer. Null when nothing was sent.
    Example: Refunds take 5 business days.

  - `data.data.duration_seconds` (integer)
    How long the consultation took, in seconds.
    Example: 180

  - `data.data.rounds_count` (integer)
    How many rounds of teammate feedback the consultation had. Only the ten most recent are returned as events, so this can exceed the number of `fin_teammate_input_received` events.
    Example: 1

  - `data.data.payload_truncated` (boolean)
    Whether any text on this consultation was too long to store in full and was cut.
    Example: false

## Response 401 fields (application/json):

  - `type` (string, required)
    The type is error.list
    Example: error.list

  - `request_id` (string)
    Example: f93ecfa8-d08a-4325-8694-89aeb89c8f85

  - `errors` (array, required)
    An array of one or more error objects

  - `errors.code` (string, required)
    A string indicating the kind of error, used to further qualify the HTTP response code.
    Example: unauthorized

  - `errors.message` (string)
    Optional. Human readable description of the error.
    Example: Access Token Invalid

## Response 404 fields (application/json):

  - `type` (string, required)
    The type is error.list
    Example: error.list

  - `request_id` (string)
    Example: f93ecfa8-d08a-4325-8694-89aeb89c8f85

  - `errors` (array, required)
    An array of one or more error objects

  - `errors.code` (string, required)
    A string indicating the kind of error, used to further qualify the HTTP response code.
    Example: unauthorized

  - `errors.message` (string)
    Optional. Human readable description of the error.
    Example: Access Token Invalid

