curl --request POST \
--url https://api.fireworks.ai/v1/accounts/{account_id}/models/{model_id}:getUploadEndpoint \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"filenameToSize": {},
"enableResumableUpload": true,
"readMask": "<string>"
}
'{
"filenameToSignedUrls": {},
"filenameToUnsignedUris": {}
}curl --request POST \
--url https://api.fireworks.ai/v1/accounts/{account_id}/models/{model_id}:getUploadEndpoint \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"filenameToSize": {},
"enableResumableUpload": true,
"readMask": "<string>"
}
'{
"filenameToSignedUrls": {},
"filenameToUnsignedUris": {}
}Bearer authentication using your Fireworks API key. Format: Bearer <API_KEY>
If true, enable resumable upload instead of PUT.
The fields to be returned in the response. If empty or "*", all fields will be returned.
A successful response.
Was this page helpful?