---
title: "Get Dataset Upload Endpoint"
method: POST
path: "/v1/accounts/{account_id}/datasets/{dataset_id}:getUploadEndpoint"
tags: ["Gateway"]
---

# Get Dataset Upload Endpoint

`POST /v1/accounts/{account_id}/datasets/{dataset_id}:getUploadEndpoint`

## Path parameters

- `account_id` string, required
- `dataset_id` string, required

## Request body

- GatewayGatewayGetDatasetUploadEndpointBody
  - `filenameToSize` object, required — A mapping from the file name to its size in bytes.
  - `readMask` string — The fields to be returned in the response. If empty or "*", all fields will be returned.

## Response `200`

A successful response.

- GatewayGetDatasetUploadEndpointResponse
  - `filenameToSignedUrls` object

---

[API](https://skmtc.net/fireworks/apis/fireworks-ai-anthropic-compatible-messages-api.md) · [All operations](https://skmtc.net/fireworks/apis/fireworks-ai-anthropic-compatible-messages-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fireworks/fireworks-ai-anthropic-compatible-messages-api/revisions/954d6bc5d922/schema)
