POST
/
v1
/
accounts
/
{account_id}
/
datasets
/
{dataset_id}
:getUploadEndpoint
curl --request POST \
  --url https://api.fireworks.ai/v1/accounts/{account_id}/datasets/{dataset_id}:getUploadEndpoint \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "filenameToSize": {}
}'
{
  "filenameToSignedUrls": {}
}

Authorizations

Authorization
string
header
required

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

application/json
filenameToSize
object
required

A mapping from the file name to its size in bytes.

Response

200 - application/json
A successful response.
filenameToSignedUrls
object