@cpod/sdk - v0.2.7
    Preparing search index...

    Interface DocumentFileMinimal

    Minimal file info returned by the files endpoint

    interface DocumentFileMinimal {
        id: string;
        fileHash: string;
        name: string;
        source: string;
        sourceFilename: string;
        size?: number | null;
        status?: "completed" | "processing" | "failed" | null;
        reason?: string | null;
        createdAt?: string | null;
        updatedAt?: string | null;
        file_hash?: string;
        source_filename?: string;
    }
    Index

    Properties

    id: string

    File hash (used as ID)

    fileHash: string

    File hash identifier

    name: string

    Filename

    source: string

    Source name

    sourceFilename: string

    Full source filename with path

    size?: number | null

    File size in bytes

    status?: "completed" | "processing" | "failed" | null

    Processing status

    reason?: string | null

    Failure reason if status is failed

    createdAt?: string | null

    Creation timestamp

    updatedAt?: string | null

    Last update timestamp

    file_hash?: string

    Use fileHash instead

    source_filename?: string

    Use sourceFilename instead