KnowledgeSourceFile interface
Metadata for a file uploaded to a File knowledge source.
Properties
| created |
The timestamp when the file was created. |
| error |
The error message if file processing failed, null otherwise. |
| file |
The unique identifier for the file. |
| file |
The original file name. |
| file |
The file size in bytes. |
| last |
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