invalid_ambient_id_format | 400 | ambient_session_id is not a valid UUID on create |
invalid_request | 400 | Request body failed validation |
invalid_end_session_request | 400 | End session request failed validation |
invalid_cancel_session_request | 400 | Cancel session request failed validation |
invalid_context_request | 400 | Context body failed validation (specialty, role, visit type, etc.) |
invalid_encryption_hash | 400 | Encryption hash must be exactly 64 characters |
ambient_session_id_required | 400 | ambient_session_id is required (recording) |
invalid_ambient_session_id | 404 | Ambient session ID not found |
ambient_session_not_found | 404 | Ambient session not found on end |
session_wrong_state | 412 | Session is not in CREATED state (includes current status) |
session_job_type_unsupported | 412 | Session job type does not support EndSession |
session_in_progress | 409 | Concurrent session conflict (for example session in progress on WEB) |
transcripts_retention_exceeded | 404 | Transcripts older than 7 days are not available |
content_retention_exceeded | 404 | Content for session older than 7 days is not available |
encounter_content_retention_exceeded | 404 | Content for encounter older than 7 days is not available |
structured_data_retention_exceeded | 404 | Structured data for session older than 7 days is not available |
encounter_structured_data_retention_exceeded | 404 | Structured data for encounter older than 7 days is not available |
invalid_encounter_id | 404 | Encounter ID not found |
no_appointment_found | 404 | No appointment found for emr_encounter_id |
missing_emr_encounter_id | 400 | emr_encounter_id is required (list encounter notes) |
missing_user_id | 400 | user_id missing from token (list encounter notes) |
missing_organization_id | 400 | organization_id missing from token (list encounter notes) |
error_creating_session | 500 | Error creating ambient session |
error_ending_session | 500 | Internal error ending session |
error_streaming_audio | 500 | Internal error during /ws/stream |
client_disconnected | 499 | WebSocket client disconnected during stream |
unknown_request_type | 400 | Unknown message type on /ws/stream |
error_extracting_ambient_session_id | 400 | Ambient session ID missing from WebSocket/metadata |
error_adding_context | 500 | Internal error adding/updating session context |
error_processing_context | 500 | Internal error processing context payload |
error_generating_presigned_url | 500 | Internal error generating offline audio upload URL |
error_fetching_recording | 500 | Internal error fetching session recording |
client_metrics_log_failed | 500 | Client metrics could not be logged |
error_resolving_encounter | 500 | Internal error resolving encounter (list notes) |
error_fetching_encounter_notes | 500 | Internal error fetching encounter notes |