Version v0.43 of Metabase is no longer supported. Check out the docs for the current stable version, Metabase v0.63.
/api/dataset endpoints.
POST /api/dataset/Execute a query and retrieve the results in the usual format.
database value may be nil, or if non-nil, value must be an integer.
query
POST /api/dataset/:export-formatExecute a query and download the result data as a file in the specified format.
export-format value must be one of: api, csv, json, xlsx.
query value must be a valid JSON string.
visualization_settings value must be a valid JSON string.
POST /api/dataset/durationGet historical query execution duration.
database
query
POST /api/dataset/nativeFetch a native version of an MBQL query.
queryPOST /api/dataset/pivotGenerate a pivoted dataset for an ad-hoc query.
database value may be nil, or if non-nil, value must be an integer.
query