Skip to content

Interface: UploadedSourceFileDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / UploadedSourceFileDto

Defined in: src/types/sources.ts:663

A file uploaded for a file-based source (CSV, Parquet, SQLite).

Returned by SourcesClient.uploadFile and listed by SourcesClient.listFiles. Wire format is snake_case (uploaded_at); the SDK maps it at the boundary.

id: string

Defined in: src/types/sources.ts:665

Upload id (a UUID): the key SourcesClient.deleteFile takes.


name: string

Defined in: src/types/sources.ts:670

The stored file name: the basename of the filename the upload was sent with, or the upload id when it was sent with none.


path: string

Defined in: src/types/sources.ts:676

The engine-internal location of the file. Pass it as config.file_path (CSV, Parquet) or config.database_path (SQLite) of RegisterSourceRequest.


size: number

Defined in: src/types/sources.ts:678

Size in bytes.


uploadedAt: string

Defined in: src/types/sources.ts:680

When the upload completed (RFC 3339, UTC).