Skip to main content
POST
Upload file from URL

Authorizations

Authorization
string
header
required

Key on the DEPLOY preset, or any key whose permissions include the ones this API lists. Prefix it with "Key ", e.g. Authorization: Key YOUR_API_KEY

Path Parameters

file
string
required

Target file path (including filename)

Example:

"datasets/images/cat.jpg"

Body

application/json

Upload a file from a URL into the target path

url
string<uri>
required

Publicly accessible URL for the file

Response

Upload initiated

Indicates whether the operation was successful