Skip to main content
Version: 3.1

CallTaskOptions

Hierarchy

  • TaskCallOptions
    • CallTaskOptions

Index

Properties

externaloptionalbuild

build?: string

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).

externaloptionalmaxItems

maxItems?: number

Specifies maximum number of items that the Actor run should return. This is used by pay per result Actors to limit the maximum number of results that will be charged to customer. Value can be accessed in Actor run using APIFY_ACTOR_MAX_ITEMS environment variable.

externaloptionalmemory

memory?: number

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.

externaloptionaltimeout

timeout?: number

Timeout for the Actor run in seconds. Zero value means there is no timeout. If not provided, the run uses timeout of the default Actor run configuration.

optionaltoken

token?: string

User API token that is used to run the Actor. By default, it is taken from the APIFY_TOKEN environment variable.

externaloptionalwaitSecs

waitSecs?: number

externaloptionalwebhooks

webhooks?: readonly WebhookUpdateData[]

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 for detailed description.