InternalThe API client used to request the upload URL and report completion.
OptionalbaseBase delay in milliseconds for exponential backoff. Defaults to 1000.
OptionalfieldThe trace / observation field the media is associated with (input,
output, or metadata). Ignored when traceId is omitted.
OptionalloggerLogger to use. Defaults to the global logger.
OptionalmaxMaximum number of upload retries on transient failures. Defaults to 3.
The media to upload.
OptionalobservationThe observation the media belongs to, if any.
OptionaltraceThe trace the media belongs to. Omit for media that is not associated with a trace (e.g. dataset item media).
Parameters for uploadMedia.