Tag or number of the actor build to run (e.g.
If not provided, the run uses build tag or number from the default actor run configuration (typically
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
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
ACTOR_MAX_PAID_DATASET_ITEMS environment variable.
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.
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.
Maximum time to wait for the actor run to finish, in seconds.
If the limit is reached, the returned promise is resolved to a run object that will have
RUNNING and it will not contain the actor run output.
waitForFinish is null or undefined, the function waits for the actor to finish (default behavior).
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.