# RunIterateDatasetItemsOptions<!-- -->

Options for iterating over the items of a run's default dataset while the run is still producing them.

### Hierarchy

* PaginationOptions
* [TimeoutOptions](https://docs.apify.com/api/client/js/reference/interface/TimeoutOptions.md)
  * *RunIterateDatasetItemsOptions*

## Index[](#Index)

### Properties

* [chunkSize](#chunkSize)
* [clean](#clean)
* [fields](#fields)
* [limit](#limit)
* [offset](#offset)
* [omit](#omit)
* [pollIntervalSecs](#pollIntervalSecs)
* [signal](#signal)
* [skipEmpty](#skipEmpty)
* [skipHidden](#skipHidden)
* [timeoutSecs](#timeoutSecs)
* [unwind](#unwind)

## Properties<!-- -->[](#Properties)

### [](#chunkSize)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/resource_clients/run.ts#L784)optionalchunkSize

chunkSize?

<!-- -->

: number

Overrides PaginationOptions.chunkSize

Maximum number of dataset rows requested per API call. Default is 1000.

Added in 3.0.0

### [](#clean)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/resource_clients/run.ts#L786)optionalclean

clean?

<!-- -->

: boolean

If `true`, returns only non-empty items and skips hidden fields.

### [](#fields)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/resource_clients/run.ts#L788)optionalfields

fields?

<!-- -->

: string\[]

Field names to include in the items. Omits all other fields.

### [](#limit)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/utils.ts#L361)optionalinheritedlimit

limit?

<!-- -->

: number

Inherited from PaginationOptions.limit

Maximum number of entries requested.

### [](#offset)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/utils.ts#L359)optionalinheritedoffset

offset?

<!-- -->

: number

Inherited from PaginationOptions.offset

Position of the first returned entry.

### [](#omit)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/resource_clients/run.ts#L790)optionalomit

omit?

<!-- -->

: string\[]

Field names to exclude from the items.

### [](#pollIntervalSecs)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/resource_clients/run.ts#L798)optionalpollIntervalSecs

pollIntervalSecs?

<!-- -->

: number

How long to wait for the run to finish between polls, in seconds. Default is 5.

### [](#signal)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/timeouts.ts#L49)optionalinheritedsignal

signal?

<!-- -->

: AbortSignal

Inherited from TimeoutOptions.signal

Aborts the method. Once the signal aborts, the request in flight is ended, no retry or further poll follows, and the method rejects with the signal's `reason`.

### [](#skipEmpty)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/resource_clients/run.ts#L792)optionalskipEmpty

skipEmpty?

<!-- -->

: boolean

If `true`, skips empty items.

### [](#skipHidden)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/resource_clients/run.ts#L794)optionalskipHidden

skipHidden?

<!-- -->

: boolean

If `true`, skips hidden fields (fields starting with `#`).

### [](#timeoutSecs)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/timeouts.ts#L43)optionalinheritedtimeoutSecs

timeoutSecs?

<!-- -->

: [Timeout](https://docs.apify.com/api/client/js/reference.md#Timeout)

Inherited from TimeoutOptions.timeoutSecs

Timeout for the API request: a tier name (`'short'`, `'medium'`, `'long'`), a number of seconds, or `'noTimeout'`. Defaults to the tier the method is assigned, which its documentation names.

### [](#unwind)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/resource_clients/run.ts#L796)optionalunwind

unwind?

<!-- -->

: string\[]

Field names to unwind. Each array value creates a separate item.
