Apify icon

Apify

Apify API

Overview

This node updates an existing Actor Task in the Apify platform. It is useful for users who want to modify the details or configuration of a specific Actor Task, such as changing its name, input, or other metadata. For example, a user can update the task's input parameters or rename the task programmatically within an automation workflow.

Use Case Examples

  1. Updating the input configuration of an Actor Task to change the data it processes.
  2. Renaming an Actor Task to better reflect its purpose after changes in the workflow.

Properties

Name Meaning
Actor Task ID The unique identifier or a tilde-separated owner's username and task's name to specify which Actor Task to update.
Id The unique ID of the Actor Task to update.
User Id The user ID associated with the Actor Task.
Act Id The ID of the Act (actor) related to the task.
Name The name of the Actor Task.
Username The username of the owner of the Actor Task.
Created At The creation timestamp of the Actor Task.
Modified At The last modification timestamp of the Actor Task.
Removed At The removal timestamp of the Actor Task, if applicable.
Stats Statistics related to the Actor Task.
Options Additional options for the Actor Task.
Input The input configuration for the Actor Task.
Use Custom Body Flag to indicate whether to use a custom JSON body for the update request.
Custom Body A custom JSON object to send as the request body when updating the Actor Task.

Output

JSON

  • id - The unique identifier of the updated Actor Task.
  • userId - The user ID associated with the updated Actor Task.
  • actId - The ID of the Act related to the updated task.
  • name - The name of the updated Actor Task.
  • username - The username of the owner of the updated Actor Task.
  • createdAt - The creation timestamp of the updated Actor Task.
  • modifiedAt - The last modification timestamp of the updated Actor Task.
  • removedAt - The removal timestamp of the updated Actor Task, if applicable.
  • stats - Statistics related to the updated Actor Task.
  • options - Additional options of the updated Actor Task.
  • input - The input configuration of the updated Actor Task.

Dependencies

  • Apify API key credential

Troubleshooting

  • Ensure the Actor Task ID is valid and correctly formatted; invalid IDs will cause errors.
  • If using a custom body, ensure the JSON is correctly formatted to avoid request failures.
  • Check API authentication credentials if requests fail due to authorization errors.

Links

Discussion