Circle V2 API Docs
    Preparing search index...
    type ExecuteFormFillRunResult = {
        aiAnswerCount: number;
        degradations: FormFillingDegradation[];
        deterministicAnswerCount: number;
        fileUrl: string | null;
        indexWasEmpty: boolean;
        outcome: "completed" | "skipped" | "superseded";
        patientChartId: PatientChartId | null;
        retrieval: RetrievalCounters;
        runId: FormRunId;
        skippedFieldIds: string[];
        undrawnCount: number;
        unpositionedCount: number;
    }
    Index

    Properties

    aiAnswerCount: number
    degradations: FormFillingDegradation[]

    Every batch's degradations, in order, plus the run-level empty-index verdict.

    deterministicAnswerCount: number
    fileUrl: string | null
    indexWasEmpty: boolean

    Run-level verdict from the summed counters: this run searched and nothing came back in any batch.

    outcome: "completed" | "skipped" | "superseded"

    superseded: the document exists but another actor settled the run first, so callers must not report success.

    patientChartId: PatientChartId | null

    Searches made and chunks returned, summed across every batch.

    runId: FormRunId
    skippedFieldIds: string[]

    Annotations with no prompt and no sub-prompts: no question to answer, left for a human.

    undrawnCount: number

    Answers drawAnswers refused to render (off-page, degenerate box, unencodable text).

    unpositionedCount: number

    Boxes this run put no ink into, counted per box; the log line breaks the total down by reason.