@archastro/sdk
    Preparing search index...

    Interface MediaVariant

    A processed variant of a media item, such as the original upload or a resized thumbnail, including a signed download URL resolved at request time.

    interface MediaVariant {
        content_type?: string;
        created_at?: string;
        file?: string;
        filename?: string;
        height?: number;
        id: string;
        image_source?: ImageSource;
        updated_at?: string;
        url?: string;
        variant_key?: string;
        width?: number;
    }
    Index

    Properties

    content_type?: string

    MIME type of this variant's file (e.g., "image/jpeg", "video/mp4"). null if the file is not loaded.

    created_at?: string

    When this variant was created (ISO 8601).

    file?: string

    ID of the underlying storage file that backs this variant (fil_...).

    filename?: string

    Original filename of the uploaded file for this variant. null if the file is not loaded.

    height?: number

    Height of this variant in pixels. null if not recorded.

    id: string

    Media variant ID (mvr_...).

    image_source?: ImageSource

    Resolved image delivery metadata for this variant, including dimensions and CDN URL. null for non-image content types.

    updated_at?: string

    When this variant was last updated (ISO 8601).

    url?: string

    Signed download URL for this variant, resolved at request time. null if the file is unavailable.

    variant_key?: string

    Identifier for this variant's processing tier. Common values include "original" (the unmodified upload) and "thumbnail" (a resized preview).

    width?: number

    Width of this variant in pixels. null if not recorded.