Interface ApiGetMediaUploadUrlRequest

GetMediaUploadUrlRequest

interface ApiGetMediaUploadUrlRequest {
    contentLength: number;
    contentType: ApiMediaContentType;
    field: string;
    observationId?: null | string;
    sha256Hash: string;
    traceId: string;
}

Properties

contentLength: number

The size of the media record in bytes

contentType: ApiMediaContentType

The MIME type of the media record

field: string

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

observationId?: null | 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