Documentation
Conversational Triage API
Reference
Enums and primitives

Enums and primitives

Age

FieldTypeDescription
valueinteger (≥ 0)Numeric age.
unit"year" or "month"Age unit.

value may be 0 only when unit is "month". The maximum age is 130 years.

EvidenceState

ValueDescription
presentEvidence is confirmed present.
absentEvidence is confirmed absent.
unknownThe user does not know, or did not want to answer.

EvidenceOrigin

How an evidence item entered the conversation.

ValueDescription
seededPre-seeded by the client on conversation creation.
initialReported by the user at the beginning of the conversation.
askedAnswered in response to a question from the assistant.
spontaneousVolunteered by the user without being asked.
inferredInferred by the system from other evidence.

EvidenceSeriousness

Ordered from least to most urgent.

ValueDescription
normalRoutine.
seriousSerious.
emergencyEmergency-level.
emergency_ambulanceEmergency-level, requires ambulance transport.

MessageKind

Assistant message role within a turn. can_interrupt on an assistant message is derived from this value and nothing else.

ValueDescriptioncan_interrupt
acknowledgementShort acknowledgement of the user's input.false
bridgeConnector phrase that introduces what comes next.false
fillerFiller content emitted while work continues.false
introThe stage's primary content: the actual question or information being presented to the user.true
follow_upResponse that steers the conversation toward payload extraction — answers user questions, clarifies, or re-asks.true
read_backConfirmation of information the user volunteered without being asked.true

PatientRelationship

ValueDescription
selfThe user is the patient.
childThe user is acting on behalf of a child.
otherThe user is acting on behalf of someone else.

TriageLevel

Ordered from least to most urgent.

ValueDescription
self_careManageable with self-care.
consultationRoutine consultation recommended.
consultation_24Consultation recommended within 24 hours.
emergencyEmergency-level care recommended.
emergency_ambulanceEmergency-level care requiring ambulance transport.

RecommendationChannel

ValueDescription
personal_visitIn-person visit.
video_teleconsultationVideo teleconsultation.
audio_teleconsultationAudio teleconsultation.
text_teleconsultationText-based teleconsultation.

ConditionPrevalence

ValueDescription
very_rareVery rare.
rareRare.
moderateModerately prevalent.
commonCommon.
likelyHighly prevalent.

ConditionSeverity

ValueDescription
mildMild.
moderateModerate.
severeSevere.

ConditionAcuteness

ValueDescription
chronicLong-running condition without acute episodes.
chronic_with_exacerbationsChronic with intermittent acute exacerbations.
acute_potentially_chronicAcute presentation that may become chronic.
acuteAcute, time-limited condition.

HandoffPolicy

Opt-in handoff detectors enabled per conversation via ConversationSettings.handoff_policies. An empty list disables handoff detection entirely.

ValueDescription
stop_intent_handoffDetect user requests to leave triage — asking for a human, declining AI triage. Active throughout the conversation.
pre_triage_handoffDetect non-triage workflow requests; only active before initial clinical findings have been collected.

HandoffReason

Emitted on Handoff records and conversation.handoff.requested events.

ValueDescription
stop_intent_detectedThe user wants to stop the current conversation.
non_triage_intent_detectedThe user wants a different, non-triage workflow, before clinical findings were collected.

PatientEducationSectionType

ValueDescription
summaryShort summary of the condition.
how_its_definedDefinition and clinical description.
how_its_causedCauses and risk factors.
how_its_diagnosedDiagnostic process.
how_it_can_be_treated_at_homeSelf-care and at-home management.
how_its_preventedPrevention guidance.
when_to_see_professionalWhen to seek professional medical care.
disclaimerMedical disclaimer.
sourcesCitations and source references.

RichTextNodeType

ValueDescription
paragraphParagraph block.
heading-1Top-level heading.
heading-2Second-level heading.
heading-3Third-level heading.
linkHyperlink; target carries the URL.
textLeaf text node; value carries the string.
unordered-listBulleted list container.
ordered-listNumbered list container.
list-itemItem inside an ordered or unordered list.

Was this page helpful?