@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 {
        app?: string;
        content_type?: string;
        created_at?: string;
        filename?: string;
        id: string;
        image_source?: ImageSource;
        org?: string;
        sandbox?: string;
        share_url?: string;
        size?: number;
        team?: string;
        updated_at?: string;
        url?: string;
        user?: string;
    }
    Index

    Properties

    app?: string

    ID of the app this file belongs to (app_...).

    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.

    share_url?: string

    Stable public URL for the file, fetchable without authentication. Present only when the file was shared (share: true); does not expire until sharing is disabled. Disabling and re-enabling sharing reactivates the same URL. null otherwise.

    size?: number

    Size of the file in bytes.

    team?: string

    ID of the team that owns this file (team_...). null if not team-owned.

    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.

    user?: string

    ID of the user that owns this file (user_...). null if not user-owned.