List dataset items
GET/v5/dataset-items
List dataset items belonging to the caller’s account, paginated.
dataset_id is optional: when omitted, items across all of the account’s datasets are returned; when provided, results are restricted to that dataset. A specific version may be requested only together with a dataset_id — passing version without dataset_id is rejected. By default only current items at the latest version are listed (soft-deleted items are excluded); archived items are excluded unless include_archived is true.
List dataset items
curl https://api.egp.scale.com/v5/dataset-items \
-H "x-api-key: $SGP_API_KEY"{
"has_more": true,
"items": [
{
"id": "id",
"content_hash": "content_hash",
"created_at": "2019-12-27T18:11:19.117Z",
"created_by": {
"id": "id",
"type": "user",
"object": "identity"
},
"data": {
"foo": "bar"
},
"updated_at": "2019-12-27T18:11:19.117Z",
"archived_at": "2019-12-27T18:11:19.117Z",
"dataset_id": "dataset_id",
"files": {
"foo": "string"
},
"object": "dataset.item"
}
],
"total": 0,
"limit": 0,
"object": "list"
}Returns Examples
{
"has_more": true,
"items": [
{
"id": "id",
"content_hash": "content_hash",
"created_at": "2019-12-27T18:11:19.117Z",
"created_by": {
"id": "id",
"type": "user",
"object": "identity"
},
"data": {
"foo": "bar"
},
"updated_at": "2019-12-27T18:11:19.117Z",
"archived_at": "2019-12-27T18:11:19.117Z",
"dataset_id": "dataset_id",
"files": {
"foo": "string"
},
"object": "dataset.item"
}
],
"total": 0,
"limit": 0,
"object": "list"
}