2faa857793e8

latestOpenAPI 3.0.12026-07-245277551.2 MB
Explore

get/datainsights/v1.1/explore

Query parameters

questionstring required
Example:Show me all reservations from today

question

dataset_id1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 required
Example:1

Dataset id

Headers

X-PROPERTY-IDinteger required

Property id of the client

Response

OK

Example response

{
  "data": {
    "type": "List"
  },
  "summary": {
    "total": 100
  },
  "meta": {
    "filters": {
      "and": [
        {
          "cdf": {
            "type": "default",
            "column": "credit_amount"
          }
        }
      ],
      "or": [
        {
          "cdf": {
            "type": "default",
            "column": "credit_amount"
          }
        }
      ]
    },
    "sort": [
      {
        "cdf": {
          "type": "default",
          "column": "credit_amount"
        },
        "direction": "asc"
      }
    ],
    "columns": [
      {
        "cdf": {
          "type": "default",
          "column": "credit_amount"
        },
        "metrics": [
          "sum"
        ]
      }
    ],
    "group_rows": [
      {
        "cdf": {
          "type": "default",
          "column": "credit_amount"
        }
      }
    ]
  }
}