Info Endpoint
The properties of one dataset, grouped by kind, with its row count. For every model and dataset at once — with display names and references — use the Models Endpoint.
Method: GET
Path: /data/{model}/{dataset}/info
Authentication: Required
Response
{
"rowCount": 1280391,
"attributeColumns": [
{ "name": "category", "isSet": false, "collection": "category" },
{ "name": "tags", "isSet": true, "collection": "tags" }
],
"measureColumns": [
{ "name": "revenue", "scale": 100 },
{ "name": "quantity" },
{ "name": "orderedAt_date", "timeParent": "orderedAt" },
{ "name": "orderedAt_time", "timeParent": "orderedAt" }
],
"timeColumns": ["orderedAt"]
}
| Field | Type | Description |
|---|---|---|
rowCount |
Number | Rows in the dataset. Absent when your role limits which rows of this model you may see, and in an embedded view |
attributeColumns |
Array | Attribute, ID and Reference properties — for grouping and filtering |
measureColumns |
Array | Measure properties — for aggregation |
timeColumns |
Array | Time properties — for time filters and time grouping |
The response carries further fields used by the app; ignore any you do not recognise.
Attribute entries
| Field | Type | Description |
|---|---|---|
name |
String | Property id, as used in queries |
isSet |
Boolean | true for a multi-value property (Set of Attributes) |
collection |
String | Where the property's values are kept — pass it to the attribute endpoints |
Measure entries
| Field | Type | Description |
|---|---|---|
name |
String | Property id |
scale |
Number | Decimal scale (100 = two decimal places); omitted when 1 |
timeParent |
String | Present only on the _date / _time helper entries of a time property. Skip these — query the time property itself |
Status codes
| Status | Meaning |
|---|---|
200 |
Success |
404 |
Model or dataset not found |