@archastro/sdk
    Preparing search index...

    Interface StorageFile

    A file stored in the platform's object storage, with metadata and a signed URL for downloading its contents.

    interface StorageFile {
        content_type?: string;
        created_at?: string;
        filename?: string;
        id: string;
        image_source?: ImageSource;
        org?: string;
        sandbox?: string;
        size?: number;
        updated_at?: string;
        url?: string;
    }
    Index

    Properties

    content_type?: string

    MIME type of the file, e.g. "image/png" or "application/pdf".

    created_at?: string

    When the file was uploaded (ISO 8601).

    filename?: string

    Original filename as provided at upload time.

    id: string

    File ID (fil_...).

    image_source?: ImageSource

    Image display metadata. Present only when content_type is an image type; null otherwise.

    org?: string

    ID of the organization that owns this file (org_...).

    sandbox?: string

    ID of the sandbox this file is scoped to (sbx_...). null for files not associated with a sandbox.

    size?: number

    Size of the file in bytes.

    updated_at?: string

    When the file record was last modified (ISO 8601).

    url?: string

    Short-lived signed URL for downloading the file. null if a URL could not be generated.