Circle V2 API Docs
    Preparing search index...

    Function buildLangsmithThreadId

    • The LangSmith thread_id convention: session-note work threads as session_<patient_session_id>, other chart-review work by audit run id. The exact strings are load-bearing — stamped by the tracer, stored on ai_feedback.langsmith_thread_id, rebuilt by web deep-links — so derive them only here. Null when neither ref is present.

      Parameters

      • refs: {
            auditRunId?: string | number | null;
            patientSessionId?: string | number | null;
        }

      Returns string | null