KnowledgeSourceFile interface

Metadata for a file uploaded to a File knowledge source.

Properties

createdAt

The timestamp when the file was created.

errorMessage

The error message if file processing failed, null otherwise.

fileId

The unique identifier for the file.

fileName

The original file name.

fileSizeBytes

The file size in bytes.

lastUpdatedAt

The timestamp when the file was last updated.

Property Details

createdAt

The timestamp when the file was created.

createdAt?: Date

Property Value

Date

errorMessage

The error message if file processing failed, null otherwise.

errorMessage?: null | string

Property Value

null | string

fileId

The unique identifier for the file.

fileId?: string

Property Value

string

fileName

The original file name.

fileName?: string

Property Value

string

fileSizeBytes

The file size in bytes.

fileSizeBytes?: number

Property Value

number

lastUpdatedAt

The timestamp when the file was last updated.

lastUpdatedAt?: Date

Property Value

Date