gateway-extra.openapi_Gateway

Upload Dataset Files

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.

post/v1/accounts/{account_id}/datasets/{dataset_id}:upload

Request

  • Base URL: https://api.fireworks.ai
  • URL: https://api.fireworks.ai/v1/accounts/{account_id}/datasets/{dataset_id}:upload
  • Auth: HTTP bearer

Path parameters

account_idstring required

The account id

dataset_idstring required

The dataset id

Response

A successful response.

idstring

The dataset id.

objectstring

The object type, which is always file.

bytesinteger

The size of the file, in bytes.

created_atinteger

The Unix timestamp (in seconds) for when the file was created.

filenamestring

The name of the file.

purposestring

The intended purpose of the file.

Changes

No recorded changes to this operation across all 1 revision of this API.