@squidcloud/client
    Preparing search index...

    Interface KnowledgeBaseExternalSourceSyncStatus

    The state of the sync between an external index and the entity graph built over it.

    interface KnowledgeBaseExternalSourceSyncStatus {
        documents: number;
        error?: string;
        incremental: boolean;
        lastScanCompletedAt?: number;
        lastScanDeleted?: number;
        lastScanUpserted?: number;
        nextScanAt?: number;
        scanStartedAt?: number;
    }
    Index
    documents: number

    Documents the ledger tracks.

    error?: string

    Why the latest scan failed.

    incremental: boolean

    Whether scans read only changed records (the index has a timestamp field) or compare every record.

    lastScanCompletedAt?: number

    When the latest scan of the index completed, in epoch milliseconds.

    lastScanDeleted?: number

    Documents the latest completed scan pruned.

    lastScanUpserted?: number

    Documents the latest completed scan found added or changed.

    nextScanAt?: number

    When the next scan is due, in epoch milliseconds.

    scanStartedAt?: number

    When a scan is running: when it started, in epoch milliseconds.