@qtsurfer/api-client
    Preparing search index...

    Type Alias JobState

    Information about a single job

    type JobState = {
        completed: number;
        contextId: string;
        endTime?: string | null;
        size: number;
        startTime?: string | null;
        status: "New" | "Started" | "Completed" | "Aborted" | "Failed";
        statusDetail?: string | null;
    }
    Index
    completed: number

    The amount of data processed so far

    contextId: string

    Opaque context identifier for the job

    endTime?: string | null

    Timestamp for when the preparation finished

    size: number

    Total size of the data being prepared

    startTime?: string | null

    Timestamp for when the preparation started

    status: "New" | "Started" | "Completed" | "Aborted" | "Failed"

    Current status of the job. Treat Completed | Aborted | Failed as terminal; New | Started mean keep polling. A single-instrument prepare is always terminal (Completed) — decide from PrepareJobState.coverageRatio, not by polling.

    statusDetail?: string | null

    Detailed status information, if available