v1

latestOpenAPI 3.1.02026-07-26106201349.6 KB
Gateway

Get Model Upload Endpoint

post/v1/accounts/{account_id}/models/{model_id}:getUploadEndpoint

Path parameters

account_idstring required

The Account Id

model_idstring required

The Model Id

Request body

filenameToSizeobject required

A mapping from the file name to its size in bytes.

enableResumableUploadboolean

If true, enable resumable upload instead of PUT.

readMaskstring

The fields to be returned in the response. If empty or "*", all fields will be returned.

Response

A successful response.

filenameToSignedUrlsobject
filenameToUnsignedUrisobject

Unsigned URIs (e.g. s3://bucket/key, gs://bucket/key) for uploading model files. Returned when the caller has permission to upload to the URIs.