All integrations

Apify

DEVELOPER · DEVELOPER

Actors, runs, tasks, and their datasets driven with that person’s own token.

Acts as the person, not as itself

Each user connects their own account. Every call carries both identities — the agent and the person it is acting for — so the agent can never reach past what that individual can already do.

Credentials never touch the agent

Tokens live in the vault and attach server-side at call time. The agent holds a session, not a secret, and revoking access does not mean rotating a key.

Every call on the record

Who asked, which agent acted, which action ran, and the verdict that let it through — one audit trail across every integration, not one per vendor.

What an agent can do

Each action is granted on its own. An agent allowed to read is not thereby allowed to write, and the scope beside each row is what the acting user must have connected for it to run at all.

apify_delete_v2_actor_builds_by_buildidWRITE

Delete the build. The build that is the current default build for the Actor cannot be deleted. Only users with build permissions for the Actor can delete builds. via DELETE /v2/actor-builds/{buildId}

write
apify_delete_v2_actor_runs_by_runidWRITE

Delete the run. Only finished runs can be deleted. Only the person or organization that initiated the run can delete it. via DELETE /v2/actor-runs/{runId}

write
apify_delete_v2_actor_runs_by_runid_datasetWRITE

Deletes default dataset associated with an Actor run. This endpoint is a shortcut for getting the last run's `defaultDatasetId` and then using the [ Delete dataset ](/api/v2/dataset-delete) endpoint. via DELETE /v2/actor-runs/{runId}/dataset

write
apify_delete_v2_actor_runs_by_runid_key_value_storeWRITE

Delete the default key-value store. This endpoint is a shortcut for getting the run's `defaultKeyValueStoreId` and then using the [Delete store](/api/v2/key-value-store-delete) endpoint. via DELETE /v2/actor-runs/{runId}/key-value-store

write
apify_delete_v2_actor_runs_by_runid_key_value_store_records_by_recordkeyWRITE

Removes a record specified by a key from the default key-value store of the Actor run. This endpoint is a shortcut for getting the run's `defaultKeyValueStoreId` and then using the [Delete record](/api/v2/key-value-store-record-delete) endpoint. via DELETE /v2/actor-runs/{runId}/key-value-store/records/{recordKey}

write
apify_delete_v2_actor_runs_by_runid_request_queueWRITE

Deletes the default request queue associated with an Actor run. This endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the [Delete request queue](/api/v2/request-queue-delete) endpoint. via DELETE /v2/actor-runs/{runId}/request-queue

write
apify_delete_v2_actor_runs_by_runid_request_queue_requests_batchWRITE

Batch-deletes requests from the default request queue of the Actor run. This endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the [Delete requests](/api/v2/request-queue-requests-batch-delete) endpoint. via DELETE /v2/actor-runs/{runId}/request-queue/requests/batch

write
apify_delete_v2_actor_runs_by_runid_request_queue_requests_by_requestidWRITE

Deletes a request from the default request queue of the Actor run. This endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the [Delete request](/api/v2/request-queue-request-delete) endpoint. via DELETE /v2/actor-runs/{runId}/request-queue/requests/{requestId}

write
apify_delete_v2_actor_runs_by_runid_request_queue_requests_by_requestid_lockWRITE

Deletes a request lock in the default request queue of the Actor run. This endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the [Delete request lock](/api/v2/request-queue-request-lock-delete) endpoint. via DELETE /v2/actor-runs/{runId}/request-queue/requests/{requestId}/lock

write
apify_delete_v2_actor_tasks_by_actortaskidWRITE

Delete the task specified through the `actorTaskId` parameter. via DELETE /v2/actor-tasks/{actorTaskId}

write
apify_delete_v2_actor_tasks_by_actortaskid_runs_last_datasetWRITE

Deletes the default dataset associated with the last Actor task run. This endpoint is a shortcut for getting the last task run's `defaultDatasetId` and then using the [Delete dataset](/api/v2/dataset-delete) endpoint. via DELETE /v2/actor-tasks/{actorTaskId}/runs/last/dataset

write
apify_delete_v2_actor_tasks_by_actortaskid_runs_last_key_value_storeWRITE

Deletes the default key-value store of the last Actor task run. This endpoint is a shortcut for getting the last task run's `defaultKeyValueStoreId` and then using the [Delete store](/api/v2/key-value-store-delete) endpoint. via DELETE /v2/actor-tasks/{actorTaskId}/runs/last/key-value-store

write
apify_delete_v2_actor_tasks_by_actortaskid_runs_last_key_value_store_records_by_recordkeyWRITE

Removes a record specified by a key from the default key-value store of the last Actor task run. This endpoint is a shortcut for getting the last task run's `defaultKeyValueStoreId` and then using the [Delete record](/api/v2/key-value-store-record-delete) endpoint. via DELETE /v2/actor-tasks/{actorTaskId}/runs/last/key-value-store/records/{recordKey}

write
apify_delete_v2_actor_tasks_by_actortaskid_runs_last_request_queueWRITE

Deletes the default request queue associated with the last Actor task run. This endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the [Delete request queue](/api/v2/request-queue-delete) endpoint. via DELETE /v2/actor-tasks/{actorTaskId}/runs/last/request-queue

write
apify_delete_v2_actor_tasks_by_actortaskid_runs_last_request_queue_requests_batchWRITE

Batch-deletes requests from the default request queue of the last Actor task run. This endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the [Delete requests](/api/v2/request-queue-requests-batch-delete) endpoint. via DELETE /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/batch

write
apify_delete_v2_actor_tasks_by_actortaskid_runs_last_request_queue_requests_by_requestidWRITE

Deletes a request from the default request queue of the last Actor task run. This endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the [Delete request](/api/v2/request-queue-request-delete) endpoint. via DELETE /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/{requestId}

write
apify_delete_v2_actor_tasks_by_actortaskid_runs_last_request_queue_requests_by_requestid_lockWRITE

Deletes a request lock in the default request queue of the last Actor task run. This endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the [Delete request lock](/api/v2/request-queue-request-lock-delete) endpoint. via DELETE /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/{requestId}/lock

write
apify_delete_v2_actors_by_actoridWRITE

Deletes an Actor with the specified ID. via DELETE /v2/actors/{actorId}

write
apify_delete_v2_actors_by_actorid_runs_last_datasetWRITE

Deletes the default dataset associated with the last Actor run. This endpoint is a shortcut for getting the last run's `defaultDatasetId` and then using the [Delete dataset](/api/v2/dataset-delete) endpoint. via DELETE /v2/actors/{actorId}/runs/last/dataset

write
apify_delete_v2_actors_by_actorid_runs_last_key_value_storeWRITE

Deletes the last Actor run key-value store. This endpoint is a shortcut for getting the run's `defaultKeyValueStoreId` and then using the [Delete store](/api/v2/key-value-store-delete) endpoint. via DELETE /v2/actors/{actorId}/runs/last/key-value-store

write
apify_delete_v2_actors_by_actorid_runs_last_key_value_store_records_by_recordkeyWRITE

Removes a record specified by a key from the default key-value store of the last Actor run. This endpoint is a shortcut for getting the last run's `defaultKeyValueStoreId` and then using the [Delete record](/api/v2/key-value-store-record-delete) endpoint. via DELETE /v2/actors/{actorId}/runs/last/key-value-store/records/{recordKey}

write
apify_delete_v2_actors_by_actorid_runs_last_request_queueWRITE

Deletes the default request queue associated with the last Actor run. This endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the [Delete request queue](/api/v2/request-queue-delete) endpoint. via DELETE /v2/actors/{actorId}/runs/last/request-queue

write
apify_delete_v2_actors_by_actorid_runs_last_request_queue_requests_batchWRITE

Batch-deletes requests from the default request queue of the last Actor run. This endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the [Delete requests](/api/v2/request-queue-requests-batch-delete) endpoint. via DELETE /v2/actors/{actorId}/runs/last/request-queue/requests/batch

write
apify_delete_v2_actors_by_actorid_runs_last_request_queue_requests_by_requestidWRITE

Deletes a request from the default request queue of the last Actor run. This endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the [Delete request](/api/v2/request-queue-request-delete) endpoint. via DELETE /v2/actors/{actorId}/runs/last/request-queue/requests/{requestId}

write
apify_delete_v2_actors_by_actorid_runs_last_request_queue_requests_by_requestid_lockWRITE

Deletes a request lock in the default request queue of the last Actor run. This endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the [Delete request lock](/api/v2/request-queue-request-lock-delete) endpoint. via DELETE /v2/actors/{actorId}/runs/last/request-queue/requests/{requestId}/lock

write
apify_delete_v2_actors_by_actorid_versions_by_versionnumberWRITE

Deletes a specific version of Actor's source code. via DELETE /v2/actors/{actorId}/versions/{versionNumber}

write
apify_delete_v2_actors_by_actorid_versions_by_versionnumber_env_vars_by_envvarnameWRITE

Deletes a specific environment variable. via DELETE /v2/actors/{actorId}/versions/{versionNumber}/env-vars/{envVarName}

write
apify_delete_v2_browser_infoWRITE

Returns information about the HTTP request, including the client IP address, country code, request headers, and body length. This endpoint is designed for proxy testing. It accepts any HTTP method so you can verify that your proxy correctly forwards requests of any type and that client IP addresses are anonymized. via DELETE /v2/browser-info

write
apify_delete_v2_datasets_by_datasetidWRITE

Deletes a specific dataset. via DELETE /v2/datasets/{datasetId}

write
apify_delete_v2_key_value_stores_by_storeidWRITE

Deletes a key-value store. via DELETE /v2/key-value-stores/{storeId}

write
apify_delete_v2_key_value_stores_by_storeid_records_by_recordkeyWRITE

Removes a record specified by a key from the key-value store. via DELETE /v2/key-value-stores/{storeId}/records/{recordKey}

write
apify_delete_v2_request_queues_by_queueidWRITE

Deletes given queue. via DELETE /v2/request-queues/{queueId}

write
apify_delete_v2_request_queues_by_queueid_requests_batchWRITE

Batch-deletes given requests from the queue. The number of requests in a batch is limited to 25. The response contains an array of unprocessed and processed requests. If any delete operation fails because the request queue rate limit is exceeded or an internal failure occurs, the failed request is returned in the `unprocessedRequests` response parameter. You can re-send these delete requests. It is recommended to use an exponential backoff algorithm for these retries. Each request is identified by its ID or uniqueKey parameter. You can use either of them to identify the request. via DELETE /v2/request-queues/{queueId}/requests/batch

write
apify_delete_v2_request_queues_by_queueid_requests_by_requestidWRITE

Deletes given request from queue. via DELETE /v2/request-queues/{queueId}/requests/{requestId}

write
apify_delete_v2_request_queues_by_queueid_requests_by_requestid_lockWRITE

Deletes a request lock. The request lock can be deleted only by the client that has locked it using [Get and lock head operation](#/request-queue-head-lock-post). The clientKey identifier is used for locking and unlocking requests. You can delete or prolong the lock only for requests that were locked by the same client key or from the same Actor run. via DELETE /v2/request-queues/{queueId}/requests/{requestId}/lock

write
apify_delete_v2_schedules_by_scheduleidWRITE

Deletes a schedule. via DELETE /v2/schedules/{scheduleId}

write
apify_delete_v2_webhooks_by_webhookidWRITE

Deletes a webhook. via DELETE /v2/webhooks/{webhookId}

write
apify_get_v2_actor_buildsREAD

Gets a list of all builds for a user. The response is a JSON array of objects, where each object contains basic information about a single build. The endpoint supports pagination using the `limit` and `offset` parameters and it will not return more than 1000 records. By default, the records are sorted by the `startedAt` field in ascending order. Therefore, you can use pagination to incrementally fetch all builds while new ones are still being started. To sort the records in descending order, use the `desc=1` parameter. via GET /v2/actor-builds

read
apify_get_v2_actor_builds_by_buildidREAD

Gets an object that contains all the details about a specific build of an Actor. By passing the optional `waitForFinish` parameter the API endpoint will synchronously wait for the build to finish. This is useful to avoid periodic polling when waiting for an Actor build to finish. This endpoint does not require the authentication token. Instead, calls are authenticated using a hard-to-guess ID of the build. However, if you access the endpoint without the token, certain attributes, such as `usageUsd` and `usageTotalUsd`, will be hidden. via GET /v2/actor-builds/{buildId}

read
apify_get_v2_actor_builds_by_buildid_logREAD

Retrieves Actor build's logs. This endpoint is a shortcut for getting the build's log. Same as [Get log](/api/v2/log-get) endpoint. via GET /v2/actor-builds/{buildId}/log

read
apify_get_v2_actor_builds_by_buildid_openapi_jsonREAD

Get the OpenAPI definition for Actor builds. Two similar endpoints are available: - [First endpoint](/api/v2/actor-openapi-json-get): Requires both `actorId` and `buildId`. Use `default` as the `buildId` to get the OpenAPI schema for the default Actor build. - [Second endpoint](/api/v2/actor-build-openapi-json-get): Requires only `buildId`. Get the OpenAPI definition for a specific Actor build. Authentication is based on the build's unique ID. No authentication token is required. :::note You can also use the [`/api/v2/actor-openapi-json-get`](/api/v2/actor-openapi-json-get) endpoint to get the OpenAPI definition for a build. ::: via GET /v2/actor-builds/{buildId}/openapi.json

read
apify_get_v2_actor_runsREAD

Gets a list of all runs for a user. The response is a list of objects, where each object contains basic information about a single Actor run. The endpoint supports pagination using the `limit` and `offset` parameters and it will not return more than 1000 array elements. By default, the records are sorted by the `startedAt` field in ascending order. Therefore, you can use pagination to incrementally fetch all records while new ones are still being created. To sort the records in descending order, use `desc=1` parameter. You can also filter runs by `startedAt`` and `status`` fields ([available statuses](https://docs.apify.com/platform/actors/running/runs-and-builds#lifecycle)). via GET /v2/actor-runs

read
apify_get_v2_actor_runs_by_runidREAD

This is not a single endpoint, but an entire group of endpoints that lets you retrieve the run or any of its default storages. ##### Convenience endpoints for Actor run default storages * [Dataset](/api/v2/default-dataset) * [Key-value store](/api/v2/default-key-value-store) * [Request queue](/api/v2/default-request-queue) Gets an object that contains all the details about a specific run of an Actor. By passing the optional `waitForFinish` parameter the API endpoint will synchronously wait for the run to finish. This is useful to avoid periodic polling when waiting for Actor run to complete. Note that the first response after completion can still show preliminary `stats`, costs, and event counts. For stable figures, wait about 10 seconds and call the endpoint again. This endpoint does not require the authentication token. Instead, calls are authenticated using a hard-to-guess ID of the run. However, if you access the endpoint without the token, certain attributes, such as `usageUsd` and `usageTotalUsd`, will be hidden. via GET /v2/actor-runs/{runId}

read
apify_get_v2_actor_runs_by_runid_datasetREAD

Returns the default dataset associated with an Actor run. This endpoint is a shortcut for getting the run's `defaultDatasetId` and then using the [Get dataset](/api/v2/dataset-get) endpoint. via GET /v2/actor-runs/{runId}/dataset

read
apify_get_v2_actor_runs_by_runid_dataset_itemsREAD

Returns data stored in the default dataset of the Actor run in the desired format. This endpoint is a shortcut that resolves the run's `defaultDatasetId` and proxies to the [Get dataset items](/api/v2/dataset-items-get) endpoint. via GET /v2/actor-runs/{runId}/dataset/items

read
apify_get_v2_actor_runs_by_runid_dataset_statisticsREAD

Returns statistics for the Actor run's default dataset. This endpoint is a shortcut that resolves the run's `defaultDatasetId` and proxies to the [Get dataset statistics](/api/v2/dataset-statistics-get) endpoint. via GET /v2/actor-runs/{runId}/dataset/statistics

read
apify_get_v2_actor_runs_by_runid_key_value_storeREAD

Gets an object that contains all the details about the default key-value store. This endpoint is a shortcut for getting the run's `defaultKeyValueStoreId` and then using the [Get store](/api/v2/key-value-store-get) endpoint. via GET /v2/actor-runs/{runId}/key-value-store

read
apify_get_v2_actor_runs_by_runid_key_value_store_keysREAD

Returns a list of keys for the default key-value store of the Actor run. This endpoint is a shortcut for getting the run's `defaultKeyValueStoreId` and then using the [Get list of keys](/api/v2/key-value-store-keys-get) endpoint. via GET /v2/actor-runs/{runId}/key-value-store/keys

read
apify_get_v2_actor_runs_by_runid_key_value_store_records_by_recordkeyREAD

Gets a value stored under a specific key in the default key-value store of the Actor run. This endpoint is a shortcut for getting the run's `defaultKeyValueStoreId` and then using the [Get record](/api/v2/key-value-store-record-get) endpoint. via GET /v2/actor-runs/{runId}/key-value-store/records/{recordKey}

read
apify_get_v2_actor_runs_by_runid_logREAD

Retrieves Actor run's logs. This endpoint is a shortcut for getting the run's log. Same as [Get log](/api/v2/log-get) endpoint. via GET /v2/actor-runs/{runId}/log

read
apify_get_v2_actor_runs_by_runid_request_queueREAD

Returns the default request queue associated with an Actor run. This endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the [Get request queue](/api/v2/request-queue-get) endpoint. via GET /v2/actor-runs/{runId}/request-queue

read
apify_get_v2_actor_runs_by_runid_request_queue_headREAD

Returns the given number of first requests from the default request queue of the Actor run. This endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the [Get head](/api/v2/request-queue-head-get) endpoint. via GET /v2/actor-runs/{runId}/request-queue/head

read
apify_get_v2_actor_runs_by_runid_request_queue_requestsREAD

Returns a list of requests from the default request queue of the Actor run. This endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the [List requests](/api/v2/request-queue-requests-get) endpoint. via GET /v2/actor-runs/{runId}/request-queue/requests

read
apify_get_v2_actor_runs_by_runid_request_queue_requests_by_requestidREAD

Returns a request from the default request queue of the Actor run. This endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the [Get request](/api/v2/request-queue-request-get) endpoint. via GET /v2/actor-runs/{runId}/request-queue/requests/{requestId}

read
apify_get_v2_actor_tasksREAD

Gets the complete list of tasks that a user has created or used. The response is a list of objects in which each object contains essential information about a single task. The endpoint supports pagination using the `limit` and `offset` parameters, and it does not return more than a 1000 records. By default, the records are sorted by the `createdAt` field in ascending order; therefore you can use pagination to incrementally fetch all tasks while new ones are still being created. To sort the records in descending order, use the `desc=1` parameter. via GET /v2/actor-tasks

read
apify_get_v2_actor_tasks_by_actortaskidREAD

Get an object that contains all the details about a task. via GET /v2/actor-tasks/{actorTaskId}

read
apify_get_v2_actor_tasks_by_actortaskid_inputREAD

Returns the input of a given task. via GET /v2/actor-tasks/{actorTaskId}/input

read
apify_get_v2_actor_tasks_by_actortaskid_run_syncREAD

Runs an Actor task and synchronously returns a key-value store record. The response contains the record stored under the `OUTPUT` key in the run's default key-value store. This is a legacy approach that has been replaced by the Actor [output object](https://docs.apify.com/platform/actors/development/actor-definition/output-schema#output-object-definition); Actors aren't required to store a record under this key, so the response may not contain any data. Use the `outputRecordKey` query parameter to return a different record. The run must finish in 300<!-- MAX_ACTOR_JOB_SYNC_WAIT_SECS --> seconds otherwise the HTTP request fails with a timeout error (this won't abort the run itself). Beware that it might be impossible to maintain an idle HTTP connection for an extended period, due to client timeout or network conditions. Make sure your HTTP client is configured to have a long enough connection timeout. If the connection breaks, you will not receive any information about the run and its status. To run the Task asynchronously, use the [Run task asynchronously](#/reference/actor-tasks/run-collection/run-task) endpoint instead. via GET /v2/actor-tasks/{actorTaskId}/run-sync

read
apify_get_v2_actor_tasks_by_actortaskid_run_sync_get_dataset_itemsREAD

Run a specific task and return its dataset items. The run must finish in 300<!-- MAX_ACTOR_JOB_SYNC_WAIT_SECS --> seconds otherwise the HTTP request fails with a timeout error (this won't abort the run itself). You can send all the same options in parameters as the [Get Dataset Items](#/reference/datasets/item-collection/get-items) API endpoint. Beware that it might be impossible to maintain an idle HTTP connection for an extended period, due to client timeout or network conditions. Make sure your HTTP client is configured to have a long enough connection timeout. If the connection breaks, you will not receive any information about the run and its status. To run the Task asynchronously, use the [Run task asynchronously](#/reference/actor-tasks/run-collection/run-task) endpoint instead. via GET /v2/actor-tasks/{actorTaskId}/run-sync-get-dataset-items

read
apify_get_v2_actor_tasks_by_actortaskid_runsREAD

Get a list of runs of a specific task. The response is a list of objects, where each object contains essential information about a single task run. The endpoint supports pagination using the `limit` and `offset` parameters, and it does not return more than a 1000 array elements. By default, the records are sorted by the `startedAt` field in ascending order; therefore you can use pagination to incrementally fetch all records while new ones are still being created. To sort the records in descending order, use the `desc=1` parameter. You can also filter runs by status ([available statuses](https://docs.apify.com/platform/actors/running/runs-and-builds#lifecycle)). via GET /v2/actor-tasks/{actorTaskId}/runs

read
apify_get_v2_actor_tasks_by_actortaskid_runs_lastREAD

This is not a single endpoint, but an entire group of endpoints that lets you to retrieve and manage the last run of given actor task or any of its default storages. All the endpoints require an authentication token. The base path represents the last actor task run object is: `/v2/actor-tasks/{actorTaskId}/runs/last{?token,status,origin}` Using the `status` query parameter you can ensure to only get a run with a certain status (e.g. `status=SUCCEEDED`). Similarly, the `origin` query parameter filters runs by the means by which they were started (e.g. `origin=API`). The output of this endpoint and other query parameters are the same as in the [Run object](/api/v2/actor-run-get) endpoint. ##### Convenience endpoints for last Actor task run * [Dataset](/api/v2/last-actor-task-runs-default-dataset) * [Key-value store](/api/v2/last-actor-task-runs-default-key-value-store) * [Request queue](/api/v2/last-actor-task-runs-default-request-queue) * [Log](/api/v2/last-actor-task-runs-log) via GET /v2/actor-tasks/{actorTaskId}/runs/last

read
apify_get_v2_actor_tasks_by_actortaskid_runs_last_datasetREAD

Returns the default dataset associated with the last Actor task run. This endpoint is a shortcut for getting the last task run's `defaultDatasetId` and then using the [Get dataset](/api/v2/dataset-get) endpoint. via GET /v2/actor-tasks/{actorTaskId}/runs/last/dataset

read
apify_get_v2_actor_tasks_by_actortaskid_runs_last_dataset_itemsREAD

Returns data stored in the default dataset of the last Actor task run in the desired format. This endpoint is a shortcut that resolves the last task run's `defaultDatasetId` and proxies to the [Get dataset items](/api/v2/dataset-items-get) endpoint. via GET /v2/actor-tasks/{actorTaskId}/runs/last/dataset/items

read
apify_get_v2_actor_tasks_by_actortaskid_runs_last_dataset_statisticsREAD

Returns statistics for the last Actor task run's default dataset. This endpoint is a shortcut that resolves the last task run's `defaultDatasetId` and proxies to the [Get dataset statistics](/api/v2/dataset-statistics-get) endpoint. via GET /v2/actor-tasks/{actorTaskId}/runs/last/dataset/statistics

read
apify_get_v2_actor_tasks_by_actortaskid_runs_last_key_value_storeREAD

Gets an object that contains all the details about the default key-value store of the last Actor task run. This endpoint is a shortcut for getting the last task run's `defaultKeyValueStoreId` and then using the [Get store](/api/v2/key-value-store-get) endpoint. via GET /v2/actor-tasks/{actorTaskId}/runs/last/key-value-store

read
apify_get_v2_actor_tasks_by_actortaskid_runs_last_key_value_store_keysREAD

Returns a list of keys for the default key-value store of the last Actor task run. This endpoint is a shortcut for getting the last task run's `defaultKeyValueStoreId` and then using the [Get list of keys](/api/v2/key-value-store-keys-get) endpoint. via GET /v2/actor-tasks/{actorTaskId}/runs/last/key-value-store/keys

read
apify_get_v2_actor_tasks_by_actortaskid_runs_last_key_value_store_records_by_recordkeyREAD

Gets a value stored under a specific key in the default key-value store of the last Actor task run. This endpoint is a shortcut for getting the last task run's `defaultKeyValueStoreId` and then using the [Get record](/api/v2/key-value-store-record-get) endpoint. via GET /v2/actor-tasks/{actorTaskId}/runs/last/key-value-store/records/{recordKey}

read
apify_get_v2_actor_tasks_by_actortaskid_runs_last_logREAD

Retrieves last Actor task run's logs. This endpoint is a shortcut for getting last Actor task run's log. Same as [Get log](/api/v2/log-get) endpoint. via GET /v2/actor-tasks/{actorTaskId}/runs/last/log

read
apify_get_v2_actor_tasks_by_actortaskid_runs_last_request_queueREAD

Returns the default request queue associated with the last Actor task run. This endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the [Get request queue](/api/v2/request-queue-get) endpoint. via GET /v2/actor-tasks/{actorTaskId}/runs/last/request-queue

read
apify_get_v2_actor_tasks_by_actortaskid_runs_last_request_queue_headREAD

Returns the given number of first requests from the default request queue of the last Actor task run. This endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the [Get head](/api/v2/request-queue-head-get) endpoint. via GET /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/head

read
apify_get_v2_actor_tasks_by_actortaskid_runs_last_request_queue_requestsREAD

Returns a list of requests from the default request queue of the last Actor task run. This endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the [List requests](/api/v2/request-queue-requests-get) endpoint. via GET /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests

read
apify_get_v2_actor_tasks_by_actortaskid_runs_last_request_queue_requests_by_requestidREAD

Returns a request from the default request queue of the last Actor task run. This endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the [Get request](/api/v2/request-queue-request-get) endpoint. via GET /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/{requestId}

read
apify_get_v2_actor_tasks_by_actortaskid_webhooksREAD

Gets the list of webhooks of a specific Actor task. The response is a JSON with the list of objects, where each object contains basic information about a single webhook. The endpoint supports pagination using the `limit` and `offset` parameters and it will not return more than 1000 records. By default, the records are sorted by the `createdAt` field in ascending order, to sort the records in descending order, use the `desc=1` parameter. via GET /v2/actor-tasks/{actorTaskId}/webhooks

read
apify_get_v2_actorsREAD

Gets the list of all Actors that the user created or used. The response is a list of objects, where each object contains a basic information about a single Actor. To only get Actors created by the user, add the `my=1` query parameter. The endpoint supports pagination using the `limit` and `offset` parameters and it will not return more than 1000 records. By default, the records are sorted by the `createdAt` field in ascending order, therefore you can use pagination to incrementally fetch all Actors while new ones are still being created. To sort the records in descending order, use the `desc=1` parameter. You can also sort by your last run by using the `sortBy=stats.lastRunStartedAt` query parameter. In this case, descending order means the most recently run Actor appears first. via GET /v2/actors

read
apify_get_v2_actors_by_actoridREAD

Gets an object that contains all the details about the Actor with the specified ID. via GET /v2/actors/{actorId}

read
apify_get_v2_actors_by_actorid_buildsREAD

Gets the list of builds of a specific Actor. The response is a JSON with the list of objects, where each object contains basic information about a single build. The endpoint supports pagination using the `limit` and `offset` parameters and it will not return more than 1000 records. By default, the records are sorted by the `startedAt` field in ascending order, therefore you can use pagination to incrementally fetch all builds while new ones are still being started. To sort the records in descending order, use the `desc=1` parameter. via GET /v2/actors/{actorId}/builds

read
apify_get_v2_actors_by_actorid_builds_by_buildidREAD

By passing the optional `waitForFinish` parameter the API endpoint will synchronously wait for the build to finish. This is useful to avoid periodic polling when waiting for an Actor build to finish. This endpoint does not require the authentication token. Instead, calls are authenticated using a hard-to-guess ID of the build. However, if you access the endpoint without the token, certain attributes, such as `usageUsd` and `usageTotalUsd`, will be hidden. Apify marks this operation deprecated. via GET /v2/actors/{actorId}/builds/{buildId}

read
apify_get_v2_actors_by_actorid_builds_by_buildid_openapi_jsonREAD

Get the OpenAPI definition for Actor builds. Two similar endpoints are available: - [First endpoint](/api/v2/actor-openapi-json-get): Requires both `actorId` and `buildId`. Use `default` as the `buildId` to get the OpenAPI schema for the default Actor build. - [Second endpoint](/api/v2/actor-build-openapi-json-get): Requires only `buildId`. Get the OpenAPI definition for a specific Actor build. To fetch the default Actor build, simply pass `default` as the `buildId`. Authentication is based on the build's unique ID. No authentication token is required. :::note You can also use the [`/api/v2/actor-build-openapi-json-get`](/api/v2/actor-build-openapi-json-get) endpoint to get the OpenAPI definition for a build. ::: via GET /v2/actors/{actorId}/builds/{buildId}/openapi.json

read
apify_get_v2_actors_by_actorid_builds_defaultREAD

Get the default build for an Actor. Use the optional `waitForFinish` parameter to synchronously wait for the build to finish. This avoids the need for periodic polling when waiting for the build to complete. This endpoint does not require an authentication token. Instead, calls are authenticated using the Actor's unique ID. However, if you access the endpoint without a token, certain attributes (e.g., `usageUsd` and `usageTotalUsd`) will be hidden. via GET /v2/actors/{actorId}/builds/default

read
apify_get_v2_actors_by_actorid_run_syncREAD

Runs a specific Actor and returns a key-value store record. The response contains the record stored under the `OUTPUT` key in the run's default key-value store. This is a legacy approach that has been replaced by the Actor [output object](https://docs.apify.com/platform/actors/development/actor-definition/output-schema#output-object-definition); the record may not exist, in which case the response contains no data. Use the `outputRecordKey` query parameter to return a different record. The run must finish in 300<!-- MAX_ACTOR_JOB_SYNC_WAIT_SECS --> seconds otherwise the API endpoint returns a timeout error. The Actor is not passed any input. Beware that it might be impossible to maintain an idle HTTP connection for a long period of time, due to client timeout or network conditions. Make sure your HTTP client is configured to have a long enough connection timeout. If the connection breaks, you will not receive any information about the run and its status. To run the Actor asynchronously, use the [Run Actor](#/reference/actors/run-collection/run-actor) API endpoint instead. via GET /v2/actors/{actorId}/run-sync

read
apify_get_v2_actors_by_actorid_run_sync_get_dataset_itemsREAD

Runs a specific Actor and returns its dataset items. The run must finish in 300<!-- MAX_ACTOR_JOB_SYNC_WAIT_SECS --> seconds otherwise the API endpoint returns a timeout error. The Actor is not passed any input. It allows to send all possible options in parameters from [Get Dataset Items](#/reference/datasets/item-collection/get-items) API endpoint. Beware that it might be impossible to maintain an idle HTTP connection for a long period of time, due to client timeout or network conditions. Make sure your HTTP client is configured to have a long enough connection timeout. If the connection breaks, you will not receive any information about the run and its status. To run the Actor asynchronously, use the [Run Actor](#/reference/actors/run-collection/run-actor) API endpoint instead. via GET /v2/actors/{actorId}/run-sync-get-dataset-items

read
apify_get_v2_actors_by_actorid_runsREAD

Gets the list of runs of a specific Actor. The response is a list of objects, where each object contains basic information about a single Actor run. The endpoint supports pagination using the `limit` and `offset` parameters and it will not return more than 1000 array elements. By default, the records are sorted by the `startedAt` field in ascending order, therefore you can use pagination to incrementally fetch all records while new ones are still being created. To sort the records in descending order, use `desc=1` parameter. You can also filter runs by status ([available statuses](https://docs.apify.com/platform/actors/running/runs-and-builds#lifecycle)). via GET /v2/actors/{actorId}/runs

read
apify_get_v2_actors_by_actorid_runs_by_runidREAD

**[DEPRECATED]** API endpoints related to run of the Actor were moved under new namespace [`actor-runs`](#/reference/actor-runs). Gets an object that contains all the details about a specific run of an Actor. By passing the optional `waitForFinish` parameter the API endpoint will synchronously wait for the run to finish. This is useful to avoid periodic polling when waiting for Actor run to complete. This endpoint does not require the authentication token. Instead, calls are authenticated using a hard-to-guess ID of the run. However, if you access the endpoint without the token, certain attributes, such as `usageUsd` and `usageTotalUsd`, will be hidden. Apify marks this operation deprecated. via GET /v2/actors/{actorId}/runs/{runId}

read
apify_get_v2_actors_by_actorid_runs_lastREAD

This is not a single endpoint, but an entire group of endpoints that lets you to retrieve and manage the last run of given Actor or any of its default storages. All the endpoints require an authentication token. The base path represents the last Actor run object is: `/v2/actors/{actorId}/runs/last{?token,status,origin}` Using the `status` query parameter you can ensure to only get a run with a certain status (e.g. `status=SUCCEEDED`). Similarly, the `origin` query parameter filters runs by the means by which they were started (e.g. `origin=API`). The output of this endpoint and other query parameters are the same as in the [Run object](#/reference/actors/run-object) endpoint. ##### Convenience endpoints for last Actor run * [Dataset](/api/v2/last-actor-runs-default-dataset) * [Key-value store](/api/v2/last-actor-runs-default-key-value-store) * [Request queue](/api/v2/last-actor-runs-default-request-queue) * [Log](/api/v2/last-actor-runs-log) via GET /v2/actors/{actorId}/runs/last

read
apify_get_v2_actors_by_actorid_runs_last_datasetREAD

Returns the default dataset associated with the last Actor run. This endpoint is a shortcut for getting the last run's `defaultDatasetId` and then using the [Get dataset](/api/v2/dataset-get) endpoint. via GET /v2/actors/{actorId}/runs/last/dataset

read
apify_get_v2_actors_by_actorid_runs_last_dataset_itemsREAD

Returns data stored in the default dataset of the last Actor run in the desired format. This endpoint is a shortcut that resolves the last run's `defaultDatasetId` and proxies to the [Get dataset items](/api/v2/dataset-items-get) endpoint. via GET /v2/actors/{actorId}/runs/last/dataset/items

read
apify_get_v2_actors_by_actorid_runs_last_dataset_statisticsREAD

Returns statistics for the last Actor run's default dataset. This endpoint is a shortcut that resolves the last run's `defaultDatasetId` and proxies to the [Get dataset statistics](/api/v2/dataset-statistics-get) endpoint. via GET /v2/actors/{actorId}/runs/last/dataset/statistics

read
apify_get_v2_actors_by_actorid_runs_last_key_value_storeREAD

Gets an object that contains all the details about the default key-value store associated with the last Actor run. This endpoint is a shortcut for getting the run's `defaultKeyValueStoreId` and then using the [Get store](/api/v2/key-value-store-get) endpoint. via GET /v2/actors/{actorId}/runs/last/key-value-store

read
apify_get_v2_actors_by_actorid_runs_last_key_value_store_keysREAD

Returns a list of keys for the default key-value store of the last Actor run. This endpoint is a shortcut for getting the last run's `defaultKeyValueStoreId` and then using the [Get list of keys](/api/v2/key-value-store-keys-get) endpoint. via GET /v2/actors/{actorId}/runs/last/key-value-store/keys

read
apify_get_v2_actors_by_actorid_runs_last_key_value_store_records_by_recordkeyREAD

Gets a value stored under a specific key in the default key-value store of the last Actor run. This endpoint is a shortcut for getting the last run's `defaultKeyValueStoreId` and then using the [Get record](/api/v2/key-value-store-record-get) endpoint. via GET /v2/actors/{actorId}/runs/last/key-value-store/records/{recordKey}

read
apify_get_v2_actors_by_actorid_runs_last_logREAD

Retrieves last Actor run's logs. This endpoint is a shortcut for getting last Actor run's log. Same as [Get log](/api/v2/log-get) endpoint. via GET /v2/actors/{actorId}/runs/last/log

read
apify_get_v2_actors_by_actorid_runs_last_request_queueREAD

Returns the default request queue associated with the last Actor run. This endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the [Get request queue](/api/v2/request-queue-get) endpoint. via GET /v2/actors/{actorId}/runs/last/request-queue

read
apify_get_v2_actors_by_actorid_runs_last_request_queue_headREAD

Returns the given number of first requests from the default request queue of the last Actor run. This endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the [Get head](/api/v2/request-queue-head-get) endpoint. via GET /v2/actors/{actorId}/runs/last/request-queue/head

read
apify_get_v2_actors_by_actorid_runs_last_request_queue_requestsREAD

Returns a list of requests from the default request queue of the last Actor run. This endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the [List requests](/api/v2/request-queue-requests-get) endpoint. via GET /v2/actors/{actorId}/runs/last/request-queue/requests

read
apify_get_v2_actors_by_actorid_runs_last_request_queue_requests_by_requestidREAD

Returns a request from the default request queue of the last Actor run. This endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the [Get request](/api/v2/request-queue-request-get) endpoint. via GET /v2/actors/{actorId}/runs/last/request-queue/requests/{requestId}

read
apify_get_v2_actors_by_actorid_versionsREAD

Gets the list of versions of a specific Actor. The response is a JSON object with the list of [Version objects](#/reference/actors/version-object), where each contains basic information about a single version. via GET /v2/actors/{actorId}/versions

read
apify_get_v2_actors_by_actorid_versions_by_versionnumberREAD

Gets a [Version object](#/reference/actors/version-object) that contains all the details about a specific version of an Actor. via GET /v2/actors/{actorId}/versions/{versionNumber}

read
apify_get_v2_actors_by_actorid_versions_by_versionnumber_env_varsREAD

Gets the list of environment variables for a specific version of an Actor. The response is a JSON object with the list of [EnvVar objects](#/reference/actors/environment-variable-object), where each contains basic information about a single environment variable. via GET /v2/actors/{actorId}/versions/{versionNumber}/env-vars

read
apify_get_v2_actors_by_actorid_versions_by_versionnumber_env_vars_by_envvarnameREAD

Gets a [EnvVar object](#/reference/actors/environment-variable-object) that contains all the details about a specific environment variable of an Actor. If `isSecret` is set to `true`, then `value` will never be returned. via GET /v2/actors/{actorId}/versions/{versionNumber}/env-vars/{envVarName}

read
apify_get_v2_actors_by_actorid_webhooksREAD

Gets the list of webhooks of a specific Actor. The response is a JSON with the list of objects, where each object contains basic information about a single webhook. The endpoint supports pagination using the `limit` and `offset` parameters and it will not return more than 1000 records. By default, the records are sorted by the `createdAt` field in ascending order, to sort the records in descending order, use the `desc=1` parameter. via GET /v2/actors/{actorId}/webhooks

read
apify_get_v2_browser_infoREAD

Returns information about the HTTP request, including the client IP address, country code, request headers, and body length. This endpoint is designed for proxy testing. It accepts any HTTP method so you can verify that your proxy correctly forwards requests of any type and that client IP addresses are anonymized. via GET /v2/browser-info

read
apify_get_v2_datasetsREAD

Lists all of a user's datasets. The response is a JSON array of objects, where each object contains basic information about one dataset. By default, the objects are sorted by the `createdAt` field in ascending order, therefore you can use pagination to incrementally fetch all datasets while new ones are still being created. To sort them in descending order, use `desc=1` parameter. The endpoint supports pagination using `limit` and `offset` parameters and it will not return more than 1000 array elements. via GET /v2/datasets

read
apify_get_v2_datasets_by_datasetidREAD

Returns dataset object for given dataset ID. This does not return dataset items, only information about the storage itself. To retrieve dataset items, use the [List dataset items](/api/v2/dataset-items-get) endpoint. :::note Keep in mind that attributes `itemCount` and `cleanItemCount` are not propagated right away after data are pushed into a dataset. ::: There is a short period (up to 5 seconds) during which these counters may not match with exact counts in dataset items. via GET /v2/datasets/{datasetId}

read
apify_get_v2_datasets_by_datasetid_itemsREAD

Returns data stored in the dataset in a desired format. ### Response format The format of the response depends on <code>format</code> query parameter. The <code>format</code> parameter can have one of the following values: <code>json</code>, <code>jsonl</code>, <code>xml</code>, <code>html</code>, <code>csv</code>, <code>xlsx</code> and <code>rss</code>. The following table describes how each format is treated. <table> <tr> <th>Format</th> <th>Items</th> </tr> <tr> <td><code>json</code></td> <td rowspan="3">The response is a JSON, JSONL or XML array of raw item objects.</td> </tr> <tr> <td><code>jsonl</code></td> </tr> <tr> <td><code>xml</code></td> </tr> <tr> <td><code>html</code></td> <td rowspan="3">The response is a HTML, CSV or XLSX table, where columns correspond to the properties of the item and rows correspond to each dataset item.</td> </tr> <tr> <td><code>csv</code></td> </tr> <tr> <td><code>xlsx</code></td> </tr> <tr> <td><code>rss</code></td> <td colspan="2">The response is a RSS file. Each item is displayed as child elements of one <code>&lt;item&gt;</code>.</td> </tr> </table> Note that CSV, XLSX and HTML tables are limited to 2000 columns and the column names cannot be longer than 200 characters. JSON, XML and RSS formats do not have such restrictions. ### Hidden fields The top-level fields starting with the `#` character are considered hidden. These are useful to store debugging information and can be omitted from the output by providing the `skipHidden=1` or `clean=1` query parameters. For example, if you store the following object to the dataset: ``` { productName: "iPhone Xs", description: "Welcome to the big screens." #debug: { url: "https://www.apple.com/lae/iphone-xs/", crawledAt: "2019-01-21T16:06:03.683Z" } } ``` The `#debug` field will be considered as hidden and can be omitted from the results. This is useful to provide nice cleaned data to end users, while keeping debugging info available if needed. The Dataset object returned by the API contains the number of such clean items in the`dataset.cleanItemCount` property. ### XML format extension When exporting results to XML or RSS formats, the names of object properties become XML tags and the corresponding values become tag's children. For example, the following JavaScript object: ``` { name: "Paul Newman", address: [ { type: "home", street: "21st", city: "Chicago" }, { type: "office", street: null, city: null } ] } ``` will be transformed to the following XML snippet: ``` <name>Paul Newman</name> <address> <type>home</type> <street>21st</street> <city>Chicago</city> </address> <address> <type>office</type> <street/> <city/> </address> ``` If the JavaScript object contains a property named `@` then its sub-properties are exported as attributes of the parent XML element. If the parent XML element does not have any child elements then its value is taken from a JavaScript object property named `#`. For example, the following JavaScript object: ``` { "address": [{ "@": { "type": "home" }, "street": "21st", "city": "Chicago" }, { "@": { "type": "office" }, "#": 'unknown' }] } ``` will be transformed to the following XML snippet: ``` <address type="home"> <street>21st</street> <city>Chicago</city> </address> <address type="office">unknown</address> ``` This feature is also useful to customize your RSS feeds generated for various websites. By default the whole result is wrapped in a `<items>` element and each page object is wrapped in a `<item>` element. You can change this using <code>xmlRoot</code> and <code>xmlRow</code> url parameters. ### Pagination The generated response supports [pagination](#/introduction/pagination). The pagination is always performed with the granularity of a single item, regardless whether <code>unwind</code> parameter was provided. By default, the **Items** in the response are sorted by the time they were stored to the database, therefore you can use pagination to incrementally fetch the items as they are being added. No limit exists to how many items can be returned in one response. If you specify `desc=1` query parameter, the results are returned in the reverse order than they were stored (i.e. from newest to oldest items). Note that only the order of **Items** is reversed, but not the order of the `unwind` array elements. via GET /v2/datasets/{datasetId}/items

read
apify_get_v2_datasets_by_datasetid_statisticsREAD

Returns statistics for given dataset. Provides only [field statistics](https://docs.apify.com/platform/actors/development/actor-definition/dataset-schema/validation#dataset-field-statistics). via GET /v2/datasets/{datasetId}/statistics

read
apify_get_v2_key_value_storesREAD

Gets the list of key-value stores owned by the user. The response is a list of objects, where each objects contains a basic information about a single key-value store. The endpoint supports pagination using the `limit` and `offset` parameters and it will not return more than 1000 array elements. By default, the records are sorted by the `createdAt` field in ascending order, therefore you can use pagination to incrementally fetch all key-value stores while new ones are still being created. To sort the records in descending order, use the `desc=1` parameter. via GET /v2/key-value-stores

read
apify_get_v2_key_value_stores_by_storeidREAD

Gets an object that contains all the details about a specific key-value store. via GET /v2/key-value-stores/{storeId}

read
apify_get_v2_key_value_stores_by_storeid_keysREAD

Returns a list of objects describing keys of a given key-value store, as well as some information about the values (e.g. size). This endpoint is paginated using `exclusiveStartKey` and `limit` parameters - see [Pagination](/api/v2#using-key) for more details. via GET /v2/key-value-stores/{storeId}/keys

read
apify_get_v2_key_value_stores_by_storeid_records_by_recordkeyREAD

Gets a value stored in the key-value store under a specific key. The response body has the same `Content-Encoding` header as it was set in [Put record](#tag/Key-value-storesRecord/operation/keyValueStore_record_put). If the request does not define the `Accept-Encoding` HTTP header with the right encoding, the record will be decompressed. Most HTTP clients support decompression by default. After using the HTTP client with decompression support, the `Accept-Encoding` header is set by the client and body is decompressed automatically. Please note that for security reasons, Apify API can perform small modifications to HTML documents before they are served via this endpoint. To fetch the raw HTML content without any modifications, use the `attachment` query parameter. via GET /v2/key-value-stores/{storeId}/records/{recordKey}

read
apify_get_v2_logs_by_buildorrunidREAD

Retrieves logs for a specific Actor build or run. via GET /v2/logs/{buildOrRunId}

read
apify_get_v2_request_queuesREAD

Lists all of a user's request queues. The response is a JSON array of objects, where each object contains basic information about one queue. By default, the objects are sorted by the `createdAt` field in ascending order, therefore you can use pagination to incrementally fetch all queues while new ones are still being created. To sort them in descending order, use `desc=1` parameter. The endpoint supports pagination using `limit` and `offset` parameters and it will not return more than 1000 array elements. via GET /v2/request-queues

read
apify_get_v2_request_queues_by_queueidREAD

Returns queue object for given queue ID. via GET /v2/request-queues/{queueId}

read
apify_get_v2_request_queues_by_queueid_headREAD

Returns given number of first requests from the queue. The response contains the `hadMultipleClients` boolean field which indicates that the queue was accessed by more than one client (with unique or empty `clientKey`). This field is used by [Apify SDK](https://sdk.apify.com) to determine whether the local cache is consistent with the request queue, and thus optimize performance of certain operations. via GET /v2/request-queues/{queueId}/head

read
apify_get_v2_request_queues_by_queueid_requestsREAD

Returns a list of requests. This endpoint is paginated using cursor (pagination by `exclusiveStartId` is deprecated) and limit parameters. via GET /v2/request-queues/{queueId}/requests

read
apify_get_v2_request_queues_by_queueid_requests_by_requestidREAD

Returns request from queue. via GET /v2/request-queues/{queueId}/requests/{requestId}

read
apify_get_v2_schedulesREAD

Gets the list of schedules that the user created. The endpoint supports pagination using the `limit` and `offset` parameters. It will not return more than 1000 records. By default, the records are sorted by the `createdAt` field in ascending order. To sort the records in descending order, use the `desc=1` parameter. via GET /v2/schedules

read
apify_get_v2_schedules_by_scheduleidREAD

Gets the schedule object with all details. via GET /v2/schedules/{scheduleId}

read
apify_get_v2_schedules_by_scheduleid_logREAD

Gets the schedule log as a JSON array containing information about up to a 1000 invocations of the schedule. via GET /v2/schedules/{scheduleId}/log

read
apify_get_v2_storeREAD

Gets the list of public Actors in Apify Store. You can use `search` parameter to search Actors by string in title, name, description, username and readme. If you need detailed info about a specific Actor, use the [Get Actor](#/reference/actors/actor-object/get-actor) endpoint. The endpoint supports pagination using the `limit` and `offset` parameters. It will not return more than 1,000 records. via GET /v2/store

read
apify_get_v2_users_by_useridREAD

Returns public information about a specific user account, similar to what can be seen on public profile pages (e.g. https://apify.com/apify). This operation requires no authentication token. via GET /v2/users/{userId}

read
apify_get_v2_users_meREAD

Returns information about the current user account, including both public and private information. The user account is identified by the provided authentication token. The fields `plan`, `email` and `profile` are omitted when this endpoint is accessed from Actor run. via GET /v2/users/me

read
apify_get_v2_users_me_limitsREAD

Returns a complete summary of your account's limits. It is the same information you will see on your account's [Limits page](https://console.apify.com/billing#/limits). The returned data includes the current usage cycle, a summary of your limits, and your current usage. via GET /v2/users/me/limits

read
apify_get_v2_users_me_usage_monthlyREAD

Returns a complete summary of your usage for the current monthly usage cycle, an overall sum, as well as a daily breakdown of usage. It is the same information you will see on your account's [Billing > Historical usage page](https://console.apify.com/billing/historical-usage). The information includes your use of Actors, compute, data transfer, and storage. Using the `date` parameter will show your usage in the monthly usage cycle that includes that date. via GET /v2/users/me/usage/monthly

read
apify_get_v2_webhook_dispatchesREAD

Gets the list of webhook dispatches that the user have. The endpoint supports pagination using the `limit` and `offset` parameters and it will not return more than 1000 records. By default, the records are sorted by the `createdAt` field in ascending order. To sort the records in descending order, use the `desc=1` parameter. via GET /v2/webhook-dispatches

read
apify_get_v2_webhook_dispatches_by_dispatchidREAD

Gets webhook dispatch object with all details. via GET /v2/webhook-dispatches/{dispatchId}

read
apify_get_v2_webhooksREAD

Gets the list of webhooks that the user created. The endpoint supports pagination using the `limit` and `offset` parameters and it will not return more than 1000 records. By default, the records are sorted by the `createdAt` field in ascending order. To sort the records in descending order, use the `desc=1` parameter. via GET /v2/webhooks

read
apify_get_v2_webhooks_by_webhookidREAD

Gets webhook object with all details. via GET /v2/webhooks/{webhookId}

read
apify_get_v2_webhooks_by_webhookid_dispatchesREAD

Gets a given webhook's list of dispatches. via GET /v2/webhooks/{webhookId}/dispatches

read
apify_head_v2_datasets_by_datasetid_itemsREAD

Returns only the HTTP headers for the dataset items endpoint, without the response body. This is useful to check pagination metadata or verify access without downloading the full dataset. via HEAD /v2/datasets/{datasetId}/items

read
apify_head_v2_key_value_stores_by_storeid_records_by_recordkeyREAD

Check if a value is stored in the key-value store under a specific key. via HEAD /v2/key-value-stores/{storeId}/records/{recordKey}

read
apify_post_v2_actor_builds_by_buildid_abortWRITE

Aborts an Actor build and returns an object that contains all the details about the build. Only builds that are starting or running are aborted. For builds with status `FINISHED`, `FAILED`, `ABORTING` and `TIMED-OUT` this call does nothing. via POST /v2/actor-builds/{buildId}/abort

write
apify_post_v2_actor_runs_by_runid_abortWRITE

Aborts an Actor run and returns an object that contains all the details about the run. Only runs that are starting or running are aborted. For runs with status `FINISHED`, `FAILED`, `ABORTING` and `TIMED-OUT` this call does nothing. via POST /v2/actor-runs/{runId}/abort

write
apify_post_v2_actor_runs_by_runid_chargeWRITE

Charge for events in the run of your [pay per event Actor](https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event). The event you are charging for must be one of the configured events in your Actor. If the Actor is not set up as pay per event, or if the event is not configured, the endpoint will return an error. The endpoint must be called from the Actor run itself, with the same API token that the run was started with. :::info Learn more about pay-per-event pricing For more details about pay-per-event (PPE) pricing, refer to our [PPE documentation](/actors/publishing/monetize/pay-per-event). ::: via POST /v2/actor-runs/{runId}/charge

write
apify_post_v2_actor_runs_by_runid_dataset_itemsWRITE

Appends an item or an array of items to the end of the Actor run's default dataset. This endpoint is a shortcut that resolves the run's `defaultDatasetId` and proxies to the [Store items](/api/v2/dataset-items-post) endpoint. To save bandwidth and speed up your upload, you can send the request payload compressed and set the `Content-Encoding` header accordingly. Below is a list of supported `Content-Encoding` types. * Brotli: `Content-Encoding: br` * Gzip: `Content-Encoding: gzip` * Deflate: `Content-Encoding: deflate` via POST /v2/actor-runs/{runId}/dataset/items

write
apify_post_v2_actor_runs_by_runid_key_value_store_records_by_recordkeyWRITE

Stores a value under a specific key in the default key-value store of the Actor run. This endpoint is a shortcut for getting the run's `defaultKeyValueStoreId` and then using the [Store record](/api/v2/key-value-store-record-post) endpoint. via POST /v2/actor-runs/{runId}/key-value-store/records/{recordKey}

write
apify_post_v2_actor_runs_by_runid_metamorphWRITE

Transforms an Actor run into a run of another Actor with a new input. This is useful if you want to use another Actor to finish the work of your current Actor run, without the need to create a completely new run and waiting for its finish. For the users of your Actors, the metamorph operation is transparent, they will just see your Actor got the work done. Internally, the system stops the Docker container corresponding to the Actor run and starts a new container using a different Docker image. All the default storages are preserved and the new input is stored under the `INPUT-METAMORPH-1` key in the same default key-value store. For more information, see the [Actor docs](https://docs.apify.com/platform/actors/development/programming-interface/metamorph). via POST /v2/actor-runs/{runId}/metamorph

write
apify_post_v2_actor_runs_by_runid_rebootWRITE

Reboots an Actor run and returns an object that contains all the details about the rebooted run. Only runs that are running, i.e. runs with status `RUNNING` can be rebooted. The run's container will be restarted, so any data not persisted in the key-value store, dataset, or request queue will be lost. via POST /v2/actor-runs/{runId}/reboot

write
apify_post_v2_actor_runs_by_runid_request_queue_head_lockWRITE

Returns the given number of first requests from the default request queue of the Actor run and locks them for the given time. This endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the [Get head and lock](/api/v2/request-queue-head-lock-post) endpoint. via POST /v2/actor-runs/{runId}/request-queue/head/lock

write
apify_post_v2_actor_runs_by_runid_request_queue_requestsWRITE

Adds a request to the default request queue of the Actor run. This endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the [Add request](/api/v2/request-queue-requests-post) endpoint. via POST /v2/actor-runs/{runId}/request-queue/requests

write
apify_post_v2_actor_runs_by_runid_request_queue_requests_batchWRITE

Adds requests to the default request queue of the Actor run in batch. This endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the [Add requests](/api/v2/request-queue-requests-batch-post) endpoint. via POST /v2/actor-runs/{runId}/request-queue/requests/batch

write
apify_post_v2_actor_runs_by_runid_request_queue_requests_unlockWRITE

Unlocks requests in the default request queue of the Actor run that are currently locked by the client. This endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the [Unlock requests](/api/v2/request-queue-requests-unlock-post) endpoint. via POST /v2/actor-runs/{runId}/request-queue/requests/unlock

write
apify_post_v2_actor_runs_by_runid_resurrectWRITE

Resurrects a finished Actor run and returns an object that contains all the details about the resurrected run. Only finished runs, i.e. runs with status `FINISHED`, `FAILED`, `ABORTED` and `TIMED-OUT` can be resurrected. Run status will be updated to RUNNING and its container will be restarted with the same storages (the same behaviour as when the run gets migrated to the new server). For more information, see the [Actor docs](https://docs.apify.com/platform/actors/running/runs-and-builds#resurrection-of-finished-run). via POST /v2/actor-runs/{runId}/resurrect

write
apify_post_v2_actor_tasksWRITE

Create a new task with settings specified by the object passed as JSON in the POST payload. The response is the full task object as returned by the [Get task](/api/v2/actor-task-get) endpoint. The request needs to specify the `Content-Type: application/json` HTTP header! When providing your API authentication token, we recommend using the request's `Authorization` header, rather than the URL. via POST /v2/actor-tasks

write
apify_post_v2_actor_tasks_by_actortaskid_run_syncWRITE

Runs an Actor task and synchronously returns a key-value store record. The response contains the record stored under the `OUTPUT` key in the run's default key-value store. This is a legacy approach that has been replaced by the Actor [output object](https://docs.apify.com/platform/actors/development/actor-definition/output-schema#output-object-definition); Actors aren't required to store a record under this key, so the response may not contain any data. Use the `outputRecordKey` query parameter to return a different record. The run must finish in 300<!-- MAX_ACTOR_JOB_SYNC_WAIT_SECS --> seconds otherwise the HTTP request fails with a timeout error (this won't abort the run itself). Optionally, you can override the Actor input configuration by passing a JSON object as the POST payload and setting the `Content-Type: application/json` HTTP header. Note that if the object in the POST payload does not define a particular input property, the Actor run uses the default value defined by the task (or Actor's input schema if not defined by the task). Beware that it might be impossible to maintain an idle HTTP connection for an extended period, due to client timeout or network conditions. Make sure your HTTP client is configured to have a long enough connection timeout. If the connection breaks, you will not receive any information about the run and its status. Input fields from Actor task configuration can be overloaded with values passed as the POST payload. Just make sure to specify `Content-Type` header to be `application/json` and input to be an object. To run the task asynchronously, use the [Run task](#/reference/actor-tasks/run-collection/run-task) API endpoint instead. via POST /v2/actor-tasks/{actorTaskId}/run-sync

write
apify_post_v2_actor_tasks_by_actortaskid_run_sync_get_dataset_itemsWRITE

Runs an Actor task and synchronously returns its dataset items. The run must finish in 300<!-- MAX_ACTOR_JOB_SYNC_WAIT_SECS --> seconds otherwise the HTTP request fails with a timeout error (this won't abort the run itself). Optionally, you can override the Actor input configuration by passing a JSON object as the POST payload and setting the `Content-Type: application/json` HTTP header. Note that if the object in the POST payload does not define a particular input property, the Actor run uses the default value defined by the task (or the Actor's input schema if not defined by the task). You can send all the same options in parameters as the [Get Dataset Items](#/reference/datasets/item-collection/get-items) API endpoint. Beware that it might be impossible to maintain an idle HTTP connection for an extended period, due to client timeout or network conditions. Make sure your HTTP client is configured to have a long enough connection timeout. If the connection breaks, you will not receive any information about the run and its status. Input fields from Actor task configuration can be overloaded with values passed as the POST payload. Just make sure to specify the `Content-Type` header as `application/json` and that the input is an object. To run the task asynchronously, use the [Run task](#/reference/actor-tasks/run-collection/run-task) API endpoint instead. via POST /v2/actor-tasks/{actorTaskId}/run-sync-get-dataset-items

write
apify_post_v2_actor_tasks_by_actortaskid_runsWRITE

Runs an Actor task and immediately returns without waiting for the run to finish. Optionally, you can override the Actor input configuration by passing a JSON object as the POST payload and setting the `Content-Type: application/json` HTTP header. Note that if the object in the POST payload does not define a particular input property, the Actor run uses the default value defined by the task (or Actor's input schema if not defined by the task). The response is the Actor Run object as returned by the [Get run](#/reference/actor-runs/run-object-and-its-storages/get-run) endpoint. If you want to wait for the run to finish and receive the actual output of the Actor run as the response, use one of the [Run task synchronously](#/reference/actor-tasks/run-task-synchronously) API endpoints instead. To fetch the Actor run results that are typically stored in the default dataset, you'll need to pass the ID received in the `defaultDatasetId` field received in the response JSON to the [Get dataset items](#/reference/datasets/item-collection/get-items) API endpoint. via POST /v2/actor-tasks/{actorTaskId}/runs

write
apify_post_v2_actor_tasks_by_actortaskid_runs_last_abortWRITE

Aborts the last run of the specified Actor task and returns an object that contains all the details about the run. This endpoint is a shortcut for [Abort run](#/reference/actor-runs/abort-run/abort-run) on the Actor task's last run. Only runs that are starting or running are aborted. For runs with status `FINISHED`, `FAILED`, `ABORTING` and `TIMED-OUT` this call does nothing. via POST /v2/actor-tasks/{actorTaskId}/runs/last/abort

write
apify_post_v2_actor_tasks_by_actortaskid_runs_last_dataset_itemsWRITE

Appends an item or an array of items to the end of the last Actor task run's default dataset. This endpoint is a shortcut that resolves the last task run's `defaultDatasetId` and proxies to the [Store items](/api/v2/dataset-items-post) endpoint. To save bandwidth and speed up your upload, you can send the request payload compressed and set the `Content-Encoding` header accordingly. Below is a list of supported `Content-Encoding` types. * Brotli: `Content-Encoding: br` * Gzip: `Content-Encoding: gzip` * Deflate: `Content-Encoding: deflate` via POST /v2/actor-tasks/{actorTaskId}/runs/last/dataset/items

write
apify_post_v2_actor_tasks_by_actortaskid_runs_last_key_value_store_records_by_recordkeyWRITE

Stores a value under a specific key in the default key-value store of the last Actor task run. This endpoint is a shortcut for getting the last task run's `defaultKeyValueStoreId` and then using the [Store record](/api/v2/key-value-store-record-post) endpoint. via POST /v2/actor-tasks/{actorTaskId}/runs/last/key-value-store/records/{recordKey}

write
apify_post_v2_actor_tasks_by_actortaskid_runs_last_metamorphWRITE

Transforms the last run of the specified Actor task into a run of another Actor with a new input. This endpoint is a shortcut for [Metamorph run](#/reference/actor-runs/metamorph-run/metamorph-run) on the Actor task's last run. via POST /v2/actor-tasks/{actorTaskId}/runs/last/metamorph

write
apify_post_v2_actor_tasks_by_actortaskid_runs_last_rebootWRITE

Reboots the last run of the specified Actor task and returns an object that contains all the details about the rebooted run. This endpoint is a shortcut for [Reboot run](#/reference/actor-runs/reboot-run/reboot-run) on the Actor task's last run. Only runs with status `RUNNING` can be rebooted. The run's container will be restarted, so any data not persisted in the key-value store, dataset, or request queue will be lost. via POST /v2/actor-tasks/{actorTaskId}/runs/last/reboot

write
apify_post_v2_actor_tasks_by_actortaskid_runs_last_request_queue_head_lockWRITE

Returns the given number of first requests from the default request queue of the last Actor task run and locks them for the given time. This endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the [Get head and lock](/api/v2/request-queue-head-lock-post) endpoint. via POST /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/head/lock

write
apify_post_v2_actor_tasks_by_actortaskid_runs_last_request_queue_requestsWRITE

Adds a request to the default request queue of the last Actor task run. This endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the [Add request](/api/v2/request-queue-requests-post) endpoint. via POST /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests

write
apify_post_v2_actor_tasks_by_actortaskid_runs_last_request_queue_requests_batchWRITE

Adds requests to the default request queue of the last Actor task run in batch. This endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the [Add requests](/api/v2/request-queue-requests-batch-post) endpoint. via POST /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/batch

write
apify_post_v2_actor_tasks_by_actortaskid_runs_last_request_queue_requests_unlockWRITE

Unlocks requests in the default request queue of the last Actor task run that are currently locked by the client. This endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the [Unlock requests](/api/v2/request-queue-requests-unlock-post) endpoint. via POST /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/unlock

write
apify_post_v2_actorsWRITE

Creates an Actor with the settings specified in an `Actor` object passed as JSON in the POST payload. Returns the created `Actor` object. In the HTTP request, set the `Content-Type` header to `application/json`. ### Define a source code version An Actor must specify at least one version of the source code. For details, see [Actor versions](/api/v2/actors-actor-versions). ### Publish an Actor To make your Actor [public](https://docs.apify.com/platform/actors/publishing), use the [Update Actor](/api/v2/actor-put) endpoint. via POST /v2/actors

write
apify_post_v2_actors_by_actorid_buildsWRITE

Builds an Actor. The response is the build object as returned by the [Get build](#/reference/actors/build-object/get-build) endpoint. via POST /v2/actors/{actorId}/builds

write
apify_post_v2_actors_by_actorid_builds_by_buildid_abortWRITE

**[DEPRECATED]** API endpoints related to build of the Actor were moved under new namespace [`actor-builds`](#/reference/actor-builds). Aborts an Actor build and returns an object that contains all the details about the build. Only builds that are starting or running are aborted. For builds with status `FINISHED`, `FAILED`, `ABORTING` and `TIMED-OUT` this call does nothing. Apify marks this operation deprecated. via POST /v2/actors/{actorId}/builds/{buildId}/abort

write
apify_post_v2_actors_by_actorid_run_syncWRITE

Runs a specific Actor and returns a key-value store record. The POST payload including its `Content-Type` header is passed as `INPUT` to the Actor (usually <code>application/json</code>). The response contains the record stored under the `OUTPUT` key in the run's default key-value store. This is a legacy approach that has been replaced by the Actor [output object](https://docs.apify.com/platform/actors/development/actor-definition/output-schema#output-object-definition); Actors aren't required to store a record under this key, so the response may not contain any data. Use the `outputRecordKey` query parameter to return a different record. The Actor is started with the default options; you can override them using various URL query parameters. If the Actor run exceeds 300<!-- MAX_ACTOR_JOB_SYNC_WAIT_SECS --> seconds, the HTTP response will have status 408 (Request Timeout). Beware that it might be impossible to maintain an idle HTTP connection for a long period of time, due to client timeout or network conditions. Make sure your HTTP client is configured to have a long enough connection timeout. If the connection breaks, you will not receive any information about the run and its status. To run the Actor asynchronously, use the [Run Actor](#/reference/actors/run-collection/run-actor) API endpoint instead. via POST /v2/actors/{actorId}/run-sync

write
apify_post_v2_actors_by_actorid_run_sync_get_dataset_itemsWRITE

Runs a specific Actor and returns its dataset items. The POST payload including its `Content-Type` header is passed as `INPUT` to the Actor (usually `application/json`). The HTTP response contains the Actors dataset items, while the format of items depends on specifying dataset items' `format` parameter. You can send all the same options in parameters as the [Get Dataset Items](#/reference/datasets/item-collection/get-items) API endpoint. The Actor is started with the default options; you can override them using URL query parameters. If the Actor run exceeds 300<!-- MAX_ACTOR_JOB_SYNC_WAIT_SECS --> seconds, the HTTP response will return the 408 status code (Request Timeout). Beware that it might be impossible to maintain an idle HTTP connection for a long period of time, due to client timeout or network conditions. Make sure your HTTP client is configured to have a long enough connection timeout. If the connection breaks, you will not receive any information about the run and its status. To run the Actor asynchronously, use the [Run Actor](#/reference/actors/run-collection/run-actor) API endpoint instead. via POST /v2/actors/{actorId}/run-sync-get-dataset-items

write
apify_post_v2_actors_by_actorid_runsWRITE

Runs an Actor and immediately returns without waiting for the run to finish. The POST payload including its `Content-Type` header is passed as `INPUT` to the Actor (usually `application/json`). The Actor is started with the default options; you can override them using various URL query parameters. The response is the Run object as returned by the [Get run](#/reference/actor-runs/run-object-and-its-storages/get-run) API endpoint. If you want to wait for the run to finish and receive the actual output of the Actor as the response, please use one of the [Run Actor synchronously](#/reference/actors/run-actor-synchronously) API endpoints instead. To fetch the Actor run results that are typically stored in the default dataset, you'll need to pass the ID received in the `defaultDatasetId` field received in the response JSON to the [Get dataset items](#/reference/datasets/item-collection/get-items) API endpoint. via POST /v2/actors/{actorId}/runs

write
apify_post_v2_actors_by_actorid_runs_by_runid_abortWRITE

**[DEPRECATED]** API endpoints related to run of the Actor were moved under new namespace [`actor-runs`](#/reference/actor-runs). Aborts an Actor run and returns an object that contains all the details about the run. Only runs that are starting or running are aborted. For runs with status `FINISHED`, `FAILED`, `ABORTING` and `TIMED-OUT` this call does nothing. Apify marks this operation deprecated. via POST /v2/actors/{actorId}/runs/{runId}/abort

write
apify_post_v2_actors_by_actorid_runs_by_runid_metamorphWRITE

**[DEPRECATED]** API endpoints related to run of the Actor were moved under new namespace [`actor-runs`](#/reference/actor-runs). Transforms an Actor run into a run of another Actor with a new input. This is useful if you want to use another Actor to finish the work of your current Actor run, without the need to create a completely new run and waiting for its finish. For the users of your Actors, the metamorph operation is transparent, they will just see your Actor got the work done. There is a limit on how many times you can metamorph a single run. You can check the limit in [the Actor runtime limits](https://docs.apify.com/platform/limits#actor-limits). Internally, the system stops the Docker container corresponding to the Actor run and starts a new container using a different Docker image. All the default storages are preserved and the new input is stored under the `INPUT-METAMORPH-1` key in the same default key-value store. For more information, see the [Actor docs](https://docs.apify.com/platform/actors/development/programming-interface/metamorph). Apify marks this operation deprecated. via POST /v2/actors/{actorId}/runs/{runId}/metamorph

write
apify_post_v2_actors_by_actorid_runs_by_runid_resurrectWRITE

**[DEPRECATED]** API endpoints related to run of the Actor were moved under new namespace [`actor-runs`](#/reference/actor-runs).Resurrects a finished Actor run and returns an object that contains all the details about the resurrected run. Only finished runs, i.e. runs with status `FINISHED`, `FAILED`, `ABORTED` and `TIMED-OUT` can be resurrected. Run status will be updated to RUNNING and its container will be restarted with the same storages (the same behaviour as when the run gets migrated to the new server). For more information, see the [Actor docs](https://docs.apify.com/platform/actors/running/runs-and-builds#resurrection-of-finished-run). via POST /v2/actors/{actorId}/runs/{runId}/resurrect

write
apify_post_v2_actors_by_actorid_runs_last_abortWRITE

Aborts the last run of the specified Actor and returns an object that contains all the details about the run. This endpoint is a shortcut for [Abort run](#/reference/actor-runs/abort-run/abort-run) on the Actor's last run. Only runs that are starting or running are aborted. For runs with status `FINISHED`, `FAILED`, `ABORTING` and `TIMED-OUT` this call does nothing. via POST /v2/actors/{actorId}/runs/last/abort

write
apify_post_v2_actors_by_actorid_runs_last_dataset_itemsWRITE

Appends an item or an array of items to the end of the last Actor run's default dataset. This endpoint is a shortcut that resolves the last run's `defaultDatasetId` and proxies to the [Store items](/api/v2/dataset-items-post) endpoint. To save bandwidth and speed up your upload, you can send the request payload compressed and set the `Content-Encoding` header accordingly. Below is a list of supported `Content-Encoding` types. * Brotli: `Content-Encoding: br` * Gzip: `Content-Encoding: gzip` * Deflate: `Content-Encoding: deflate` via POST /v2/actors/{actorId}/runs/last/dataset/items

write
apify_post_v2_actors_by_actorid_runs_last_key_value_store_records_by_recordkeyWRITE

Stores a value under a specific key in the default key-value store of the last Actor run. This endpoint is a shortcut for getting the last run's `defaultKeyValueStoreId` and then using the [Store record](/api/v2/key-value-store-record-post) endpoint. via POST /v2/actors/{actorId}/runs/last/key-value-store/records/{recordKey}

write
apify_post_v2_actors_by_actorid_runs_last_metamorphWRITE

Transforms the last run of the specified Actor into a run of another Actor with a new input. This endpoint is a shortcut for [Metamorph run](#/reference/actor-runs/metamorph-run/metamorph-run) on the Actor's last run. via POST /v2/actors/{actorId}/runs/last/metamorph

write
apify_post_v2_actors_by_actorid_runs_last_rebootWRITE

Reboots the last run of the specified Actor and returns an object that contains all the details about the rebooted run. This endpoint is a shortcut for [Reboot run](#/reference/actor-runs/reboot-run/reboot-run) on the Actor's last run. Only runs with status `RUNNING` can be rebooted. The run's container will be restarted, so any data not persisted in the key-value store, dataset, or request queue will be lost. via POST /v2/actors/{actorId}/runs/last/reboot

write
apify_post_v2_actors_by_actorid_runs_last_request_queue_head_lockWRITE

Returns the given number of first requests from the default request queue of the last Actor run and locks them for the given time. This endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the [Get head and lock](/api/v2/request-queue-head-lock-post) endpoint. via POST /v2/actors/{actorId}/runs/last/request-queue/head/lock

write
apify_post_v2_actors_by_actorid_runs_last_request_queue_requestsWRITE

Adds a request to the default request queue of the last Actor run. This endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the [Add request](/api/v2/request-queue-requests-post) endpoint. via POST /v2/actors/{actorId}/runs/last/request-queue/requests

write
apify_post_v2_actors_by_actorid_runs_last_request_queue_requests_batchWRITE

Adds requests to the default request queue of the last Actor run in batch. This endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the [Add requests](/api/v2/request-queue-requests-batch-post) endpoint. via POST /v2/actors/{actorId}/runs/last/request-queue/requests/batch

write
apify_post_v2_actors_by_actorid_runs_last_request_queue_requests_unlockWRITE

Unlocks requests in the default request queue of the last Actor run that are currently locked by the client. This endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the [Unlock requests](/api/v2/request-queue-requests-unlock-post) endpoint. via POST /v2/actors/{actorId}/runs/last/request-queue/requests/unlock

write
apify_post_v2_actors_by_actorid_validate_inputWRITE

Validates the JSON payload against the Actor's [input schema](https://docs.apify.com/actors/development/actor-definition/input-schema) defined in the specified build. If the specified build has no input schema, any input is considered valid. via POST /v2/actors/{actorId}/validate-input

write
apify_post_v2_actors_by_actorid_versionsWRITE

Creates a version of an Actor using values specified in a [Version object](#/reference/actors/version-object) passed as JSON in the POST payload. The request must specify `versionNumber` and `sourceType` parameters (as strings) in the JSON payload and a `Content-Type: application/json` HTTP header. Each `sourceType` requires its own additional properties to be passed to the JSON payload object. These are outlined in the [Version object](#/reference/actors/version-object) table below and in more detail in the [Apify documentation](https://docs.apify.com/platform/actors/development/deployment/source-types). For example, if an Actor's source code is stored in a [GitHub repository](https://docs.apify.com/platform/actors/development/deployment/source-types#git-repository), you will set the `sourceType` to `GIT_REPO` and pass the repository's URL in the `gitRepoUrl` property. ``` { "versionNumber": "0.1", "sourceType": "GIT_REPO", "gitRepoUrl": "https://github.com/my-github-account/actor-repo" } ``` The response is the [Version object](#/reference/actors/version-object) as returned by the [Get version](#/reference/actors/version-object/get-version) endpoint. via POST /v2/actors/{actorId}/versions

write
apify_post_v2_actors_by_actorid_versions_by_versionnumberWRITE

Updates Actor version using values specified by a [Version object](#/reference/actors/version-object) passed as JSON in the POST payload. This endpoint is an alias for the [`PUT` update version](#tag/ActorsVersion-object/operation/act_version_put) method and behaves identically. via POST /v2/actors/{actorId}/versions/{versionNumber}

write
apify_post_v2_actors_by_actorid_versions_by_versionnumber_env_varsWRITE

Creates an environment variable of an Actor using values specified in a [EnvVar object](#/reference/actors/environment-variable-object) passed as JSON in the POST payload. The request must specify `name` and `value` parameters (as strings) in the JSON payload and a `Content-Type: application/json` HTTP header. ``` { "name": "ENV_VAR_NAME", "value": "my-env-var" } ``` The response is the [EnvVar object](#/reference/actors/environment-variable-object) as returned by the [Get environment variable](#/reference/actors/environment-variable-object/get-environment-variable) endpoint. via POST /v2/actors/{actorId}/versions/{versionNumber}/env-vars

write
apify_post_v2_actors_by_actorid_versions_by_versionnumber_env_vars_by_envvarnameWRITE

Updates Actor environment variable using values specified by a [EnvVar object](#/reference/actors/environment-variable-object) passed as JSON in the POST payload. This endpoint is an alias for the [`PUT` update environment variable](#tag/ActorsEnvironment-variable-object/operation/act_version_envVar_put) method and behaves identically. via POST /v2/actors/{actorId}/versions/{versionNumber}/env-vars/{envVarName}

write
apify_post_v2_browser_infoWRITE

Returns information about the HTTP request, including the client IP address, country code, request headers, and body length. This endpoint is designed for proxy testing. It accepts any HTTP method so you can verify that your proxy correctly forwards requests of any type and that client IP addresses are anonymized. via POST /v2/browser-info

write
apify_post_v2_datasetsWRITE

Creates a dataset and returns its object. Keep in mind that data stored under unnamed dataset follows [data retention period](https://docs.apify.com/platform/storage#data-retention). It creates a dataset with the given name if the parameter name is used. If a dataset with the given name already exists then returns its object. via POST /v2/datasets

write
apify_post_v2_datasets_by_datasetid_itemsWRITE

Appends an item or an array of items to the end of the dataset. The POST payload is a JSON object or a JSON array of objects to save into the dataset. If the data you attempt to store in the dataset is invalid (meaning any of the items received by the API fails the validation), the whole request is discarded and the API will return a response with status code 400. For more information about dataset schema validation, see [Dataset schema](https://docs.apify.com/platform/actors/development/actor-definition/dataset-schema/validation). **IMPORTANT:** The limit of request payload size for the dataset is 5 MB. If the array exceeds the size, you'll need to split it into a number of smaller arrays. To save bandwidth and speed up your upload, you can send the request payload compressed and set the `Content-Encoding` header accordingly. Below is a list of supported `Content-Encoding` types. * Brotli: `Content-Encoding: br` * Gzip: `Content-Encoding: gzip` * Deflate: `Content-Encoding: deflate` via POST /v2/datasets/{datasetId}/items

write
apify_post_v2_key_value_storesWRITE

Creates a key-value store and returns its object. The response is the same object as returned by the [Get store](#/reference/key-value-stores/store-object/get-store) endpoint. Keep in mind that data stored under unnamed store follows [data retention period](https://docs.apify.com/platform/storage#data-retention). It creates a store with the given name if the parameter name is used. If there is another store with the same name, the endpoint does not create a new one and returns the existing object instead. via POST /v2/key-value-stores

write
apify_post_v2_key_value_stores_by_storeid_records_by_recordkeyWRITE

Stores a value under a specific key to the key-value store. This endpoint is an alias for the [`PUT` record](#tag/Key-value-storesRecord/operation/keyValueStore_record_put) method and behaves identically. via POST /v2/key-value-stores/{storeId}/records/{recordKey}

write
apify_post_v2_request_queuesWRITE

Creates a request queue and returns its object. Keep in mind that requests stored under unnamed queue follows [data retention period](https://docs.apify.com/platform/storage#data-retention). It creates a queue of given name if the parameter name is used. If a queue with the given name already exists then the endpoint returns its object. via POST /v2/request-queues

write
apify_post_v2_request_queues_by_queueid_head_lockWRITE

Returns the given number of first requests from the queue and locks them for the given time. If this endpoint locks the request, no other client or run will be able to get and lock these requests. The response contains the `hadMultipleClients` boolean field which indicates that the queue was accessed by more than one client (with unique or empty `clientKey`). via POST /v2/request-queues/{queueId}/head/lock

write
apify_post_v2_request_queues_by_queueid_requestsWRITE

Adds request to the queue. Response contains ID of the request and info if request was already present in the queue or handled. If request with same `uniqueKey` was already present in the queue then returns an ID of existing request. via POST /v2/request-queues/{queueId}/requests

write
apify_post_v2_request_queues_by_queueid_requests_batchWRITE

Adds requests to the queue in batch. The maximum requests in batch is limited to 25. The response contains an array of unprocessed and processed requests. If any add operation fails because the request queue rate limit is exceeded or an internal failure occurs, the failed request is returned in the unprocessedRequests response parameter. You can resend these requests to add. It is recommended to use an exponential backoff algorithm for these retries. If a request with the same `uniqueKey` was already present in the queue, then it returns an ID of the existing request. via POST /v2/request-queues/{queueId}/requests/batch

write
apify_post_v2_request_queues_by_queueid_requests_unlockWRITE

Unlocks requests in the queue that are currently locked by the client. * If the client is within an Actor run, it unlocks all requests locked by that specific run plus all requests locked by the same clientKey. * If the client is outside of an Actor run, it unlocks all requests locked using the same clientKey. via POST /v2/request-queues/{queueId}/requests/unlock

write
apify_post_v2_schedulesWRITE

Creates a new schedule with settings provided by the schedule object passed as JSON in the payload. The response is the created schedule object. The request needs to specify the `Content-Type: application/json` HTTP header! When providing your API authentication token, we recommend using the request's `Authorization` header, rather than the URL. ([More info](#/introduction/authentication)). via POST /v2/schedules

write
apify_post_v2_tools_decode_and_verifyWRITE

Decodes and verifies an encoded value previously created by the encode-and-sign endpoint. Returns the original decoded object along with information about the user who encoded it and whether that user is verified. **Important**: The request must specify the `Content-Type: application/json` HTTP header. via POST /v2/tools/decode-and-verify

write
apify_post_v2_tools_encode_and_signWRITE

Encodes and signs any JSON object. The encoded value includes a signature tied to the authenticated user's ID, which can later be verified using the decode-and-verify endpoint. **Important**: The request must specify the `Content-Type: application/json` HTTP header. via POST /v2/tools/encode-and-sign

write
apify_post_v2_webhooksWRITE

Creates a new webhook with settings provided by the webhook object passed as JSON in the payload. The response is the created webhook object. To avoid duplicating a webhook, use the `idempotencyKey` parameter in the request body. Multiple calls to create a webhook with the same `idempotencyKey` will only create the webhook with the first call and return the existing webhook on subsequent calls. Idempotency keys must be unique, so use a UUID or another random string with enough entropy. To assign the new webhook to an Actor or task, the request body must contain `requestUrl`, `eventTypes`, and `condition` properties. * `requestUrl` is the webhook's target URL, to which data is sent as a POST request with a JSON payload. * `eventTypes` is a list of events that will trigger the webhook, e.g. when the Actor run succeeds. * `condition` should be an object containing the ID of the Actor or task to which the webhook will be assigned. * `payloadTemplate` is a JSON-like string, whose syntax is extended with the use of variables. * `headersTemplate` is a JSON-like string, whose syntax is extended with the use of variables. Following values will be re-written to defaults: "host", "Content-Type", "X-Apify-Webhook", "X-Apify-Webhook-Dispatch-Id", "X-Apify-Request-Origin" * `description` is an optional string. * `shouldInterpolateStrings` is a boolean indicating whether to interpolate variables contained inside strings in the `payloadTemplate` ``` "isAdHoc" : false, "requestUrl" : "https://example.com", "eventTypes" : [ "ACTOR.RUN.SUCCEEDED", "ACTOR.RUN.ABORTED" ], "condition" : { "actorId": "5sTMwDQywwsLzKRRh", "actorTaskId" : "W9bs9JE9v7wprjAnJ" }, "payloadTemplate": "", "headersTemplate": "", "description": "my awesome webhook", "shouldInterpolateStrings": false, ``` **Important**: The request must specify the `Content-Type: application/json` HTTP header. via POST /v2/webhooks

write
apify_post_v2_webhooks_by_webhookid_testWRITE

Tests a webhook. Creates a webhook dispatch with a dummy payload. via POST /v2/webhooks/{webhookId}/test

write
apify_put_v2_actor_runs_by_runidWRITE

This endpoint can be used to update both the run's status message and to configure its general resource access level. **Status message:** You can set a single status message on your run that will be displayed in the Apify Console UI. During an Actor run, you will typically do this in order to inform users of your Actor about the Actor's progress. The request body must contain `runId` and `statusMessage` properties. The `isStatusMessageTerminal` property is optional and it indicates if the status message is the very last one. In the absence of a status message, the platform will try to substitute sensible defaults. **General resource access:** You can also update the run's general resource access setting, which determines who can view the run and its related data. Allowed values: * `FOLLOW_USER_SETTING` - The run inherits the general access setting from the account level. * `ANYONE_WITH_ID_CAN_READ` - The run can be viewed anonymously by anyone who has its ID. * `RESTRICTED` - Only users with explicit access to the resource can access the run. When a run is accessible anonymously, all of the run's default storages and logs also become accessible anonymously. via PUT /v2/actor-runs/{runId}

write
apify_put_v2_actor_runs_by_runid_datasetWRITE

Updates the default dataset associated with an Actor run. This endpoint is a shortcut for getting the run's `defaultDatasetId` and then using the [Put dataset](/api/v2/dataset-put) endpoint. via PUT /v2/actor-runs/{runId}/dataset

write
apify_put_v2_actor_runs_by_runid_key_value_storeWRITE

Updates the default key-value store's name and general resource access level using a value specified by a JSON object passed in the PUT payload. This endpoint is a shortcut for getting the run's `defaultKeyValueStoreId` and then using the [Update store](/api/v2/key-value-store-put) endpoint. via PUT /v2/actor-runs/{runId}/key-value-store

write
apify_put_v2_actor_runs_by_runid_key_value_store_records_by_recordkeyWRITE

Stores a value under a specific key in the default key-value store of the Actor run. This endpoint is a shortcut for getting the run's `defaultKeyValueStoreId` and then using the [Store record](/api/v2/key-value-store-record-put) endpoint. via PUT /v2/actor-runs/{runId}/key-value-store/records/{recordKey}

write
apify_put_v2_actor_runs_by_runid_request_queueWRITE

Updates the default request queue associated with an Actor run. This endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the [Update request queue](/api/v2/request-queue-put) endpoint. via PUT /v2/actor-runs/{runId}/request-queue

write
apify_put_v2_actor_runs_by_runid_request_queue_requests_by_requestidWRITE

Updates a request in the default request queue of the Actor run. This endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the [Update request](/api/v2/request-queue-request-put) endpoint. via PUT /v2/actor-runs/{runId}/request-queue/requests/{requestId}

write
apify_put_v2_actor_runs_by_runid_request_queue_requests_by_requestid_lockWRITE

Prolongs a request lock in the default request queue of the Actor run. This endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the [Prolong request lock](/api/v2/request-queue-request-lock-put) endpoint. via PUT /v2/actor-runs/{runId}/request-queue/requests/{requestId}/lock

write
apify_put_v2_actor_tasks_by_actortaskidWRITE

Update settings of a task using values specified by an object passed as JSON in the POST payload. If the object does not define a specific property, its value is not updated. The `publicConfig` field carries the display configuration of the task's public landing page, and `isPublic` publishes or unpublishes the task itself. Both require write permission to the task's Actor. To publish a task, its Actor must be public, `publicConfig.inputSchemaFields` and `publicConfig.datasetView` must be set, and the Actor must have fewer than 50 published tasks. If the task isn't ready to be published, the whole update fails and none of it is applied. Publishing lists the task among the Actor's examples and makes its input public, so anyone can view and copy it. The landing page itself is shown only while `publicConfig` still validates against the Actor's current build, so a new build can stop the page from being offered while the task stays published and copyable. The response is the full task object as returned by the [Get task](/api/v2/actor-task-get) endpoint. The request needs to specify the `Content-Type: application/json` HTTP header! When providing your API authentication token, we recommend using the request's `Authorization` header, rather than the URL. via PUT /v2/actor-tasks/{actorTaskId}

write
apify_put_v2_actor_tasks_by_actortaskid_inputWRITE

Updates the input of a task using values specified by an object passed as JSON in the PUT payload. If the object does not define a specific property, its value is not updated. The response is the full task input as returned by the [Get task input](#/reference/tasks/task-input-object/get-task-input) endpoint. The request needs to specify the `Content-Type: application/json` HTTP header! When providing your API authentication token, we recommend using the request's `Authorization` header, rather than the URL. ([More info](#/introduction/authentication)). via PUT /v2/actor-tasks/{actorTaskId}/input

write
apify_put_v2_actor_tasks_by_actortaskid_runs_last_datasetWRITE

Updates the default dataset associated with the last Actor task run. This endpoint is a shortcut for getting the last task run's `defaultDatasetId` and then using the [Update dataset](/api/v2/dataset-put) endpoint. via PUT /v2/actor-tasks/{actorTaskId}/runs/last/dataset

write
apify_put_v2_actor_tasks_by_actortaskid_runs_last_key_value_storeWRITE

Updates the default key-value store associated with the last Actor task run. This endpoint is a shortcut for getting the last task run's `defaultKeyValueStoreId` and then using the [Update store](/api/v2/key-value-store-put) endpoint. via PUT /v2/actor-tasks/{actorTaskId}/runs/last/key-value-store

write
apify_put_v2_actor_tasks_by_actortaskid_runs_last_key_value_store_records_by_recordkeyWRITE

Stores a value under a specific key in the default key-value store of the last Actor task run. This endpoint is a shortcut for getting the last task run's `defaultKeyValueStoreId` and then using the [Store record](/api/v2/key-value-store-record-put) endpoint. via PUT /v2/actor-tasks/{actorTaskId}/runs/last/key-value-store/records/{recordKey}

write
apify_put_v2_actor_tasks_by_actortaskid_runs_last_request_queueWRITE

Updates the default request queue associated with the last Actor task run. This endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the [Update request queue](/api/v2/request-queue-put) endpoint. via PUT /v2/actor-tasks/{actorTaskId}/runs/last/request-queue

write
apify_put_v2_actor_tasks_by_actortaskid_runs_last_request_queue_requests_by_requestidWRITE

Updates a request in the default request queue of the last Actor task run. This endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the [Update request](/api/v2/request-queue-request-put) endpoint. via PUT /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/{requestId}

write
apify_put_v2_actor_tasks_by_actortaskid_runs_last_request_queue_requests_by_requestid_lockWRITE

Prolongs a request lock in the default request queue of the last Actor task run. This endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the [Prolong request lock](/api/v2/request-queue-request-lock-put) endpoint. via PUT /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/{requestId}/lock

write
apify_put_v2_actors_by_actoridWRITE

Updates an Actor's settings with the values specified in an `Actor` object passed as JSON in the POST payload. Only the fields specified in the request body are updated. Returns the full `Actor` object, the same as the [Get Actor](/api/v2/actor-get) endpoint. In the HTTP request, set the `Content-Type` header to `application/json`. ### Authentication To provide the authentication token, we recommend using the request's `Authorization` header, rather than the URL. For details, see [Authentication](/api/v2/getting-started#authentication). ### Make an Actor public To make your Actor [public](https://docs.apify.com/platform/actors/publishing): - Set `isPublic` to `true`. - Provide `title` and `categories`. For reference, see [constants from the `apify-shared-js` package](https://github.com/apify/apify-shared-js/blob/2d43ebc41ece9ad31cd6525bd523fb86939bf860/packages/consts/src/consts.ts#L452-L471) ### Update build tags To change tags assigned to Actor builds, use the `taggedBuilds` object. It's a dictionary that maps tag names to specific builds, where: - the key is the tag name, for example `latest` or `beta` - the value is either `null` or an object with a build ID Changing tags is a patch operation. Only the tags that you provide in this object are updated. Note that you can assign multiple tags to a single build, but you can't assign the same tag to multiple builds. - To create or reassign a tag, provide the tag name with a build ID. For example, to assign the `latest` tag to a build, use: ```json { "latest": { "buildId": "z2EryhbfhgSyqj6Hn" } } ``` - To remove a tag from a build, provide the tag name with a `null` value. For example, to remove the `beta` tag, use: ```json { "beta": null } ``` - You can perform multiple actions at once. The following example reassigns `latest` and removes `beta`, while preserving other existing tags: ```json { "latest": { "buildId": "z2EryhbfhgSyqj6Hn" }, "beta": null } ``` via PUT /v2/actors/{actorId}

write
apify_put_v2_actors_by_actorid_runs_last_datasetWRITE

Updates the default dataset associated with the last Actor run. This endpoint is a shortcut for getting the last run's `defaultDatasetId` and then using the [Update dataset](/api/v2/dataset-put) endpoint. via PUT /v2/actors/{actorId}/runs/last/dataset

write
apify_put_v2_actors_by_actorid_runs_last_key_value_storeWRITE

Updates the last Actor run key-value store's name and general resource access level using a value specified by a JSON object passed in the PUT payload. This endpoint is a shortcut for getting the run's `defaultKeyValueStoreId` and then using the [Update store](/api/v2/key-value-store-put) endpoint. via PUT /v2/actors/{actorId}/runs/last/key-value-store

write
apify_put_v2_actors_by_actorid_runs_last_key_value_store_records_by_recordkeyWRITE

Stores a value under a specific key in the default key-value store of the last Actor run. This endpoint is a shortcut for getting the last run's `defaultKeyValueStoreId` and then using the [Store record](/api/v2/key-value-store-record-put) endpoint. via PUT /v2/actors/{actorId}/runs/last/key-value-store/records/{recordKey}

write
apify_put_v2_actors_by_actorid_runs_last_request_queueWRITE

Updates the default request queue associated with the last Actor run. This endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the [Update request queue](/api/v2/request-queue-put) endpoint. via PUT /v2/actors/{actorId}/runs/last/request-queue

write
apify_put_v2_actors_by_actorid_runs_last_request_queue_requests_by_requestidWRITE

Updates a request in the default request queue of the last Actor run. This endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the [Update request](/api/v2/request-queue-request-put) endpoint. via PUT /v2/actors/{actorId}/runs/last/request-queue/requests/{requestId}

write
apify_put_v2_actors_by_actorid_runs_last_request_queue_requests_by_requestid_lockWRITE

Prolongs a request lock in the default request queue of the last Actor run. This endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the [Prolong request lock](/api/v2/request-queue-request-lock-put) endpoint. via PUT /v2/actors/{actorId}/runs/last/request-queue/requests/{requestId}/lock

write
apify_put_v2_actors_by_actorid_versions_by_versionnumberWRITE

Updates Actor version using values specified by a [Version object](#/reference/actors/version-object) passed as JSON in the POST payload. If the object does not define a specific property, its value will not be updated. The request needs to specify the `Content-Type: application/json` HTTP header! When providing your API authentication token, we recommend using the request's `Authorization` header, rather than the URL. ([More info](#/introduction/authentication)). The response is the [Version object](#/reference/actors/version-object) as returned by the [Get version](#/reference/actors/version-object/get-version) endpoint. via PUT /v2/actors/{actorId}/versions/{versionNumber}

write
apify_put_v2_actors_by_actorid_versions_by_versionnumber_env_vars_by_envvarnameWRITE

Updates Actor environment variable using values specified by a [EnvVar object](#/reference/actors/environment-variable-object) passed as JSON in the POST payload. If the object does not define a specific property, its value will not be updated. The request needs to specify the `Content-Type: application/json` HTTP header! When providing your API authentication token, we recommend using the request's `Authorization` header, rather than the URL. ([More info](#/introduction/authentication)). The response is the [EnvVar object](#/reference/actors/environment-variable-object) as returned by the [Get environment variable](#/reference/actors/environment-variable-object/get-environment-variable) endpoint. via PUT /v2/actors/{actorId}/versions/{versionNumber}/env-vars/{envVarName}

write
apify_put_v2_browser_infoWRITE

Returns information about the HTTP request, including the client IP address, country code, request headers, and body length. This endpoint is designed for proxy testing. It accepts any HTTP method so you can verify that your proxy correctly forwards requests of any type and that client IP addresses are anonymized. via PUT /v2/browser-info

write
apify_put_v2_datasets_by_datasetidWRITE

Updates a dataset's name and general resource access level using a value specified by a JSON object passed in the PUT payload. The response is the updated dataset object, as returned by the [Get dataset](/api/v2/dataset-get) API endpoint. via PUT /v2/datasets/{datasetId}

write
apify_put_v2_key_value_stores_by_storeidWRITE

Updates a key-value store's name and general resource access level using a value specified by a JSON object passed in the PUT payload. The response is the updated key-value store object, as returned by the [Get store](#/reference/key-value-stores/store-object/get-store) API endpoint. via PUT /v2/key-value-stores/{storeId}

write
apify_put_v2_key_value_stores_by_storeid_records_by_recordkeyWRITE

Stores a value under a specific key to the key-value store. The value is passed as the PUT payload and it is stored with a MIME content type defined by the `Content-Type` header and with encoding defined by the `Content-Encoding` header. To save bandwidth, storage, and speed up your upload, send the request payload compressed with Gzip compression and add the `Content-Encoding: gzip` header. It is possible to set up another compression type with `Content-Encoding` request header. Below is a list of supported `Content-Encoding` types. * Brotli compression: `Content-Encoding: br` * Gzip compression: `Content-Encoding: gzip` * Deflate compression: `Content-Encoding: deflate` via PUT /v2/key-value-stores/{storeId}/records/{recordKey}

write
apify_put_v2_request_queues_by_queueidWRITE

Updates a request queue's name and general resource access level using a value specified by a JSON object passed in the PUT payload. The response is the updated request queue object, as returned by the [Get request queue](#/reference/request-queues/queue-collection/get-request-queue) API endpoint. via PUT /v2/request-queues/{queueId}

write
apify_put_v2_request_queues_by_queueid_requests_by_requestidWRITE

Updates a request in a queue. Mark request as handled by setting `request.handledAt = new Date()`. If `handledAt` is set, the request will be removed from head of the queue (and unlocked, if applicable). via PUT /v2/request-queues/{queueId}/requests/{requestId}

write
apify_put_v2_request_queues_by_queueid_requests_by_requestid_lockWRITE

Prolongs request lock. The request lock can be prolonged only by the client that has locked it using [Get and lock head operation](#/request-queue-head-lock-post). The clientKey identifier is used for locking and unlocking requests. You can delete or prolong the lock only for requests that were locked by the same client key or from the same Actor run. via PUT /v2/request-queues/{queueId}/requests/{requestId}/lock

write
apify_put_v2_schedules_by_scheduleidWRITE

Updates a schedule using values specified by a schedule object passed as JSON in the POST payload. If the object does not define a specific property, its value will not be updated. The response is the full schedule object as returned by the [Get schedule](#/reference/schedules/schedule-object/get-schedule) endpoint. **The request needs to specify the `Content-Type: application/json` HTTP header!** When providing your API authentication token, we recommend using the request's `Authorization` header, rather than the URL. ([More info](#/introduction/authentication)). via PUT /v2/schedules/{scheduleId}

write
apify_put_v2_users_me_limitsWRITE

Updates the account's limits manageable on your account's [Limits page](https://console.apify.com/billing#/limits). Specifically the: `maxMonthlyUsageUsd` and `dataRetentionDays` limits (see request body schema for more details). via PUT /v2/users/me/limits

write
apify_put_v2_webhooks_by_webhookidWRITE

Updates a webhook using values specified by a webhook object passed as JSON in the POST payload. If the object does not define a specific property, its value will not be updated. The response is the full webhook object as returned by the [Get webhook](#/reference/webhooks/webhook-object/get-webhook) endpoint. The request needs to specify the `Content-Type: application/json` HTTP header! When providing your API authentication token, we recommend using the request's `Authorization` header, rather than the URL. ([More info](#/introduction/authentication)). via PUT /v2/webhooks/{webhookId}

write

Put Apify behind one governed endpoint.

Same permissions, same audit trail, whatever else you connect next.