POST
/
v1
/
accounts
/
{account_id}
/
datasets
/
{dataset_id}
:upload

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

dataset_id
string
required

The dataset id

Body

multipart/form-data
file
file

Response

200 - application/json
id
string

The dataset id.

object
string

The object type, which is always file.

bytes
integer

The size of the file, in bytes.

created_at
integer

The Unix timestamp (in seconds) for when the file was created.

filename
string

The name of the file.

purpose
string

The intended purpose of the file.