Skip to main content
Version: Next

Datasets

Manage datasets (tables) used for building charts.

MethodEndpointPath
DELETEBulk delete datasets/api/v1/dataset/
GETGet a list of datasets/api/v1/dataset/
POSTCreate a new dataset/api/v1/dataset/
GETGet metadata information about this API resource (dataset--info)/api/v1/dataset/_info
DELETEDelete a dataset/api/v1/dataset/{pk}
GETGet a dataset/api/v1/dataset/{pk}
PUTUpdate a dataset/api/v1/dataset/{pk}
DELETEDelete a dataset column/api/v1/dataset/{pk}/column/{column_id}
DELETEDelete a dataset metric/api/v1/dataset/{pk}/metric/{metric_id}
PUTRefresh and update columns of a dataset/api/v1/dataset/{pk}/refresh
GETGet charts and dashboards count associated to a dataset/api/v1/dataset/{pk}/related_objects
GETGet distinct values from field data (dataset-distinct-column-name)/api/v1/dataset/distinct/{column_name}
POSTDuplicate a dataset/api/v1/dataset/duplicate
GETDownload multiple datasets as YAML files/api/v1/dataset/export/
POSTRetrieve a table by name, or create it if it does not exist/api/v1/dataset/get_or_create/
POSTImport dataset(s) with associated databases/api/v1/dataset/import/
GETGet related fields data (dataset-related-column-name)/api/v1/dataset/related/{column_name}
PUTWarm up the cache for each chart powered by the given table/api/v1/dataset/warm_up_cache