Authorizations
Bearer authentication using your Fireworks API key. Format: Bearer <API_KEY>
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 using your Fireworks API key. Format: Bearer <API_KEY>
A successful response.
Was this page helpful?