Get dataset items
get-dataset-itemsReturns rows from a dataset produced by an Actor run. Use when you have a datasetId and need the result items.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"datasetId": "<datasetId>"
},
"name": "get-dataset-items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| desc | No | If true, return newest items first. | |
| omit | No | Comma-separated fields to omit. | |
| clean | No | If true, skip empty items and hidden fields. | |
| limit | No | Maximum number of items to return. | |
| fields | No | Comma-separated fields to include. | |
| offset | No | Number of items to skip. | |
| flatten | No | Comma-separated fields to flatten. | |
| datasetId | Yes | Dataset id or username~dataset-name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Dataset items | |
| limit | Yes | Limit used for pagination | |
| offset | Yes | Offset used for pagination | |
| summary | Yes | Summary of the result | |
| nextStep | Yes | One follow-up action with tool name | |
| datasetId | Yes | Dataset ID | |
| itemCount | Yes | Number of items returned | |
| totalItemCount | Yes | Total items in dataset | |
| apifyConsoleUrl | No | Personalized Apify Console link to the dataset; present. |