# DefaultRunOptions<!-- -->

Default configuration options for Actor runs.

### Hierarchy

* Omit\<Schemas\[DefaultRunOptions], keyof
  <!-- -->
  DefaultRunOptionsRePointed>
* DefaultRunOptionsRePointed
  * *DefaultRunOptions*

## Index[](#Index)

### Properties

* [build](#build)
* [forcePermissionLevel](#forcePermissionLevel)
* [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#L5163)optionalinheritedbuild

build?

<!-- -->

: string

Inherited from Omit.build

```
latest
```

Which build to run. Either a build tag or a version number.

### [](#forcePermissionLevel)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/models.ts#L385)optionalinheritedforcePermissionLevel

forcePermissionLevel?

<!-- -->

: null | ACTOR_PERMISSION_LEVEL

Inherited from DefaultRunOptionsRePointed.forcePermissionLevel

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

isMaxTotalChargeUsdSetByUser?

<!-- -->

: null | boolean

Inherited from Omit.isMaxTotalChargeUsdSetByUser

Whether `maxTotalChargeUsd` was set explicitly by the user.

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

maxItems?

<!-- -->

: null | number

Inherited from Omit.maxItems

Maximum number of items the run might produce.

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

maxTotalChargeUsd?

<!-- -->

: null | number

Inherited from Omit.maxTotalChargeUsd

```
5
```

Maximum cost in USD that a pay-per-event run can charge to the user.

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

memoryMbytes?

<!-- -->

: number

Inherited from Omit.memoryMbytes

```
2048
```

In MB, the amount of memory allocated to the run.

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

restartOnError?

<!-- -->

: null | boolean

Inherited from Omit.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#L5168)optionalinheritedtimeoutSecs

timeoutSecs?

<!-- -->

: number

Inherited from Omit.timeoutSecs

```
3600
```

Timeout in seconds. 0 if no timeout.
