Explore Plans
Mobile menu Close menu
Apify

Task run finished

This trigger fires when an Apify Actor task run reaches a terminal state (succeeded, failed, timed out, or aborted).

Developer info

API endpoint slug
apify.task_run_finished

Trigger fields

Task to watch Dropdown list

Label
Task to watch
Helper text
Select the task you want to monitor.
Slug
task_to_watch
Required
true
Can have default value
false

Ingredients

Task Unique identifier of the task.

Slug
task_id
Filter code
Apify.taskRunFinished.TaskId
Type
String
Example
PwUDLcG3zMyT8E4vq

Run status Final status of the task run.

Slug
run_status
Filter code
Apify.taskRunFinished.RunStatus
Type
String
Example
SUCCEEDED

Started at Timestamp when the task run started.

Slug
started_at
Filter code
Apify.taskRunFinished.StartedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06+05:00

Finished at Timestamp when the task run completed.

Slug
finished_at
Filter code
Apify.taskRunFinished.FinishedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06+05:00

Default dataset Default dataset ID for the Actor run.

Slug
default_dataset_id
Filter code
Apify.taskRunFinished.DefaultDatasetId
Type
String
Example
3ZojQDdFTsyE7Moy4

Default key value store Default key-value store ID for the Actor run.

Slug
default_key_value_store_id
Filter code
Apify.taskRunFinished.DefaultKeyValueStoreId
Type
String
Example
sfAjeR4QmeJCQzTfe

Default request queue Default request queue ID for the Actor run.

Slug
default_request_queue_id
Filter code
Apify.taskRunFinished.DefaultRequestQueueId
Type
String
Example
so93g2shcDzK3pA85