Skip to content

Fetch a session by id

GET
/v1/sessions/{id}

Returns the full session record including result (the structured summary) once status is completed.

Authorizations

Parameters

Path Parameters

id
required
string format: uuid

Responses

200

Session record

object
id
string format: uuid
session_id
string format: uuid
token

Opaque public token used in patient-facing URLs

string
type

Server-side aliases: emergency-summaryemergency, pre-anc-visitpre-consult.

string
Allowed values: pre-consult clinical-note discharge referral transfer medication lab-requisition history international emergency emergency-summary pre-anc-visit pre-visit-clinic care-plan radiology
specialty
string
nullable
obstetrics
session_url
string format: uri
https://previsit.summary.to/obstetrics/bRJIY1oc8BgtMCucjWfPJk3P
expires_at
string format: date-time
created_at
string format: date-time
ui_type

Hint for which UI mode the link is intended for

string
Allowed values: patient clinician
status
string
Allowed values: pending active completed failed expired
result
object
session_id
string format: uuid
type

Server-side aliases: emergency-summaryemergency, pre-anc-visitpre-consult.

string
Allowed values: pre-consult clinical-note discharge referral transfer medication lab-requisition history international emergency emergency-summary pre-anc-visit pre-visit-clinic care-plan radiology
specialty
string
nullable
triage_tier

Triage classification produced by SNOW’s safety-net rules

string
Allowed values: emergency urgent routine
patient_id
string format: uuid
nullable
patient_name
string
nullable
summary

Structured summary; shape varies by type (see recipe pages)

object
metadata
object
template_code
string
nullable
template_version
integer
nullable
model_version
string
nullable
latency_ms
integer
nullable
citations
Array<object>
object

404

Session not found

object
error
required
string
Invalid link
code
integer
1003