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.

metadata
any

Optional metadata for the file in JSON format.

Response

200 - application/json
id
string
required
dataset
object
required
name
string | null
size
integer | null
creator
object
required
created_at
string
required