- A table must currently be created as public. If the request tries to create a private table, it will fail.
- If a table already exists with the same name, the request will fail.
- Column names in the table can’t start with a special character or a digit.
- To delete a table, you must go to
user settings (dune.com) -> data -> delete
. - Creating a table does not incur credits.
Authorizations
The API key of your team or user.
Path Parameters
The namespace of the table to create. Must be the name of your associated API key, i.e. either my_user
or my_team
.
"my_user"
The name of the table to create. Must begin with dataset_
and contain only lowercase letters, digits, and underscores.
"dataset_my_data"
Body
Create a new Dune Table for uploads
An ordered list of columns that define the table schema. Cannot be empty.
If true, the table will be private. This is not supported yet, it has to be false
. If private it is only visible to the team or user that your API key is associated with.
A description of the table.
Response
The Dune table namespace.table_name
was created successfully.
The response is of type object
.