Langfuse JS/TS SDKs
    Preparing search index...

    Type Alias LangfuseMediaReferenceParams

    Parameters for constructing a LangfuseMediaReference.

    type LangfuseMediaReferenceParams = {
        contentLength?: number;
        contentType: string;
        mediaId: string;
        referenceString: string;
        url: string;
        urlExpiry?: string;
    }

    Implemented by

    Index

    Properties

    contentLength?: number

    The size of the media record in bytes

    contentType: string

    The MIME type of the media record

    mediaId: string

    The unique Langfuse identifier of the media record

    referenceString: string

    The original @@@langfuseMedia:…@@@ reference string. Used to losslessly round-trip a resolved reference back through the API / tracing when a fetched dataset item is re-used.

    url: string

    The signed download URL of the media record

    urlExpiry?: string

    The expiry date and time (ISO 8601) of the signed download URL