Skip to main content
POST
Upload Dataset Files

Authorizations

Authorization
string
header
required

Bearer authentication using your Fireworks API key. Format: Bearer <API_KEY>

Path Parameters

account_id
string
required

The account id

dataset_id
string
required

The dataset id

Body

multipart/form-data
file
file

Response

A successful response.

id
string

The dataset id.

object
string

The object type, which is always file.

bytes
integer<int64>

The size of the file, in bytes.

created_at
integer<int64>

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.