apify

v1.0.5
com.mcparmory/apify Checked 5 hours ago Published 6 months ago

Build, deploy, and run web scraping and automation actors in the cloud

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_actors List Actors

Retrieves a paginated list of Actors the user has created or used, with options to filter to owned Actors only and sort by creation date or last run time. Returns up to 1000 records per request.

ParameterTypeDescription
descbooleanWhen set to true, reverses the sort order so that the most recently created (or most recently run, if sorting by last run) Actors appear first.
limitnumberMaximum number of Actors to return in a single response. Accepts values between 1 and 1000, with 1000 being both the default and the upper limit.
mybooleanWhen set to true, restricts the results to only Actors owned by the authenticated user, excluding Actors they have used but not created.
offsetnumberNumber of records to skip from the beginning of the result set, used for paginating through large lists. Defaults to 0.
sortBystringDetermines the field used to order results. Use 'createdAt' to sort by when the Actor was created, or 'stats.lastRunStartedAt' to sort by the most recent run start time.

create_actor Create Actor

Creates a new Actor on the Apify platform with the specified configuration, including source code versions, run options, and publishing settings. At least one version of the source code must be defined; set isPublic to true along with a title and categories to list the Actor in Apify Store.

get_actor Get Actor

Retrieves full details for a specific Actor, including its configuration, settings, and metadata. Use this to inspect an Actor before running it or to verify its current state.

ParameterTypeDescription
actorId *stringThe unique identifier of the Actor to retrieve, either as an Actor ID or a tilde-separated combination of the owner's username and Actor name.

update_actor Update Actor

Updates the settings and configuration of an existing Actor by applying only the properties provided in the JSON request body. Returns the full updated Actor object after the changes are applied.

delete_actor Delete Actor

Permanently deletes the specified Actor and all associated data. This action is irreversible.

ParameterTypeDescription
actorId *stringThe unique identifier of the Actor to delete, either as a standalone Actor ID or as a tilde-separated combination of the owner's username and Actor name.

list_actor_versions List Actor Versions

Retrieves all versions of a specific Actor, returning a list of Version objects with basic information about each version.

ParameterTypeDescription
actorId *stringThe unique identifier of the Actor, either as a standalone Actor ID or as a tilde-separated combination of the owner's username and Actor name.

create_actor_version Create Actor Version

Creates a new version of an Actor by specifying a version number and source type along with the corresponding source details. The source type determines which additional properties are required (e.g., a Git repository URL for GIT_REPO, a tarball URL for TARBALL).

ParameterTypeDescription
actorId *stringThe unique identifier of the Actor, either as an Actor ID or a tilde-separated combination of the owner's username and Actor name.
applyEnvVarsToBuildbooleanWhen set to true, the defined environment variables are also injected into the build process, not just runtime execution.
buildTagstringA tag label applied to builds created from this version, used to reference or promote specific builds (e.g., marking a build as the latest stable release).
envVarsarrayA list of environment variables to make available to the Actor at runtime and optionally during builds. Each item should specify the variable name and value.
gitHubGistUrlstringThe URL of a GitHub Gist containing the Actor's source code; required when sourceType is GITHUB_GIST.
gitRepoUrlstringThe URL of the Git repository containing the Actor's source code; required when sourceType is GIT_REPO.
sourceFilesarrayAn array of source file objects representing the Actor's code when sourceType is SOURCE_FILES. Each item defines a file's name, content, and format.
sourceTypestringDefines where the Actor's source code is hosted; must be one of the supported source types. Each value requires its own additional properties: SOURCE_FILES uses sourceFiles, GIT_REPO uses gitRepoUrl,…
tarballUrlstringThe URL of a tarball archive containing the Actor's source code; required when sourceType is TARBALL.
versionNumberstringThe semantic version number to assign to this Actor version, following a major.minor format.

get_actor_version Get Actor Version

Retrieves detailed information about a specific version of an Actor, including its configuration and metadata. Useful for inspecting the exact state of a particular Actor version.

ParameterTypeDescription
actorId *stringThe unique identifier of the Actor, either as a standalone Actor ID or as a tilde-separated combination of the owner's username and Actor name.
versionNumber *stringThe version number of the Actor to retrieve, following a major.minor versioning format.

update_actor_version Update Actor Version

Updates a specific version of an Actor with the provided fields, leaving unspecified properties unchanged. Send a JSON payload with only the fields you want to modify.

ParameterTypeDescription
actorId *stringThe Actor's unique ID or a tilde-separated combination of the owner's username and Actor name identifying which Actor to update.
versionNumber *stringThe version number of the Actor to update, following major.minor versioning format.
applyEnvVarsToBuildbooleanWhen set to true, the defined environment variables are also injected into the build process, not just runtime execution.
buildTagstringTag label assigned to builds created from this version, used to reference the build when running the Actor.
envVarsarrayList of environment variables to make available to the Actor during execution and optionally during builds.
gitHubGistUrlstringThe URL of the GitHub Gist containing the Actor's source code; required when sourceType is GITHUB_GIST.
gitRepoUrlstringThe URL of the Git repository containing the Actor's source code; required when sourceType is GIT_REPO.
sourceFilesarrayArray of source file objects representing the Actor's code when sourceType is SOURCE_FILES; each item defines a file path and its content.
sourceTypestringDefines where the Actor's source code originates, which determines which of the source URL fields are required.
tarballUrlstringThe URL of the tarball archive containing the Actor's source code; required when sourceType is TARBALL.

delete_actor_version Delete Actor Version

Permanently deletes a specific version of an Actor's source code. This action is irreversible and removes the version along with its associated configuration.

ParameterTypeDescription
actorId *stringThe unique identifier of the Actor, either as a standalone Actor ID or as a tilde-separated combination of the owner's username and Actor name.
versionNumber *stringThe version number of the Actor to delete, following major.minor versioning format.

list_actor_version_env_vars List Actor Version Environment Variables

Retrieves all environment variables configured for a specific version of an Actor. Returns a list of environment variable objects, each containing the variable's key, value, and related metadata.

ParameterTypeDescription
actorId *stringThe unique identifier of the Actor, either as an Actor ID or a tilde-separated combination of the owner's username and Actor name.
versionNumber *stringThe version number of the Actor whose environment variables should be retrieved, following major.minor versioning format.

create_actor_env_var Create Actor Version Environment Variable

Creates a new environment variable for a specific version of an Actor. Requires a name and value, with an optional flag to mark the variable as secret.

ParameterTypeDescription
actorId *stringThe unique identifier of the Actor, either as an Actor ID or a tilde-separated combination of the owner's username and Actor name.
name *stringThe name of the environment variable, typically uppercase with underscores following standard environment variable naming conventions.
value *stringThe value assigned to the environment variable.
versionNumber *stringThe version number of the Actor to which the environment variable will be added.
isSecretbooleanIndicates whether the environment variable should be treated as a secret, hiding its value from logs and the UI.

get_actor_env_var Get Actor Version Environment Variable

Retrieves details of a specific environment variable for a given Actor version. If the variable is marked as secret, its value will be omitted from the response.

ParameterTypeDescription
actorId *stringThe unique ID of the Actor, or a tilde-separated combination of the owner's username and Actor name.
envVarName *stringThe exact name of the environment variable to retrieve, typically uppercase with underscores.
versionNumber *stringThe version number of the Actor to retrieve the environment variable from, following major.minor versioning format.

update_actor_env_var Update Actor Environment Variable

Updates an existing environment variable for a specific Actor version. Only the properties included in the request body will be modified; omitted properties retain their current values.

ParameterTypeDescription
actorId *stringThe unique identifier of the Actor, either as an Actor ID or a tilde-separated combination of the owner's username and Actor name.
envVarName *stringThe exact name of the environment variable to update, as it appears in the Actor version's configuration.
name *stringThe updated name for the environment variable, typically uppercase with underscores following standard environment variable naming conventions.
value *stringThe updated value to assign to the environment variable.
versionNumber *stringThe version number of the Actor whose environment variable you want to update, in major.minor format.
isSecretbooleanIndicates whether the environment variable should be treated as a secret. Secret variables are encrypted at rest and masked in logs.

delete_actor_version_env_var Delete Actor Version Environment Variable

Permanently deletes a specific environment variable from a given Actor version. This action cannot be undone.

ParameterTypeDescription
actorId *stringThe unique identifier of the Actor, either as an Actor ID or a tilde-separated combination of the owner's username and Actor name.
envVarName *stringThe exact name of the environment variable to delete, typically uppercase with underscores as separators.
versionNumber *stringThe version number of the Actor from which the environment variable will be deleted, following major.minor versioning format.

list_actor_webhooks List Actor Webhooks

Retrieves a paginated list of webhooks associated with a specific Actor, returning basic information about each webhook. Results are sorted by creation date ascending by default, with a maximum of 1000 records per request.

ParameterTypeDescription
actorId *stringThe unique identifier of the Actor, either as a standalone Actor ID or as a tilde-separated combination of the owner's username and Actor name.
descbooleanWhen set to true, reverses the sort order so that the most recently created webhooks appear first instead of last.
limitnumberMaximum number of webhooks to return in a single response. Accepts values between 1 and 1000, defaulting to 1000.
offsetnumberNumber of webhooks to skip from the beginning of the result set, used for paginating through records. Defaults to 0.

list_actor_builds List Actor Builds

Retrieves a paginated list of builds for a specific Actor, with each record containing basic build information. Results are sorted by start time in ascending order by default, supporting incremental fetching as new builds are created.

ParameterTypeDescription
actorId *stringThe unique identifier of the Actor, either as a plain Actor ID or in tilde-separated format combining the owner's username and Actor name.
descbooleanWhen set to true, sorts the returned builds by their start time in descending order (newest first). Defaults to ascending order.
limitnumberMaximum number of build records to return in a single response. Accepts values up to 1000, which is also the default.
offsetnumberNumber of build records to skip from the beginning of the result set, used for paginating through results. Defaults to 0.

build_actor Build Actor

Triggers a new build for a specified Actor version, compiling its source code and dependencies into a runnable image. Returns the resulting build object, which may reflect a terminal or transitional status depending on wait time.

ParameterTypeDescription
actorId *stringThe unique ID of the Actor, or a tilde-separated string combining the owner's username and Actor name.
version *stringThe Actor version number to build, corresponding to a version defined in the Actor's configuration.
betaPackagesbooleanWhen enabled, the Actor is built using beta versions of Apify NPM packages instead of the default latest stable versions.
tagstringA label applied to the build upon successful completion; if omitted, the tag defaults to the value set in the Actor version's buildTag property.
useCachebooleanWhen enabled, the build system reuses cached layers to speed up the build process; cache is disabled by default.
waitForFinishnumberNumber of seconds the server will wait for the build to complete before returning a response; must be between 0 and 60, where 0 returns immediately with a transitional status and higher values may ret…

get_default_actor_build Get Default Actor Build

Retrieves the default build for a specified Actor, optionally waiting synchronously for the build to reach a terminal state. No authentication token is required, though unauthenticated requests will have certain usage cost fields omitted from the response.

ParameterTypeDescription
actorId *stringThe unique identifier of the Actor, either as a standalone Actor ID or as a tilde-separated combination of the owner's username and Actor name.
waitForFinishnumberMaximum number of seconds the server will wait for the build to finish before returning; if the build completes within this window the response will reflect a terminal status (e.g. SUCCEEDED), otherwi…

list_actor_runs_by_actor List Actor Runs

Retrieves a paginated list of runs for a specific Actor, with each item containing basic run metadata. Supports filtering by status and start time, and sorting in ascending or descending order.

ParameterTypeDescription
actorId *stringThe unique identifier of the Actor, either as an Actor ID or a tilde-separated combination of the owner's username and Actor name.
descbooleanWhen set to true, sorts runs by their start time in descending order (newest first); defaults to ascending order.
limitnumberMaximum number of runs to return in a single response; cannot exceed 1000.
offsetnumberNumber of runs to skip from the beginning of the result set, used for paginating through results.
startedAfterstringFilters results to only include runs that started at or after this point in time, specified as an ISO 8601 datetime string in UTC.
startedBeforestringFilters results to only include runs that started at or before this point in time, specified as an ISO 8601 datetime string in UTC.
statusstringFilters results to only include runs matching the specified status or comma-separated list of statuses (e.g., SUCCEEDED, FAILED, RUNNING).

run_actor Run Actor

Starts an Actor run asynchronously and immediately returns a Run object without waiting for completion. Pass input data as the request body and use the returned run ID or defaultDatasetId to retrieve results later.

ParameterTypeDescription
actorId *stringThe unique ID of the Actor, or a tilde-separated combination of the owner's username and Actor name.
bodyobjectThe input payload passed to the Actor as INPUT, typically a JSON object. The Content-Type header of the request is forwarded alongside this body.
buildstringThe specific Actor build to execute, specified as either a build tag or a build number. Defaults to the build defined in the Actor's configuration, typically the latest tag.
forcePermissionLevelstringOverrides the Actor's default permission level for this run only, useful for testing restricted or elevated access scenarios without permanently changing the Actor's configuration.
maxItemsnumberMaximum number of dataset items that will be billed for pay-per-result Actors. Does not cap the number of items returned — only limits charges. Accessible inside the Actor via the ACTOR_MAX_PAID_DAT…
maxTotalChargeUsdnumberMaximum total cost in USD allowed for the run, intended for pay-per-event Actors to cap charges. Accessible inside the Actor via the ACTOR_MAX_TOTAL_CHARGE_USD environment variable.
memorynumberMaximum RAM allocated to the run, in megabytes. Must be a power of 2 and at least 128 MB. Overrides the memory limit configured in the Actor's settings.
restartOnErrorbooleanWhether the run should automatically restart if it encounters a failure.
timeoutnumberMaximum duration the run is allowed to execute before being stopped, in seconds. Overrides the timeout configured in the Actor's settings.
waitForFinishnumberNumber of seconds the server will wait for the run to finish before returning a response, between 0 and 60. If the run completes within this window, the response will reflect a terminal status such as…
webhook_event_typesarrayList of event types to trigger the webhook. Common values: 'ACTOR.RUN.SUCCEEDED', 'ACTOR.RUN.FAILED', 'ACTOR.RUN.ABORTED', 'ACTOR.RUN.TIMED_OUT'.
webhook_request_urlstringURL that will receive the webhook POST request when the event fires.

run_actor_sync_no_input Run Actor Synchronously

Runs a specific Actor synchronously without input and returns its output directly in the response. The run must complete within 300 seconds; if it exceeds this limit or the connection breaks, a timeout error is returned.

ParameterTypeDescription
actorId *stringThe unique identifier of the Actor to run, either as an Actor ID or a tilde-separated combination of the owner's username and Actor name.
buildstringSpecifies which build of the Actor to execute, provided as either a build tag or a build number. Defaults to the build defined in the Actor's configuration, typically the latest tag.
maxItemsnumberMaximum number of dataset items that will be charged for pay-per-result Actors; does not cap the actual items returned, only the billing ceiling. Accessible inside the Actor via the ACTOR_MAX_PAID_DAT…
maxTotalChargeUsdnumberMaximum total cost in USD allowed for the run, useful for capping charges on pay-per-event Actors. Accessible inside the Actor via the ACTOR_MAX_TOTAL_CHARGE_USD environment variable.
memorynumberMemory allocated for the run in megabytes; must be a power of 2 with a minimum of 128. If omitted, the memory limit from the Actor's saved configuration is used.
outputRecordKeystringThe key of the record from the run's default key-value store to return in the response. Defaults to OUTPUT if not specified.
restartOnErrorbooleanWhen set to true, the run will automatically restart if it encounters a failure. Defaults to false if not specified.
timeoutnumberMaximum duration the run is allowed to execute, in seconds. If omitted, the timeout defined in the Actor's saved configuration is used.
webhook_event_typesarrayList of event types to trigger the webhook. Common values: 'ACTOR.RUN.SUCCEEDED', 'ACTOR.RUN.FAILED', 'ACTOR.RUN.ABORTED', 'ACTOR.RUN.TIMED_OUT'.
webhook_request_urlstringURL that will receive the webhook POST request when the event fires.

run_actor_sync Run Actor Synchronously

Runs a specific Actor synchronously, passing the request body as INPUT, and returns the Actor's OUTPUT from its default key-value store. If the Actor run exceeds 300 seconds, the response will return a 408 timeout status.

ParameterTypeDescription
actorId *stringThe unique identifier of the Actor to run, either as an Actor ID or a tilde-separated owner username and Actor name combination.
bodyobjectThe input payload passed to the Actor as its INPUT record. The Content-Type header of the request is forwarded alongside this body, typically as application/json.
buildstringThe specific Actor build to execute, specified as either a build tag or build number. Defaults to the build defined in the Actor's configuration, typically the latest tag.
maxItemsnumberMaximum number of dataset items that will be charged for pay-per-result Actors. Does not cap the number of items returned, only the number billed. Accessible inside the Actor via the ACTOR_MAX_PAID_DA…
maxTotalChargeUsdnumberMaximum total cost in USD allowed for the run, useful for limiting charges on pay-per-event Actors. Accessible inside the Actor via the ACTOR_MAX_TOTAL_CHARGE_USD environment variable.
memorynumberMemory allocated for the Actor run, in megabytes. Must be a power of 2 with a minimum of 128 MB. Overrides the memory limit defined in the Actor's configuration.
outputRecordKeystringThe key of the record from the run's default key-value store to return in the response. Defaults to OUTPUT if not specified.
restartOnErrorbooleanWhether the Actor run should automatically restart if it encounters a failure.
timeoutnumberMaximum duration the Actor run is allowed to execute, in seconds. Overrides the timeout defined in the Actor's configuration.
webhook_event_typesarrayList of event types to trigger the webhook. Common values: 'ACTOR.RUN.SUCCEEDED', 'ACTOR.RUN.FAILED', 'ACTOR.RUN.ABORTED', 'ACTOR.RUN.TIMED_OUT'.
webhook_request_urlstringURL that will receive the webhook POST request when the event fires.

run_actor_sync_get_dataset_items Run Actor Synchronously and Get Dataset Items

Runs a specific Actor synchronously without input and returns its dataset items directly in the response. The Actor must complete within 300 seconds; if it exceeds this limit or the connection breaks, a timeout error is returned.

ParameterTypeDescription
actorId *stringThe unique identifier of the Actor to run, either as an internal Actor ID or as a tilde-separated combination of the owner's username and Actor name.
attachmentbooleanWhen set to true, adds a Content-Disposition: attachment header to the response, prompting browsers to download the result as a file rather than render it inline.
bombooleanControls whether a UTF-8 Byte Order Mark (BOM) is prepended to the response. By default, BOM is included for CSV and omitted for json, jsonl, xml, html, and rss. Set to true to force inclusion or fals…
buildstringSpecifies which build of the Actor to execute, either by build tag or build number. Overrides the build defined in the Actor's saved configuration, which defaults to the latest tag.
delimiterstringSingle character used as the field delimiter in CSV output. Only applies when format is csv. Special characters should be URL-encoded (e.g., %09 for tab, %3B for semicolon). Defaults to a comma.
descbooleanWhen set to true, reverses the order of returned items so the most recently stored items appear first. By default, items are returned in insertion order.
fieldsstringComma-separated list of field names to include in each returned item, excluding all other fields. Output fields are ordered to match the order specified in this list.
flattenstringComma-separated list of fields whose nested object values should be flattened into dot-notation keys on the parent object. The original nested object is replaced by its flattened representation.
formatstringOutput format for the returned dataset items. Supported values are json, jsonl, csv, html, xlsx, xml, and rss.
limitnumberMaximum number of dataset items to include in the response. When omitted, all available items are returned.
maxItemsnumberMaximum number of dataset items that will be billed for pay-per-result Actors. Does not cap the number of items returned — only limits charges. Accessible inside the Actor via the ACTOR_MAX_PAID_DAT…
maxTotalChargeUsdnumberMaximum total cost in USD that may be charged for this run, intended for pay-per-event Actors. Accessible inside the Actor via the ACTOR_MAX_TOTAL_CHARGE_USD environment variable.
memorynumberMaximum RAM the Actor run may use, in megabytes. Must be a power of 2 and at least 128 MB. Overrides the memory limit defined in the Actor's saved configuration.
offsetnumberNumber of dataset items to skip from the beginning of the result set before returning data. Useful for pagination.
omitstringComma-separated list of field names to exclude from each returned item. All other fields are retained.
restartOnErrorbooleanWhen enabled, the Actor run will automatically restart if it encounters a failure, rather than terminating in an error state.
simplifiedbooleanWhen set to true, applies preset query parameters fields=url,pageFunctionResult,errorInfo and unwind=pageFunctionResult to emulate the simplified output format of the legacy Apify Crawler. Not recomme…
skipEmptybooleanWhen set to true, items with no fields or all-null values are excluded from the output. Note that the total number of returned items may be less than the specified limit when this is enabled.
skipFailedPagesbooleanWhen set to true, excludes all items that contain an errorInfo property from the output. Provided for compatibility with legacy Apify Crawler API v1 behavior. Not recommended for new integrations.
skipHeaderRowbooleanWhen set to true, omits the header row from csv-formatted output. Only applies when format is csv.
skipHiddenbooleanWhen set to true, excludes fields whose names begin with the # character from the output.
timeoutnumberMaximum duration the Actor run is allowed to execute before being forcibly stopped, in seconds. Overrides the timeout defined in the Actor's saved configuration.
unwindstringComma-separated list of fields to unwind, processed in the specified order. Array fields produce one record per element merged with the parent; object fields are merged directly into the parent. Items…
webhook_event_typesarrayList of event types to trigger the webhook. Common values: 'ACTOR.RUN.SUCCEEDED', 'ACTOR.RUN.FAILED', 'ACTOR.RUN.ABORTED', 'ACTOR.RUN.TIMED_OUT'.
webhook_request_urlstringURL that will receive the webhook POST request when the event fires.
xmlRootstringOverrides the name of the root XML element in xml-formatted output. Only applies when format is xml.
xmlRowstringOverrides the name of the element wrapping each individual record in xml-formatted output. Only applies when format is xml.

run_actor_sync_get_dataset_items_with_input Run Actor Synchronously and Get Dataset Items

Runs a specific Actor synchronously with the provided input payload and returns the resulting dataset items directly in the response. Supports the same output formatting and filtering options as the Get Dataset Items endpoint; times out with HTTP 408 if the Actor run exceeds 300 seconds.

ParameterTypeDescription
actorId *stringThe unique ID of the Actor, or a tilde-separated combination of the owner's username and Actor name.
bodyobjectThe input payload passed to the Actor as its INPUT, with the request's Content-Type header forwarded alongside it. Typically a JSON object.
buildstringThe specific Actor build to execute, specified as either a build tag or a build number. Defaults to the build configured on the Actor, typically the latest tag.
delimiterstringSingle character used as the field delimiter in CSV output; only applicable when format is csv. URL-encode special characters as needed. Defaults to a comma.
descbooleanWhen set to true, reverses the order of returned items. By default, items are returned in the order they were stored.
fieldsstringComma-separated list of field names to include in each output record, excluding all other fields. Output fields are ordered according to the order specified in this list.
flattenstringComma-separated list of fields whose nested object values should be flattened into dot-notation keys on the parent object. The original nested object is replaced by its flattened representation.
formatstringOutput format for the returned dataset items. Accepted values are json, jsonl, csv, html, xlsx, xml, and rss. Defaults to json.
limitnumberMaximum number of dataset items to include in the response. When omitted, all available items are returned.
maxItemsnumberMaximum number of dataset items that will be charged for pay-per-result Actors. Does not cap the number of items returned — only limits billing. Accessible inside the Actor via the ACTOR_MAX_PAID_DA…
maxTotalChargeUsdnumberMaximum total cost in USD allowed for the run, intended for pay-per-event Actors to cap charges. Accessible inside the Actor via the ACTOR_MAX_TOTAL_CHARGE_USD environment variable.
memorynumberMemory allocated to the Actor run in megabytes. Must be a power of 2 with a minimum of 128 MB. Defaults to the memory limit configured on the Actor.
offsetnumberNumber of dataset items to skip from the beginning of the result set before returning data. Defaults to 0.
omitstringComma-separated list of field names to exclude from each output record. All other fields are retained.
restartOnErrorbooleanWhen set to true, the Actor run will automatically restart if it encounters a failure.
skipEmptybooleanWhen set to true, items with no fields or all-null values are excluded from the output. Note that the total number of returned items may be less than the specified limit when this option is active.
skipHeaderRowbooleanWhen set to true, omits the header row from csv-formatted output.
skipHiddenbooleanWhen set to true, fields whose names begin with the # character are excluded from the output.
timeoutnumberMaximum duration the Actor run is allowed to execute before being terminated, in seconds. Defaults to the timeout configured on the Actor itself.
unwindstringComma-separated list of fields to unwind, processed in the specified order. Array fields produce one record per element merged with the parent; object fields are merged directly into the parent. Items…
webhook_event_typesarrayList of event types to trigger the webhook. Common values: 'ACTOR.RUN.SUCCEEDED', 'ACTOR.RUN.FAILED', 'ACTOR.RUN.ABORTED', 'ACTOR.RUN.TIMED_OUT'.
webhook_request_urlstringURL that will receive the webhook POST request when the event fires.
xmlRootstringOverrides the name of the root XML element in xml-formatted output. Defaults to items.
xmlRowstringOverrides the name of the element wrapping each individual record in xml-formatted output. Defaults to item.

resurrect_actor_run Resurrect Actor Run

Restarts a finished Actor run (with status FINISHED, FAILED, ABORTED, or TIMED-OUT), resuming execution with the same storages and updating its status back to RUNNING. Optionally override the build, timeout, memory, or error-restart behavior from the original run.

ParameterTypeDescription
actorId *stringThe Actor's unique ID or a tilde-separated combination of the owner's username and Actor name identifying which Actor the run belongs to.
runId *stringThe unique ID of the finished Actor run to resurrect.
buildstringThe Actor build to use for the resurrected run, specified as a build tag or build number. Defaults to the exact build version used when the run originally started, not the current resolution of any ta…
memorynumberMemory allocated to the resurrected run in megabytes; must be a power of 2 and at least 128 MB. Defaults to the memory limit from the original run.
restartOnErrorbooleanWhether the resurrected run should automatically restart if it encounters a failure. Defaults to the same setting used in the original run.
timeoutnumberMaximum duration the resurrected run is allowed to execute, in seconds. Defaults to the timeout value from the original run.

get_last_actor_run Get Last Actor Run

Retrieves the most recent run of a specified Actor, with optional filtering by run status. Also serves as the base path for accessing the last run's default storages (log, key-value store, dataset, and request queue) via sub-endpoints.

ParameterTypeDescription
actorId *stringThe unique ID of the Actor, or a tilde-separated combination of the owner's username and Actor name.
statusstringFilters the result to only return the last run matching the specified status, ensuring you retrieve a run in a particular state (e.g. only succeeded runs).

list_tasks List Tasks

Retrieves a paginated list of all actor tasks created or used by the authenticated user. Results are sorted by creation date and capped at 1000 records per request.

ParameterTypeDescription
descbooleanWhen set to true, sorts tasks by creation date in descending order (newest first); defaults to ascending order (oldest first).
limitnumberMaximum number of tasks to return in a single response, up to a maximum of 1000.
offsetnumberNumber of tasks to skip from the beginning of the result set, used for paginating through large lists.

create_task Create Task

Creates a new actor task with the specified configuration, including the target actor, build version, timeout, and memory settings. Returns the full task object upon successful creation.

ParameterTypeDescription
bodyobjectJSON object defining the new task's configuration, including the actor to run, the task name, and execution options such as build version, timeout, and memory allocation.

get_task Get Task

Retrieve full details of a specific actor task, including its configuration, settings, and metadata. Use this to inspect an existing task before running or modifying it.

ParameterTypeDescription
actorTaskId *stringThe unique identifier of the task to retrieve, either as a standalone task ID or as a tilde-separated combination of the owner's username and the task's name.

update_task Update Task

Update the settings, input configuration, and runtime options of an existing Actor task. Only properties included in the request body are modified; omitted properties retain their current values.

ParameterTypeDescription
actorTaskId *stringThe unique identifier of the task to update, either as a task ID or a tilde-separated combination of the owner's username and task name.
actorStandbyBuildstringThe Actor build tag or version to use when the task is running in Standby mode.
actorStandbyMemoryMbytesintegerAmount of memory in megabytes allocated to each task run when operating in Standby mode; must be a power of 2.
desiredRequestsPerActorRunintegerThe target number of requests to process per Actor run when the task is operating in Standby mode.
disableStandbyFieldsOverridebooleanWhen true, prevents task-level Standby field values from overriding the Actor's default Standby configuration.
idleTimeoutSecsintegerDuration in seconds the Standby Actor is allowed to remain idle before it is considered inactive and shut down.
inputobjectThe user-defined JSON input configuration passed to the Actor when the task is executed; structure depends on the specific Actor's input schema.
isEnabledbooleanWhether the task is enabled and available to be run; disabled tasks cannot be triggered.
maxItemsintegerMaximum number of output dataset items the task is allowed to produce before the run is stopped.
maxRequestsPerActorRunintegerThe upper limit on the number of requests that can be processed per Actor run in Standby mode.
namestringThe URL-friendly name of the task, used to identify it within the owner's account.
optionsBuildstringThe Actor build tag or version to use when running the task, such as a version tag or 'latest'.
optionsMemoryMbytesintegerAmount of memory in megabytes allocated to each task run; must be a power of 2.
restartOnErrorbooleanWhether the task run should automatically restart if it encounters an error during execution.
shouldPassActorInputbooleanWhen true, the Actor's own input is passed through to the task run in addition to the task's configured input.
timeoutSecsintegerMaximum duration in seconds the task run is allowed to execute before it is forcefully stopped.
titlestringA human-readable display title for the task, distinct from its URL-friendly name.

delete_task Delete Task

Permanently deletes the specified actor task and all associated configuration. This action is irreversible and removes the task from the account.

ParameterTypeDescription
actorTaskId *stringThe unique identifier of the task to delete, either as a standalone task ID or as a tilde-separated combination of the owner's username and task name.

get_task_input Get Task Input

Retrieves the input configuration for a specified actor task. Returns the input object that defines the parameters passed to the actor when the task runs.

ParameterTypeDescription
actorTaskId *stringThe unique identifier of the actor task, either as a standalone task ID or as a tilde-separated combination of the owner's username and the task's name.

update_task_input Update Task Input

Updates the input configuration of a specific actor task by merging the provided JSON object with the existing input. Only the properties included in the request body are updated; omitted properties retain their current values.

ParameterTypeDescription
actorTaskId *stringThe unique identifier of the actor task to update, either as a standalone task ID or as a tilde-separated combination of the owner's username and the task's name.
bodyobjectA JSON object containing the input fields to update on the task. Only the specified properties will be modified; any properties not included will remain unchanged.

list_task_webhooks List Task Webhooks

Retrieves a paginated list of webhooks associated with a specific Actor task. Results are sorted by creation date and capped at 1000 records per request.

ParameterTypeDescription
actorTaskId *stringThe unique identifier of the Actor task, either as a plain task ID or in tilde-separated format combining the owner's username and task name.
descbooleanWhen set to true, reverses the sort order so that the most recently created webhooks appear first. By default, results are sorted by creation date in ascending order.
limitnumberMaximum number of webhooks to return in a single response. Accepts values between 1 and 1000, with 1000 as both the default and upper limit.
offsetnumberNumber of webhooks to skip from the beginning of the result set, used for paginating through records. Defaults to 0.

list_task_runs List Task Runs

Retrieve a paginated list of runs for a specific actor task, including essential metadata for each run. Results can be filtered by status and sorted ascending or descending by start time.

ParameterTypeDescription
actorTaskId *stringThe unique identifier of the actor task, either as a task ID or a tilde-separated combination of the owner's username and task name.
descbooleanWhen set to true, sorts runs by their start time in descending order (newest first). By default, runs are returned in ascending order.
limitnumberMaximum number of runs to return in a single response. Accepts values between 1 and 1000, defaulting to 1000.
offsetnumberNumber of runs to skip from the beginning of the result set, used for paginating through results. Defaults to 0.
statusstringFilters results to only runs matching the specified status or comma-separated list of statuses. Valid statuses follow the Apify actor run lifecycle (e.g., SUCCEEDED, FAILED, RUNNING).

run_task Run Task

Starts an Actor task run asynchronously and immediately returns a run object without waiting for completion. Optionally override the task's input configuration via the request body, and use the returned run ID to poll for results or fetch dataset output.

ParameterTypeDescription
actorTaskId *stringThe unique identifier of the task to run, either as a task ID or a tilde-separated string combining the owner's username and task name.
bodyobjectJSON object containing input properties to override the task's default input configuration. Any properties not included here will fall back to the task's or Actor's default values.
buildstringThe specific Actor build to execute, specified as either a build tag or a build number. Overrides the build defined in the task's configuration, which defaults to latest.
maxItemsnumberMaximum number of dataset items that will be billed for pay-per-result Actors. Does not cap the number of items returned — only limits charges. Accessible inside the Actor via the ACTOR_MAX_PAID_DAT…
maxTotalChargeUsdnumberMaximum total cost in USD allowed for the run, useful for capping charges on pay-per-event Actors. Accessible inside the Actor via the ACTOR_MAX_TOTAL_CHARGE_USD environment variable.
memorynumberMaximum RAM allocated to the run, in megabytes. Must be a power of 2 with a minimum of 128. Overrides the memory limit defined in the task's configuration.
restartOnErrorbooleanWhether the run should automatically restart if it encounters a failure. Defaults to false.
timeoutnumberMaximum duration the run is allowed to execute before being terminated, in seconds. Overrides the timeout defined in the task's configuration.
waitForFinishnumberNumber of seconds the server will wait for the run to finish before returning a response. Accepts values from 0 to 60; if the run completes within this window the response will reflect a terminal stat…
webhook_event_typesarrayList of event types to trigger the webhook. Common values: 'ACTOR.RUN.SUCCEEDED', 'ACTOR.RUN.FAILED', 'ACTOR.RUN.ABORTED', 'ACTOR.RUN.TIMED_OUT'.
webhook_request_urlstringURL that will receive the webhook POST request when the event fires.

run_task_sync_get Run Task Synchronously

Runs a specific actor task synchronously and returns its output directly in the response. The task must complete within 300 seconds; if it exceeds this limit or the connection drops, the request fails but the underlying run continues.

ParameterTypeDescription
actorTaskId *stringThe unique identifier of the task to run, either as a task ID or a tilde-separated combination of the owner's username and task name.
buildstringThe Actor build to execute, specified as either a build tag or a build number. If omitted, the build defined in the task's saved configuration (typically 'latest') is used.
maxItemsnumberMaximum number of dataset items that will be billed for pay-per-result Actors; does not cap the actual items returned, only the charge. Applies exclusively to pay-per-result Actors and is exposed insi…
memorynumberMemory allocated to the run in megabytes; must be a power of 2 and at least 128 MB. If omitted, the memory limit from the task's saved configuration is used.
outputRecordKeystringThe key of the record in the run's default key-value store whose value will be returned as the response body. Defaults to 'OUTPUT' if not specified.
timeoutnumberMaximum duration in seconds the run is allowed to execute before being timed out. If omitted, the timeout defined in the task's saved configuration is used.
webhook_event_typesarrayList of event types to trigger the webhook. Common values: 'ACTOR.RUN.SUCCEEDED', 'ACTOR.RUN.FAILED', 'ACTOR.RUN.ABORTED', 'ACTOR.RUN.TIMED_OUT'.
webhook_request_urlstringURL that will receive the webhook POST request when the event fires.

run_task_sync Run Task Synchronously

Runs an Actor task synchronously and returns its output directly in the response. The task must complete within 300 seconds; optionally, you can override the task's default input by providing a JSON payload.

ParameterTypeDescription
actorTaskId *stringThe unique identifier of the Actor task to run, either as a task ID or a tilde-separated combination of the owner's username and task name.
bodyobjectA JSON object used to override specific input fields defined in the Actor task configuration. Any fields not included here will fall back to the task's default values. Requires the Content-Type header…
buildstringThe specific Actor build to execute, specified as either a build tag or a build number. Defaults to the build defined in the task's configuration, typically the latest tag.
maxItemsnumberMaximum number of dataset items that will be billed for pay-per-result Actors. Does not cap the number of items returned, only the number charged. Accessible inside the Actor via the ACTOR_MAX_PAID_DA…
maxTotalChargeUsdnumberMaximum total cost in USD allowed for the run, intended for pay-per-event Actors to cap charges. Accessible inside the Actor via the ACTOR_MAX_TOTAL_CHARGE_USD environment variable.
memorynumberMemory allocated to the run, in megabytes. Must be a power of 2 with a minimum of 128 MB. Overrides the memory limit defined in the task's configuration.
outputRecordKeystringThe key of the record in the run's default key-value store to return in the response body. Defaults to OUTPUT if not specified.
restartOnErrorbooleanWhether the run should automatically restart if it encounters a failure. Defaults to false.
timeoutnumberMaximum duration the run is allowed to execute before being timed out, in seconds. Overrides the timeout defined in the task's configuration.
webhook_event_typesarrayList of event types to trigger the webhook. Common values: 'ACTOR.RUN.SUCCEEDED', 'ACTOR.RUN.FAILED', 'ACTOR.RUN.ABORTED', 'ACTOR.RUN.TIMED_OUT'.
webhook_request_urlstringURL that will receive the webhook POST request when the event fires.

run_task_sync_and_get_dataset_items Run Task Synchronously and Get Dataset Items

Synchronously runs a specific actor task and returns its dataset items directly in the response. The task must complete within 300 seconds; if it exceeds this limit the request times out, though the underlying run continues executing.

ParameterTypeDescription
actorTaskId *stringThe unique identifier of the actor task to run, either as a task ID or a tilde-separated combination of the owner's username and task name.
attachmentbooleanWhen set to true, adds a Content-Disposition: attachment header to the response, prompting browsers to download the result as a file rather than render it inline.
bombooleanControls inclusion of the UTF-8 Byte Order Mark (BOM) in the response. CSV files include the BOM by default; json, jsonl, xml, html, and rss do not. Set to true to force inclusion or false to force ex…
buildstringThe actor build to execute, specified as either a build tag or a build number. If omitted, the build defined in the task's saved configuration (typically 'latest') is used.
delimiterstringField delimiter character used when format is csv. Special characters should be URL-encoded (e.g., %09 for tab, %3B for semicolon). Defaults to a comma.
descbooleanWhen set to true, reverses the order of returned items so the most recently stored items appear first. By default items are returned in insertion order.
fieldsstringComma-separated list of field names to include in each returned item, excluding all other fields. Output fields are ordered to match the order specified in this list.
flattenstringComma-separated list of fields whose nested object values should be flattened into dot-notation keys on the parent object. The original nested object is replaced by its flattened representation.
formatstringOutput format for the returned dataset items. Supported values are: json, jsonl, csv, html, xlsx, xml, and rss. Defaults to json if not specified.
limitnumberMaximum number of items to include in the response. When omitted, all available items are returned without a cap.
maxItemsnumberMaximum number of dataset items that will be charged for pay-per-result actors. Does not cap the number of items returned — only limits billing. Accessible inside the actor run via the ACTOR_MAX_PAI…
memorynumberMemory allocated to the run in megabytes. Must be a power of 2 and at least 128 MB. If omitted, the memory limit from the task's saved configuration is used.
offsetnumberNumber of items to skip from the beginning of the dataset before returning results. Useful for pagination. Defaults to 0.
omitstringComma-separated list of field names to exclude from each returned item. All other fields are retained in the output.
simplifiedbooleanWhen set to true, automatically applies fields=url,pageFunctionResult,errorInfo and unwind=pageFunctionResult to emulate the legacy Apify Crawler simplified output format. Not recommended for new inte…
skipEmptybooleanWhen set to true, items with no fields or empty values are excluded from the output. Note that the total number of returned items may be less than the specified limit when this is enabled.
skipFailedPagesbooleanWhen set to true, items containing an errorInfo property are excluded from the output. Provided for backward compatibility with legacy Apify Crawler integrations and not recommended for new integratio…
skipHeaderRowbooleanWhen set to true, omits the header row from csv output. Only applies when format is csv.
skipHiddenbooleanWhen set to true, excludes fields whose names begin with the '#' character from the output.
timeoutnumberMaximum duration in seconds the run is allowed to execute before being timed out. If omitted, the timeout defined in the task's saved configuration is used.
unwindstringComma-separated list of fields to unwind, processed in the order specified. Array fields produce one record per element merged with the parent; object fields are merged directly into the parent. Items…
webhook_event_typesarrayList of event types to trigger the webhook. Common values: 'ACTOR.RUN.SUCCEEDED', 'ACTOR.RUN.FAILED', 'ACTOR.RUN.ABORTED', 'ACTOR.RUN.TIMED_OUT'.
webhook_request_urlstringURL that will receive the webhook POST request when the event fires.
xmlRootstringOverrides the name of the root XML element when format is xml. Defaults to 'items'.
xmlRowstringOverrides the name of the element wrapping each individual record when format is xml. Defaults to 'item'.

run_task_sync_get_dataset_items Run Task Synchronously and Get Dataset Items

Runs an Actor task synchronously and returns the resulting dataset items directly in the response. Optionally override task input via the POST body and control output format, pagination, and field selection through query parameters.

ParameterTypeDescription
actorTaskId *stringThe unique identifier of the Actor task to run, either as a task ID or a tilde-separated string combining the owner's username and task name.
bodyobjectOptional JSON object to override specific input fields defined in the Actor task configuration. Fields not included in this payload retain their default values from the task or Actor input schema. Mus…
buildstringSpecifies which Actor build version to execute, provided as a build tag or build number. Defaults to the build defined in the task configuration, typically the latest tag.
delimiterstringSingle character used as the field delimiter in CSV output. Only applicable when format is csv. URL-encode special characters as needed. Defaults to a comma.
descbooleanWhen set to true, results are returned in reverse order from how they were stored. Defaults to ascending (insertion) order.
fieldsstringComma-separated list of field names to include in each returned item, excluding all other fields. Output fields are ordered according to the order specified in this list.
flattenstringComma-separated list of fields whose nested object values should be flattened into dot-notation keys on the parent object. The original nested object is replaced by the flattened representation.
formatstringOutput format for the returned dataset items. Supported values are json, jsonl, csv, html, xlsx, xml, and rss. Defaults to json.
limitnumberMaximum number of items to include in the response. When omitted, all available items are returned.
maxItemsnumberMaximum number of dataset items that will be charged for pay-per-result Actors. Does not cap the number of items returned — only limits billing. Accessible inside the Actor via the ACTOR_MAX_PAID_DA…
maxTotalChargeUsdnumberMaximum total cost in USD allowed for the run, intended for pay-per-event Actors to cap charges. Accessible inside the Actor via the ACTOR_MAX_TOTAL_CHARGE_USD environment variable.
memorynumberMemory allocated to the run in megabytes. Must be a power of 2 and at least 128 MB. Defaults to the memory limit set in the task configuration.
offsetnumberNumber of items to skip from the beginning of the dataset before returning results. Useful for pagination. Defaults to 0.
omitstringComma-separated list of field names to exclude from each returned item. All other fields are retained.
restartOnErrorbooleanWhen set to true, the run will automatically restart if it encounters a failure.
skipEmptybooleanWhen set to true, items with no fields or all-null values are excluded from the output. Note that the total number of returned items may be less than the specified limit when this option is active.
skipHeaderRowbooleanWhen set to true, omits the header row from csv format output.
skipHiddenbooleanWhen set to true, fields whose names begin with the # character are excluded from the output.
timeoutnumberMaximum duration in seconds the run is allowed to execute before being timed out. If not provided, the timeout defined in the task configuration is used.
unwindstringComma-separated list of fields to unwind, processed in the specified order. Array fields produce one record per element merged with the parent; object fields are merged directly into the parent. Items…
xmlRootstringOverrides the name of the root XML element in xml format output. Defaults to items.
xmlRowstringOverrides the name of the element wrapping each individual record in xml format output. Defaults to item.

get_last_task_run Get Last Task Run

Retrieves the most recent run of a specified actor task, with optional filtering by run status. Also serves as the base path for accessing the last run's default storages (log, key-value store, dataset, request queue) via sub-endpoints.

ParameterTypeDescription
actorTaskId *stringThe unique identifier of the actor task, either as a task ID or a tilde-separated combination of the owner's username and task name.
statusstringRestricts the result to the last run matching the specified status, ensuring runs in other states are ignored.

list_actor_runs List Actor Runs

Retrieves a paginated list of all Actor runs for the authenticated user, with each item containing basic run metadata. Supports filtering by status and start time, and sorting in ascending or descending order.

ParameterTypeDescription
descbooleanWhen set to true, sorts runs by their start time in descending order (newest first); defaults to ascending order.
limitnumberMaximum number of runs to return per request; cannot exceed 1000.
offsetnumberNumber of runs to skip from the beginning of the result set, used for pagination.
startedAfterstringFilters results to only runs that started at or after this point in time; must be a valid ISO 8601 datetime string in UTC.
startedBeforestringFilters results to only runs that started at or before this point in time; must be a valid ISO 8601 datetime string in UTC.
statusstringFilters results to only runs matching the given status or statuses; accepts a single status value or a comma-separated list of status values (e.g., SUCCEEDED, FAILED, RUNNING).

get_actor_run Get Actor Run

Retrieves all details about a specific Actor run, including its status, timing, and usage statistics. Optionally waits synchronously for the run to finish, eliminating the need for repeated polling.

ParameterTypeDescription
runId *stringThe unique identifier of the Actor run to retrieve.
waitForFinishnumberMaximum number of seconds the server will wait for the run to reach a terminal status before responding. Accepts values from 0 to 60; if the run finishes within the specified time the response will re…

update_run Update Actor Run

Updates an Actor run's status message and/or general resource access level. Use this to communicate progress to users via the Apify Console UI or to control who can view the run and its associated storages and logs.

ParameterTypeDescription
runId *stringThe unique identifier of the Actor run to update.
bodyobjectRequest body containing the fields to update on the run. Supports setting a status message (with an optional terminal flag indicating it is the final message) and/or the general resource access level,…

delete_actor_run Delete Actor Run

Permanently deletes a finished actor run. Only completed runs can be deleted, and only by the user or organization that initiated the run.

ParameterTypeDescription
runId *stringThe unique identifier of the actor run to delete. The run must be in a finished state before it can be deleted.

abort_run Abort Run

Aborts a currently starting or running Actor run, returning full run details. Runs already in a terminal state (FINISHED, FAILED, ABORTING, TIMED-OUT) are unaffected.

ParameterTypeDescription
runId *stringThe unique identifier of the Actor run to abort.
gracefullybooleanWhen true, the run is aborted gracefully by sending 'aborting' and 'persistState' events before force-stopping after 30 seconds, which is useful if you intend to resurrect the run later.

metamorph_run Metamorph Actor Run

Transforms an active Actor run into a run of a different Actor with new input, seamlessly handing off work without creating a new run. The original run's default storages are preserved and the new input is stored in the same key-value store.

ParameterTypeDescription
runId *stringThe unique identifier of the Actor run to be transformed.
targetActorId *stringThe unique identifier of the target Actor that this run should be transformed into.
buildstringSpecifies which build of the target Actor to use, either as a build tag or build number. Defaults to the build defined in the target Actor's default run configuration (typically `latest`).

reboot_actor_run Reboot Actor Run

Reboots a currently running Actor run by restarting its container, returning the updated run details. Only runs with a RUNNING status can be rebooted; any data not persisted to a key-value store, dataset, or request queue will be lost.

ParameterTypeDescription
runId *stringThe unique identifier of the Actor run to reboot. The run must currently have a RUNNING status.

resurrect_run Resurrect Run

Restarts a finished Actor run (with status FINISHED, FAILED, ABORTED, or TIMED-OUT) by restarting its container with the same storages, updating its status back to RUNNING. Optionally override the build, timeout, memory, and cost limits used for the resurrected run.

ParameterTypeDescription
runId *stringThe unique identifier of the Actor run to resurrect.
buildstringThe Actor build to use for the resurrected run, specified as a build tag (e.g. 'latest') or a build number. If omitted, the run restarts with the exact build version it originally executed, even if a…
maxItemsnumberMaximum number of dataset items that will be charged for pay-per-result Actors; does not cap the actual items returned, only the billable count. Accessible inside the Actor via the ACTOR_MAX_PAID_DATA…
maxTotalChargeUsdnumberMaximum total cost in USD allowed for the resurrected run, intended for pay-per-event Actors to cap charges to your subscription. Accessible inside the Actor via the ACTOR_MAX_TOTAL_CHARGE_USD environ…
memorynumberMemory allocated to the resurrected run in megabytes; must be a power of 2 and at least 128 MB. If omitted, the memory limit from the original run is used.
restartOnErrorbooleanWhether the resurrected run should automatically restart if it encounters a failure. If omitted, the setting from the original run is preserved.
timeoutnumberMaximum duration the resurrected run is allowed to execute, in seconds. If omitted, the timeout from the original run is used.

charge_run_event Charge Run Event

Charge for one or more occurrences of a configured pay-per-event (PPE) billing event within a specific Actor run. Must be called from within the Actor run using the same API token that started the run.

ParameterTypeDescription
count *integerThe number of event occurrences to charge for in this request; must be a positive integer.
eventName *stringThe name of the billing event to charge for, which must exactly match one of the events configured in the Actor's pay-per-event settings.
runId *stringThe unique identifier of the Actor run to charge events against.

list_builds List Actor Builds

Retrieves a paginated list of all builds for the authenticated user, with each entry containing basic build information. Records are sorted by start time and the endpoint returns a maximum of 1000 records per request.

ParameterTypeDescription
descbooleanWhen set to true, sorts builds by their start time in descending order (newest first); defaults to ascending order (oldest first).
limitnumberMaximum number of builds to return in a single response, capped at 1000 records.
offsetnumberNumber of builds to skip from the beginning of the result set, used for paginating through large result sets.

get_actor_build Get Actor Build

Retrieves full details about a specific Actor build, including its status, timing, and resource usage. Supports synchronous waiting via an optional timeout parameter to avoid polling when monitoring build completion.

ParameterTypeDescription
buildId *stringThe unique identifier of the Actor build to retrieve.
waitForFinishnumberMaximum number of seconds the server will wait for the build to reach a terminal status before responding. Accepts values from 0 (default, return immediately) to 60. If the build finishes within the t…

delete_build Delete Build

Permanently deletes a specific Actor build by its ID. The current default build for an Actor cannot be deleted; only users with build permissions for the Actor may perform this action.

ParameterTypeDescription
buildId *stringThe unique identifier of the Actor build to delete, found in the build's Info tab.

abort_build Abort Build

Aborts a running or starting Actor build, immediately halting execution and returning the build's full details. Builds already in a terminal state (FINISHED, FAILED, ABORTING, TIMED-OUT) are unaffected by this call.

ParameterTypeDescription
buildId *stringThe unique identifier of the Actor build to abort, available in the build's Info tab.

get_build_log Get Build Log

Retrieves the log output for a specific actor build. Supports real-time log streaming while the build is in progress.

ParameterTypeDescription
buildId *stringThe unique identifier of the actor build whose log you want to retrieve.
streambooleanWhen set to true, the response will stream log output continuously as long as the build is still running, rather than returning a static snapshot.

list_key_value_stores List Key-Value Stores

Retrieves a paginated list of key-value stores accessible to the user, including basic metadata for each store. Results are sorted by creation date ascending by default, supporting incremental pagination as new stores are created.

ParameterTypeDescription
descbooleanWhen set to true, reverses the sort order so that the most recently created stores appear first.
limitnumberMaximum number of stores to return in a single response. Accepts values up to 1000.
offsetnumberNumber of stores to skip from the beginning of the result set, used for paginating through results.
ownershipstringFilters results by ownership relationship. Omitting this parameter returns all accessible stores regardless of ownership.
unnamedbooleanWhen set to true, returns both named and unnamed stores. By default, only named stores are included in the response.

create_key_value_store Create Key-Value Store

Creates a new key-value store and returns its store object. If a store with the specified name already exists, the existing store is returned instead of creating a duplicate.

ParameterTypeDescription
namestringOptional unique name for the store, making it easy to identify and retrieve later. If omitted, an unnamed store is created and subject to the platform's data retention policy.

get_key_value_store Get Key-Value Store

Retrieves full details about a specific key-value store, including its configuration and metadata. Use this to inspect store properties before reading or writing data.

ParameterTypeDescription
storeId *stringThe unique identifier of the key-value store to retrieve, either as a store ID or in the format username~store-name.

update_key_value_store Update Key-Value Store

Updates a key-value store's name and general access level using the provided JSON payload. Returns the updated store object reflecting the applied changes.

ParameterTypeDescription
storeId *stringThe unique identifier of the key-value store to update, either as a store ID or in the format username~store-name.
generalAccessstringThe general access level for the key-value store, controlling who can read or interact with it. Use RESTRICTED to limit access, ANYONE_WITH_ID_CAN_READ or ANYONE_WITH_NAME_CAN_READ for broader read ac…
namestringThe new name to assign to the key-value store.

delete_key_value_store Delete Key-Value Store

Permanently deletes a key-value store and all of its contents. This action is irreversible and removes the store along with all stored key-value pairs.

ParameterTypeDescription
storeId *stringThe unique identifier of the key-value store to delete, either as a store ID or in the format username~store-name.

list_key_value_store_keys List Key-Value Store Keys

Retrieves a paginated list of keys from a specified key-value store, including metadata about each key's associated value such as size. Supports filtering by collection or key prefix.

ParameterTypeDescription
storeId *stringThe unique identifier of the key-value store, either as a store ID or in the format username~store-name.
collectionstringRestricts results to keys belonging to a specific collection defined in the key-value store's schema. Requires the store to have a schema configured.
exclusiveStartKeystringPagination cursor — all keys up to and including this key are excluded from the results, allowing you to retrieve the next page of keys.
limitnumberMaximum number of keys to return in a single response. Must be between 1 and 1000.
prefixstringRestricts results to keys that begin with the specified string prefix, useful for filtering logically grouped keys.

get_key_value_store_record Get Key-Value Store Record

Retrieves the value stored under a specific key in a key-value store, returning the record with its original content type and encoding. Use the attachment parameter to fetch raw HTML content without Apify's security modifications.

ParameterTypeDescription
recordKey *stringThe key under which the record is stored in the key-value store.
storeId *stringThe unique identifier of the key-value store, either as a store ID or in the format username~store-name.
attachmentbooleanWhen set to true, the response is served with a Content-Disposition: attachment header, prompting browsers to download the file rather than render it, and bypasses Apify's HTML security modifications…

put_store_record Put Store Record

Stores a value under a specific key in a key-value store, with the content type defined by the Content-Type header. Supports Gzip, Deflate, and Brotli compression via the Content-Encoding header to reduce payload size and improve upload speed.

ParameterTypeDescription
recordKey *stringThe key under which the value will be stored; must be unique within the store and is used to retrieve the record later.
storeId *stringThe unique identifier of the key-value store, either as a store ID or in the format username~store-name.
bodyobjectThe value to store in the record; any data type or structure is supported, with the content type specified via the Content-Type request header.

delete_key_value_store_record Delete Key-Value Store Record

Permanently removes a single record from a key-value store by its key. The store itself and all other records remain unaffected.

ParameterTypeDescription
recordKey *stringThe key identifying the specific record to delete within the store.
storeId *stringThe unique identifier of the key-value store, either as a store ID or in the format username~store-name.

check_key_value_store_record_exists Check Key-Value Store Record Exists

Checks whether a record exists in a key-value store under a specific key without retrieving its value. Useful for lightweight existence checks before performing read or write operations.

ParameterTypeDescription
recordKey *stringThe key identifying the record to check for existence within the key-value store.
storeId *stringThe unique identifier of the key-value store, either as a store ID or in the format username~store-name.

list_datasets List Datasets

Retrieves a paginated list of datasets accessible to the user, including basic metadata for each. Supports sorting, filtering by ownership, and optionally including unnamed datasets.

ParameterTypeDescription
descbooleanWhen set to true, results are sorted by creation date in descending order (newest first). By default, results are sorted in ascending order.
limitnumberMaximum number of datasets to return in a single response. Accepts values up to 1000, which is also the default.
offsetnumberNumber of datasets to skip from the beginning of the result set, used for pagination. Defaults to 0.
ownershipstringFilters results by ownership relationship. Use 'ownedByMe' to return only datasets you own, or 'sharedWithMe' to return only datasets shared with you by others. Omit to return all accessible datasets.
unnamedbooleanWhen set to true, both named and unnamed datasets are returned. By default, only named datasets are included in the response.

create_dataset Create Dataset

Creates a new dataset for storing structured data and returns its object. If a name is provided and a dataset with that name already exists, the existing dataset object is returned instead.

ParameterTypeDescription
namestringOptional unique human-readable name for the dataset, allowing easy identification and retrieval in the future. If omitted, the dataset is unnamed and subject to the platform's data retention policy.

get_dataset Get Dataset

Retrieves metadata and storage information for a specific dataset by its ID. Note that item count fields may lag up to 5 seconds behind actual data; use the list dataset items endpoint to retrieve the dataset's contents.

ParameterTypeDescription
datasetId *stringThe unique identifier of the dataset, either as a standalone dataset ID or in the combined username~dataset-name format.

update_dataset Update Dataset

Updates a dataset's name and general access level by dataset ID or username-scoped name. Returns the full updated dataset object.

ParameterTypeDescription
datasetId *stringThe unique identifier of the dataset to update, either as a standalone dataset ID or in the format username~dataset-name.
generalAccessstringControls who can access the dataset: restrict to specific users, allow anyone with the ID or name to read, or inherit from the user's default sharing setting.
namestringThe new display name to assign to the dataset.

delete_dataset Delete Dataset

Permanently deletes a specific dataset and its associated data. This action is irreversible and removes the dataset from the account.

ParameterTypeDescription
datasetId *stringThe unique identifier of the dataset to delete, accepted either as a standalone dataset ID or as a combined username and dataset name in the format `username~dataset-name`.

list_dataset_items List Dataset Items

Retrieves items stored in a dataset, supporting multiple output formats (JSON, JSONL, XML, HTML, CSV, XLSX, RSS) with options for pagination, field filtering, sorting, and data transformation. Use this to export or inspect dataset contents produced by an Actor run.

ParameterTypeDescription
datasetId *stringThe unique identifier of the dataset, either as a dataset ID or in the format `username~dataset-name`.
delimiterstringSingle character used as the field delimiter in CSV output; only applicable when `format=csv`. URL-encode special characters as needed (e.g., `%09` for tab, `%3B` for semicolon). Defaults to a comma.
descbooleanWhen set to `true` or `1`, reverses the sort order so items are returned from newest to oldest. By default items are returned in insertion order (oldest first). Note that this does not reverse the ord…
fieldsstringComma-separated list of top-level field names to include in each output item; all other fields are dropped. The order of fields in the output matches the order specified here, which can be used to enf…
flattenstringComma-separated list of fields whose nested object values should be flattened into dot-notation keys on the parent object (e.g., `foo.bar`). The original nested object is replaced by the flattened rep…
formatstringOutput format for the response. Structured formats (`json`, `jsonl`, `xml`) return raw item objects; tabular formats (`html`, `csv`, `xlsx`) return rows and columns limited to 2000 columns with column…
limitnumberMaximum number of items to include in the response. When omitted, all available items are returned. Note that using `skipEmpty` may cause fewer items to be returned than this limit.
offsetnumberNumber of items to skip from the beginning of the result set, used for pagination. Defaults to `0`.
omitstringComma-separated list of top-level field names to exclude from each output item; all other fields are retained.
skipEmptybooleanWhen set to `true` or `1`, excludes empty items from the output. Be aware that the number of returned items may be less than the specified `limit` when this option is active.
skipHeaderRowbooleanWhen set to `true` or `1`, omits the header row from CSV output. Only applicable when `format=csv`.
skipHiddenbooleanWhen set to `true` or `1`, excludes hidden fields (top-level fields whose names begin with `#`) from the output. Equivalent to enabling `clean`.
unwindstringComma-separated list of fields to unwind, processed in the specified order. Array fields are expanded so each element becomes a separate item merged with the parent object; object fields are merged di…
viewstringName of a predefined view configuration defined in the dataset's schema, which controls how items are filtered and presented. Refer to the dataset schema documentation for how views are defined.
xmlRootstringOverrides the name of the root XML element wrapping all results in XML output. Only applicable when `format=xml`. Defaults to `items`.
xmlRowstringOverrides the name of the XML element wrapping each individual item in XML output. Only applicable when `format=xml`. Defaults to `item`.

append_dataset_items Append Dataset Items

Appends one or more JSON objects to the end of the specified dataset. The entire request is rejected with a 400 error if any item fails schema validation; payloads must not exceed 5 MB.

ParameterTypeDescription
datasetId *stringThe unique identifier of the target dataset, either as a dataset ID or in the format username~dataset-name.
bodyarrayA single JSON object or an array of JSON objects to append to the dataset in order; total payload must not exceed 5 MB, so split larger arrays into smaller batches.

get_dataset_statistics Get Dataset Statistics

Retrieves field-level statistics for a specified dataset. Returns aggregated metrics such as value counts, null rates, and type distributions for each field in the dataset.

ParameterTypeDescription
datasetId *stringThe unique identifier of the dataset, either as a dataset ID or in the format username~dataset-name.

list_request_queues List Request Queues

Retrieves a paginated list of the user's request queues, returning basic metadata for each. Results are sorted by creation date ascending by default, supporting incremental fetching as new queues are created.

ParameterTypeDescription
descbooleanWhen set to true, reverses the sort order so queues are returned with the most recently created first instead of oldest first.
limitnumberMaximum number of queues to return in a single response. Accepts values up to 1000, which is also the default.
offsetnumberNumber of queues to skip from the beginning of the result set, used for pagination. Defaults to 0.
ownershipstringFilters results by ownership relationship. Omitting this parameter returns all accessible queues, while specifying a value limits results to queues owned by the user or shared with them by others.
unnamedbooleanWhen set to true, returns both named and unnamed queues. By default, only named queues are included in the results.

create_request_queue Create Request Queue

Creates a new request queue and returns its object, or returns the existing queue object if a queue with the given name already exists. Unnamed queues are subject to the platform's data retention policy.

ParameterTypeDescription
namestringOptional unique name for the request queue, allowing easy identification and retrieval in the future. If omitted, an unnamed queue is created and subject to data retention limits.

get_request_queue Get Request Queue

Retrieves metadata and configuration details for a specific request queue. Returns the full queue object including its properties and current state.

ParameterTypeDescription
queueId *stringThe unique identifier of the request queue to retrieve. Accepts either the queue's ID or a combined username and queue name in the format username~queue-name.

update_request_queue Update Request Queue

Updates a request queue's name and resource access level by submitting a JSON payload with the desired changes. Returns the full updated request queue object upon success.

ParameterTypeDescription
queueId *stringThe unique identifier of the request queue to update, either as a queue ID or in the format username~queue-name.
bodyobjectJSON object containing the fields to update on the request queue, such as its name or general resource access level.

delete_request_queue Delete Request Queue

Permanently deletes a request queue and all its associated data. This action is irreversible and removes the queue identified by its ID or name.

ParameterTypeDescription
queueId *stringThe unique identifier of the request queue to delete, either as a queue ID or in the format username~queue-name.

batch_add_requests Batch Add Requests

Adds up to 25 requests to a specified request queue in a single batch operation. Returns arrays of successfully processed and unprocessed requests, with unprocessed entries recommended for retry using exponential backoff.

ParameterTypeDescription
queueId *stringThe unique identifier of the target request queue, either as a queue ID or in the format username~queue-name.
bodyarrayAn array of request objects to add to the queue, with a maximum of 25 items per batch. Each item should include the request details such as URL and uniqueKey; order within the array does not affect qu…
clientKeystringA unique string identifier (1–32 characters) representing the calling client, used to detect whether the queue is being accessed by multiple clients simultaneously. Omitting this value causes the sy…
forefrontstringControls whether each request in the batch is inserted at the front (head) or back (end) of the queue. Accepts a boolean string value; defaults to false, placing requests at the end.

batch_delete_queue_requests Batch Delete Queue Requests

Batch-deletes up to 25 requests from a specified request queue, identified by their ID or uniqueKey. Any requests that fail due to rate limiting or internal errors are returned in the response for retry, with exponential backoff recommended.

ParameterTypeDescription
Content-Type *stringThe media type of the request body, which must be set to application/json.
queueId *stringThe unique identifier of the request queue, either as a queue ID or in the format username~queue-name.
bodyarrayAn array of request objects to delete, each identified by either an ID or uniqueKey field. The batch is limited to 25 requests; order is not significant.
clientKeystringA unique string identifier (1–32 characters) representing the client accessing the queue, used to detect whether the queue has been accessed by multiple clients. If omitted, the system treats this c…

unlock_queue_requests Unlock Queue Requests

Unlocks all currently locked requests in the specified request queue that are held by the calling client. Within an Actor run, this releases locks held by both the current run and the same clientKey; outside a run, it releases all locks associated with the provided clientKey.

ParameterTypeDescription
queueId *stringThe unique identifier of the request queue, either as a queue ID or in the format username~queue-name.
clientKeystringA unique string identifier (1–32 characters) representing the client accessing the queue, used to track whether multiple clients have accessed the same queue. If omitted, the system treats the reque…

list_queue_requests List Queue Requests

Retrieves a paginated list of requests from a specified request queue. Use exclusiveStartId and limit to page through large queues efficiently.

ParameterTypeDescription
queueId *stringThe unique identifier of the request queue, either as a queue ID or in the format username~queue-name.
exclusiveStartIdstringCursor for pagination — all requests up to and including this request ID are excluded from the results, returning only subsequent requests.
limitnumberMaximum number of requests to return in a single response. Must be between 1 and 10000.

add_queue_request Add Queue Request

Adds a new URL request to a specified request queue for processing. If a request with the same uniqueKey already exists in the queue, returns the ID of the existing request instead of creating a duplicate.

ParameterTypeDescription
method *stringThe HTTP method to use when executing this request (e.g., GET, POST, PUT, DELETE).
queueId *stringThe ID of the target request queue, or a combined identifier in the format username~queue-name.
uniqueKey *stringA unique key used to deduplicate requests — requests sharing the same uniqueKey are treated as identical and will not be added twice.
url *stringThe fully qualified URL to be fetched or processed by this request, must be a valid URI.
clientKeystringA unique string identifier (1–32 characters) representing the client making this request, used to detect whether the queue has been accessed by multiple clients.
forefrontstringControls where the request is inserted in the queue. Set to true to add at the front (head) of the queue, or false to append at the end. Defaults to false.

get_queue_request Get Queue Request

Retrieves a specific request from a request queue by its ID. Returns the full request details including URL, metadata, and processing status.

ParameterTypeDescription
queueId *stringThe unique identifier of the request queue, either as a queue ID or in the format username~queue-name.
requestId *stringThe unique identifier of the request to retrieve from the specified queue.

update_queue_request Update Queue Request

Updates an existing request in a queue, allowing you to modify its properties or mark it as handled. Setting `handledAt` to the current time removes the request from the head of the queue and releases any lock on it.

ParameterTypeDescription
id *stringThe unique identifier assigned to this request object, used to reference it within the queue.
queueId *stringThe ID of the request queue, either as a direct queue ID or in the format `username~queue-name`.
requestId *stringThe unique ID of the request to update within the queue.
uniqueKey *stringA unique key used to deduplicate requests; requests sharing the same key are treated as identical and will not be added more than once.
url *stringThe target URL for this request, must be a valid URI.
clientKeystringA unique string identifier (1–32 characters) representing the client making this call, used to detect whether the queue is being accessed by multiple clients simultaneously.
forefrontstringControls whether the updated request is repositioned to the front of the queue (`true`) or remains at the end (`false`). Defaults to `false`.
headersobjectA key-value map of HTTP headers to include when executing this request.
imagestringAn optional URI pointing to an image associated with this request, must be a valid URI.
labelstringAn optional label for categorizing or routing the request during processing.
methodstringThe HTTP method to use when executing this request (e.g., GET, POST, PUT, DELETE).
noRetrybooleanWhen set to `true`, prevents the request from being retried automatically if its processing fails.
payloadobjectThe body payload to send with the request, typically used for POST or PUT requests.

delete_queue_request Delete Queue Request

Permanently removes a specific request from a request queue by its ID. Use this to discard requests that are no longer needed for processing.

ParameterTypeDescription
queueId *stringThe unique identifier of the request queue, either as a queue ID or in the format username~queue-name.
requestId *stringThe unique identifier of the request to delete from the queue.
clientKeystringA unique string (1–32 characters) identifying the client making this call, used to track whether the queue has been accessed by multiple clients. If omitted, the system treats this call as originati…

get_request_queue_head Get Request Queue Head

Retrieves the first N requests from the head of a request queue. Returns a `hadMultipleClients` flag indicating whether the queue has been accessed by more than one client, which helps SDKs determine local cache consistency.

ParameterTypeDescription
queueId *stringThe unique ID of the request queue, or a combined identifier in the format `username~queue-name`.
clientKeystringA unique string identifier (1–32 characters) representing the calling client, used to track whether the queue is being accessed by multiple clients. Omitting this value causes the system to treat th…
limitnumberThe maximum number of requests to return from the head of the queue. If omitted, a default limit is applied.

lock_queue_head_requests Lock Queue Head Requests

Retrieves and locks a specified number of requests from the head of a request queue, preventing other clients or runs from accessing them for the duration of the lock period. Returns a flag indicating whether the queue has been accessed by multiple clients.

ParameterTypeDescription
lockSecs *numberThe duration in seconds for which the retrieved requests will be locked and unavailable to other clients or runs.
queueId *stringThe unique identifier of the request queue, either as a queue ID or in the format username~queue-name.
clientKeystringA unique string identifier (1–32 characters) representing the calling client, used to detect whether the queue is being accessed by multiple distinct clients. Omitting this value causes the system t…
limitnumberThe maximum number of requests to retrieve from the head of the queue, between 1 and 25.

prolong_request_lock Prolong Request Lock

Extends the lock duration on a specific request in a queue, preventing other clients from acquiring it. Only the client that originally locked the request can prolong its lock.

ParameterTypeDescription
lockSecs *numberThe number of seconds to extend the lock duration from the current time. Must be a positive value.
queueId *stringThe unique identifier of the request queue, either as a queue ID or in the format username~queue-name.
requestId *stringThe unique identifier of the request whose lock you want to prolong.
clientKeystringA unique string identifier (1–32 characters) representing the client accessing the queue. Must match the client key used when the request was originally locked in order to prolong or delete the lock…
forefrontstringControls where the request is placed in the queue after its lock expires — set to true to move it to the front of the queue, or false to place it at the end.

delete_request_lock Delete Request Lock

Releases a lock on a specific request in a queue, making it available for other clients to process. Only the client that originally locked the request (via the lock head operation) can delete its lock.

ParameterTypeDescription
Content-Type *stringThe media type of the request body, which must be application/json.
queueId *stringThe unique identifier of the request queue, either as a queue ID or in the format username~queue-name.
requestId *stringThe unique identifier of the request whose lock should be deleted.
clientKeystringA unique string identifier (1–32 characters) representing the client releasing the lock. Must match the client key used when the lock was originally acquired.
forefrontstringControls where the request is re-inserted in the queue after the lock is removed — set to true to place it at the front of the queue, or false to append it to the end.

list_webhooks List Webhooks

Retrieves a paginated list of webhooks created by the authenticated user. Results are sorted by creation date and capped at 1000 records per request.

ParameterTypeDescription
descbooleanWhen set to true, results are sorted by creation date in descending order (newest first); defaults to ascending order (oldest first).
limitnumberMaximum number of webhook records to return in a single request, with an upper bound of 1000.
offsetnumberNumber of records to skip from the beginning of the result set, used for paginating through results.

create_webhook Create Webhook

Creates a new webhook that triggers HTTP POST requests to a target URL when specified Actor or task events occur. Use an idempotency key to safely retry creation without duplicating webhooks.

ParameterTypeDescription
eventTypes *arrayList of event types that will trigger this webhook. Each item must be a valid Apify event string (e.g., ACTOR.RUN.SUCCEEDED, ACTOR.RUN.FAILED, ACTOR.RUN.ABORTED). Order is not significant.
requestUrl *stringThe target URL to which webhook event data is sent as an HTTP POST request with a JSON payload. Must be a valid absolute URI.
actorIdstringID of the Actor to assign this webhook to. Provide inside the condition object along with optionally actorTaskId to scope the webhook to a specific Actor.
actorRunIdstringID of a specific Actor run to associate with this webhook, used to scope the webhook to a particular run instance.
actorTaskIdstringID of the Actor task to assign this webhook to. Provide inside the condition object to scope the webhook to a specific task run.
descriptionstringOptional human-readable label for the webhook to help identify its purpose.
doNotRetrybooleanWhen true, failed webhook dispatch attempts will not be retried. Defaults to false, meaning Apify will retry on failure.
headersTemplatestringA JSON-like template string defining custom HTTP headers sent with the webhook request. Supports Apify template variables. Note: host, Content-Type, X-Apify-Webhook, X-Apify-Webhook-Dispatch-Id, and X…
idempotencyKeystringUnique key used to prevent duplicate webhook creation. Multiple requests with the same key will only create the webhook once and return the existing webhook on subsequent calls. Use a UUID or sufficie…
ignoreSslErrorsbooleanWhen true, SSL certificate errors on the target requestUrl will be ignored during webhook dispatch. Defaults to false.
isAdHocbooleanWhen true, marks the webhook as ad-hoc (not permanently assigned to an Actor or task). Defaults to false for standard persistent webhooks.
payloadTemplatestringA JSON-like template string defining the payload sent to the requestUrl. Supports Apify template variables (e.g., {{userId}}, {{resource}}). If shouldInterpolateStrings is true, variables inside strin…
shouldInterpolateStringsbooleanWhen true, Apify template variables found inside string values within the payloadTemplate are interpolated. When false, only top-level variable placeholders are replaced.

get_webhook Get Webhook

Retrieves full details of a specific webhook by its unique identifier. Returns all webhook configuration and metadata.

ParameterTypeDescription
webhookId *stringThe unique identifier of the webhook to retrieve.

update_webhook Update Webhook

Updates an existing webhook's configuration by its ID, applying only the properties provided in the JSON request body. Returns the full updated webhook object.

ParameterTypeDescription
webhookId *stringThe unique identifier of the webhook to update.
actorIdstringThe ID of the Actor whose events should trigger this webhook. Scopes the webhook to a specific Actor.
actorRunIdstringThe ID of the Actor run whose events should trigger this webhook. Scopes the webhook to a specific run.
actorTaskIdstringThe ID of the Actor task whose events should trigger this webhook. Scopes the webhook to a specific task.
descriptionstringA human-readable description of the webhook's purpose or configuration for identification.
doNotRetrybooleanWhen true, failed webhook delivery attempts will not be retried automatically.
eventTypesarrayList of event types that trigger this webhook, such as actor run lifecycle events. Order is not significant; each item must be a valid event type string.
headersTemplatestringA template string defining custom HTTP headers included with each webhook request. Supports variable interpolation using double curly brace syntax.
ignoreSslErrorsbooleanWhen true, SSL certificate errors on the target request URL are ignored. Use with caution in production environments.
isAdHocbooleanIndicates whether the webhook is ad hoc (created for a single run) rather than a persistent webhook.
payloadTemplatestringA template string defining the JSON payload sent with each webhook request. Supports variable interpolation using double curly brace syntax.
requestUrlstringThe destination URL to which the webhook will send HTTP POST requests when triggered. Must be a valid URI.
shouldInterpolateStringsbooleanWhen true, string values within the payload and headers templates will have variable placeholders interpolated before the request is sent.

delete_webhook Delete Webhook

Permanently deletes a webhook by its unique identifier. This action is irreversible and will stop all event notifications associated with the webhook.

ParameterTypeDescription
webhookId *stringThe unique identifier of the webhook to delete.

test_webhook Test Webhook

Sends a test dispatch to the specified webhook using a dummy payload. Useful for verifying that the webhook endpoint is correctly configured and reachable.

ParameterTypeDescription
webhookId *stringThe unique identifier of the webhook to test.

list_webhook_dispatches_by_webhook List Webhook Dispatches

Retrieves the list of dispatch records for a specific webhook, showing its delivery history and execution events.

ParameterTypeDescription
webhookId *stringThe unique identifier of the webhook whose dispatch history you want to retrieve.

list_webhook_dispatches List Webhook Dispatches

Retrieves a paginated list of webhook dispatches associated with the authenticated user. Results are sorted by creation date and capped at 1000 records per request.

ParameterTypeDescription
descbooleanWhen set to true, sorts the returned records by the createdAt field in descending order (newest first). Defaults to ascending order.
limitnumberMaximum number of webhook dispatch records to return in a single response. Accepts values up to 1000, which is also the default.
offsetnumberNumber of records to skip from the beginning of the result set, used for paginating through results. Defaults to 0.

get_webhook_dispatch Get Webhook Dispatch

Retrieves a webhook dispatch record by its unique ID, returning full details about the dispatch event, status, and payload.

ParameterTypeDescription
dispatchId *stringThe unique identifier of the webhook dispatch record to retrieve.

list_schedules List Schedules

Retrieves a paginated list of schedules created by the user. Results are sorted by creation date ascending by default, with a maximum of 1000 records per request.

ParameterTypeDescription
descbooleanWhen set to true, sorts the returned schedules by creation date in descending order instead of the default ascending order.
limitnumberMaximum number of schedules to return in a single request, capped at 1000.
offsetnumberNumber of schedules to skip from the beginning of the result set, used for paginating through records.

create_schedule Create Schedule

Creates a new schedule with the specified configuration, including timing, timezone, and associated actions. Returns the fully created schedule object upon success.

ParameterTypeDescription
actionsarrayList of actions to execute when the schedule triggers. Each item defines an action type and its configuration; order determines execution sequence.
cronExpressionstringDefines the schedule's timing using standard cron syntax (minute, hour, day-of-month, month, day-of-week).
descriptionstringHuman-readable explanation of the schedule's purpose, useful for documentation and identifying what the schedule does.
isEnabledbooleanControls whether the schedule is active and will trigger at its configured times. Set to false to create the schedule in a paused state.
isExclusivebooleanWhen true, ensures only one run of this schedule executes at a time, preventing overlapping executions if a previous run is still in progress.
namestringUnique identifier name for the schedule, used to reference it programmatically.
timezonestringIANA timezone name used to interpret the cron expression, ensuring the schedule fires at the correct local time.
titlestringDisplay-friendly label for the schedule shown in the UI, distinct from the programmatic name.

get_schedule Get Schedule

Retrieves a schedule object with all associated details by its unique identifier. Use this to inspect scheduling configuration, timing, and related metadata for a specific schedule.

ParameterTypeDescription
scheduleId *stringThe unique identifier of the schedule to retrieve.

update_schedule Update Schedule

Updates an existing schedule by its ID, applying only the properties provided in the request body while leaving unspecified properties unchanged. Returns the full updated schedule object.

ParameterTypeDescription
scheduleId *stringThe unique identifier of the schedule to update.
actionsarrayAn ordered list of action objects that the schedule will execute when triggered. Each item defines the type and configuration of an action to perform.
cronExpressionstringThe cron expression defining when the schedule triggers, using standard five-field cron syntax (minute, hour, day-of-month, month, day-of-week).
descriptionstringA human-readable explanation of the schedule's purpose or context, useful for documentation and identification.
isEnabledbooleanWhether the schedule is active and will trigger its actions at the defined times. Set to false to pause the schedule without deleting it.
isExclusivebooleanWhether the schedule runs exclusively, preventing overlapping executions if a previous run is still in progress when the next trigger fires.
namestringA short machine-friendly identifier for the schedule, typically used for referencing it programmatically.
timezonestringThe IANA timezone name used to interpret the cron expression, ensuring triggers fire at the correct local time.
titlestringA human-friendly display name for the schedule, intended for presentation in UIs or dashboards.

delete_schedule Delete Schedule

Permanently deletes a schedule by its unique identifier. This action cannot be undone.

ParameterTypeDescription
scheduleId *stringThe unique identifier of the schedule to delete.

get_schedule_log Get Schedule Log

Retrieves the execution log for a specific schedule, returning a JSON array of up to 1000 recent invocation records. Useful for auditing schedule activity and diagnosing execution history.

ParameterTypeDescription
scheduleId *stringThe unique identifier of the schedule whose invocation log you want to retrieve.

list_store_actors List Store Actors

Retrieves the list of publicly available Actors from the Apify Store, with support for keyword search, filtering, and sorting. Returns up to 1,000 results and supports pagination.

ParameterTypeDescription
allowsAgenticUsersbooleanWhen true, restricts results to Actors that permit agentic users; when false, restricts results to Actors that do not permit agentic users.
categorystringFilters results to only include Actors belonging to the specified category.
limitnumberMaximum number of Actors to return in a single response. Accepts values up to 1,000.
offsetnumberNumber of Actors to skip from the beginning of the result set, used for paginating through results.
pricingModelstringFilters results to only include Actors with the specified pricing model. Must be one of the supported pricing model values.
searchstringKeyword or phrase used to search Actors across their title, name, description, username, and readme fields.
sortBystringField by which to sort the returned Actors. Supported values are relevance (default), popularity, newest, and lastUpdate.
usernamestringFilters results to only include Actors published by the specified username.

get_run_log Get Run Log

Retrieves the log output for a specific Actor build or run. Supports real-time streaming for active runs and optional preservation of raw ANSI escape codes.

ParameterTypeDescription
buildOrRunId *stringThe unique identifier of the Actor build or run whose logs you want to retrieve.
rawbooleanWhen set to true, logs are returned verbatim including ANSI escape codes. By default, ANSI escape codes are stripped and only printable characters are returned.
streambooleanWhen set to true, the response streams log output continuously while the build or run is still active, rather than returning a static snapshot.

get_user Get User

Retrieves public profile information for a specific user account, equivalent to what is visible on their public profile page. No authentication is required to call this endpoint.

ParameterTypeDescription
userId *stringThe unique identifier or username of the user whose public profile data should be retrieved.

get_current_user Get Current User

Retrieves both public and private profile data for the authenticated user account identified by the provided token. Note that plan, email, and profile fields are excluded when accessed from within an Actor run.

get_monthly_usage Get Monthly Usage

Retrieves a complete summary of your usage for the current or a specified billing cycle, including storage, data transfer, and request queue usage with both an overall total and a daily breakdown.

ParameterTypeDescription
datestringThe date within the billing cycle you want to retrieve usage for, in YYYY-MM-DD format. If omitted, the current billing cycle is returned.

get_account_limits Get Account Limits

Retrieves a complete summary of the authenticated account's limits, current usage cycle, and usage statistics, equivalent to the Limits page in the Apify console.