# RunOptions<!-- -->

Configuration options used for an Actor run.

These are the actual options that were applied to the run (may differ from requested options).

### Hierarchy

* GeneratedRunOptions
  * *RunOptions*

## Index[](#Index)

### Properties

* [build](#build)
* [diskMbytes](#diskMbytes)
* [isMaxTotalChargeUsdSetByUser](#isMaxTotalChargeUsdSetByUser)
* [maxItems](#maxItems)
* [maxTotalChargeUsd](#maxTotalChargeUsd)
* [memoryMbytes](#memoryMbytes)
* [restartOnError](#restartOnError)
* [timeoutSecs](#timeoutSecs)

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

### [](#build)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/generated/api.ts#L6701)inheritedbuild

build: string

Inherited from GeneratedRunOptions.build

```
latest
```

### [](#diskMbytes)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/generated/api.ts#L6707)inheriteddiskMbytes

diskMbytes: number

Inherited from GeneratedRunOptions.diskMbytes

```
2048
```

### [](#isMaxTotalChargeUsdSetByUser)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/generated/api.ts#L6721)optionalinheritedisMaxTotalChargeUsdSetByUser

isMaxTotalChargeUsdSetByUser?

<!-- -->

: boolean

Inherited from GeneratedRunOptions.isMaxTotalChargeUsdSetByUser

```
true
```

Whether the user explicitly set `maxTotalChargeUsd` when starting the run. Not present for pay-per-result Actors.

### [](#maxItems)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/generated/api.ts#L6714)optionalinheritedmaxItems

maxItems?

<!-- -->

: null | number

Inherited from GeneratedRunOptions.maxItems

```
1000
```

### [](#maxTotalChargeUsd)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/generated/api.ts#L6716)optionalinheritedmaxTotalChargeUsd

maxTotalChargeUsd?

<!-- -->

: null | number

Inherited from GeneratedRunOptions.maxTotalChargeUsd

```
5
```

### [](#memoryMbytes)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/generated/api.ts#L6705)inheritedmemoryMbytes

memoryMbytes: number

Inherited from GeneratedRunOptions.memoryMbytes

```
1024
```

### [](#restartOnError)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/generated/api.ts#L6712)optionalinheritedrestartOnError

restartOnError?

<!-- -->

: null | boolean

Inherited from GeneratedRunOptions.restartOnError

```
false
```

Whether to automatically restart the run if it fails.

### [](#timeoutSecs)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/generated/api.ts#L6703)inheritedtimeoutSecs

timeoutSecs: number

Inherited from GeneratedRunOptions.timeoutSecs

```
300
```
