cURL
curl --request POST \ --url https://{instance}.domo.com/api/query/v1/execute/export/{datasetId} \ --header 'Content-Type: application/json' \ --header 'X-DOMO-Developer-Token: <api-key>' \ --data @- <<EOF { "sql": "SELECT * FROM `<DATASET_ID>` WHERE status='error'" } EOF
{ "datasource": "<DATASET_ID>", "columns": [], "metadata": [], "numColumns": 10, "rows": [], "numRows": 15 }
The dataset identifier. <DATASET_ID>
includeHeader
200:
Description of the Response with an example of the data