Langfuse JS/TS SDKs
    Preparing search index...

    Interface GetMediaUploadUrlRequest

    interface GetMediaUploadUrlRequest {
        contentLength: number;
        contentType: MediaContentType;
        field: string;
        observationId?: string;
        sha256Hash: string;
        traceId: string;
    }
    Index

    Properties

    contentLength: number

    The size of the media record in bytes

    contentType: MediaContentType
    field: string

    The trace / observation field the media record is associated with. This can be one of input, output, metadata

    observationId?: string

    The observation ID associated with the media record. If the media record is associated directly with a trace, this will be null.

    sha256Hash: string

    The SHA-256 hash of the media record

    traceId: string

    The trace ID associated with the media record