# RunOptions<!-- -->

## Index[](#Index)

### Properties

* [build](https://docs.apify.com/api/client/python/reference/class/RunOptions.md#build)
* [disk_mbytes](https://docs.apify.com/api/client/python/reference/class/RunOptions.md#disk_mbytes)
* [is_max_total_charge_usd_set_by_user](https://docs.apify.com/api/client/python/reference/class/RunOptions.md#is_max_total_charge_usd_set_by_user)
* [max_items](https://docs.apify.com/api/client/python/reference/class/RunOptions.md#max_items)
* [max_total_charge_usd](https://docs.apify.com/api/client/python/reference/class/RunOptions.md#max_total_charge_usd)
* [memory_mbytes](https://docs.apify.com/api/client/python/reference/class/RunOptions.md#memory_mbytes)
* [model_config](https://docs.apify.com/api/client/python/reference/class/RunOptions.md#model_config)
* [restart_on_error](https://docs.apify.com/api/client/python/reference/class/RunOptions.md#restart_on_error)
* [timeout_secs](https://docs.apify.com/api/client/python/reference/class/RunOptions.md#timeout_secs)

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

### [](#build)build

build: str

### [](#disk_mbytes)disk_mbytes

disk_mbytes: int

### [](#is_max_total_charge_usd_set_by_user)is_max_total_charge_usd_set_by_user

is_max_total_charge_usd_set_by_user: bool | None

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

### [](#max_items)max_items

max_items: int | None

### [](#max_total_charge_usd)max_total_charge_usd

max_total_charge_usd: float | None

### [](#memory_mbytes)memory_mbytes

memory_mbytes: int

### [](#model_config)model_config

model_config: Undefined

### [](#restart_on_error)restart_on_error

restart_on_error: bool | None

Whether to automatically restart the run if it fails.

### [](#timeout_secs)timeout_secs

timeout_secs: int
