# StartOptions<!-- -->

### Hierarchy

* Omit<[ActorStartOptions](https://docs.apify.com/api/client/js/reference/interface/ActorStartOptions), waitForFinish | timeout>
* [Token](https://docs.apify.com/sdk/js/sdk/js/reference/interface/Token.md)
* [Timeout](https://docs.apify.com/sdk/js/sdk/js/reference/interface/Timeout.md)
  * *StartOptions*

## Index[**](#Index)

### Properties

* [**build](#build)
* [**contentType](#contentType)
* [**forcePermissionLevel](#forcePermissionLevel)
* [**maxItems](#maxItems)
* [**maxTotalChargeUsd](#maxTotalChargeUsd)
* [**memory](#memory)
* [**restartOnError](#restartOnError)
* [**timeout](#timeout)
* [**token](#token)
* [**webhooks](#webhooks)

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

### [**](#build)[**](https://undefined/apify/apify-sdk-js/blob/1c7a00f44bba808a75a9793059bf83398937c5f2/node_modules/apify-client/src/resource_clients/actor.d.ts#L362)externaloptionalinheritedbuild

**build?

<!-- -->

: string

Inherited from Omit.build

Tag or number of the Actor build to run (e.g. `beta` or `1.2.345`). If not provided, the run uses build tag or number from the default Actor run configuration (typically `latest`).

### [**](#contentType)[**](https://undefined/apify/apify-sdk-js/blob/1c7a00f44bba808a75a9793059bf83398937c5f2/node_modules/apify-client/src/resource_clients/actor.d.ts#L369)externaloptionalinheritedcontentType

**contentType?

<!-- -->

: string

Inherited from Omit.contentType

Content type for the `input`. If not specified, `input` is expected to be an object that will be stringified to JSON and content type set to `application/json; charset=utf-8`. If `options.contentType` is specified, then `input` must be a `String` or `Buffer`.

### [**](#forcePermissionLevel)[**](https://undefined/apify/apify-sdk-js/blob/1c7a00f44bba808a75a9793059bf83398937c5f2/node_modules/apify-client/src/resource_clients/actor.d.ts#L418)externaloptionalinheritedforcePermissionLevel

**forcePermissionLevel?

<!-- -->

: ACTOR\_PERMISSION\_LEVEL

Inherited from Omit.forcePermissionLevel

Override the Actor's permissions for this run. If not set, the Actor will run with permissions configured in the Actor settings.

### [**](#maxItems)[**](https://undefined/apify/apify-sdk-js/blob/1c7a00f44bba808a75a9793059bf83398937c5f2/node_modules/apify-client/src/resource_clients/actor.d.ts#L402)externaloptionalinheritedmaxItems

**maxItems?

<!-- -->

: number

Inherited from Omit.maxItems

Specifies the maximum number of dataset items that will be charged for pay-per-result Actors. This does NOT guarantee that the Actor will return only this many items. It only ensures you won't be charged for more than this number of items. Only works for pay-per-result Actors. Value can be accessed in the Actor run using `ACTOR_MAX_PAID_DATASET_ITEMS` environment variable.

### [**](#maxTotalChargeUsd)[**](https://undefined/apify/apify-sdk-js/blob/1c7a00f44bba808a75a9793059bf83398937c5f2/node_modules/apify-client/src/resource_clients/actor.d.ts#L409)externaloptionalinheritedmaxTotalChargeUsd

**maxTotalChargeUsd?

<!-- -->

: number

Inherited from Omit.maxTotalChargeUsd

Specifies the maximum cost of the Actor run. This parameter is used only for pay-per-event Actors. It allows you to limit the amount charged to your subscription. You can access the maximum cost in your Actor by using the `ACTOR_MAX_TOTAL_CHARGE_USD` environment variable.

### [**](#memory)[**](https://undefined/apify/apify-sdk-js/blob/1c7a00f44bba808a75a9793059bf83398937c5f2/node_modules/apify-client/src/resource_clients/actor.d.ts#L374)externaloptionalinheritedmemory

**memory?

<!-- -->

: number

Inherited from Omit.memory

Memory in megabytes which will be allocated for the new Actor run. If not provided, the run uses memory of the default Actor run configuration.

### [**](#restartOnError)[**](https://undefined/apify/apify-sdk-js/blob/1c7a00f44bba808a75a9793059bf83398937c5f2/node_modules/apify-client/src/resource_clients/actor.d.ts#L413)externaloptionalinheritedrestartOnError

**restartOnError?

<!-- -->

: boolean

Inherited from Omit.restartOnError

Determines whether the run will be restarted if it fails.

### [**](#timeout)[**](https://github.com/apify/apify-sdk-js/blob/1c7a00f44bba808a75a9793059bf83398937c5f2/src/actor.ts#L270)optionalinheritedtimeout

**timeout?

<!-- -->

: number | inherit

Inherited from Timeout.timeout

Timeout for the Actor run in seconds, or `'inherit'`.

Using `inherit` will set timeout of the newly started Actor run to the time remaining until this Actor run times out so that the new run does not outlive this one.

### [**](#token)[**](https://github.com/apify/apify-sdk-js/blob/1c7a00f44bba808a75a9793059bf83398937c5f2/src/actor.ts#L260)optionalinheritedtoken

**token?

<!-- -->

: string

Inherited from Token.token

User Apify API token that is used for API calls. By default, it is taken from the `APIFY_TOKEN` environment variable.

### [**](#webhooks)[**](https://undefined/apify/apify-sdk-js/blob/1c7a00f44bba808a75a9793059bf83398937c5f2/node_modules/apify-client/src/resource_clients/actor.d.ts#L394)externaloptionalinheritedwebhooks

**webhooks?

<!-- -->

: readonly

<!-- -->

WebhookUpdateData\[]

Inherited from Omit.webhooks

Specifies optional webhooks associated with the Actor run, which can be used to receive a notification e.g. when the Actor finished or failed, see [ad hook webhooks documentation](https://docs.apify.com/webhooks/ad-hoc-webhooks) for detailed description.
