Create
Use this endpoint to define the columns, types, and other properties for a new dataset tailored to your needs.
Create a Dataset
To create a new dataset, follow these steps:
url = 'https://app.graphite-note.com/api/dataset-create'To create a new dataset, make a POST request to
/dataset-createwith the required parameters in the request body.To specify the dataset structure, include an array of column definitions with each column's name, alias, type, subtype, and optional format.
Type can be:
measuredimension
Subtype can be:
textnumericdatedatetime
The response will include key details about the created dataset, including the dataset code, table name, and the number of columns.
Example Usage
Creating a New Dataset
For example, making a POST request to the following URL with the provided JSON body would result in the response below: Request
Response
This request creates a dataset with the specified columns, each having unique names, types, and formats tailored to client onboarding requirements.
Example Python Implementation
Last updated
Was this helpful?

