---
title: "Upload CSV file as a table"
method: POST
path: "/v1/uploads/csv"
---

# Upload CSV file as a table

`POST /v1/uploads/csv`

Upload a CSV file to create a table with automatic schema inference.
The size limit per upload is 500MB. Storage limits: 100MB (free), 1GB (analyst), 15GB (plus).

## Query parameters

- `api_key` string

## Headers

- `X-Dune-Api-Key` string, required

## Response `200`

OK

- ModelsCSVUploadResponse
  - `full_name` string — the full name of the table that was created
  - `success` boolean — Indicator if the request was successful
  - `table_name` string — The name of the table that was created

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.dev/dune/apis/duneapi.md) · [All operations](https://skmtc.dev/dune/apis/duneapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dune/duneapi/revisions/f3a7a865f95b/schema)
