Datasets
Upload Dataset Files
Provides a streamlined way to upload a dataset file in a single API request. This path can handle file sizes up to 150Mb. For larger file sizes use Get Dataset Upload Endpoint.
POST
/
v1
/
accounts
/
{account_id}
/
datasets
/
{dataset_id}
:upload
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
account_id
string
requiredThe account id
dataset_id
string
requiredThe 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.
Was this page helpful?