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 people to upload their models. This field being returned implies the caller has permission to upload to the URIs (i.e. the URIs point to a customer's cloud account).