Get Session
Retrieve the current status of a session and, once processing finishes, its transcript and structured template results. The HTTP status code signals progress: 202 still processing, 200 completed, 206 completed with partial results, 410 expired, 404 not found. After calling End Session, poll this endpoint at ~1-second intervals until the status is no longer 202.
| Status | Meaning |
|---|---|
202 | Still processing — keep polling |
200 | Done — transcript + templates (with document_id per template) in the body |
206 | Done, but some templates failed |
410 | Session expired |
?document_id=<id> to return only that document’s result — e.g. a document_id from Process Template. Prefer not to poll? Register a webhook.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Session ID returned by Create Session
"ses_abc123def456"
Query Parameters
If provided, returns only that document's result — e.g. a document_id from Process Template — instead of all session documents.
"doc_9f8e7d6c"
Response
Session completed successfully
Returned with HTTP 200 when the session completed successfully.
Audio upload URL for the session (HTTPS for chunked, wss:// for stream).
"completed"
"pro"
ISO 639-1 language code detected from the audio.
"en"
Template results as a list — one entry per generated document, each a single-key object keyed by template_id. A template that produces multiple documents appears multiple times, so this is a list rather than a map. Each inner object carries status, data, document_id, document_type, publish metadata (and a presigned_url when applicable).
[
{
"eka_emr_template": {
"status": "success",
"document_id": "doc_abc123",
"document_type": "eka_emr_template",
"data": { "chief_complaint": "cough and fever" },
"publish": {}
}
},
{
"clinical_notes_template": {
"status": "success",
"document_id": "doc_def456",
"data": { "assessment": "Acute bronchitis" },
"publish": {}
}
}
]
