Live conversational transcript, fact extraction, and note generation
Endpoint | Capability | Use |
---|---|---|
Interactions | The foundational unit that ties together all related data and operations, enabling a cohesive workflow from the start of the interaction to the generation of final documentation. | Required |
Streams | Real-time audio streaming, conversational transcript, and fact extraction | Required |
Facts | Used by /streams endpoint for fact extraction; can also be called to get, update or add facts | Optional |
Documents | Ambient note generation based on template and language defined in the request | Required |
Templates | Get details for available templates that define the structure and language of generated documents | Optional |
POST
request to the /interactions
endpoint.interactionId
and a WebSocket URL (wssUrl
). The identifier will be used to manage the subsequent steps of the workflow.Facts
) about the patient or session, these can be sent to /interactions/:id/facts
before starting the live interaction.PATCH
to /interactions/:id
changing the interaction state to “in-progress”
wssUrl
. This connection serves as the primary channel for transmitting and receiving data throughout the interaction.transcripts
in 3 to 20s intervals, and automatically generated Facts
in 60s intervals./interactions/:id/facts
, adding to the current interaction data.POST
request to /interactions/:id/documents
. This request should include selected facts and/or transcript generated in the real-time stream. A templateKey
and language
are defined to specify the format of the output document.200
status along with the final document, which is ready for use or further editing.POST
requests to the /documents
endpoint with different templateKey
to generate multiple notes for a given interaction."end"
message via the WebSocket, signalling the conclusion of the session."ended"
message formally closing the live interaction.Facts
are then submitted through a POST
request to /interactions/:id/documents
, which generates the desired documentation, such as clinical notes or summaries, based on the provided data and a template.PATCH
to /interactions/:id
changing the interaction state to “completed”