The size of the media record in bytes
OptionaldatasetThe dataset the media belongs to. Null for trace/observation media uploads.
OptionaldatasetThe dataset item the media is associated with (need not exist yet). Null for trace/observation media uploads.
The item field the media is in: input/output/metadata (trace) or input/expectedOutput/metadata (dataset item).
OptionalobservationThe observation ID associated with the media record. If the media record is associated directly with a trace, this will be null.
The SHA-256 hash of the media record
OptionaltraceThe trace the media is associated with. Null for dataset item media uploads.
Request a presigned media upload URL. Provide exactly one context: a trace (traceId, optionally observationId) or a dataset item (datasetId + datasetItemId). field is required and must match the chosen context.