KnowledgeSourceFileIngestionOperation interface

Tracks asynchronous upload or replacement of a file in a knowledge source.

Properties

error

The failure details, present only when ingestion fails.

id

The server-generated operation identifier.

kind

The kind of operation.

result

The file metadata, present only when ingestion succeeds.

status

The current state. Poll until the operation succeeds or fails.

Property Details

error

The failure details, present only when ingestion fails.

error?: KnowledgeSourceFileIngestionError

Property Value

id

The server-generated operation identifier.

id: string

Property Value

string

kind

The kind of operation.

kind: "knowledgeSourceFileIngestion"

Property Value

"knowledgeSourceFileIngestion"

result

The file metadata, present only when ingestion succeeds.

result?: KnowledgeSourceFile

Property Value

status

The current state. Poll until the operation succeeds or fails.

status: string

Property Value

string