Insert data into an uploaded table

Inserts data into an existing table. Accepts CSV (text/csv) or NDJSON (application/x-ndjson) content types.

post/v1/uploads/{namespace}/{table_name}/insert

Request

  • Base URL
    https://api.dune.com/api
  • URL
    https://api.dune.com/api/v1/uploads/{namespace}/{table_name}/insert
  • Auth
    none declared. Required headers: X-Dune-Api-Key, Content-Type

Path parameters

namespacestring required

The namespace of the table

table_namestring required

The table name

Query parameters

api_keystring

Alternative to using the X-Dune-Api-Key header

Headers

X-Dune-Api-Keystring required

API Key for the service

Content-Typestring required

Content type: text/csv or application/x-ndjson

Request body */*

string required

Response

OK

bytes_writteninteger
namestring
rows_writteninteger

Changes

No recorded changes to this operation across all 2 revisions of this API.