POST
/
v1
/
datasets
/
files
/
upload
/

Authorizations

Authorization
string
headerrequired

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

Body

multipart/form-data
file
file
required

File to upload.

dataset_id
string

Dataset ID to upload file to. If not provided, file will be uploaded to default dataset.

Minimum length: 1
metadata
any

Optional metadata for the file in JSON format.

Response

200 - application/json
id
string
required
dataset
object
required
creator
object
required
created_at
string
required
name
string | null
Maximum length: 1024
size
integer | null
Required range: -9223372036854776000 < x < 9223372036854776000