Circle V2 API Docs
    Preparing search index...
    getRecentSessions: QueryProcedure<
        {
            input: { patientId: string };
            meta: object;
            output: {
                sessions: Safe<
                    {
                        ai_summarized_note: string
                        | null;
                        as_summarized_note_type: string | null;
                        audit_run_id: string & { __brand: "AuditRunId" } | null;
                        audit_status:
                            | "error"
                            | "pass"
                            | "fail"
                            | "needs_review"
                            | "pending"
                            | "in_progress"
                            | "not_started"
                            | null;
                        case_id: string & { __brand: "CaseId" }
                        | null;
                        cpt_code: unknown[] | null;
                        created_at: DbDate;
                        created_by: string | null;
                        dsm_code: unknown[] | null;
                        end_timestamp: DbDate;
                        error_msg: string | null;
                        file_url: string | null;
                        icd_code: unknown[] | null;
                        id: SessionId;
                        manual_entry: boolean | null;
                        patient_id: string & { __brand: "PatientId" } | null;
                        private_note: string | null;
                        progress_status:
                            | "initialized"
                            | "processing"
                            | "transcribing"
                            | "complete"
                            | "failed"
                            | null;
                        selected_template: LegacySelectedTemplate
                        | null;
                        start_timestamp: DbDate;
                        transcript: string | null;
                        updated_by: number | null;
                    }[],
                >;
            };
        },
    > = ...