Fetch dataset items
fetch_dataset_itemsFetch paginated items from an Apify actor run dataset with field projection and token budget. Start with a summary to inspect data shape, then retrieve raw JSON items with selected fields.
Instructions
Read items from an actor run dataset with pagination, field projection, and a hard token budget. Start with response_format "summary" to see the shape cheaply, then fetch "items" with a fields projection. Items arrive as JSON in the text content; structured content carries pagination metadata (total, next_offset, truncated).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| fields | No | Project only these top-level fields (cuts token cost drastically) | |
| offset | No | ||
| dataset_id | Yes | Dataset id from run_actor / scrape_url / get_run_status | |
| max_tokens | No | ||
| response_format | No | "summary" describes the data cheaply; "items" returns raw JSON items | summary |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | ||
| offset | Yes | ||
| returned | Yes | ||
| truncated | Yes | ||
| dataset_id | Yes | ||
| fields_seen | Yes | ||
| next_offset | Yes |