Sanity Library Reference Docs
    Preparing search index...

    Type Alias StagedUploadBeta

    StagedUpload: JsonResponse<paths[UploadsPath]["post"]["responses"]["201"]>

    The staged half of a file upload: PUT the bytes to uploadUrl, then confirm with the complete endpoint. imports.create({type: 'file'}) does all of this in one call.