Type Alias SyncHistory

type SyncHistory = {
    completedAt?: string;
    connectionId: string;
    datasourceId: string;
    docStats: DocStats;
    id: string;
    selectedErrors?: string[];
    startedAt: string;
    status: "neverIndexed" | "progress" | "completed" | "completedWithError";
    triggerType: string;
}
Index

Properties

completedAt?: string

Datetime when the sync task was completed

connectionId: string

Connection id that the datasource used

datasourceId: string

datasource id

docStats: DocStats

Summary of documents processed

id: string

sync id

selectedErrors?: string[]

populated with up to the first selectedErrorsCount errors if there were any during sync

startedAt: string

Datetime when the sync task was started

status: "neverIndexed" | "progress" | "completed" | "completedWithError"

Sync status

triggerType: string

Datasource trigger type, was it manually or automatically synced