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

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

account_id
string
required

The Account Id

model_id
string
required

The Model Id

Body

application/json
filenameToSize
object
required

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

Response

200 - application/json
filenameToSignedUrls
object
filenameToUnsignedUris
object

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.