@squidcloud/client
    Preparing search index...

    Interface AiKnowledgeBaseSyntheticDataRun

    A synthetic-data run of a knowledge base, which adds fictional documents to it in a dev environment.

    interface AiKnowledgeBaseSyntheticDataRun {
        contextIds: string[];
        endedAt?: number;
        error?: string;
        jobId: string;
        knowledgeBaseId: string;
        lastRejection?: string;
        options: AiKnowledgeBaseSyntheticDataOptions;
        phase: AiKnowledgeBaseSyntheticDataPhase;
        plannedDocuments: number;
        rejectedDocuments: number;
        startedAt: number;
        status: AiKnowledgeBaseSyntheticDataStatus;
    }
    Index
    contextIds: string[]

    The ids of the documents the run added to the knowledge base.

    endedAt?: number

    When the run ended, in epoch milliseconds.

    error?: string

    Why the run failed.

    jobId: string

    The id of the background job of the run.

    knowledgeBaseId: string

    The knowledge base the run writes to.

    lastRejection?: string

    Why the latest of the rejected documents was left out.

    What the run was asked to write.

    The step the run is at.

    plannedDocuments: number

    The documents the run planned to write.

    rejectedDocuments: number

    The documents written and left out, by the run's own checks or by the knowledge base.

    startedAt: number

    When the run started, in epoch milliseconds.

    The state of the run.