Skip to main content
A session holds one consultation’s transcript, context, and documents. Use the same grant for the patient and session. Scopes: scribe:read for reads; scribe:write for changes.

Create a session

POST /sessions
Example 201 response:
Save id as CORTEXA_SESSION_ID. Reusing an external ID returns the existing session unchanged. Deleted external session IDs remain reserved.

Reopen a consultation

Use GET /sessions/{session_id} to reopen an encounter and retrieve its documents. To find it by your encounter ID:
The response uses the standard paginated list. Use the combined workflow to create or resume the patient and session together, or keep the separate creation calls.

Update session details

PATCH /sessions/{session_id} accepts title, background_context, and output_language_code.
Context changes apply to future generation. To update an existing note, regenerate its content. To change the patient, use patient-session links; this PATCH does not accept patient_id.

Delete a session

DELETE /sessions/{session_id} returns:
The session is no longer accessible through the partner API. Deleting a patient and deleting a session are separate operations.

Choose the next step

Add clinical context

Supply background text or upload relevant reports.

Submit a transcript

Start with conversation text you already have.

Upload a recording

Process audio from a completed consultation.

Generate the note

Turn the prepared session into a reviewable draft.