Package version:

Interface BaseKnowledgeBaseActivityRecord

Base type for activity records.

interface BaseKnowledgeBaseActivityRecord {
    elapsedMs?: number;
    error?: KnowledgeBaseErrorDetail;
    id: number;
    type:
        | "azureBlob"
        | "KnowledgeBaseRetrievalActivityRecord"
        | "searchIndex"
        | "indexedSharePoint"
        | "indexedOneLake"
        | "web"
        | "remoteSharePoint"
        | "modelQueryPlanning"
        | "modelAnswerSynthesis"
        | "agenticReasoning";
}

Hierarchy (view full)

Properties

elapsedMs?: number

The elapsed time in milliseconds for the retrieval activity.

The error detail explaining why the operation failed. This property is only included when the activity does not succeed.

id: number

The ID of the activity record.

type:
    | "azureBlob"
    | "KnowledgeBaseRetrievalActivityRecord"
    | "searchIndex"
    | "indexedSharePoint"
    | "indexedOneLake"
    | "web"
    | "remoteSharePoint"
    | "modelQueryPlanning"
    | "modelAnswerSynthesis"
    | "agenticReasoning"

Polymorphic discriminator, which specifies the different types this object can be