Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
multipart/form-data
Response
A successful response.
curl --request POST \
--url https://api.fireworks.ai/v1/accounts/{account_id}/datasets/{dataset_id}:upload \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file=@example-file{
"id": "<string>",
"object": "<string>",
"bytes": 123,
"created_at": 123,
"filename": "<string>",
"purpose": "<string>"
}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.
curl --request POST \
--url https://api.fireworks.ai/v1/accounts/{account_id}/datasets/{dataset_id}:upload \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file=@example-file{
"id": "<string>",
"object": "<string>",
"bytes": 123,
"created_at": 123,
"filename": "<string>",
"purpose": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
A successful response.
Was this page helpful?