From dfb65e705f237ca9ed15cf92330c0f8db90cb1b2 Mon Sep 17 00:00:00 2001 From: a2a-platform Date: Sat, 6 Jun 2026 21:16:45 +0000 Subject: [PATCH] deploy --- README.md | 1 + agent.py | 4495 +--------------------------- skills/actor-builds/SKILL.md | 73 + skills/actor-runs/SKILL.md | 475 +++ skills/actor-tasks/SKILL.md | 669 +++++ skills/actors/SKILL.md | 913 ++++++ skills/browser-info/SKILL.md | 54 + skills/datasets/SKILL.md | 149 + skills/key-value-stores/SKILL.md | 146 + skills/logs/SKILL.md | 26 + skills/request-queues/SKILL.md | 206 ++ skills/schedules/SKILL.md | 70 + skills/store/SKILL.md | 32 + skills/tools/SKILL.md | 30 + skills/users/SKILL.md | 54 + skills/webhook-dispatches/SKILL.md | 34 + skills/webhooks/SKILL.md | 79 + 17 files changed, 3113 insertions(+), 4393 deletions(-) create mode 100644 skills/actor-builds/SKILL.md create mode 100644 skills/actor-runs/SKILL.md create mode 100644 skills/actor-tasks/SKILL.md create mode 100644 skills/actors/SKILL.md create mode 100644 skills/browser-info/SKILL.md create mode 100644 skills/datasets/SKILL.md create mode 100644 skills/key-value-stores/SKILL.md create mode 100644 skills/logs/SKILL.md create mode 100644 skills/request-queues/SKILL.md create mode 100644 skills/schedules/SKILL.md create mode 100644 skills/store/SKILL.md create mode 100644 skills/tools/SKILL.md create mode 100644 skills/users/SKILL.md create mode 100644 skills/webhook-dispatches/SKILL.md create mode 100644 skills/webhooks/SKILL.md diff --git a/README.md b/README.md index f77355c..86f3157 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ Generated A2APack agent for Apify API. - Source OpenAPI: https://docs.apify.com/api/openapi.json - Generated operations: 231 - Main skill: `auto` +- Routing mode: DeepAgents subagents across 15 route groups The generated code is intentionally editable. Tune prompts, operation grouping, auth names, and safety policy before publishing serious agents. diff --git a/agent.py b/agent.py index 155b7c3..06da6cb 100644 --- a/agent.py +++ b/agent.py @@ -3,6 +3,7 @@ from __future__ import annotations import base64 import json import re +from pathlib import Path from typing import Any import httpx @@ -28,10 +29,14 @@ from a2a_pack import ( DEFAULT_BASE_URL = "https://api.apify.com" OPERATIONS = json.loads("{\n \"act_build_abort_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"**[DEPRECATED]** API endpoints related to build of the Actor were moved\\nunder new namespace [`actor-builds`](#/reference/actor-builds). Aborts an\\nActor build and returns an object that contains all the details about the\\nbuild.\\n\\nOnly builds that are starting or running are aborted. For builds with status\\n`FINISHED`, `FAILED`, `ABORTING` and `TIMED-OUT` this call does nothing.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"act_build_abort_post\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"ID of the build, found in the build's Info tab.\",\n \"in\": \"path\",\n \"name\": \"buildId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"soSkq9ekdmfOslopH\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/builds/{buildId}/abort\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_build_abort_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Abort build\",\n \"tags\": [\n \"Actors/Actor builds\"\n ]\n },\n \"act_build_default_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Get the default build for an Actor.\\n\\nUse the optional `waitForFinish` parameter to synchronously wait for the build to finish.\\nThis avoids the need for periodic polling when waiting for the build to complete.\\n\\nThis endpoint does not require an authentication token. Instead, calls are authenticated using the Actor's unique ID.\\nHowever, if you access the endpoint without a token, certain attributes (e.g., `usageUsd` and `usageTotalUsd`) will be hidden.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"act_build_default_get\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The maximum number of seconds the server waits for the build to finish.\\nBy default it is `0`, the maximum value is `60`. \\nIf the build finishes in time then the returned build object will have a\\nterminal status (e.g. `SUCCEEDED`), otherwise it will have a transitional status (e.g. `RUNNING`).\\n\",\n \"in\": \"query\",\n \"name\": \"waitForFinish\",\n \"required\": false,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/builds/default\",\n \"request_body\": null,\n \"security\": [],\n \"skill_name\": \"act_build_default_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get default build\",\n \"tags\": [\n \"Actors/Actor builds\"\n ]\n },\n \"act_build_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"By passing the optional `waitForFinish` parameter the API endpoint will\\nsynchronously wait for the build to finish.\\nThis is useful to avoid periodic polling when waiting for an Actor build to\\nfinish.\\n\\nThis endpoint does not require the authentication token. Instead, calls are authenticated using a hard-to-guess ID of the build. However,\\nif you access the endpoint without the token, certain attributes, such as `usageUsd` and `usageTotalUsd`, will be hidden.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"act_build_get\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"ID of the build, found in the build's Info tab.\",\n \"in\": \"path\",\n \"name\": \"buildId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"soSkq9ekdmfOslopH\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The maximum number of seconds the server waits for the build to finish.\\nBy default it is `0`, the maximum value is `60`. \\nIf the build finishes in time then the returned build object will have a\\nterminal status (e.g. `SUCCEEDED`), otherwise it will have a transitional status (e.g. `RUNNING`).\\n\",\n \"in\": \"query\",\n \"name\": \"waitForFinish\",\n \"required\": false,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/builds/{buildId}\",\n \"request_body\": null,\n \"security\": [],\n \"skill_name\": \"act_build_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get build\",\n \"tags\": [\n \"Actors/Actor builds\"\n ]\n },\n \"act_builds_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets the list of builds of a specific Actor. The response is a JSON with the\\nlist of objects, where each object contains basic information about a single build.\\n\\nThe endpoint supports pagination using the `limit` and `offset` parameters\\nand it will not return more than 1000 records.\\n\\nBy default, the records are sorted by the `startedAt` field in ascending order,\\ntherefore you can use pagination to incrementally fetch all builds while new\\nones are still being started. To sort the records in descending order, use\\nthe `desc=1` parameter.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"act_builds_get\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Number of items that should be skipped at the start. The default value is `0`.\\n\",\n \"in\": \"query\",\n \"name\": \"offset\",\n \"required\": false,\n \"schema\": {\n \"example\": 0,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Maximum number of items to return. The default value as well as the maximum is `1000`.\\n\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"example\": 1000,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the objects are sorted by the `startedAt` field in\\ndescending order. By default, they are sorted in ascending order.\\n\",\n \"in\": \"query\",\n \"name\": \"desc\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/builds\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_builds_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get list of builds\",\n \"tags\": [\n \"Actors/Actor builds\"\n ]\n },\n \"act_builds_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Builds an Actor.\\nThe response is the build object as returned by the\\n[Get build](#/reference/actors/build-object/get-build) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"act_builds_post\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Actor version number to be built.\",\n \"in\": \"query\",\n \"name\": \"version\",\n \"required\": true,\n \"schema\": {\n \"example\": \"0.0\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1`, the system will use a cache to speed up the build\\nprocess. By default, cache is not used.\\n\",\n \"in\": \"query\",\n \"name\": \"useCache\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the Actor is built with beta versions of Apify NPM\\npackages. By default, the build uses `latest` packages.\\n\",\n \"in\": \"query\",\n \"name\": \"betaPackages\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Tag to be applied to the build on success. By default, the tag is taken\\nfrom Actor version's `buildTag` property.\\n\",\n \"in\": \"query\",\n \"name\": \"tag\",\n \"required\": false,\n \"schema\": {\n \"example\": \"latest\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The maximum number of seconds the server waits for the build to finish.\\nBy default it is `0`, the maximum value is `60`. \\nIf the build finishes in time then the returned build object will have a\\nterminal status (e.g. `SUCCEEDED`), otherwise it will have a transitional status (e.g. `RUNNING`).\\n\",\n \"in\": \"query\",\n \"name\": \"waitForFinish\",\n \"required\": false,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/builds\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_builds_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Build Actor\",\n \"tags\": [\n \"Actors/Actor builds\"\n ]\n },\n \"act_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Deletes an Actor.\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"act_delete\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete Actor\",\n \"tags\": [\n \"Actors\"\n ]\n },\n \"act_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets an object that contains all the details about a specific Actor.\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"act_get\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get Actor\",\n \"tags\": [\n \"Actors\"\n ]\n },\n \"act_openapi_json_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Get the OpenAPI definition for Actor builds. Two similar endpoints are available:\\n\\n- [First endpoint](/api/v2/act-openapi-json-get): Requires both `actorId` and `buildId`. Use `default` as the `buildId` to get the OpenAPI schema for the default Actor build.\\n\\n- [Second endpoint](/api/v2/actor-build-openapi-json-get): Requires only `buildId`.\\n\\nGet the OpenAPI definition for a specific Actor build.\\n\\nTo fetch the default Actor build, simply pass `default` as the `buildId`.\\nAuthentication is based on the build's unique ID. No authentication token is required.\\n\\n:::note\\n\\nYou 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.\\n\\n:::\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"act_openapi_json_get\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"ID of the build, found in the build's Info tab.\\nUse the special value `default` to get the OpenAPI schema for the Actor's default build.\\n\",\n \"in\": \"path\",\n \"name\": \"buildId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"soSkq9ekdmfOslopH\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/builds/{buildId}/openapi.json\",\n \"request_body\": null,\n \"security\": [],\n \"skill_name\": \"act_openapi_json_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get OpenAPI definition\",\n \"tags\": [\n \"Actors/Actor builds\"\n ]\n },\n \"act_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Updates settings of an Actor using values specified by an Actor object\\npassed as JSON in the POST payload.\\nIf the object does not define a specific property, its value will not be\\nupdated.\\n\\nThe response is the full Actor object as returned by the\\n[Get Actor](#/reference/actors/actor-object/get-actor) endpoint.\\n\\nThe request needs to specify the `Content-Type: application/json` HTTP header!\\n\\nWhen providing your API authentication token, we recommend using the\\nrequest's `Authorization` header, rather than the URL. ([More\\ninfo](#/introduction/authentication)).\\n\\nIf you want to make your Actor\\n[public](https://docs.apify.com/platform/actors/publishing) using `isPublic:\\ntrue`, you will need to provide the Actor's `title` and the `categories`\\nunder which that Actor will be classified in Apify Store. For this, it's\\nbest to use the [constants from our `apify-shared-js`\\npackage](https://github.com/apify/apify-shared-js/blob/2d43ebc41ece9ad31cd6525bd523fb86939bf860/packages/consts/src/consts.ts#L452-L471).\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"act_put\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/UpdateActorRequest\"\n },\n \"security\": null,\n \"skill_name\": \"act_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Update Actor\",\n \"tags\": [\n \"Actors\"\n ]\n },\n \"act_run_abort_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"**[DEPRECATED]** API endpoints related to run of the Actor were moved under\\nnew namespace [`actor-runs`](#/reference/actor-runs). Aborts an Actor run and\\nreturns an object that contains all the details about the run.\\n\\nOnly runs that are starting or running are aborted. For runs with status\\n`FINISHED`, `FAILED`, `ABORTING` and `TIMED-OUT` this call does nothing.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"act_run_abort_post\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If true passed, the Actor run will abort gracefully.\\nIt will send `aborting` and `persistState` event into run and force-stop the run after 30 seconds.\\nIt is helpful in cases where you plan to resurrect the run later.\\n\",\n \"in\": \"query\",\n \"name\": \"gracefully\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/{runId}/abort\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_run_abort_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Abort run\",\n \"tags\": [\n \"Actors/Actor runs\"\n ]\n },\n \"act_run_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"**[DEPRECATED]** API endpoints related to run of the Actor were moved under\\nnew namespace [`actor-runs`](#/reference/actor-runs).\\n\\nGets an object that contains all the details about a specific run of an Actor.\\n\\nBy passing the optional `waitForFinish` parameter the API endpoint will\\nsynchronously wait for the run to finish.\\nThis is useful to avoid periodic polling when waiting for Actor run to\\ncomplete.\\n\\nThis endpoint does not require the authentication token. Instead, calls are authenticated using a hard-to-guess ID of the run. However,\\nif you access the endpoint without the token, certain attributes, such as `usageUsd` and `usageTotalUsd`, will be hidden.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"act_run_get\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The maximum number of seconds the server waits for the run to finish. By\\ndefault it is `0`, the maximum value is `60`. \\nIf the run finishes in time then the returned run object will have a terminal status (e.g. `SUCCEEDED`),\\notherwise it will have a transitional status (e.g. `RUNNING`).\\n\",\n \"in\": \"query\",\n \"name\": \"waitForFinish\",\n \"required\": false,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/{runId}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_run_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get run\",\n \"tags\": [\n \"Actors/Actor runs\"\n ]\n },\n \"act_run_metamorph_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"**[DEPRECATED]** API endpoints related to run of the Actor were moved under\\nnew namespace [`actor-runs`](#/reference/actor-runs). Transforms an Actor run\\ninto a run of another Actor with a new input.\\n\\nThis is useful if you want to use another Actor to finish the work\\nof your current Actor run, without the need to create a completely new run\\nand waiting for its finish.\\nFor the users of your Actors, the metamorph operation is transparent, they\\nwill just see your Actor got the work done.\\n\\nThere is a limit on how many times you can metamorph a single run. You can\\ncheck the limit in [the Actor runtime limits](https://docs.apify.com/platform/limits#actor-limits).\\n\\nInternally, the system stops the Docker container corresponding to the Actor\\nrun and starts a new container using a different Docker image.\\nAll the default storages are preserved and the new input is stored under the\\n`INPUT-METAMORPH-1` key in the same default key-value store.\\n\\nFor more information, see the [Actor docs](https://docs.apify.com/platform/actors/development/programming-interface/metamorph).\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"act_run_metamorph_post\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"ID of a target Actor that the run should be transformed into.\",\n \"in\": \"query\",\n \"name\": \"targetActorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"HDSasDasz78YcAPEB\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Optional build of the target Actor.\\n\\nIt can be either a build tag or build number. By default, the run uses\\nthe build specified in the default run configuration for the target\\nActor (typically `latest`).\\n\",\n \"in\": \"query\",\n \"name\": \"build\",\n \"required\": false,\n \"schema\": {\n \"example\": \"beta\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/{runId}/metamorph\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_run_metamorph_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Metamorph run\",\n \"tags\": [\n \"Actors/Actor runs\"\n ]\n },\n \"act_run_resurrect_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"**[DEPRECATED]** API endpoints related to run of the Actor were moved under\\nnew namespace [`actor-runs`](#/reference/actor-runs).Resurrects a finished\\nActor run and returns an object that contains all the details about the\\nresurrected run.\\n\\nOnly finished runs, i.e. runs with status `FINISHED`, `FAILED`, `ABORTED`\\nand `TIMED-OUT` can be resurrected.\\nRun status will be updated to RUNNING and its container will be restarted\\nwith the same storages\\n(the same behaviour as when the run gets migrated to the new server).\\n\\nFor more information, see the [Actor\\ndocs](https://docs.apify.com/platform/actors/running/runs-and-builds#resurrection-of-finished-run).\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"act_run_resurrect_post\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Specifies the Actor build to run. It can be either a build tag or build number.\\nBy default, the run is resurrected with the same build it originally used. Specifically,\\nif a run was first started with the `latest` tag, which resolves to version `0.0.3` at the\\ntime, a run resurrected without this parameter will continue running with `0.0.3`, even if\\n`latest` already points to a newer build.\\n\",\n \"in\": \"query\",\n \"name\": \"build\",\n \"required\": false,\n \"schema\": {\n \"example\": \"0.1.234\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Optional timeout for the run, in seconds. By default, the run uses the timeout\\nspecified in the run that is being resurrected.\\n\",\n \"in\": \"query\",\n \"name\": \"timeout\",\n \"required\": false,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Memory limit for the run, in megabytes. The amount of memory can be set to a power of 2\\nwith a minimum of 128. By default, the run uses the memory limit specified in the run\\nthat is being resurrected.\\n\",\n \"in\": \"query\",\n \"name\": \"memory\",\n \"required\": false,\n \"schema\": {\n \"example\": 256,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Determines whether the resurrected run will be restarted if it fails.\\nBy default, the resurrected run uses the same setting as before.\\n\",\n \"in\": \"query\",\n \"name\": \"restartOnError\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/{runId}/resurrect\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_run_resurrect_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Resurrect run\",\n \"tags\": [\n \"Actors/Actor runs\"\n ]\n },\n \"act_run_sync_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Runs a specific Actor and returns its output.\\nThe run must finish in 300 seconds\\notherwise the API endpoint returns a timeout error.\\nThe Actor is not passed any input.\\n\\nBeware that it might be impossible to maintain an idle HTTP connection for a\\nlong period of time,\\ndue to client timeout or network conditions. Make sure your HTTP client is\\nconfigured to have a long enough connection timeout.\\nIf the connection breaks, you will not receive any information about the run\\nand its status.\\n\\nTo run the Actor asynchronously, use the [Run\\nActor](#/reference/actors/run-collection/run-actor) API endpoint instead.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"act_run_sync_get\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Key of the record from run's default key-value store to be returned\\nin the response. By default, it is `OUTPUT`.\\n\",\n \"in\": \"query\",\n \"name\": \"outputRecordKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"OUTPUT\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Optional timeout for the run, in seconds. By default, the run uses the timeout from its configuration.\\n\",\n \"in\": \"query\",\n \"name\": \"timeout\",\n \"required\": false,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Memory limit for the run, in megabytes. The amount of memory can be set to a power of 2 with a minimum of 128.\\nBy default, the run uses the memory limit from its configuration.\\n\",\n \"in\": \"query\",\n \"name\": \"memory\",\n \"required\": false,\n \"schema\": {\n \"example\": 256,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Specifies the maximum number of dataset items that will be charged for pay-per-result Actors.\\nThis does NOT guarantee that the Actor will return only this many items.\\nIt only ensures you won't be charged for more than this number of items.\\nOnly works for pay-per-result Actors.\\nValue can be accessed in the actor run using `ACTOR_MAX_PAID_DATASET_ITEMS` environment variable.\\n\",\n \"in\": \"query\",\n \"name\": \"maxItems\",\n \"required\": false,\n \"schema\": {\n \"example\": 1000,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Specifies the maximum cost of the run. This parameter is\\nuseful for pay-per-event Actors, as it allows you to limit the amount\\ncharged to your subscription. You can access the maximum cost in your Actor\\nby using the `ACTOR_MAX_TOTAL_CHARGE_USD` environment variable.\\n\",\n \"in\": \"query\",\n \"name\": \"maxTotalChargeUsd\",\n \"required\": false,\n \"schema\": {\n \"example\": 5,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Determines whether the run will be restarted if it fails.\\n\",\n \"in\": \"query\",\n \"name\": \"restartOnError\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Specifies the Actor build to run. It can be either a build tag or build number.\\nBy default, the run uses the build from its configuration (typically `latest`).\\n\",\n \"in\": \"query\",\n \"name\": \"build\",\n \"required\": false,\n \"schema\": {\n \"example\": \"0.1.234\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Specifies optional webhooks associated with the Actor run, which can be used to receive a notification\\ne.g. when the Actor finished or failed. The value is a Base64-encoded JSON array whose items follow\\nthe WebhookRepresentation schema. For more information, see\\n[Webhooks documentation](https://docs.apify.com/platform/integrations/webhooks).\\n\",\n \"in\": \"query\",\n \"name\": \"webhooks\",\n \"required\": false,\n \"schema\": {\n \"contentEncoding\": \"base64\",\n \"contentMediaType\": \"application/json\",\n \"contentSchema\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/WebhookRepresentation\"\n },\n \"type\": \"array\"\n },\n \"example\": \"dGhpcyBpcyBqdXN0IGV4YW1wbGUK...\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/run-sync\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_run_sync_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Run Actor synchronously without input\",\n \"tags\": [\n \"Actors/Actor runs\"\n ]\n },\n \"act_run_sync_get_dataset_items_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Runs a specific Actor and returns its dataset items.\\nThe run must finish in 300 seconds\\notherwise the API endpoint returns a timeout error.\\nThe Actor is not passed any input.\\n\\nIt allows to send all possible options in parameters from [Get Dataset\\nItems](#/reference/datasets/item-collection/get-items) API endpoint.\\n\\nBeware that it might be impossible to maintain an idle HTTP connection for a\\nlong period of time,\\ndue to client timeout or network conditions. Make sure your HTTP client is\\nconfigured to have a long enough connection timeout.\\nIf the connection breaks, you will not receive any information about the run\\nand its status.\\n\\nTo run the Actor asynchronously, use the [Run\\nActor](#/reference/actors/run-collection/run-actor) API endpoint instead.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"act_run_sync_get_dataset_items_get\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Optional timeout for the run, in seconds. By default, the run uses the timeout from its configuration.\\n\",\n \"in\": \"query\",\n \"name\": \"timeout\",\n \"required\": false,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Memory limit for the run, in megabytes. The amount of memory can be set to a power of 2 with a minimum of 128.\\nBy default, the run uses the memory limit from its configuration.\\n\",\n \"in\": \"query\",\n \"name\": \"memory\",\n \"required\": false,\n \"schema\": {\n \"example\": 256,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Specifies the maximum number of dataset items that will be charged for pay-per-result Actors.\\nThis does NOT guarantee that the Actor will return only this many items.\\nIt only ensures you won't be charged for more than this number of items.\\nOnly works for pay-per-result Actors.\\nValue can be accessed in the actor run using `ACTOR_MAX_PAID_DATASET_ITEMS` environment variable.\\n\",\n \"in\": \"query\",\n \"name\": \"maxItems\",\n \"required\": false,\n \"schema\": {\n \"example\": 1000,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Specifies the maximum cost of the run. This parameter is\\nuseful for pay-per-event Actors, as it allows you to limit the amount\\ncharged to your subscription. You can access the maximum cost in your Actor\\nby using the `ACTOR_MAX_TOTAL_CHARGE_USD` environment variable.\\n\",\n \"in\": \"query\",\n \"name\": \"maxTotalChargeUsd\",\n \"required\": false,\n \"schema\": {\n \"example\": 5,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Determines whether the run will be restarted if it fails.\\n\",\n \"in\": \"query\",\n \"name\": \"restartOnError\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Specifies the Actor build to run. It can be either a build tag or build number.\\nBy default, the run uses the build from its configuration (typically `latest`).\\n\",\n \"in\": \"query\",\n \"name\": \"build\",\n \"required\": false,\n \"schema\": {\n \"example\": \"0.1.234\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Specifies optional webhooks associated with the Actor run, which can be used to receive a notification\\ne.g. when the Actor finished or failed. The value is a Base64-encoded JSON array whose items follow\\nthe WebhookRepresentation schema. For more information, see\\n[Webhooks documentation](https://docs.apify.com/platform/integrations/webhooks).\\n\",\n \"in\": \"query\",\n \"name\": \"webhooks\",\n \"required\": false,\n \"schema\": {\n \"contentEncoding\": \"base64\",\n \"contentMediaType\": \"application/json\",\n \"contentSchema\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/WebhookRepresentation\"\n },\n \"type\": \"array\"\n },\n \"example\": \"dGhpcyBpcyBqdXN0IGV4YW1wbGUK...\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Format of the results, possible values are: `json`, `jsonl`, `csv`, `html`, `xlsx`, `xml` and `rss`. The default value is `json`.\\n\",\n \"in\": \"query\",\n \"name\": \"format\",\n \"required\": false,\n \"schema\": {\n \"example\": \"json\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the API endpoint returns only non-empty items and skips hidden fields (i.e. fields starting with the # character).\\nThe `clean` parameter is just a shortcut for `skipHidden=true` and `skipEmpty=true` parameters.\\nNote that since some objects might be skipped from the output, that the result might contain less items than the `limit` value.\\n\",\n \"in\": \"query\",\n \"name\": \"clean\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Number of items that should be skipped at the start. The default value is `0`.\\n\",\n \"in\": \"query\",\n \"name\": \"offset\",\n \"required\": false,\n \"schema\": {\n \"example\": 0,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Maximum number of items to return. By default there is no limit.\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should be picked from the items, only these fields will remain in the resulting record objects.\\nNote that the fields in the outputted items are sorted the same way as they are specified in the `fields` query parameter.\\nYou can use this feature to effectively fix the output format.\\n\",\n \"in\": \"query\",\n \"name\": \"fields\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue,myOtherValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of output field names that positionally rename the fields specified in the `fields` parameter.\\nFor example, `?fields=headline,url&outputFields=title,link` renames `headline` to `title` and `url` to `link` in the output.\\nThe number of names in `outputFields` must match the number of names in `fields`.\\nRequires the `fields` parameter to be specified as well.\\n\",\n \"in\": \"query\",\n \"name\": \"outputFields\",\n \"required\": false,\n \"schema\": {\n \"example\": \"title,link\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should be omitted from the items.\",\n \"in\": \"query\",\n \"name\": \"omit\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue,myOtherValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should be unwound, in order which they should be processed. Each field should be either an array or an object.\\nIf the field is an array then every element of the array will become a separate record and merged with parent object.\\nIf the unwound field is an object then it is merged with the parent object.\\nIf the unwound field is missing or its value is neither an array nor an object and therefore cannot be merged with a parent object then the item gets preserved as it is.\\nNote that the unwound items ignore the `desc` parameter.\\n\",\n \"in\": \"query\",\n \"name\": \"unwind\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue,myOtherValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should transform nested objects into flat structures.\\n\\nFor example, with `flatten=\\\"foo\\\"` the object `{\\\"foo\\\":{\\\"bar\\\": \\\"hello\\\"}}` is turned into `{\\\"foo.bar\\\": \\\"hello\\\"}`.\\n\\nThe original object with properties is replaced with the flattened object.\\n\",\n \"in\": \"query\",\n \"name\": \"flatten\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"By default, results are returned in the same order as they were stored.\\nTo reverse the order, set this parameter to `true` or `1`.\\n\",\n \"in\": \"query\",\n \"name\": \"desc\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the response will define the `Content-Disposition:\\nattachment` header, forcing a web browser to download the file rather\\nthan to display it. By default this header is not present.\\n\",\n \"in\": \"query\",\n \"name\": \"attachment\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"A delimiter character for CSV files, only used if `format=csv`. You\\nmight need to URL-encode the character (e.g. use `%09` for tab or `%3B`\\nfor semicolon). The default delimiter is a simple comma (`,`).\\n\",\n \"in\": \"query\",\n \"name\": \"delimiter\",\n \"required\": false,\n \"schema\": {\n \"example\": \";\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"All text responses are encoded in UTF-8 encoding. By default, the\\n`format=csv` files are prefixed with the UTF-8 Byte Order Mark (BOM), while `json`, `jsonl`, `xml`, `html` and `rss` files are not.\\n\\nIf you want to override this default behavior, specify `bom=1` query parameter to include the BOM or `bom=0` to skip it.\\n\",\n \"in\": \"query\",\n \"name\": \"bom\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Overrides default root element name of `xml` output. By default the root element is `items`.\\n\",\n \"in\": \"query\",\n \"name\": \"xmlRoot\",\n \"required\": false,\n \"schema\": {\n \"example\": \"items\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Overrides default element name that wraps each page or page function result object in `xml` output. By default the element name is `item`.\\n\",\n \"in\": \"query\",\n \"name\": \"xmlRow\",\n \"required\": false,\n \"schema\": {\n \"example\": \"item\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then header row in the `csv` format is skipped.\",\n \"in\": \"query\",\n \"name\": \"skipHeaderRow\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then hidden fields are skipped from the output, i.e. fields starting with the `#` character.\\n\",\n \"in\": \"query\",\n \"name\": \"skipHidden\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then empty items are skipped from the output.\\n\\nNote that if used, the results might contain less items than the limit value.\\n\",\n \"in\": \"query\",\n \"name\": \"skipEmpty\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then, the endpoint applies the `fields=url,pageFunctionResult,errorInfo`\\nand `unwind=pageFunctionResult` query parameters. This feature is used to emulate simplified results provided by the\\nlegacy Apify Crawler product and it's not recommended to use it in new integrations.\\n\",\n \"in\": \"query\",\n \"name\": \"simplified\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Defines the view configuration for dataset items based on the schema definition.\\nThis parameter determines how the data will be filtered and presented.\\nFor complete specification details, see the [dataset schema documentation](/platform/actors/development/actor-definition/dataset-schema).\\n\",\n \"in\": \"query\",\n \"name\": \"view\",\n \"required\": false,\n \"schema\": {\n \"example\": \"overview\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then, the all the items with errorInfo property will be skipped from the output.\\n\\nThis feature is here to emulate functionality of API version 1 used for the legacy Apify Crawler product and it's not recommended to use it in new integrations.\\n\",\n \"in\": \"query\",\n \"name\": \"skipFailedPages\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Overrides the auto-generated RSS channel `` element.\\nOnly used when `format=rss`. If not provided, the title defaults to `Dataset <label>`.\\n\",\n \"in\": \"query\",\n \"name\": \"feedTitle\",\n \"required\": false,\n \"schema\": {\n \"example\": \"Latest posts from r/pasta\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Overrides the auto-generated RSS channel `<description>` element.\\nOnly used when `format=rss`. If not provided, the description defaults to `Items in dataset with id \\\"<datasetId>\\\".`\\n\",\n \"in\": \"query\",\n \"name\": \"feedDescription\",\n \"required\": false,\n \"schema\": {\n \"example\": \"Scraped forum posts\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/run-sync-get-dataset-items\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_run_sync_get_dataset_items_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Run Actor synchronously without input and get dataset items\",\n \"tags\": [\n \"Actors/Actor runs\"\n ]\n },\n \"act_run_sync_get_dataset_items_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Runs a specific Actor and returns its dataset items.\\n\\nThe POST payload including its `Content-Type` header is passed as `INPUT` to\\nthe Actor (usually `application/json`).\\nThe HTTP response contains the Actors dataset items, while the format of\\nitems depends on specifying dataset items' `format` parameter.\\n\\nYou can send all the same options in parameters as the [Get Dataset\\nItems](#/reference/datasets/item-collection/get-items) API endpoint.\\n\\nThe Actor is started with the default options; you can override them using\\nURL query parameters.\\nIf the Actor run exceeds 300<!-- MAX_ACTOR_JOB_SYNC_WAIT_SECS --> seconds,\\nthe HTTP response will return the 408 status code (Request Timeout).\\n\\nBeware that it might be impossible to maintain an idle HTTP connection for a\\nlong period of time,\\ndue to client timeout or network conditions. Make sure your HTTP client is\\nconfigured to have a long enough connection timeout.\\nIf the connection breaks, you will not receive any information about the run\\nand its status.\\n\\nTo run the Actor asynchronously, use the [Run\\nActor](#/reference/actors/run-collection/run-actor) API endpoint instead.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"act_run_sync_get_dataset_items_post\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Optional timeout for the run, in seconds. By default, the run uses the timeout from its configuration.\\n\",\n \"in\": \"query\",\n \"name\": \"timeout\",\n \"required\": false,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Memory limit for the run, in megabytes. The amount of memory can be set to a power of 2 with a minimum of 128.\\nBy default, the run uses the memory limit from its configuration.\\n\",\n \"in\": \"query\",\n \"name\": \"memory\",\n \"required\": false,\n \"schema\": {\n \"example\": 256,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Specifies the maximum number of dataset items that will be charged for pay-per-result Actors.\\nThis does NOT guarantee that the Actor will return only this many items.\\nIt only ensures you won't be charged for more than this number of items.\\nOnly works for pay-per-result Actors.\\nValue can be accessed in the actor run using `ACTOR_MAX_PAID_DATASET_ITEMS` environment variable.\\n\",\n \"in\": \"query\",\n \"name\": \"maxItems\",\n \"required\": false,\n \"schema\": {\n \"example\": 1000,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Specifies the maximum cost of the run. This parameter is\\nuseful for pay-per-event Actors, as it allows you to limit the amount\\ncharged to your subscription. You can access the maximum cost in your Actor\\nby using the `ACTOR_MAX_TOTAL_CHARGE_USD` environment variable.\\n\",\n \"in\": \"query\",\n \"name\": \"maxTotalChargeUsd\",\n \"required\": false,\n \"schema\": {\n \"example\": 5,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Determines whether the run will be restarted if it fails.\\n\",\n \"in\": \"query\",\n \"name\": \"restartOnError\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Specifies the Actor build to run. It can be either a build tag or build number.\\nBy default, the run uses the build from its configuration (typically `latest`).\\n\",\n \"in\": \"query\",\n \"name\": \"build\",\n \"required\": false,\n \"schema\": {\n \"example\": \"0.1.234\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Specifies optional webhooks associated with the Actor run, which can be used to receive a notification\\ne.g. when the Actor finished or failed. The value is a Base64-encoded JSON array whose items follow\\nthe WebhookRepresentation schema. For more information, see\\n[Webhooks documentation](https://docs.apify.com/platform/integrations/webhooks).\\n\",\n \"in\": \"query\",\n \"name\": \"webhooks\",\n \"required\": false,\n \"schema\": {\n \"contentEncoding\": \"base64\",\n \"contentMediaType\": \"application/json\",\n \"contentSchema\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/WebhookRepresentation\"\n },\n \"type\": \"array\"\n },\n \"example\": \"dGhpcyBpcyBqdXN0IGV4YW1wbGUK...\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Format of the results, possible values are: `json`, `jsonl`, `csv`, `html`, `xlsx`, `xml` and `rss`. The default value is `json`.\\n\",\n \"in\": \"query\",\n \"name\": \"format\",\n \"required\": false,\n \"schema\": {\n \"example\": \"json\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the API endpoint returns only non-empty items and skips hidden fields (i.e. fields starting with the # character).\\nThe `clean` parameter is just a shortcut for `skipHidden=true` and `skipEmpty=true` parameters.\\nNote that since some objects might be skipped from the output, that the result might contain less items than the `limit` value.\\n\",\n \"in\": \"query\",\n \"name\": \"clean\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Number of items that should be skipped at the start. The default value is `0`.\\n\",\n \"in\": \"query\",\n \"name\": \"offset\",\n \"required\": false,\n \"schema\": {\n \"example\": 0,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Maximum number of items to return. By default there is no limit.\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should be picked from the items, only these fields will remain in the resulting record objects.\\nNote that the fields in the outputted items are sorted the same way as they are specified in the `fields` query parameter.\\nYou can use this feature to effectively fix the output format.\\n\",\n \"in\": \"query\",\n \"name\": \"fields\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue,myOtherValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of output field names that positionally rename the fields specified in the `fields` parameter.\\nFor example, `?fields=headline,url&outputFields=title,link` renames `headline` to `title` and `url` to `link` in the output.\\nThe number of names in `outputFields` must match the number of names in `fields`.\\nRequires the `fields` parameter to be specified as well.\\n\",\n \"in\": \"query\",\n \"name\": \"outputFields\",\n \"required\": false,\n \"schema\": {\n \"example\": \"title,link\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should be omitted from the items.\",\n \"in\": \"query\",\n \"name\": \"omit\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue,myOtherValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should be unwound, in order which they should be processed. Each field should be either an array or an object.\\nIf the field is an array then every element of the array will become a separate record and merged with parent object.\\nIf the unwound field is an object then it is merged with the parent object.\\nIf the unwound field is missing or its value is neither an array nor an object and therefore cannot be merged with a parent object then the item gets preserved as it is.\\nNote that the unwound items ignore the `desc` parameter.\\n\",\n \"in\": \"query\",\n \"name\": \"unwind\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue,myOtherValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should transform nested objects into flat structures.\\n\\nFor example, with `flatten=\\\"foo\\\"` the object `{\\\"foo\\\":{\\\"bar\\\": \\\"hello\\\"}}` is turned into `{\\\"foo.bar\\\": \\\"hello\\\"}`.\\n\\nThe original object with properties is replaced with the flattened object.\\n\",\n \"in\": \"query\",\n \"name\": \"flatten\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"By default, results are returned in the same order as they were stored.\\nTo reverse the order, set this parameter to `true` or `1`.\\n\",\n \"in\": \"query\",\n \"name\": \"desc\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the response will define the `Content-Disposition:\\nattachment` header, forcing a web browser to download the file rather\\nthan to display it. By default this header is not present.\\n\",\n \"in\": \"query\",\n \"name\": \"attachment\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"A delimiter character for CSV files, only used if `format=csv`. You\\nmight need to URL-encode the character (e.g. use `%09` for tab or `%3B`\\nfor semicolon). The default delimiter is a simple comma (`,`).\\n\",\n \"in\": \"query\",\n \"name\": \"delimiter\",\n \"required\": false,\n \"schema\": {\n \"example\": \";\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"All text responses are encoded in UTF-8 encoding. By default, the\\n`format=csv` files are prefixed with the UTF-8 Byte Order Mark (BOM), while `json`, `jsonl`, `xml`, `html` and `rss` files are not.\\n\\nIf you want to override this default behavior, specify `bom=1` query parameter to include the BOM or `bom=0` to skip it.\\n\",\n \"in\": \"query\",\n \"name\": \"bom\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Overrides default root element name of `xml` output. By default the root element is `items`.\\n\",\n \"in\": \"query\",\n \"name\": \"xmlRoot\",\n \"required\": false,\n \"schema\": {\n \"example\": \"items\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Overrides default element name that wraps each page or page function result object in `xml` output. By default the element name is `item`.\\n\",\n \"in\": \"query\",\n \"name\": \"xmlRow\",\n \"required\": false,\n \"schema\": {\n \"example\": \"item\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then header row in the `csv` format is skipped.\",\n \"in\": \"query\",\n \"name\": \"skipHeaderRow\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then hidden fields are skipped from the output, i.e. fields starting with the `#` character.\\n\",\n \"in\": \"query\",\n \"name\": \"skipHidden\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then empty items are skipped from the output.\\n\\nNote that if used, the results might contain less items than the limit value.\\n\",\n \"in\": \"query\",\n \"name\": \"skipEmpty\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then, the endpoint applies the `fields=url,pageFunctionResult,errorInfo`\\nand `unwind=pageFunctionResult` query parameters. This feature is used to emulate simplified results provided by the\\nlegacy Apify Crawler product and it's not recommended to use it in new integrations.\\n\",\n \"in\": \"query\",\n \"name\": \"simplified\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Defines the view configuration for dataset items based on the schema definition.\\nThis parameter determines how the data will be filtered and presented.\\nFor complete specification details, see the [dataset schema documentation](/platform/actors/development/actor-definition/dataset-schema).\\n\",\n \"in\": \"query\",\n \"name\": \"view\",\n \"required\": false,\n \"schema\": {\n \"example\": \"overview\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then, the all the items with errorInfo property will be skipped from the output.\\n\\nThis feature is here to emulate functionality of API version 1 used for the legacy Apify Crawler product and it's not recommended to use it in new integrations.\\n\",\n \"in\": \"query\",\n \"name\": \"skipFailedPages\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Overrides the auto-generated RSS channel `<title>` element.\\nOnly used when `format=rss`. If not provided, the title defaults to `Dataset <label>`.\\n\",\n \"in\": \"query\",\n \"name\": \"feedTitle\",\n \"required\": false,\n \"schema\": {\n \"example\": \"Latest posts from r/pasta\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Overrides the auto-generated RSS channel `<description>` element.\\nOnly used when `format=rss`. If not provided, the description defaults to `Items in dataset with id \\\"<datasetId>\\\".`\\n\",\n \"in\": \"query\",\n \"name\": \"feedDescription\",\n \"required\": false,\n \"schema\": {\n \"example\": \"Scraped forum posts\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/run-sync-get-dataset-items\",\n \"request_body\": {\n \"type\": \"object\"\n },\n \"security\": null,\n \"skill_name\": \"act_run_sync_get_dataset_items_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Run Actor synchronously and get dataset items\",\n \"tags\": [\n \"Actors/Actor runs\"\n ]\n },\n \"act_run_sync_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Runs a specific Actor and returns its output.\\n\\nThe POST payload including its `Content-Type` header is passed as `INPUT` to\\nthe Actor (usually <code>application/json</code>).\\nThe HTTP response contains Actors `OUTPUT` record from its default\\nkey-value store.\\n\\nThe Actor is started with the default options; you can override them using\\nvarious URL query parameters.\\nIf the Actor run exceeds 300<!-- MAX_ACTOR_JOB_SYNC_WAIT_SECS --> seconds,\\nthe HTTP response will have status 408 (Request Timeout).\\n\\nBeware that it might be impossible to maintain an idle HTTP connection for a\\nlong period of time, due to client timeout or network conditions. Make sure your HTTP client is\\nconfigured to have a long enough connection timeout.\\nIf the connection breaks, you will not receive any information about the run\\nand its status.\\n\\nTo run the Actor asynchronously, use the [Run\\nActor](#/reference/actors/run-collection/run-actor) API endpoint instead.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"act_run_sync_post\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Key of the record from run's default key-value store to be returned\\nin the response. By default, it is `OUTPUT`.\\n\",\n \"in\": \"query\",\n \"name\": \"outputRecordKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"OUTPUT\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Optional timeout for the run, in seconds. By default, the run uses the timeout from its configuration.\\n\",\n \"in\": \"query\",\n \"name\": \"timeout\",\n \"required\": false,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Memory limit for the run, in megabytes. The amount of memory can be set to a power of 2 with a minimum of 128.\\nBy default, the run uses the memory limit from its configuration.\\n\",\n \"in\": \"query\",\n \"name\": \"memory\",\n \"required\": false,\n \"schema\": {\n \"example\": 256,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Specifies the maximum number of dataset items that will be charged for pay-per-result Actors.\\nThis does NOT guarantee that the Actor will return only this many items.\\nIt only ensures you won't be charged for more than this number of items.\\nOnly works for pay-per-result Actors.\\nValue can be accessed in the actor run using `ACTOR_MAX_PAID_DATASET_ITEMS` environment variable.\\n\",\n \"in\": \"query\",\n \"name\": \"maxItems\",\n \"required\": false,\n \"schema\": {\n \"example\": 1000,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Specifies the maximum cost of the run. This parameter is\\nuseful for pay-per-event Actors, as it allows you to limit the amount\\ncharged to your subscription. You can access the maximum cost in your Actor\\nby using the `ACTOR_MAX_TOTAL_CHARGE_USD` environment variable.\\n\",\n \"in\": \"query\",\n \"name\": \"maxTotalChargeUsd\",\n \"required\": false,\n \"schema\": {\n \"example\": 5,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Determines whether the run will be restarted if it fails.\\n\",\n \"in\": \"query\",\n \"name\": \"restartOnError\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Specifies the Actor build to run. It can be either a build tag or build number.\\nBy default, the run uses the build from its configuration (typically `latest`).\\n\",\n \"in\": \"query\",\n \"name\": \"build\",\n \"required\": false,\n \"schema\": {\n \"example\": \"0.1.234\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Specifies optional webhooks associated with the Actor run, which can be used to receive a notification\\ne.g. when the Actor finished or failed. The value is a Base64-encoded JSON array whose items follow\\nthe WebhookRepresentation schema. For more information, see\\n[Webhooks documentation](https://docs.apify.com/platform/integrations/webhooks).\\n\",\n \"in\": \"query\",\n \"name\": \"webhooks\",\n \"required\": false,\n \"schema\": {\n \"contentEncoding\": \"base64\",\n \"contentMediaType\": \"application/json\",\n \"contentSchema\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/WebhookRepresentation\"\n },\n \"type\": \"array\"\n },\n \"example\": \"dGhpcyBpcyBqdXN0IGV4YW1wbGUK...\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/run-sync\",\n \"request_body\": {\n \"type\": \"object\"\n },\n \"security\": null,\n \"skill_name\": \"act_run_sync_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Run Actor synchronously and return output\",\n \"tags\": [\n \"Actors/Actor runs\"\n ]\n },\n \"act_runs_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets the list of runs of a specific Actor. The response is a list of\\nobjects, where each object contains basic information about a single Actor run.\\n\\nThe endpoint supports pagination using the `limit` and `offset` parameters\\nand it will not return more than 1000 array elements.\\n\\nBy default, the records are sorted by the `startedAt` field in ascending\\norder, therefore you can use pagination to incrementally fetch all records while\\nnew ones are still being created. To sort the records in descending order, use\\n`desc=1` parameter. You can also filter runs by status ([available\\nstatuses](https://docs.apify.com/platform/actors/running/runs-and-builds#lifecycle)).\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"act_runs_get\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Number of items that should be skipped at the start. The default value is `0`.\\n\",\n \"in\": \"query\",\n \"name\": \"offset\",\n \"required\": false,\n \"schema\": {\n \"example\": 0,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Maximum number of items to return. The default value as well as the maximum is `1000`.\\n\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"example\": 1000,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the objects are sorted by the `startedAt` field in\\ndescending order. By default, they are sorted in ascending order.\\n\",\n \"in\": \"query\",\n \"name\": \"desc\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Single status or comma-separated list of statuses, see ([available\\nstatuses](https://docs.apify.com/platform/actors/running/runs-and-builds#lifecycle)). Used to filter runs by the specified statuses only.\\n\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": [\n \"SUCCEEDED\"\n ],\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n },\n {\n \"description\": \"Filter runs that started after the specified date and time (inclusive).\\nThe value must be a valid ISO 8601 datetime string (UTC).\\n\",\n \"in\": \"query\",\n \"name\": \"startedAfter\",\n \"required\": false,\n \"schema\": {\n \"example\": \"2025-09-01T00:00:00.000Z\",\n \"format\": \"date-time\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter runs that started before the specified date and time (inclusive).\\nThe value must be a valid ISO 8601 datetime string (UTC).\\n\",\n \"in\": \"query\",\n \"name\": \"startedBefore\",\n \"required\": false,\n \"schema\": {\n \"example\": \"2025-09-17T23:59:59.000Z\",\n \"format\": \"date-time\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_runs_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get list of runs\",\n \"tags\": [\n \"Actors/Actor runs\"\n ]\n },\n \"act_runs_last_abort_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Aborts the last run of the specified Actor and returns an object that\\ncontains all the details about the run.\\n\\nThis endpoint is a shortcut for [Abort run](#/reference/actor-runs/abort-run/abort-run)\\non the Actor's last run. Only runs that are starting or running are aborted.\\nFor runs with status `FINISHED`, `FAILED`, `ABORTING` and `TIMED-OUT` this call\\ndoes nothing.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"act_runs_last_abort_post\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If true passed, the Actor run will abort gracefully.\\nIt will send `aborting` and `persistState` event into run and force-stop the run after 30 seconds.\\nIt is helpful in cases where you plan to resurrect the run later.\\n\",\n \"in\": \"query\",\n \"name\": \"gracefully\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/abort\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_runs_last_abort_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Abort Actor's last run\",\n \"tags\": [\n \"Last Actor run's abort\"\n ]\n },\n \"act_runs_last_dataset_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Deletes the default dataset associated with the last Actor run.\\n\\nThis endpoint is a shortcut for getting the last run's `defaultDatasetId` and then using the\\n[Delete dataset](/api/v2/dataset-delete) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"act_runs_last_dataset_delete\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/dataset\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_runs_last_dataset_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete last run's default dataset\",\n \"tags\": [\n \"Last Actor run's default dataset\"\n ]\n },\n \"act_runs_last_dataset_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns the default dataset associated with the last Actor run.\\n\\nThis endpoint is a shortcut for getting the last run's `defaultDatasetId` and then using the\\n[Get dataset](/api/v2/dataset-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"act_runs_last_dataset_get\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/dataset\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_runs_last_dataset_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get last run's default dataset\",\n \"tags\": [\n \"Last Actor run's default dataset\"\n ]\n },\n \"act_runs_last_dataset_items_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns data stored in the default dataset of the last Actor run in the desired format.\\n\\nThis endpoint is a shortcut that resolves the last run's `defaultDatasetId` and proxies to the\\n[Get dataset items](/api/v2/dataset-items-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"act_runs_last_dataset_items_get\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Format of the results, possible values are: `json`, `jsonl`, `csv`, `html`, `xlsx`, `xml` and `rss`. The default value is `json`.\\n\",\n \"in\": \"query\",\n \"name\": \"format\",\n \"required\": false,\n \"schema\": {\n \"example\": \"json\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the API endpoint returns only non-empty items and skips hidden fields (i.e. fields starting with the # character).\\nThe `clean` parameter is just a shortcut for `skipHidden=true` and `skipEmpty=true` parameters.\\nNote that since some objects might be skipped from the output, that the result might contain less items than the `limit` value.\\n\",\n \"in\": \"query\",\n \"name\": \"clean\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Number of items that should be skipped at the start. The default value is `0`.\\n\",\n \"in\": \"query\",\n \"name\": \"offset\",\n \"required\": false,\n \"schema\": {\n \"example\": 0,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Maximum number of items to return. By default there is no limit.\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should be picked from the items, only these fields will remain in the resulting record objects.\\nNote that the fields in the outputted items are sorted the same way as they are specified in the `fields` query parameter.\\nYou can use this feature to effectively fix the output format.\\n\",\n \"in\": \"query\",\n \"name\": \"fields\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue,myOtherValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of output field names that positionally rename the fields specified in the `fields` parameter.\\nFor example, `?fields=headline,url&outputFields=title,link` renames `headline` to `title` and `url` to `link` in the output.\\nThe number of names in `outputFields` must match the number of names in `fields`.\\nRequires the `fields` parameter to be specified as well.\\n\",\n \"in\": \"query\",\n \"name\": \"outputFields\",\n \"required\": false,\n \"schema\": {\n \"example\": \"title,link\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should be omitted from the items.\",\n \"in\": \"query\",\n \"name\": \"omit\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue,myOtherValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should be unwound, in order which they should be processed. Each field should be either an array or an object.\\nIf the field is an array then every element of the array will become a separate record and merged with parent object.\\nIf the unwound field is an object then it is merged with the parent object.\\nIf the unwound field is missing or its value is neither an array nor an object and therefore cannot be merged with a parent object then the item gets preserved as it is.\\nNote that the unwound items ignore the `desc` parameter.\\n\",\n \"in\": \"query\",\n \"name\": \"unwind\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue,myOtherValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should transform nested objects into flat structures.\\n\\nFor example, with `flatten=\\\"foo\\\"` the object `{\\\"foo\\\":{\\\"bar\\\": \\\"hello\\\"}}` is turned into `{\\\"foo.bar\\\": \\\"hello\\\"}`.\\n\\nThe original object with properties is replaced with the flattened object.\\n\",\n \"in\": \"query\",\n \"name\": \"flatten\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"By default, results are returned in the same order as they were stored.\\nTo reverse the order, set this parameter to `true` or `1`.\\n\",\n \"in\": \"query\",\n \"name\": \"desc\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the response will define the `Content-Disposition:\\nattachment` header, forcing a web browser to download the file rather\\nthan to display it. By default this header is not present.\\n\",\n \"in\": \"query\",\n \"name\": \"attachment\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"A delimiter character for CSV files, only used if `format=csv`. You\\nmight need to URL-encode the character (e.g. use `%09` for tab or `%3B`\\nfor semicolon). The default delimiter is a simple comma (`,`).\\n\",\n \"in\": \"query\",\n \"name\": \"delimiter\",\n \"required\": false,\n \"schema\": {\n \"example\": \";\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"All text responses are encoded in UTF-8 encoding. By default, the\\n`format=csv` files are prefixed with the UTF-8 Byte Order Mark (BOM), while `json`, `jsonl`, `xml`, `html` and `rss` files are not.\\n\\nIf you want to override this default behavior, specify `bom=1` query parameter to include the BOM or `bom=0` to skip it.\\n\",\n \"in\": \"query\",\n \"name\": \"bom\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Overrides default root element name of `xml` output. By default the root element is `items`.\\n\",\n \"in\": \"query\",\n \"name\": \"xmlRoot\",\n \"required\": false,\n \"schema\": {\n \"example\": \"items\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Overrides default element name that wraps each page or page function result object in `xml` output. By default the element name is `item`.\\n\",\n \"in\": \"query\",\n \"name\": \"xmlRow\",\n \"required\": false,\n \"schema\": {\n \"example\": \"item\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then header row in the `csv` format is skipped.\",\n \"in\": \"query\",\n \"name\": \"skipHeaderRow\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then hidden fields are skipped from the output, i.e. fields starting with the `#` character.\\n\",\n \"in\": \"query\",\n \"name\": \"skipHidden\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then empty items are skipped from the output.\\n\\nNote that if used, the results might contain less items than the limit value.\\n\",\n \"in\": \"query\",\n \"name\": \"skipEmpty\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then, the endpoint applies the `fields=url,pageFunctionResult,errorInfo`\\nand `unwind=pageFunctionResult` query parameters. This feature is used to emulate simplified results provided by the\\nlegacy Apify Crawler product and it's not recommended to use it in new integrations.\\n\",\n \"in\": \"query\",\n \"name\": \"simplified\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Defines the view configuration for dataset items based on the schema definition.\\nThis parameter determines how the data will be filtered and presented.\\nFor complete specification details, see the [dataset schema documentation](/platform/actors/development/actor-definition/dataset-schema).\\n\",\n \"in\": \"query\",\n \"name\": \"view\",\n \"required\": false,\n \"schema\": {\n \"example\": \"overview\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then, the all the items with errorInfo property will be skipped from the output.\\n\\nThis feature is here to emulate functionality of API version 1 used for the legacy Apify Crawler product and it's not recommended to use it in new integrations.\\n\",\n \"in\": \"query\",\n \"name\": \"skipFailedPages\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Overrides the auto-generated RSS channel `<title>` element.\\nOnly used when `format=rss`. If not provided, the title defaults to `Dataset <label>`.\\n\",\n \"in\": \"query\",\n \"name\": \"feedTitle\",\n \"required\": false,\n \"schema\": {\n \"example\": \"Latest posts from r/pasta\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Overrides the auto-generated RSS channel `<description>` element.\\nOnly used when `format=rss`. If not provided, the description defaults to `Items in dataset with id \\\"<datasetId>\\\".`\\n\",\n \"in\": \"query\",\n \"name\": \"feedDescription\",\n \"required\": false,\n \"schema\": {\n \"example\": \"Scraped forum posts\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Signature used for the access.\",\n \"in\": \"query\",\n \"name\": \"signature\",\n \"required\": false,\n \"schema\": {\n \"example\": \"2wTI46Bg8qWQrV7tavlPI\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/dataset/items\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_runs_last_dataset_items_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get last run's dataset items\",\n \"tags\": [\n \"Last Actor run's default dataset\"\n ]\n },\n \"act_runs_last_dataset_items_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Appends an item or an array of items to the end of the last Actor run's default dataset.\\n\\nThis endpoint is a shortcut that resolves the last run's `defaultDatasetId` and proxies to the\\n[Store items](/api/v2/dataset-items-post) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"act_runs_last_dataset_items_post\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/dataset/items\",\n \"request_body\": {\n \"description\": \"\",\n \"oneOf\": [\n {\n \"$ref\": \"#/components/schemas/PutItemsRequest\"\n },\n {\n \"items\": {\n \"$ref\": \"#/components/schemas/PutItemsRequest\"\n },\n \"type\": \"array\"\n }\n ]\n },\n \"security\": null,\n \"skill_name\": \"act_runs_last_dataset_items_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Store items in last run's dataset\",\n \"tags\": [\n \"Last Actor run's default dataset\"\n ]\n },\n \"act_runs_last_dataset_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Updates the default dataset associated with the last Actor run.\\n\\nThis endpoint is a shortcut for getting the last run's `defaultDatasetId` and then using the\\n[Update dataset](/api/v2/dataset-put) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"act_runs_last_dataset_put\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/dataset\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/UpdateDatasetRequest\"\n },\n \"security\": null,\n \"skill_name\": \"act_runs_last_dataset_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Update last run's default dataset\",\n \"tags\": [\n \"Last Actor run's default dataset\"\n ]\n },\n \"act_runs_last_dataset_statistics_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns statistics for the last Actor run's default dataset.\\n\\nThis endpoint is a shortcut that resolves the last run's `defaultDatasetId` and proxies to the\\n[Get dataset statistics](/api/v2/dataset-statistics-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"act_runs_last_dataset_statistics_get\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/dataset/statistics\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_runs_last_dataset_statistics_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get last run's dataset statistics\",\n \"tags\": [\n \"Last Actor run's default dataset\"\n ]\n },\n \"act_runs_last_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"This is not a single endpoint, but an entire group of endpoints that lets you to\\nretrieve and manage the last run of given Actor or any of its default storages.\\nAll the endpoints require an authentication token.\\n\\nThe base path represents the last Actor run object is:\\n\\n`/v2/actors/{actorId}/runs/last{?token,status}`\\n\\nUsing the `status` query parameter you can ensure to only get a run with a certain status\\n(e.g. `status=SUCCEEDED`). The output of this endpoint and other query parameters\\nare the same as in the [Run object](#/reference/actors/run-object) endpoint.\\n\\n##### Convenience endpoints for last Actor run\\n\\n* [Dataset](/api/v2/last-actor-runs-default-dataset)\\n\\n* [Key-value store](/api/v2/last-actor-runs-default-key-value-store)\\n\\n* [Request queue](/api/v2/last-actor-runs-default-request-queue)\\n\\n* [Log](/api/v2/last-actor-runs-log)\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"act_runs_last_get\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The maximum number of seconds the server waits for the run to finish. By\\ndefault it is `0`, the maximum value is `60`. <!-- MAX_ACTOR_JOB_ASYNC_WAIT_SECS -->\\nIf the run finishes in time then the returned run object will have a terminal status (e.g. `SUCCEEDED`),\\notherwise it will have a transitional status (e.g. `RUNNING`).\\n\",\n \"in\": \"query\",\n \"name\": \"waitForFinish\",\n \"required\": false,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_runs_last_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get last run\",\n \"tags\": [\n \"Actors/Actor runs\"\n ]\n },\n \"act_runs_last_key_value_store_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Deletes the last Actor run key-value store.\\n\\nThis endpoint is a shortcut for getting the run's `defaultKeyValueStoreId` and then using the\\n[Delete store](/api/v2/key-value-store-delete) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"act_runs_last_key_value_store_delete\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/key-value-store\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_runs_last_key_value_store_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete last run's default store\",\n \"tags\": [\n \"Last Actor run's default key-value store\"\n ]\n },\n \"act_runs_last_key_value_store_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets an object that contains all the details about the default key-value store associated with the last Actor run.\\n\\nThis endpoint is a shortcut for getting the run's `defaultKeyValueStoreId` and then using the\\n[Get store](/api/v2/key-value-store-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"act_runs_last_key_value_store_get\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/key-value-store\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_runs_last_key_value_store_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get last run's default store\",\n \"tags\": [\n \"Last Actor run's default key-value store\"\n ]\n },\n \"act_runs_last_key_value_store_keys_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns a list of keys for the default key-value store of the last Actor run.\\n\\nThis endpoint is a shortcut for getting the last run's `defaultKeyValueStoreId` and then using the\\n[Get list of keys](/api/v2/key-value-store-keys-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"act_runs_last_key_value_store_keys_get\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"All keys up to this one (including) are skipped from the result.\",\n \"in\": \"query\",\n \"name\": \"exclusiveStartKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"Ihnsp8YrvJ8102Kj\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Number of keys to be returned.\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"default\": 1000,\n \"example\": 100,\n \"format\": \"int32\",\n \"maximum\": 1000,\n \"minimum\": 1,\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Limit the results to keys that belong to a specific collection from the key-value store schema. The key-value store need to have a schema defined for this parameter to work.\",\n \"in\": \"query\",\n \"name\": \"collection\",\n \"required\": false,\n \"schema\": {\n \"example\": \"postImages\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Limit the results to keys that start with a specific prefix.\",\n \"in\": \"query\",\n \"name\": \"prefix\",\n \"required\": false,\n \"schema\": {\n \"example\": \"post-images-\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Signature used for the access.\",\n \"in\": \"query\",\n \"name\": \"signature\",\n \"required\": false,\n \"schema\": {\n \"example\": \"2wTI46Bg8qWQrV7tavlPI\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/key-value-store/keys\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_runs_last_key_value_store_keys_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get last run's default store's list of keys\",\n \"tags\": [\n \"Last Actor run's default key-value store\"\n ]\n },\n \"act_runs_last_key_value_store_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Updates the last Actor run key-value store's name and general resource access level using a value specified by a JSON object\\npassed in the PUT payload.\\n\\nThis endpoint is a shortcut for getting the run's `defaultKeyValueStoreId` and then using the\\n[Update store](/api/v2/key-value-store-put) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"act_runs_last_key_value_store_put\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/key-value-store\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/UpdateStoreRequest\"\n },\n \"security\": null,\n \"skill_name\": \"act_runs_last_key_value_store_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Update last run's default store\",\n \"tags\": [\n \"Last Actor run's default key-value store\"\n ]\n },\n \"act_runs_last_key_value_store_record_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Removes a record specified by a key from the default key-value store of the last Actor run.\\n\\nThis endpoint is a shortcut for getting the last run's `defaultKeyValueStoreId` and then using the\\n[Delete record](/api/v2/key-value-store-record-delete) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"act_runs_last_key_value_store_record_delete\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Key of the record.\",\n \"in\": \"path\",\n \"name\": \"recordKey\",\n \"required\": true,\n \"schema\": {\n \"example\": \"someKey\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/key-value-store/records/{recordKey}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_runs_last_key_value_store_record_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete last run's default store's record\",\n \"tags\": [\n \"Last Actor run's default key-value store\"\n ]\n },\n \"act_runs_last_key_value_store_record_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets a value stored under a specific key in the default key-value store of the last Actor run.\\n\\nThis endpoint is a shortcut for getting the last run's `defaultKeyValueStoreId` and then using the\\n[Get record](/api/v2/key-value-store-record-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"act_runs_last_key_value_store_record_get\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Key of the record.\",\n \"in\": \"path\",\n \"name\": \"recordKey\",\n \"required\": true,\n \"schema\": {\n \"example\": \"someKey\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Signature used for the access.\",\n \"in\": \"query\",\n \"name\": \"signature\",\n \"required\": false,\n \"schema\": {\n \"example\": \"2wTI46Bg8qWQrV7tavlPI\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1`, the response will be served with `Content-Disposition: attachment` header,\\ncausing web browsers to offer downloading HTML records instead of displaying them.\\n\",\n \"in\": \"query\",\n \"name\": \"attachment\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/key-value-store/records/{recordKey}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_runs_last_key_value_store_record_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get last run's default store's record\",\n \"tags\": [\n \"Last Actor run's default key-value store\"\n ]\n },\n \"act_runs_last_key_value_store_record_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Stores a value under a specific key in the default key-value store of the last Actor run.\\n\\nThis endpoint is a shortcut for getting the last run's `defaultKeyValueStoreId` and then using the\\n[Store record](/api/v2/key-value-store-record-post) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"act_runs_last_key_value_store_record_post\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Key of the record.\",\n \"in\": \"path\",\n \"name\": \"recordKey\",\n \"required\": true,\n \"schema\": {\n \"example\": \"someKey\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"\",\n \"in\": \"header\",\n \"name\": \"Content-Encoding\",\n \"required\": false,\n \"schema\": {\n \"enum\": [\n \"gzip\",\n \"deflate\",\n \"br\",\n \"identity\"\n ],\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/key-value-store/records/{recordKey}\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/PutRecordRequest\"\n },\n \"security\": null,\n \"skill_name\": \"act_runs_last_key_value_store_record_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Store record in last run's default store (POST)\",\n \"tags\": [\n \"Last Actor run's default key-value store\"\n ]\n },\n \"act_runs_last_key_value_store_record_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Stores a value under a specific key in the default key-value store of the last Actor run.\\n\\nThis endpoint is a shortcut for getting the last run's `defaultKeyValueStoreId` and then using the\\n[Store record](/api/v2/key-value-store-record-put) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"act_runs_last_key_value_store_record_put\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Key of the record.\",\n \"in\": \"path\",\n \"name\": \"recordKey\",\n \"required\": true,\n \"schema\": {\n \"example\": \"someKey\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"\",\n \"in\": \"header\",\n \"name\": \"Content-Encoding\",\n \"required\": false,\n \"schema\": {\n \"enum\": [\n \"gzip\",\n \"deflate\",\n \"br\",\n \"identity\"\n ],\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/key-value-store/records/{recordKey}\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/PutRecordRequest\"\n },\n \"security\": null,\n \"skill_name\": \"act_runs_last_key_value_store_record_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Store record in last run's default store\",\n \"tags\": [\n \"Last Actor run's default key-value store\"\n ]\n },\n \"act_runs_last_key_value_store_records_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Downloads all records from the default key-value store of the last Actor run as a ZIP archive.\\n\\nThis endpoint is a shortcut for getting the last run's `defaultKeyValueStoreId` and then using the\\n[Download records](/api/v2/key-value-store-records-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"act_runs_last_key_value_store_records_get\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If specified, only records belonging to a specific collection from the key-value store schema. The key-value store need to have a schema defined for this parameter to work.\\n\",\n \"in\": \"query\",\n \"name\": \"collection\",\n \"required\": false,\n \"schema\": {\n \"example\": \"my-collection\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If specified, only records whose key starts with the given prefix are included in the archive.\\n\",\n \"in\": \"query\",\n \"name\": \"prefix\",\n \"required\": false,\n \"schema\": {\n \"example\": \"my-prefix/\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Signature used for the access.\",\n \"in\": \"query\",\n \"name\": \"signature\",\n \"required\": false,\n \"schema\": {\n \"example\": \"2wTI46Bg8qWQrV7tavlPI\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/key-value-store/records\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_runs_last_key_value_store_records_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Download last run's default store's records\",\n \"tags\": [\n \"Last Actor run's default key-value store\"\n ]\n },\n \"act_runs_last_log_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Retrieves last Actor run's logs.\\n\\nThis endpoint is a shortcut for getting last Actor run's log. Same as [Get log](/api/v2/log-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"act_runs_last_log_get\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the logs will be streamed as long as the run or build is running.\\n\",\n \"in\": \"query\",\n \"name\": \"stream\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the web browser will download the log file rather than open it in a tab.\\n\",\n \"in\": \"query\",\n \"name\": \"download\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1`, the logs will be kept verbatim. By default, the API removes\\nANSI escape codes from the logs, keeping only printable characters.\\n\",\n \"in\": \"query\",\n \"name\": \"raw\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/log\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_runs_last_log_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get last Actor run's log\",\n \"tags\": [\n \"Last Actor run's log\"\n ]\n },\n \"act_runs_last_metamorph_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Transforms the last run of the specified Actor into a run of another Actor with\\na new input.\\n\\nThis endpoint is a shortcut for [Metamorph run](#/reference/actor-runs/metamorph-run/metamorph-run)\\non the Actor's last run.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"act_runs_last_metamorph_post\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"ID of a target Actor that the run should be transformed into.\",\n \"in\": \"query\",\n \"name\": \"targetActorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"HDSasDasz78YcAPEB\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Optional build of the target Actor.\\n\\nIt can be either a build tag or build number. By default, the run uses\\nthe build specified in the default run configuration for the target\\nActor (typically `latest`).\\n\",\n \"in\": \"query\",\n \"name\": \"build\",\n \"required\": false,\n \"schema\": {\n \"example\": \"beta\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/metamorph\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_runs_last_metamorph_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Metamorph Actor's last run\",\n \"tags\": [\n \"Last Actor run's metamorph\"\n ]\n },\n \"act_runs_last_reboot_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Reboots the last run of the specified Actor and returns an object that\\ncontains all the details about the rebooted run.\\n\\nThis endpoint is a shortcut for [Reboot run](#/reference/actor-runs/reboot-run/reboot-run)\\non the Actor's last run. Only runs with status `RUNNING` can be rebooted. The run's\\ncontainer will be restarted, so any data not persisted in the key-value store, dataset,\\nor request queue will be lost.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"act_runs_last_reboot_post\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/reboot\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_runs_last_reboot_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Reboot Actor's last run\",\n \"tags\": [\n \"Last Actor run's reboot\"\n ]\n },\n \"act_runs_last_request_queue_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Deletes the default request queue associated with the last Actor run.\\n\\nThis endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the\\n[Delete request queue](/api/v2/request-queue-delete) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"act_runs_last_request_queue_delete\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/request-queue\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_runs_last_request_queue_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete last run's default request queue\",\n \"tags\": [\n \"Last Actor run's default request queue\"\n ]\n },\n \"act_runs_last_request_queue_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns the default request queue associated with the last Actor run.\\n\\nThis endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the\\n[Get request queue](/api/v2/request-queue-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"act_runs_last_request_queue_get\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/request-queue\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_runs_last_request_queue_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get last run's default request queue\",\n \"tags\": [\n \"Last Actor run's default request queue\"\n ]\n },\n \"act_runs_last_request_queue_head_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns the given number of first requests from the default request queue of the last Actor run.\\n\\nThis endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the\\n[Get head](/api/v2/request-queue-head-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"act_runs_last_request_queue_head_get\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"How many items from queue should be returned.\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"example\": 100,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/request-queue/head\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_runs_last_request_queue_head_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get last run's default request queue head\",\n \"tags\": [\n \"Last Actor run's default request queue\"\n ]\n },\n \"act_runs_last_request_queue_head_lock_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns the given number of first requests from the default request queue of the last Actor run\\nand locks them for the given time.\\n\\nThis endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the\\n[Get head and lock](/api/v2/request-queue-head-lock-post) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"act_runs_last_request_queue_head_lock_post\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"How long the requests will be locked for (in seconds).\",\n \"in\": \"query\",\n \"name\": \"lockSecs\",\n \"required\": true,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"How many items from the queue should be returned.\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"example\": 25,\n \"format\": \"double\",\n \"maximum\": 25,\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/request-queue/head/lock\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_runs_last_request_queue_head_lock_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get and lock last run's default request queue head\",\n \"tags\": [\n \"Last Actor run's default request queue\"\n ]\n },\n \"act_runs_last_request_queue_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Updates the default request queue associated with the last Actor run.\\n\\nThis endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the\\n[Update request queue](/api/v2/request-queue-put) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"act_runs_last_request_queue_put\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/request-queue\",\n \"request_body\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/UpdateRequestQueueRequest\"\n },\n {\n \"example\": {\n \"name\": \"new-request-queue-name\"\n }\n }\n ]\n },\n \"security\": null,\n \"skill_name\": \"act_runs_last_request_queue_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Update last run's default request queue\",\n \"tags\": [\n \"Last Actor run's default request queue\"\n ]\n },\n \"act_runs_last_request_queue_request_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Deletes a request from the default request queue of the last Actor run.\\n\\nThis endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the\\n[Delete request](/api/v2/request-queue-request-delete) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"act_runs_last_request_queue_request_delete\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Request ID.\",\n \"in\": \"path\",\n \"name\": \"requestId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"xpsmkDlspokDSmklS\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/request-queue/requests/{requestId}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_runs_last_request_queue_request_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete request from last run's default request queue\",\n \"tags\": [\n \"Last Actor run's default request queue\"\n ]\n },\n \"act_runs_last_request_queue_request_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns a request from the default request queue of the last Actor run.\\n\\nThis endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the\\n[Get request](/api/v2/request-queue-request-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"act_runs_last_request_queue_request_get\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Request ID.\",\n \"in\": \"path\",\n \"name\": \"requestId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"xpsmkDlspokDSmklS\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/request-queue/requests/{requestId}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_runs_last_request_queue_request_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get request from last run's default request queue\",\n \"tags\": [\n \"Last Actor run's default request queue\"\n ]\n },\n \"act_runs_last_request_queue_request_lock_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Deletes a request lock in the default request queue of the last Actor run.\\n\\nThis endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the\\n[Delete request lock](/api/v2/request-queue-request-lock-delete) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"act_runs_last_request_queue_request_lock_delete\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Request ID.\",\n \"in\": \"path\",\n \"name\": \"requestId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"xpsmkDlspokDSmklS\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Determines if request should be added to the head of the queue or to the\\nend after lock was removed.\\n\",\n \"in\": \"query\",\n \"name\": \"forefront\",\n \"required\": false,\n \"schema\": {\n \"example\": \"false\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/request-queue/requests/{requestId}/lock\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_runs_last_request_queue_request_lock_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete lock on request in last run's default request queue\",\n \"tags\": [\n \"Last Actor run's default request queue\"\n ]\n },\n \"act_runs_last_request_queue_request_lock_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Prolongs a request lock in the default request queue of the last Actor run.\\n\\nThis endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the\\n[Prolong request lock](/api/v2/request-queue-request-lock-put) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"act_runs_last_request_queue_request_lock_put\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Request ID.\",\n \"in\": \"path\",\n \"name\": \"requestId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"xpsmkDlspokDSmklS\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"How long the requests will be locked for (in seconds).\",\n \"in\": \"query\",\n \"name\": \"lockSecs\",\n \"required\": true,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Determines if request should be added to the head of the queue or to the\\nend after lock expires.\\n\",\n \"in\": \"query\",\n \"name\": \"forefront\",\n \"required\": false,\n \"schema\": {\n \"example\": \"false\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/request-queue/requests/{requestId}/lock\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_runs_last_request_queue_request_lock_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Prolong lock on request in last run's default request queue\",\n \"tags\": [\n \"Last Actor run's default request queue\"\n ]\n },\n \"act_runs_last_request_queue_request_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Updates a request in the default request queue of the last Actor run.\\n\\nThis endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the\\n[Update request](/api/v2/request-queue-request-put) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"act_runs_last_request_queue_request_put\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Request ID.\",\n \"in\": \"path\",\n \"name\": \"requestId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"xpsmkDlspokDSmklS\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Determines if request should be added to the head of the queue or to the\\nend. Default value is `false` (end of queue).\\n\",\n \"in\": \"query\",\n \"name\": \"forefront\",\n \"required\": false,\n \"schema\": {\n \"example\": \"false\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/request-queue/requests/{requestId}\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/Request\"\n },\n \"security\": null,\n \"skill_name\": \"act_runs_last_request_queue_request_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Update request in last run's default request queue\",\n \"tags\": [\n \"Last Actor run's default request queue\"\n ]\n },\n \"act_runs_last_request_queue_requests_batch_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Batch-deletes requests from the default request queue of the last Actor run.\\n\\nThis endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the\\n[Delete requests](/api/v2/request-queue-requests-batch-delete) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"act_runs_last_request_queue_requests_batch_delete\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"\",\n \"in\": \"header\",\n \"name\": \"Content-Type\",\n \"required\": true,\n \"schema\": {\n \"const\": \"application/json\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/request-queue/requests/batch\",\n \"request_body\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/RequestDraftDelete\"\n },\n \"type\": \"array\"\n },\n \"security\": null,\n \"skill_name\": \"act_runs_last_request_queue_requests_batch_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Batch delete requests from last run's default request queue\",\n \"tags\": [\n \"Last Actor run's default request queue\"\n ]\n },\n \"act_runs_last_request_queue_requests_batch_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Adds requests to the default request queue of the last Actor run in batch.\\n\\nThis endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the\\n[Add requests](/api/v2/request-queue-requests-batch-post) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"act_runs_last_request_queue_requests_batch_post\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Determines if request should be added to the head of the queue or to the\\nend. Default value is `false` (end of queue).\\n\",\n \"in\": \"query\",\n \"name\": \"forefront\",\n \"required\": false,\n \"schema\": {\n \"example\": \"false\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/request-queue/requests/batch\",\n \"request_body\": {\n \"description\": \"\",\n \"items\": {\n \"$ref\": \"#/components/schemas/RequestBase\"\n },\n \"type\": \"array\"\n },\n \"security\": null,\n \"skill_name\": \"act_runs_last_request_queue_requests_batch_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Batch add requests to last run's default request queue\",\n \"tags\": [\n \"Last Actor run's default request queue\"\n ]\n },\n \"act_runs_last_request_queue_requests_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns a list of requests from the default request queue of the last Actor run.\\n\\nThis endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the\\n[List requests](/api/v2/request-queue-requests-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"act_runs_last_request_queue_requests_get\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"All requests up to this one (including) are skipped from the result. (Deprecated, use `cursor` instead.)\",\n \"in\": \"query\",\n \"name\": \"exclusiveStartId\",\n \"required\": false,\n \"schema\": {\n \"example\": \"Ihnsp8YrvJ8102Kj\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Number of keys to be returned. Maximum value is `10000`.\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"example\": 100,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"A cursor string for pagination, returned in the previous response as `nextCursor`. Use this to retrieve the next page of requests.\",\n \"in\": \"query\",\n \"name\": \"cursor\",\n \"required\": false,\n \"schema\": {\n \"example\": \"eyJyZXF1ZXN0SWQiOiI2OFRqQ2RaTDNvM2hiUU0ifQ\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter requests by their state. Possible values are `locked` and `pending`. You can combine multiple values separated by commas, which will mean the union of these filters \\u2013 requests matching any of the specified states will be returned. (Not compatible with deprecated `exclusiveStartId` parameter.)\",\n \"in\": \"query\",\n \"name\": \"filter\",\n \"required\": false,\n \"schema\": {\n \"example\": [\n \"locked\"\n ],\n \"items\": {\n \"enum\": [\n \"locked\",\n \"pending\"\n ],\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/request-queue/requests\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_runs_last_request_queue_requests_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"List last run's default request queue's requests\",\n \"tags\": [\n \"Last Actor run's default request queue\"\n ]\n },\n \"act_runs_last_request_queue_requests_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Adds a request to the default request queue of the last Actor run.\\n\\nThis endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the\\n[Add request](/api/v2/request-queue-requests-post) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"act_runs_last_request_queue_requests_post\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Determines if request should be added to the head of the queue or to the\\nend. Default value is `false` (end of queue).\\n\",\n \"in\": \"query\",\n \"name\": \"forefront\",\n \"required\": false,\n \"schema\": {\n \"example\": \"false\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/request-queue/requests\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/RequestBase\"\n },\n \"security\": null,\n \"skill_name\": \"act_runs_last_request_queue_requests_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Add request to last run's default request queue\",\n \"tags\": [\n \"Last Actor run's default request queue\"\n ]\n },\n \"act_runs_last_request_queue_requests_unlock_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Unlocks requests in the default request queue of the last Actor run that are currently locked by the client.\\n\\nThis endpoint is a shortcut for getting the last run's `defaultRequestQueueId` and then using the\\n[Unlock requests](/api/v2/request-queue-requests-unlock-post) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"act_runs_last_request_queue_requests_unlock_post\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs/last/request-queue/requests/unlock\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_runs_last_request_queue_requests_unlock_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Unlock requests in last run's default request queue\",\n \"tags\": [\n \"Last Actor run's default request queue\"\n ]\n },\n \"act_runs_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Runs an Actor and immediately returns without waiting for the run to finish.\\n\\nThe POST payload including its `Content-Type` header is passed as `INPUT` to\\nthe Actor (usually `application/json`).\\n\\nThe Actor is started with the default options; you can override them using\\nvarious URL query parameters.\\n\\nThe response is the Run object as returned by the [Get\\nrun](#/reference/actor-runs/run-object-and-its-storages/get-run) API\\nendpoint.\\n\\nIf you want to wait for the run to finish and receive the actual output of\\nthe Actor as the response, please use one of the [Run Actor\\nsynchronously](#/reference/actors/run-actor-synchronously) API endpoints\\ninstead.\\n\\nTo fetch the Actor run results that are typically stored in the default\\ndataset, you'll need to pass the ID received in the `defaultDatasetId` field\\nreceived in the response JSON to the [Get dataset items](#/reference/datasets/item-collection/get-items)\\nAPI endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"act_runs_post\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Optional timeout for the run, in seconds. By default, the run uses the timeout from its configuration.\\n\",\n \"in\": \"query\",\n \"name\": \"timeout\",\n \"required\": false,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Memory limit for the run, in megabytes. The amount of memory can be set to a power of 2 with a minimum of 128.\\nBy default, the run uses the memory limit from its configuration.\\n\",\n \"in\": \"query\",\n \"name\": \"memory\",\n \"required\": false,\n \"schema\": {\n \"example\": 256,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Specifies the maximum number of dataset items that will be charged for pay-per-result Actors.\\nThis does NOT guarantee that the Actor will return only this many items.\\nIt only ensures you won't be charged for more than this number of items.\\nOnly works for pay-per-result Actors.\\nValue can be accessed in the actor run using `ACTOR_MAX_PAID_DATASET_ITEMS` environment variable.\\n\",\n \"in\": \"query\",\n \"name\": \"maxItems\",\n \"required\": false,\n \"schema\": {\n \"example\": 1000,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Specifies the maximum cost of the run. This parameter is\\nuseful for pay-per-event Actors, as it allows you to limit the amount\\ncharged to your subscription. You can access the maximum cost in your Actor\\nby using the `ACTOR_MAX_TOTAL_CHARGE_USD` environment variable.\\n\",\n \"in\": \"query\",\n \"name\": \"maxTotalChargeUsd\",\n \"required\": false,\n \"schema\": {\n \"example\": 5,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Determines whether the run will be restarted if it fails.\\n\",\n \"in\": \"query\",\n \"name\": \"restartOnError\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Specifies the Actor build to run. It can be either a build tag or build number.\\nBy default, the run uses the build from its configuration (typically `latest`).\\n\",\n \"in\": \"query\",\n \"name\": \"build\",\n \"required\": false,\n \"schema\": {\n \"example\": \"0.1.234\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The maximum number of seconds the server waits for the run to finish. By\\ndefault it is `0`, the maximum value is `60`. <!-- MAX_ACTOR_JOB_ASYNC_WAIT_SECS -->\\nIf the run finishes in time then the returned run object will have a terminal status (e.g. `SUCCEEDED`),\\notherwise it will have a transitional status (e.g. `RUNNING`).\\n\",\n \"in\": \"query\",\n \"name\": \"waitForFinish\",\n \"required\": false,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Specifies optional webhooks associated with the Actor run, which can be used to receive a notification\\ne.g. when the Actor finished or failed. The value is a Base64-encoded JSON array whose items follow\\nthe WebhookRepresentation schema. For more information, see\\n[Webhooks documentation](https://docs.apify.com/platform/integrations/webhooks).\\n\",\n \"in\": \"query\",\n \"name\": \"webhooks\",\n \"required\": false,\n \"schema\": {\n \"contentEncoding\": \"base64\",\n \"contentMediaType\": \"application/json\",\n \"contentSchema\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/WebhookRepresentation\"\n },\n \"type\": \"array\"\n },\n \"example\": \"dGhpcyBpcyBqdXN0IGV4YW1wbGUK...\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Overrides the Actor's permission level for this specific run. Use to test restricted permissions\\nbefore deploying changes to your Actor or to temporarily elevate or restrict access. If you don't specify this\\nparameter, the Actor uses its configured default permission level. For more information on permissions, see the\\n[documentation](https://docs.apify.com/platform/actors/development/permissions).\\n\",\n \"in\": \"query\",\n \"name\": \"forcePermissionLevel\",\n \"required\": false,\n \"schema\": {\n \"enum\": [\n \"LIMITED_PERMISSIONS\",\n \"FULL_PERMISSIONS\"\n ],\n \"example\": \"LIMITED_PERMISSIONS\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/runs\",\n \"request_body\": {\n \"type\": \"object\"\n },\n \"security\": null,\n \"skill_name\": \"act_runs_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Run Actor\",\n \"tags\": [\n \"Actors/Actor runs\"\n ]\n },\n \"act_validate_input_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Validates the provided input against the Actor's input schema for the specified build.\\n\\nThe endpoint checks whether the JSON payload conforms to the input schema\\ndefined in the Actor's build. If no `build` query parameter is provided,\\nthe `latest` build tag is used by default.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"act_validate_input_post\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Optional tag or number of the Actor build to use for input schema validation.\\nBy default, the `latest` build tag is used.\\n\",\n \"in\": \"query\",\n \"name\": \"build\",\n \"required\": false,\n \"schema\": {\n \"example\": \"latest\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/validate-input\",\n \"request_body\": {\n \"type\": \"object\"\n },\n \"security\": null,\n \"skill_name\": \"act_validate_input_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Validate Actor input\",\n \"tags\": [\n \"Actors\"\n ]\n },\n \"act_version_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Deletes a specific version of Actor's source code.\\n\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"act_version_delete\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Actor version.\",\n \"in\": \"path\",\n \"name\": \"versionNumber\",\n \"required\": true,\n \"schema\": {\n \"example\": \"0.1\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/versions/{versionNumber}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_version_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete version\",\n \"tags\": [\n \"Actors/Actor versions\"\n ]\n },\n \"act_version_env_var_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Deletes a specific environment variable.\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"act_version_env_var_delete\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Actor version.\",\n \"in\": \"path\",\n \"name\": \"versionNumber\",\n \"required\": true,\n \"schema\": {\n \"example\": \"0.1\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The name of the environment variable\",\n \"in\": \"path\",\n \"name\": \"envVarName\",\n \"required\": true,\n \"schema\": {\n \"example\": \"MY_ENV_VAR\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/versions/{versionNumber}/env-vars/{envVarName}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_version_env_var_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete environment variable\",\n \"tags\": [\n \"Actors/Actor versions\"\n ]\n },\n \"act_version_env_var_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets a [EnvVar object](#/reference/actors/environment-variable-object) that\\ncontains all the details about a specific environment variable of an Actor.\\n\\nIf `isSecret` is set to `true`, then `value` will never be returned.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"act_version_env_var_get\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Actor version.\",\n \"in\": \"path\",\n \"name\": \"versionNumber\",\n \"required\": true,\n \"schema\": {\n \"example\": \"0.1\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The name of the environment variable\",\n \"in\": \"path\",\n \"name\": \"envVarName\",\n \"required\": true,\n \"schema\": {\n \"example\": \"MY_ENV_VAR\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/versions/{versionNumber}/env-vars/{envVarName}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_version_env_var_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get environment variable\",\n \"tags\": [\n \"Actors/Actor versions\"\n ]\n },\n \"act_version_env_var_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Updates Actor environment variable using values specified by a [EnvVar\\nobject](#/reference/actors/environment-variable-object)\\npassed as JSON in the POST payload.\\nThis endpoint is an alias for the [`PUT` update environment variable](#tag/ActorsEnvironment-variable-object/operation/act_version_envVar_put) method and behaves identically.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"act_version_env_var_post\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Actor version.\",\n \"in\": \"path\",\n \"name\": \"versionNumber\",\n \"required\": true,\n \"schema\": {\n \"example\": \"0.1\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The name of the environment variable\",\n \"in\": \"path\",\n \"name\": \"envVarName\",\n \"required\": true,\n \"schema\": {\n \"example\": \"MY_ENV_VAR\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/versions/{versionNumber}/env-vars/{envVarName}\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/EnvVarRequest\"\n },\n \"security\": null,\n \"skill_name\": \"act_version_env_var_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Update environment variable (POST)\",\n \"tags\": [\n \"Actors/Actor versions\"\n ]\n },\n \"act_version_env_var_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Updates Actor environment variable using values specified by a [EnvVar\\nobject](#/reference/actors/environment-variable-object)\\npassed as JSON in the POST payload.\\nIf the object does not define a specific property, its value will not be\\nupdated.\\n\\nThe request needs to specify the `Content-Type: application/json` HTTP\\nheader!\\n\\nWhen providing your API authentication token, we recommend using the\\nrequest's `Authorization` header, rather than the URL. ([More\\ninfo](#/introduction/authentication)).\\n\\nThe response is the [EnvVar object](#/reference/actors/environment-variable-object) as returned by the\\n[Get environment variable](#/reference/actors/environment-variable-object/get-environment-variable)\\nendpoint.\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"act_version_env_var_put\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Actor version.\",\n \"in\": \"path\",\n \"name\": \"versionNumber\",\n \"required\": true,\n \"schema\": {\n \"example\": \"0.1\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The name of the environment variable\",\n \"in\": \"path\",\n \"name\": \"envVarName\",\n \"required\": true,\n \"schema\": {\n \"example\": \"MY_ENV_VAR\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/versions/{versionNumber}/env-vars/{envVarName}\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/EnvVarRequest\"\n },\n \"security\": null,\n \"skill_name\": \"act_version_env_var_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Update environment variable\",\n \"tags\": [\n \"Actors/Actor versions\"\n ]\n },\n \"act_version_env_vars_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets the list of environment variables for a specific version of an Actor.\\nThe 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.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"act_version_env_vars_get\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Actor version.\",\n \"in\": \"path\",\n \"name\": \"versionNumber\",\n \"required\": true,\n \"schema\": {\n \"example\": \"0.1\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/versions/{versionNumber}/env-vars\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_version_env_vars_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get list of environment variables\",\n \"tags\": [\n \"Actors/Actor versions\"\n ]\n },\n \"act_version_env_vars_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Creates an environment variable of an Actor using values specified in a\\n[EnvVar object](#/reference/actors/environment-variable-object) passed as\\nJSON in the POST payload.\\n\\nThe request must specify `name` and `value` parameters (as strings) in the\\nJSON payload and a `Content-Type: application/json` HTTP header.\\n\\n```\\n{\\n \\\"name\\\": \\\"ENV_VAR_NAME\\\",\\n \\\"value\\\": \\\"my-env-var\\\"\\n}\\n```\\n\\nThe response is the [EnvVar\\nobject](#/reference/actors/environment-variable-object) as returned by the [Get environment\\nvariable](#/reference/actors/environment-variable-object/get-environment-variable)\\nendpoint.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"act_version_env_vars_post\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Actor version.\",\n \"in\": \"path\",\n \"name\": \"versionNumber\",\n \"required\": true,\n \"schema\": {\n \"example\": \"0.1\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/versions/{versionNumber}/env-vars\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/EnvVarRequest\"\n },\n \"security\": null,\n \"skill_name\": \"act_version_env_vars_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Create environment variable\",\n \"tags\": [\n \"Actors/Actor versions\"\n ]\n },\n \"act_version_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets a [Version object](#/reference/actors/version-object) that contains all the details about a specific version of an Actor.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"act_version_get\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Actor version.\",\n \"in\": \"path\",\n \"name\": \"versionNumber\",\n \"required\": true,\n \"schema\": {\n \"example\": \"0.1\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/versions/{versionNumber}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_version_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get version\",\n \"tags\": [\n \"Actors/Actor versions\"\n ]\n },\n \"act_version_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Updates Actor version using values specified by a [Version object](#/reference/actors/version-object) passed as JSON in the POST payload.\\nThis endpoint is an alias for the [`PUT` update version](#tag/ActorsVersion-object/operation/act_version_put) method and behaves identically.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"act_version_post\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Actor version.\",\n \"in\": \"path\",\n \"name\": \"versionNumber\",\n \"required\": true,\n \"schema\": {\n \"example\": \"0.1\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/versions/{versionNumber}\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/CreateOrUpdateVersionRequest\"\n },\n \"security\": null,\n \"skill_name\": \"act_version_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Update version (POST)\",\n \"tags\": [\n \"Actors/Actor versions\"\n ]\n },\n \"act_version_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Updates Actor version using values specified by a [Version object](#/reference/actors/version-object) passed as JSON in the POST payload.\\n\\nIf the object does not define a specific property, its value will not be\\nupdated.\\n\\nThe request needs to specify the `Content-Type: application/json` HTTP\\nheader!\\n\\nWhen providing your API authentication token, we recommend using the\\nrequest's `Authorization` header, rather than the URL. ([More\\ninfo](#/introduction/authentication)).\\n\\nThe response is the [Version object](#/reference/actors/version-object) as\\nreturned by the [Get version](#/reference/actors/version-object/get-version) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"act_version_put\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Actor version.\",\n \"in\": \"path\",\n \"name\": \"versionNumber\",\n \"required\": true,\n \"schema\": {\n \"example\": \"0.1\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/versions/{versionNumber}\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/CreateOrUpdateVersionRequest\"\n },\n \"security\": null,\n \"skill_name\": \"act_version_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Update version\",\n \"tags\": [\n \"Actors/Actor versions\"\n ]\n },\n \"act_versions_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets the list of versions of a specific Actor. The response is a JSON object\\nwith the list of [Version objects](#/reference/actors/version-object), where each\\ncontains basic information about a single version.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"act_versions_get\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/versions\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_versions_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get list of versions\",\n \"tags\": [\n \"Actors/Actor versions\"\n ]\n },\n \"act_versions_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Creates a version of an Actor using values specified in a [Version\\nobject](#/reference/actors/version-object) passed as JSON in the POST\\npayload.\\n\\nThe request must specify `versionNumber` and `sourceType` parameters (as\\nstrings) in the JSON payload and a `Content-Type: application/json` HTTP\\nheader.\\n\\nEach `sourceType` requires its own additional properties to be passed to the\\nJSON payload object. These are outlined in the [Version\\nobject](#/reference/actors/version-object) table below and in more detail in\\nthe [Apify\\ndocumentation](https://docs.apify.com/platform/actors/development/deployment/source-types).\\n\\nFor example, if an Actor's source code is stored in a [GitHub\\nrepository](https://docs.apify.com/platform/actors/development/deployment/source-types#git-repository),\\nyou will set the `sourceType` to `GIT_REPO` and pass the repository's URL in\\nthe `gitRepoUrl` property.\\n\\n```\\n{\\n \\\"versionNumber\\\": \\\"0.1\\\",\\n \\\"sourceType\\\": \\\"GIT_REPO\\\",\\n \\\"gitRepoUrl\\\": \\\"https://github.com/my-github-account/actor-repo\\\"\\n}\\n```\\n\\nThe response is the [Version object](#/reference/actors/version-object) as\\nreturned by the [Get version](#/reference/actors/version-object/get-version) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"act_versions_post\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/versions\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/CreateOrUpdateVersionRequest\"\n },\n \"security\": null,\n \"skill_name\": \"act_versions_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Create version\",\n \"tags\": [\n \"Actors/Actor versions\"\n ]\n },\n \"act_webhooks_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets the list of webhooks of a specific Actor. The response is a JSON with\\nthe list of objects, where each object contains basic information about a single webhook.\\n\\nThe endpoint supports pagination using the `limit` and `offset` parameters\\nand it will not return more than 1000 records.\\n\\nBy default, the records are sorted by the `createdAt` field in ascending\\norder, to sort the records in descending order, use the `desc=1` parameter.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"act_webhooks_get\",\n \"parameters\": [\n {\n \"description\": \"Actor ID or a tilde-separated owner's username and Actor name.\",\n \"in\": \"path\",\n \"name\": \"actorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-actor\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Number of items that should be skipped at the start. The default value is `0`.\\n\",\n \"in\": \"query\",\n \"name\": \"offset\",\n \"required\": false,\n \"schema\": {\n \"example\": 0,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Maximum number of items to return. The default value as well as the maximum is `1000`.\\n\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"example\": 1000,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the objects are sorted by the `createdAt` field in\\ndescending order. By default, they are sorted in ascending order.\\n\",\n \"in\": \"query\",\n \"name\": \"desc\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v2/actors/{actorId}/webhooks\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"act_webhooks_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get list of webhooks\",\n \"tags\": [\n \"Actors/Webhook collection\"\n ]\n },\n \"actor_build_abort_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Aborts an Actor build and returns an object that contains all the details\\nabout the build.\\n\\nOnly builds that are starting or running are aborted. For builds with status\\n`FINISHED`, `FAILED`, `ABORTING` and `TIMED-OUT` this call does nothing.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"actor_build_abort_post\",\n \"parameters\": [\n {\n \"description\": \"ID of the build, found in the build's Info tab.\",\n \"in\": \"path\",\n \"name\": \"buildId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"soSkq9ekdmfOslopH\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-builds/{buildId}/abort\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_build_abort_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Abort build\",\n \"tags\": [\n \"Actor builds\"\n ]\n },\n \"actor_build_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Delete the build. The build that is the current default build for the Actor\\ncannot be deleted.\\n\\nOnly users with build permissions for the Actor can delete builds.\\n\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"actor_build_delete\",\n \"parameters\": [\n {\n \"description\": \"ID of the build, found in the build's Info tab.\",\n \"in\": \"path\",\n \"name\": \"buildId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"soSkq9ekdmfOslopH\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-builds/{buildId}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_build_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete build\",\n \"tags\": [\n \"Actor builds\"\n ]\n },\n \"actor_build_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets an object that contains all the details about a specific build of an\\nActor.\\n\\nBy passing the optional `waitForFinish` parameter the API endpoint will\\nsynchronously wait for the build to finish. This is useful to avoid periodic\\npolling when waiting for an Actor build to finish.\\n\\nThis endpoint does not require the authentication token. Instead, calls are authenticated using a hard-to-guess ID of the build. However,\\nif you access the endpoint without the token, certain attributes, such as `usageUsd` and `usageTotalUsd`, will be hidden.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_build_get\",\n \"parameters\": [\n {\n \"description\": \"ID of the build, found in the build's Info tab.\",\n \"in\": \"path\",\n \"name\": \"buildId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"soSkq9ekdmfOslopH\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The maximum number of seconds the server waits for the build to finish.\\nBy default it is `0`, the maximum value is `60`. <!-- MAX_ACTOR_JOB_ASYNC_WAIT_SECS -->\\nIf the build finishes in time then the returned build object will have a\\nterminal status (e.g. `SUCCEEDED`), otherwise it will have a transitional status (e.g. `RUNNING`).\\n\",\n \"in\": \"query\",\n \"name\": \"waitForFinish\",\n \"required\": false,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n }\n ],\n \"path\": \"/v2/actor-builds/{buildId}\",\n \"request_body\": null,\n \"security\": [],\n \"skill_name\": \"actor_build_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get build\",\n \"tags\": [\n \"Actor builds\"\n ]\n },\n \"actor_build_log_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Retrieves Actor build's logs.\\n\\nThis endpoint is a shortcut for getting the build's log. Same as [Get log](/api/v2/log-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_build_log_get\",\n \"parameters\": [\n {\n \"description\": \"ID of the build, found in the build's Info tab.\",\n \"in\": \"path\",\n \"name\": \"buildId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"soSkq9ekdmfOslopH\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the logs will be streamed as long as the run or build is running.\\n\",\n \"in\": \"query\",\n \"name\": \"stream\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the web browser will download the log file rather than open it in a tab.\\n\",\n \"in\": \"query\",\n \"name\": \"download\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v2/actor-builds/{buildId}/log\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_build_log_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get build's Log\",\n \"tags\": [\n \"Actor builds\"\n ]\n },\n \"actor_build_openapi_json_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Get the OpenAPI definition for Actor builds. Two similar endpoints are available:\\n\\n- [First endpoint](/api/v2/act-openapi-json-get): Requires both `actorId` and `buildId`. Use `default` as the `buildId` to get the OpenAPI schema for the default Actor build.\\n- [Second endpoint](/api/v2/actor-build-openapi-json-get): Requires only `buildId`.\\n\\nGet the OpenAPI definition for a specific Actor build.\\nAuthentication is based on the build's unique ID. No authentication token is required.\\n\\n:::note\\n\\nYou can also use the [`/api/v2/act-openapi-json-get`](/api/v2/act-openapi-json-get) endpoint to get the OpenAPI definition for a build.\\n\\n:::\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_build_openapi_json_get\",\n \"parameters\": [\n {\n \"description\": \"ID of the build, found in the build's Info tab.\\nUse the special value `default` to get the OpenAPI schema for the Actor's default build.\\n\",\n \"in\": \"path\",\n \"name\": \"buildId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"soSkq9ekdmfOslopH\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-builds/{buildId}/openapi.json\",\n \"request_body\": null,\n \"security\": [],\n \"skill_name\": \"actor_build_openapi_json_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get OpenAPI definition\",\n \"tags\": [\n \"Actor builds\"\n ]\n },\n \"actor_builds_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets a list of all builds for a user. The response is a JSON array of\\nobjects, where each object contains basic information about a single build.\\n\\nThe endpoint supports pagination using the `limit` and `offset` parameters\\nand it will not return more than 1000 records.\\n\\nBy default, the records are sorted by the `startedAt` field in ascending\\norder. Therefore, you can use pagination to incrementally fetch all builds while\\nnew ones are still being started. To sort the records in descending order, use\\nthe `desc=1` parameter.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_builds_get\",\n \"parameters\": [\n {\n \"description\": \"Number of items that should be skipped at the start. The default value is `0`.\\n\",\n \"in\": \"query\",\n \"name\": \"offset\",\n \"required\": false,\n \"schema\": {\n \"example\": 0,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Maximum number of items to return. The default value as well as the maximum is `1000`.\\n\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"example\": 1000,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the objects are sorted by the `startedAt` field in\\ndescending order. By default, they are sorted in ascending order.\\n\",\n \"in\": \"query\",\n \"name\": \"desc\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v2/actor-builds\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_builds_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get user builds list\",\n \"tags\": [\n \"Actor builds\"\n ]\n },\n \"actor_run_abort_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Aborts an Actor run and returns an object that contains all the details\\nabout the run.\\n\\nOnly runs that are starting or running are aborted. For runs with status\\n`FINISHED`, `FAILED`, `ABORTING` and `TIMED-OUT` this call does nothing.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"actor_run_abort_post\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If true passed, the Actor run will abort gracefully.\\nIt will send `aborting` and `persistState` event into run and force-stop the run after 30 seconds.\\nIt is helpful in cases where you plan to resurrect the run later.\\n\",\n \"in\": \"query\",\n \"name\": \"gracefully\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/abort\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_run_abort_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Abort run\",\n \"tags\": [\n \"Actor runs\"\n ]\n },\n \"actor_run_dataset_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Deletes default dataset associated with an Actor run.\\n\\nThis endpoint is a shortcut for getting the last run's `defaultDatasetId` and then using the\\n[ Delete dataset ](/api/v2/dataset-delete) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"actor_run_dataset_delete\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/dataset\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_run_dataset_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete default dataset\",\n \"tags\": [\n \"Default dataset\"\n ]\n },\n \"actor_run_dataset_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns the default dataset associated with an Actor run.\\n\\nThis endpoint is a shortcut for getting the run's `defaultDatasetId` and then using the\\n[Get dataset](/api/v2/dataset-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_run_dataset_get\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/dataset\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_run_dataset_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get default dataset\",\n \"tags\": [\n \"Default dataset\"\n ]\n },\n \"actor_run_dataset_items_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns data stored in the default dataset of the Actor run in the desired format.\\n\\nThis endpoint is a shortcut that resolves the run's `defaultDatasetId` and proxies to the\\n[Get dataset items](/api/v2/dataset-items-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_run_dataset_items_get\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Format of the results, possible values are: `json`, `jsonl`, `csv`, `html`, `xlsx`, `xml` and `rss`. The default value is `json`.\\n\",\n \"in\": \"query\",\n \"name\": \"format\",\n \"required\": false,\n \"schema\": {\n \"example\": \"json\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the API endpoint returns only non-empty items and skips hidden fields (i.e. fields starting with the # character).\\nThe `clean` parameter is just a shortcut for `skipHidden=true` and `skipEmpty=true` parameters.\\nNote that since some objects might be skipped from the output, that the result might contain less items than the `limit` value.\\n\",\n \"in\": \"query\",\n \"name\": \"clean\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Number of items that should be skipped at the start. The default value is `0`.\\n\",\n \"in\": \"query\",\n \"name\": \"offset\",\n \"required\": false,\n \"schema\": {\n \"example\": 0,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Maximum number of items to return. By default there is no limit.\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should be picked from the items, only these fields will remain in the resulting record objects.\\nNote that the fields in the outputted items are sorted the same way as they are specified in the `fields` query parameter.\\nYou can use this feature to effectively fix the output format.\\n\",\n \"in\": \"query\",\n \"name\": \"fields\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue,myOtherValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of output field names that positionally rename the fields specified in the `fields` parameter.\\nFor example, `?fields=headline,url&outputFields=title,link` renames `headline` to `title` and `url` to `link` in the output.\\nThe number of names in `outputFields` must match the number of names in `fields`.\\nRequires the `fields` parameter to be specified as well.\\n\",\n \"in\": \"query\",\n \"name\": \"outputFields\",\n \"required\": false,\n \"schema\": {\n \"example\": \"title,link\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should be omitted from the items.\",\n \"in\": \"query\",\n \"name\": \"omit\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue,myOtherValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should be unwound, in order which they should be processed. Each field should be either an array or an object.\\nIf the field is an array then every element of the array will become a separate record and merged with parent object.\\nIf the unwound field is an object then it is merged with the parent object.\\nIf the unwound field is missing or its value is neither an array nor an object and therefore cannot be merged with a parent object then the item gets preserved as it is.\\nNote that the unwound items ignore the `desc` parameter.\\n\",\n \"in\": \"query\",\n \"name\": \"unwind\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue,myOtherValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should transform nested objects into flat structures.\\n\\nFor example, with `flatten=\\\"foo\\\"` the object `{\\\"foo\\\":{\\\"bar\\\": \\\"hello\\\"}}` is turned into `{\\\"foo.bar\\\": \\\"hello\\\"}`.\\n\\nThe original object with properties is replaced with the flattened object.\\n\",\n \"in\": \"query\",\n \"name\": \"flatten\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"By default, results are returned in the same order as they were stored.\\nTo reverse the order, set this parameter to `true` or `1`.\\n\",\n \"in\": \"query\",\n \"name\": \"desc\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the response will define the `Content-Disposition:\\nattachment` header, forcing a web browser to download the file rather\\nthan to display it. By default this header is not present.\\n\",\n \"in\": \"query\",\n \"name\": \"attachment\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"A delimiter character for CSV files, only used if `format=csv`. You\\nmight need to URL-encode the character (e.g. use `%09` for tab or `%3B`\\nfor semicolon). The default delimiter is a simple comma (`,`).\\n\",\n \"in\": \"query\",\n \"name\": \"delimiter\",\n \"required\": false,\n \"schema\": {\n \"example\": \";\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"All text responses are encoded in UTF-8 encoding. By default, the\\n`format=csv` files are prefixed with the UTF-8 Byte Order Mark (BOM), while `json`, `jsonl`, `xml`, `html` and `rss` files are not.\\n\\nIf you want to override this default behavior, specify `bom=1` query parameter to include the BOM or `bom=0` to skip it.\\n\",\n \"in\": \"query\",\n \"name\": \"bom\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Overrides default root element name of `xml` output. By default the root element is `items`.\\n\",\n \"in\": \"query\",\n \"name\": \"xmlRoot\",\n \"required\": false,\n \"schema\": {\n \"example\": \"items\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Overrides default element name that wraps each page or page function result object in `xml` output. By default the element name is `item`.\\n\",\n \"in\": \"query\",\n \"name\": \"xmlRow\",\n \"required\": false,\n \"schema\": {\n \"example\": \"item\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then header row in the `csv` format is skipped.\",\n \"in\": \"query\",\n \"name\": \"skipHeaderRow\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then hidden fields are skipped from the output, i.e. fields starting with the `#` character.\\n\",\n \"in\": \"query\",\n \"name\": \"skipHidden\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then empty items are skipped from the output.\\n\\nNote that if used, the results might contain less items than the limit value.\\n\",\n \"in\": \"query\",\n \"name\": \"skipEmpty\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then, the endpoint applies the `fields=url,pageFunctionResult,errorInfo`\\nand `unwind=pageFunctionResult` query parameters. This feature is used to emulate simplified results provided by the\\nlegacy Apify Crawler product and it's not recommended to use it in new integrations.\\n\",\n \"in\": \"query\",\n \"name\": \"simplified\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Defines the view configuration for dataset items based on the schema definition.\\nThis parameter determines how the data will be filtered and presented.\\nFor complete specification details, see the [dataset schema documentation](/platform/actors/development/actor-definition/dataset-schema).\\n\",\n \"in\": \"query\",\n \"name\": \"view\",\n \"required\": false,\n \"schema\": {\n \"example\": \"overview\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then, the all the items with errorInfo property will be skipped from the output.\\n\\nThis feature is here to emulate functionality of API version 1 used for the legacy Apify Crawler product and it's not recommended to use it in new integrations.\\n\",\n \"in\": \"query\",\n \"name\": \"skipFailedPages\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Overrides the auto-generated RSS channel `<title>` element.\\nOnly used when `format=rss`. If not provided, the title defaults to `Dataset <label>`.\\n\",\n \"in\": \"query\",\n \"name\": \"feedTitle\",\n \"required\": false,\n \"schema\": {\n \"example\": \"Latest posts from r/pasta\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Overrides the auto-generated RSS channel `<description>` element.\\nOnly used when `format=rss`. If not provided, the description defaults to `Items in dataset with id \\\"<datasetId>\\\".`\\n\",\n \"in\": \"query\",\n \"name\": \"feedDescription\",\n \"required\": false,\n \"schema\": {\n \"example\": \"Scraped forum posts\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Signature used for the access.\",\n \"in\": \"query\",\n \"name\": \"signature\",\n \"required\": false,\n \"schema\": {\n \"example\": \"2wTI46Bg8qWQrV7tavlPI\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/dataset/items\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_run_dataset_items_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get default dataset items\",\n \"tags\": [\n \"Default dataset\"\n ]\n },\n \"actor_run_dataset_items_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Appends an item or an array of items to the end of the Actor run's default dataset.\\n\\nThis endpoint is a shortcut that resolves the run's `defaultDatasetId` and proxies to the\\n[Store items](/api/v2/dataset-items-post) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"actor_run_dataset_items_post\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/dataset/items\",\n \"request_body\": {\n \"description\": \"\",\n \"oneOf\": [\n {\n \"$ref\": \"#/components/schemas/PutItemsRequest\"\n },\n {\n \"items\": {\n \"$ref\": \"#/components/schemas/PutItemsRequest\"\n },\n \"type\": \"array\"\n }\n ]\n },\n \"security\": null,\n \"skill_name\": \"actor_run_dataset_items_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Store items\",\n \"tags\": [\n \"Default dataset\"\n ]\n },\n \"actor_run_dataset_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Updates the default dataset associated with an Actor run.\\n\\nThis endpoint is a shortcut for getting the run's `defaultDatasetId` and then using the\\n[Put dataset](/api/v2/dataset-put) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"actor_run_dataset_put\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/dataset\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/UpdateDatasetRequest\"\n },\n \"security\": null,\n \"skill_name\": \"actor_run_dataset_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Update default dataset\",\n \"tags\": [\n \"Default dataset\"\n ]\n },\n \"actor_run_dataset_statistics_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns statistics for the Actor run's default dataset.\\n\\nThis endpoint is a shortcut that resolves the run's `defaultDatasetId` and proxies to the\\n[Get dataset statistics](/api/v2/dataset-statistics-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_run_dataset_statistics_get\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/dataset/statistics\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_run_dataset_statistics_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get default dataset statistics\",\n \"tags\": [\n \"Default dataset\"\n ]\n },\n \"actor_run_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Delete the run. Only finished runs can be deleted. Only the person or\\norganization that initiated the run can delete it.\\n\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"actor_run_delete\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_run_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete run\",\n \"tags\": [\n \"Actor runs\"\n ]\n },\n \"actor_run_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"This is not a single endpoint, but an entire group of endpoints that lets\\nyou retrieve the run or any of its default storages.\\n\\n##### Convenience endpoints for Actor run default storages\\n\\n* [Dataset](/api/v2/default-dataset)\\n\\n* [Key-value store](/api/v2/default-key-value-store)\\n\\n* [Request queue](/api/v2/default-request-queue)\\n\\nGets an object that contains all the details about a\\nspecific run of an Actor.\\n\\nBy passing the optional `waitForFinish` parameter the API endpoint will synchronously wait\\nfor the run to finish. This is useful to avoid periodic polling when waiting for Actor run to complete.\\nNote that the first response after completion can still show preliminary `stats`, costs, and event counts.\\nFor stable figures, wait about 10 seconds and call the endpoint again.\\n\\nThis endpoint does not require the authentication token. Instead, calls are authenticated using a hard-to-guess ID of the run. However,\\nif you access the endpoint without the token, certain attributes, such as `usageUsd` and `usageTotalUsd`, will be hidden.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_run_get\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The maximum number of seconds the server waits for the run to finish. By\\ndefault it is `0`, the maximum value is `60`. <!-- MAX_ACTOR_JOB_ASYNC_WAIT_SECS -->\\nIf the run finishes in time then the returned run object will have a terminal status (e.g. `SUCCEEDED`),\\notherwise it will have a transitional status (e.g. `RUNNING`).\\n\",\n \"in\": \"query\",\n \"name\": \"waitForFinish\",\n \"required\": false,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_run_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get run\",\n \"tags\": [\n \"Actor runs\"\n ]\n },\n \"actor_run_key_value_store_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Delete the default key-value store.\\n\\nThis endpoint is a shortcut for getting the run's `defaultKeyValueStoreId` and then using the\\n[Delete store](/api/v2/key-value-store-delete) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"actor_run_key_value_store_delete\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/key-value-store\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_run_key_value_store_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete default store\",\n \"tags\": [\n \"Default key-value store\"\n ]\n },\n \"actor_run_key_value_store_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets an object that contains all the details about the default key-value\\nstore.\\n\\nThis endpoint is a shortcut for getting the run's `defaultKeyValueStoreId` and then using the\\n[Get store](/api/v2/key-value-store-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_run_key_value_store_get\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/key-value-store\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_run_key_value_store_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get default store\",\n \"tags\": [\n \"Default key-value store\"\n ]\n },\n \"actor_run_key_value_store_keys_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns a list of keys for the default key-value store of the Actor run.\\n\\nThis endpoint is a shortcut for getting the run's `defaultKeyValueStoreId` and then using the\\n[Get list of keys](/api/v2/key-value-store-keys-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_run_key_value_store_keys_get\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"All keys up to this one (including) are skipped from the result.\",\n \"in\": \"query\",\n \"name\": \"exclusiveStartKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"Ihnsp8YrvJ8102Kj\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Number of keys to be returned.\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"default\": 1000,\n \"example\": 100,\n \"format\": \"int32\",\n \"maximum\": 1000,\n \"minimum\": 1,\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Limit the results to keys that belong to a specific collection from the key-value store schema. The key-value store need to have a schema defined for this parameter to work.\",\n \"in\": \"query\",\n \"name\": \"collection\",\n \"required\": false,\n \"schema\": {\n \"example\": \"postImages\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Limit the results to keys that start with a specific prefix.\",\n \"in\": \"query\",\n \"name\": \"prefix\",\n \"required\": false,\n \"schema\": {\n \"example\": \"post-images-\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Signature used for the access.\",\n \"in\": \"query\",\n \"name\": \"signature\",\n \"required\": false,\n \"schema\": {\n \"example\": \"2wTI46Bg8qWQrV7tavlPI\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/key-value-store/keys\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_run_key_value_store_keys_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get default store's list of keys\",\n \"tags\": [\n \"Default key-value store\"\n ]\n },\n \"actor_run_key_value_store_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Updates the default key-value store's name and general resource access level using a value specified by a JSON object\\npassed in the PUT payload.\\n\\nThis endpoint is a shortcut for getting the run's `defaultKeyValueStoreId` and then using the\\n[Update store](/api/v2/key-value-store-put) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"actor_run_key_value_store_put\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/key-value-store\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/UpdateStoreRequest\"\n },\n \"security\": null,\n \"skill_name\": \"actor_run_key_value_store_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Update default store\",\n \"tags\": [\n \"Default key-value store\"\n ]\n },\n \"actor_run_key_value_store_record_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Removes a record specified by a key from the default key-value store of the Actor run.\\n\\nThis endpoint is a shortcut for getting the run's `defaultKeyValueStoreId` and then using the\\n[Delete record](/api/v2/key-value-store-record-delete) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"actor_run_key_value_store_record_delete\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Key of the record.\",\n \"in\": \"path\",\n \"name\": \"recordKey\",\n \"required\": true,\n \"schema\": {\n \"example\": \"someKey\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/key-value-store/records/{recordKey}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_run_key_value_store_record_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete default store's record\",\n \"tags\": [\n \"Default key-value store\"\n ]\n },\n \"actor_run_key_value_store_record_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets a value stored under a specific key in the default key-value store of the Actor run.\\n\\nThis endpoint is a shortcut for getting the run's `defaultKeyValueStoreId` and then using the\\n[Get record](/api/v2/key-value-store-record-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_run_key_value_store_record_get\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Key of the record.\",\n \"in\": \"path\",\n \"name\": \"recordKey\",\n \"required\": true,\n \"schema\": {\n \"example\": \"someKey\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Signature used for the access.\",\n \"in\": \"query\",\n \"name\": \"signature\",\n \"required\": false,\n \"schema\": {\n \"example\": \"2wTI46Bg8qWQrV7tavlPI\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1`, the response will be served with `Content-Disposition: attachment` header,\\ncausing web browsers to offer downloading HTML records instead of displaying them.\\n\",\n \"in\": \"query\",\n \"name\": \"attachment\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/key-value-store/records/{recordKey}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_run_key_value_store_record_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get default store's record\",\n \"tags\": [\n \"Default key-value store\"\n ]\n },\n \"actor_run_key_value_store_record_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Stores a value under a specific key in the default key-value store of the Actor run.\\n\\nThis endpoint is a shortcut for getting the run's `defaultKeyValueStoreId` and then using the\\n[Store record](/api/v2/key-value-store-record-post) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"actor_run_key_value_store_record_post\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Key of the record.\",\n \"in\": \"path\",\n \"name\": \"recordKey\",\n \"required\": true,\n \"schema\": {\n \"example\": \"someKey\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"\",\n \"in\": \"header\",\n \"name\": \"Content-Encoding\",\n \"required\": false,\n \"schema\": {\n \"enum\": [\n \"gzip\",\n \"deflate\",\n \"br\",\n \"identity\"\n ],\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/key-value-store/records/{recordKey}\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/PutRecordRequest\"\n },\n \"security\": null,\n \"skill_name\": \"actor_run_key_value_store_record_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Store record in default store (POST)\",\n \"tags\": [\n \"Default key-value store\"\n ]\n },\n \"actor_run_key_value_store_record_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Stores a value under a specific key in the default key-value store of the Actor run.\\n\\nThis endpoint is a shortcut for getting the run's `defaultKeyValueStoreId` and then using the\\n[Store record](/api/v2/key-value-store-record-put) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"actor_run_key_value_store_record_put\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Key of the record.\",\n \"in\": \"path\",\n \"name\": \"recordKey\",\n \"required\": true,\n \"schema\": {\n \"example\": \"someKey\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"\",\n \"in\": \"header\",\n \"name\": \"Content-Encoding\",\n \"required\": false,\n \"schema\": {\n \"enum\": [\n \"gzip\",\n \"deflate\",\n \"br\",\n \"identity\"\n ],\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/key-value-store/records/{recordKey}\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/PutRecordRequest\"\n },\n \"security\": null,\n \"skill_name\": \"actor_run_key_value_store_record_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Store record in default store\",\n \"tags\": [\n \"Default key-value store\"\n ]\n },\n \"actor_run_key_value_store_records_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Downloads all records from the default key-value store of the Actor run as a ZIP archive.\\n\\nThis endpoint is a shortcut for getting the run's `defaultKeyValueStoreId` and then using the\\n[Download records](/api/v2/key-value-store-records-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_run_key_value_store_records_get\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If specified, only records belonging to a specific collection from the key-value store schema. The key-value store need to have a schema defined for this parameter to work.\\n\",\n \"in\": \"query\",\n \"name\": \"collection\",\n \"required\": false,\n \"schema\": {\n \"example\": \"my-collection\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If specified, only records whose key starts with the given prefix are included in the archive.\\n\",\n \"in\": \"query\",\n \"name\": \"prefix\",\n \"required\": false,\n \"schema\": {\n \"example\": \"my-prefix/\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Signature used for the access.\",\n \"in\": \"query\",\n \"name\": \"signature\",\n \"required\": false,\n \"schema\": {\n \"example\": \"2wTI46Bg8qWQrV7tavlPI\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/key-value-store/records\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_run_key_value_store_records_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Download default store's records\",\n \"tags\": [\n \"Default key-value store\"\n ]\n },\n \"actor_run_log_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Retrieves Actor run's logs.\\n\\nThis endpoint is a shortcut for getting the run's log. Same as [Get log](/api/v2/log-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_run_log_get\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the logs will be streamed as long as the run or build is running.\\n\",\n \"in\": \"query\",\n \"name\": \"stream\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the web browser will download the log file rather than open it in a tab.\\n\",\n \"in\": \"query\",\n \"name\": \"download\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1`, the logs will be kept verbatim. By default, the API removes\\nANSI escape codes from the logs, keeping only printable characters.\\n\",\n \"in\": \"query\",\n \"name\": \"raw\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/log\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_run_log_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get run's log\",\n \"tags\": [\n \"Actor runs\"\n ]\n },\n \"actor_run_metamorph_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Transforms an Actor run into a run of another Actor with a new input.\\n\\nThis is useful if you want to use another Actor to finish the work\\nof your current Actor run, without the need to create a completely new run\\nand waiting for its finish.\\n\\nFor the users of your Actors, the metamorph operation is transparent, they\\nwill just see your Actor got the work done.\\n\\nInternally, the system stops the Docker container corresponding to the Actor\\nrun and starts a new container using a different Docker image.\\n\\nAll the default storages are preserved and the new input is stored under the\\n`INPUT-METAMORPH-1` key in the same default key-value store.\\n\\nFor more information, see the [Actor docs](https://docs.apify.com/platform/actors/development/programming-interface/metamorph).\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"actor_run_metamorph_post\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"ID of a target Actor that the run should be transformed into.\",\n \"in\": \"query\",\n \"name\": \"targetActorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"HDSasDasz78YcAPEB\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Optional build of the target Actor.\\n\\nIt can be either a build tag or build number. By default, the run uses\\nthe build specified in the default run configuration for the target\\nActor (typically `latest`).\\n\",\n \"in\": \"query\",\n \"name\": \"build\",\n \"required\": false,\n \"schema\": {\n \"example\": \"beta\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/metamorph\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_run_metamorph_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Metamorph run\",\n \"tags\": [\n \"Actor runs\"\n ]\n },\n \"actor_run_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"This endpoint can be used to update both the run's status message and to configure its general resource access level.\\n\\n**Status message:**\\n\\nYou can set a single status message on your run that will be displayed in\\nthe Apify Console UI. During an Actor run, you will typically do this in order\\nto inform users of your Actor about the Actor's progress.\\n\\nThe request body must contain `runId` and `statusMessage` properties. The\\n`isStatusMessageTerminal` property is optional and it indicates if the\\nstatus message is the very last one. In the absence of a status message, the\\nplatform will try to substitute sensible defaults.\\n\\n**General resource access:**\\n\\nYou can also update the run's general resource access setting, which determines who can view the run and its related data.\\n\\nAllowed values:\\n\\n* `FOLLOW_USER_SETTING` - The run inherits the general access setting from the account level.\\n* `ANYONE_WITH_ID_CAN_READ` - The run can be viewed anonymously by anyone who has its ID.\\n* `RESTRICTED` - Only users with explicit access to the resource can access the run.\\n\\nWhen a run is accessible anonymously, all of the run's default storages and logs also become accessible anonymously.\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"actor_run_put\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}\",\n \"request_body\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/UpdateRunRequest\"\n },\n {\n \"example\": {\n \"isStatusMessageTerminal\": true,\n \"runId\": \"3KH8gEpp4d8uQSe8T\",\n \"statusMessage\": \"Actor has finished\"\n }\n }\n ]\n },\n \"security\": null,\n \"skill_name\": \"actor_run_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Update run\",\n \"tags\": [\n \"Actor runs\"\n ]\n },\n \"actor_run_reboot_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Reboots an Actor run and returns an object that contains all the details\\nabout the rebooted run.\\n\\nOnly runs that are running, i.e. runs with status `RUNNING` can be rebooted.\\n\\nThe run's container will be restarted, so any data not persisted in the\\nkey-value store, dataset, or request queue will be lost.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"actor_run_reboot_post\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/reboot\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_run_reboot_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Reboot run\",\n \"tags\": [\n \"Actor runs\"\n ]\n },\n \"actor_run_request_queue_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Deletes the default request queue associated with an Actor run.\\n\\nThis endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the\\n[Delete request queue](/api/v2/request-queue-delete) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"actor_run_request_queue_delete\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/request-queue\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_run_request_queue_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete default request queue\",\n \"tags\": [\n \"Default request queue\"\n ]\n },\n \"actor_run_request_queue_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns the default request queue associated with an Actor run.\\n\\nThis endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the\\n[Get request queue](/api/v2/request-queue-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_run_request_queue_get\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/request-queue\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_run_request_queue_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get default request queue\",\n \"tags\": [\n \"Default request queue\"\n ]\n },\n \"actor_run_request_queue_head_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns the given number of first requests from the default request queue of the Actor run.\\n\\nThis endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the\\n[Get head](/api/v2/request-queue-head-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_run_request_queue_head_get\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"How many items from queue should be returned.\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"example\": 100,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/request-queue/head\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_run_request_queue_head_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get default request queue head\",\n \"tags\": [\n \"Default request queue\"\n ]\n },\n \"actor_run_request_queue_head_lock_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns the given number of first requests from the default request queue of the Actor run\\nand locks them for the given time.\\n\\nThis endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the\\n[Get head and lock](/api/v2/request-queue-head-lock-post) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"actor_run_request_queue_head_lock_post\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"How long the requests will be locked for (in seconds).\",\n \"in\": \"query\",\n \"name\": \"lockSecs\",\n \"required\": true,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"How many items from the queue should be returned.\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"example\": 25,\n \"format\": \"double\",\n \"maximum\": 25,\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/request-queue/head/lock\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_run_request_queue_head_lock_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get and lock default request queue head\",\n \"tags\": [\n \"Default request queue\"\n ]\n },\n \"actor_run_request_queue_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Updates the default request queue associated with an Actor run.\\n\\nThis endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the\\n[Update request queue](/api/v2/request-queue-put) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"actor_run_request_queue_put\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/request-queue\",\n \"request_body\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/UpdateRequestQueueRequest\"\n },\n {\n \"example\": {\n \"name\": \"new-request-queue-name\"\n }\n }\n ]\n },\n \"security\": null,\n \"skill_name\": \"actor_run_request_queue_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Update default request queue\",\n \"tags\": [\n \"Default request queue\"\n ]\n },\n \"actor_run_request_queue_request_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Deletes a request from the default request queue of the Actor run.\\n\\nThis endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the\\n[Delete request](/api/v2/request-queue-request-delete) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"actor_run_request_queue_request_delete\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Request ID.\",\n \"in\": \"path\",\n \"name\": \"requestId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"xpsmkDlspokDSmklS\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/request-queue/requests/{requestId}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_run_request_queue_request_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete request from default request queue\",\n \"tags\": [\n \"Default request queue\"\n ]\n },\n \"actor_run_request_queue_request_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns a request from the default request queue of the Actor run.\\n\\nThis endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the\\n[Get request](/api/v2/request-queue-request-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_run_request_queue_request_get\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Request ID.\",\n \"in\": \"path\",\n \"name\": \"requestId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"xpsmkDlspokDSmklS\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/request-queue/requests/{requestId}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_run_request_queue_request_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get request from default request queue\",\n \"tags\": [\n \"Default request queue\"\n ]\n },\n \"actor_run_request_queue_request_lock_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Deletes a request lock in the default request queue of the Actor run.\\n\\nThis endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the\\n[Delete request lock](/api/v2/request-queue-request-lock-delete) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"actor_run_request_queue_request_lock_delete\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Request ID.\",\n \"in\": \"path\",\n \"name\": \"requestId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"xpsmkDlspokDSmklS\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Determines if request should be added to the head of the queue or to the\\nend after lock was removed.\\n\",\n \"in\": \"query\",\n \"name\": \"forefront\",\n \"required\": false,\n \"schema\": {\n \"example\": \"false\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/request-queue/requests/{requestId}/lock\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_run_request_queue_request_lock_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete lock on request in default request queue\",\n \"tags\": [\n \"Default request queue\"\n ]\n },\n \"actor_run_request_queue_request_lock_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Prolongs a request lock in the default request queue of the Actor run.\\n\\nThis endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the\\n[Prolong request lock](/api/v2/request-queue-request-lock-put) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"actor_run_request_queue_request_lock_put\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Request ID.\",\n \"in\": \"path\",\n \"name\": \"requestId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"xpsmkDlspokDSmklS\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"How long the requests will be locked for (in seconds).\",\n \"in\": \"query\",\n \"name\": \"lockSecs\",\n \"required\": true,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Determines if request should be added to the head of the queue or to the\\nend after lock expires.\\n\",\n \"in\": \"query\",\n \"name\": \"forefront\",\n \"required\": false,\n \"schema\": {\n \"example\": \"false\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/request-queue/requests/{requestId}/lock\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_run_request_queue_request_lock_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Prolong lock on request in default request queue\",\n \"tags\": [\n \"Default request queue\"\n ]\n },\n \"actor_run_request_queue_request_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Updates a request in the default request queue of the Actor run.\\n\\nThis endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the\\n[Update request](/api/v2/request-queue-request-put) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"actor_run_request_queue_request_put\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Request ID.\",\n \"in\": \"path\",\n \"name\": \"requestId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"xpsmkDlspokDSmklS\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Determines if request should be added to the head of the queue or to the\\nend. Default value is `false` (end of queue).\\n\",\n \"in\": \"query\",\n \"name\": \"forefront\",\n \"required\": false,\n \"schema\": {\n \"example\": \"false\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/request-queue/requests/{requestId}\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/Request\"\n },\n \"security\": null,\n \"skill_name\": \"actor_run_request_queue_request_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Update request in default request queue\",\n \"tags\": [\n \"Default request queue\"\n ]\n },\n \"actor_run_request_queue_requests_batch_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Batch-deletes requests from the default request queue of the Actor run.\\n\\nThis endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the\\n[Delete requests](/api/v2/request-queue-requests-batch-delete) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"actor_run_request_queue_requests_batch_delete\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"\",\n \"in\": \"header\",\n \"name\": \"Content-Type\",\n \"required\": true,\n \"schema\": {\n \"const\": \"application/json\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/request-queue/requests/batch\",\n \"request_body\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/RequestDraftDelete\"\n },\n \"type\": \"array\"\n },\n \"security\": null,\n \"skill_name\": \"actor_run_request_queue_requests_batch_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Batch delete requests from default request queue\",\n \"tags\": [\n \"Default request queue\"\n ]\n },\n \"actor_run_request_queue_requests_batch_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Adds requests to the default request queue of the Actor run in batch.\\n\\nThis endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the\\n[Add requests](/api/v2/request-queue-requests-batch-post) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"actor_run_request_queue_requests_batch_post\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Determines if request should be added to the head of the queue or to the\\nend. Default value is `false` (end of queue).\\n\",\n \"in\": \"query\",\n \"name\": \"forefront\",\n \"required\": false,\n \"schema\": {\n \"example\": \"false\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/request-queue/requests/batch\",\n \"request_body\": {\n \"description\": \"\",\n \"items\": {\n \"$ref\": \"#/components/schemas/RequestBase\"\n },\n \"type\": \"array\"\n },\n \"security\": null,\n \"skill_name\": \"actor_run_request_queue_requests_batch_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Batch add requests to default request queue\",\n \"tags\": [\n \"Default request queue\"\n ]\n },\n \"actor_run_request_queue_requests_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns a list of requests from the default request queue of the Actor run.\\n\\nThis endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the\\n[List requests](/api/v2/request-queue-requests-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_run_request_queue_requests_get\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"All requests up to this one (including) are skipped from the result. (Deprecated, use `cursor` instead.)\",\n \"in\": \"query\",\n \"name\": \"exclusiveStartId\",\n \"required\": false,\n \"schema\": {\n \"example\": \"Ihnsp8YrvJ8102Kj\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Number of keys to be returned. Maximum value is `10000`.\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"example\": 100,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"A cursor string for pagination, returned in the previous response as `nextCursor`. Use this to retrieve the next page of requests.\",\n \"in\": \"query\",\n \"name\": \"cursor\",\n \"required\": false,\n \"schema\": {\n \"example\": \"eyJyZXF1ZXN0SWQiOiI2OFRqQ2RaTDNvM2hiUU0ifQ\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter requests by their state. Possible values are `locked` and `pending`. You can combine multiple values separated by commas, which will mean the union of these filters \\u2013 requests matching any of the specified states will be returned. (Not compatible with deprecated `exclusiveStartId` parameter.)\",\n \"in\": \"query\",\n \"name\": \"filter\",\n \"required\": false,\n \"schema\": {\n \"example\": [\n \"locked\"\n ],\n \"items\": {\n \"enum\": [\n \"locked\",\n \"pending\"\n ],\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/request-queue/requests\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_run_request_queue_requests_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"List default request queue's requests\",\n \"tags\": [\n \"Default request queue\"\n ]\n },\n \"actor_run_request_queue_requests_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Adds a request to the default request queue of the Actor run.\\n\\nThis endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the\\n[Add request](/api/v2/request-queue-requests-post) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"actor_run_request_queue_requests_post\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Determines if request should be added to the head of the queue or to the\\nend. Default value is `false` (end of queue).\\n\",\n \"in\": \"query\",\n \"name\": \"forefront\",\n \"required\": false,\n \"schema\": {\n \"example\": \"false\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/request-queue/requests\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/RequestBase\"\n },\n \"security\": null,\n \"skill_name\": \"actor_run_request_queue_requests_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Add request to default request queue\",\n \"tags\": [\n \"Default request queue\"\n ]\n },\n \"actor_run_request_queue_requests_unlock_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Unlocks requests in the default request queue of the Actor run that are currently locked by the client.\\n\\nThis endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the\\n[Unlock requests](/api/v2/request-queue-requests-unlock-post) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"actor_run_request_queue_requests_unlock_post\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/request-queue/requests/unlock\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_run_request_queue_requests_unlock_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Unlock requests in default request queue\",\n \"tags\": [\n \"Default request queue\"\n ]\n },\n \"actor_runs_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets a list of all runs for a user. The response is a list of objects, where\\neach object contains basic information about a single Actor run.\\n\\nThe endpoint supports pagination using the `limit` and `offset` parameters\\nand it will not return more than 1000 array elements.\\n\\nBy default, the records are sorted by the `startedAt` field in ascending\\norder. Therefore, you can use pagination to incrementally fetch all records while\\nnew ones are still being created. To sort the records in descending order, use\\n`desc=1` parameter. You can also filter runs by `startedAt`` and `status`` fields ([available\\nstatuses](https://docs.apify.com/platform/actors/running/runs-and-builds#lifecycle)).\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_runs_get\",\n \"parameters\": [\n {\n \"description\": \"Number of items that should be skipped at the start. The default value is `0`.\\n\",\n \"in\": \"query\",\n \"name\": \"offset\",\n \"required\": false,\n \"schema\": {\n \"example\": 0,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Maximum number of items to return. The default value as well as the maximum is `1000`.\\n\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"example\": 1000,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the objects are sorted by the `startedAt` field in\\ndescending order. By default, they are sorted in ascending order.\\n\",\n \"in\": \"query\",\n \"name\": \"desc\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Single status or comma-separated list of statuses, see ([available\\nstatuses](https://docs.apify.com/platform/actors/running/runs-and-builds#lifecycle)). Used to filter runs by the specified statuses only.\\n\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": [\n \"SUCCEEDED\"\n ],\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n },\n {\n \"description\": \"Filter runs that started after the specified date and time (inclusive).\\nThe value must be a valid ISO 8601 datetime string (UTC).\\n\",\n \"in\": \"query\",\n \"name\": \"startedAfter\",\n \"required\": false,\n \"schema\": {\n \"example\": \"2025-09-01T00:00:00.000Z\",\n \"format\": \"date-time\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter runs that started before the specified date and time (inclusive).\\nThe value must be a valid ISO 8601 datetime string (UTC).\\n\",\n \"in\": \"query\",\n \"name\": \"startedBefore\",\n \"required\": false,\n \"schema\": {\n \"example\": \"2025-09-17T23:59:59.000Z\",\n \"format\": \"date-time\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_runs_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get user runs list\",\n \"tags\": [\n \"Actor runs\"\n ]\n },\n \"actor_task_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Delete the task specified through the `actorTaskId` parameter.\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"actor_task_delete\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete task\",\n \"tags\": [\n \"Actor tasks\"\n ]\n },\n \"actor_task_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Get an object that contains all the details about a task.\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_task_get\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get task\",\n \"tags\": [\n \"Actor tasks\"\n ]\n },\n \"actor_task_input_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns the input of a given task.\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_task_input_get\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/input\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_input_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get task input\",\n \"tags\": [\n \"Actor tasks\"\n ]\n },\n \"actor_task_input_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Updates the input of a task using values specified by an object passed as\\nJSON in the PUT payload.\\n\\nIf the object does not define a specific property, its value is not updated.\\n\\nThe response is the full task input as returned by the\\n[Get task input](#/reference/tasks/task-input-object/get-task-input) endpoint.\\n\\nThe request needs to specify the `Content-Type: application/json` HTTP\\nheader!\\n\\nWhen providing your API authentication token, we recommend using the\\nrequest's `Authorization` header, rather than the URL. ([More\\ninfo](#/introduction/authentication)).\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"actor_task_input_put\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/input\",\n \"request_body\": {\n \"type\": \"object\"\n },\n \"security\": null,\n \"skill_name\": \"actor_task_input_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Update task input\",\n \"tags\": [\n \"Actor tasks\"\n ]\n },\n \"actor_task_last_log_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Retrieves last Actor task run's logs.\\n\\nThis endpoint is a shortcut for getting last Actor task run's log. Same as [Get log](/api/v2/log-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_task_last_log_get\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the logs will be streamed as long as the run or build is running.\\n\",\n \"in\": \"query\",\n \"name\": \"stream\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the web browser will download the log file rather than open it in a tab.\\n\",\n \"in\": \"query\",\n \"name\": \"download\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1`, the logs will be kept verbatim. By default, the API removes\\nANSI escape codes from the logs, keeping only printable characters.\\n\",\n \"in\": \"query\",\n \"name\": \"raw\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/log\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_last_log_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get last Actor task run's log\",\n \"tags\": [\n \"Last Actor task run's log\"\n ]\n },\n \"actor_task_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Update settings of a task using values specified by an object passed as JSON\\nin the POST payload.\\n\\nIf the object does not define a specific property, its value is not updated.\\n\\nThe response is the full task object as returned by the\\n[Get task](/api/v2/actor-task-get) endpoint.\\n\\nThe request needs to specify the `Content-Type: application/json` HTTP\\nheader!\\n\\nWhen providing your API authentication token, we recommend using the\\nrequest's `Authorization` header, rather than the URL.\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"actor_task_put\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/UpdateTaskRequest\"\n },\n \"security\": null,\n \"skill_name\": \"actor_task_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Update task\",\n \"tags\": [\n \"Actor tasks\"\n ]\n },\n \"actor_task_run_sync_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Run a specific task and return its output.\\n\\nThe run must finish in 300<!-- MAX_ACTOR_JOB_SYNC_WAIT_SECS --> seconds\\notherwise the HTTP request fails with a timeout error (this won't abort\\nthe run itself).\\n\\nBeware that it might be impossible to maintain an idle HTTP connection for\\nan extended period, due to client timeout or network conditions. Make sure your HTTP client is\\nconfigured to have a long enough connection timeout.\\n\\nIf the connection breaks, you will not receive any information about the run\\nand its status.\\n\\nTo run the Task asynchronously, use the\\n[Run task asynchronously](#/reference/actor-tasks/run-collection/run-task)\\nendpoint instead.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_task_run_sync_get\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Optional timeout for the run, in seconds. By default, the run uses the timeout from its configuration.\\n\",\n \"in\": \"query\",\n \"name\": \"timeout\",\n \"required\": false,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Memory limit for the run, in megabytes. The amount of memory can be set to a power of 2 with a minimum of 128.\\nBy default, the run uses the memory limit from its configuration.\\n\",\n \"in\": \"query\",\n \"name\": \"memory\",\n \"required\": false,\n \"schema\": {\n \"example\": 256,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Specifies the maximum number of dataset items that will be charged for pay-per-result Actors.\\nThis does NOT guarantee that the Actor will return only this many items.\\nIt only ensures you won't be charged for more than this number of items.\\nOnly works for pay-per-result Actors.\\nValue can be accessed in the actor run using `ACTOR_MAX_PAID_DATASET_ITEMS` environment variable.\\n\",\n \"in\": \"query\",\n \"name\": \"maxItems\",\n \"required\": false,\n \"schema\": {\n \"example\": 1000,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Specifies the Actor build to run. It can be either a build tag or build number.\\nBy default, the run uses the build from its configuration (typically `latest`).\\n\",\n \"in\": \"query\",\n \"name\": \"build\",\n \"required\": false,\n \"schema\": {\n \"example\": \"0.1.234\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Key of the record from run's default key-value store to be returned\\nin the response. By default, it is `OUTPUT`.\\n\",\n \"in\": \"query\",\n \"name\": \"outputRecordKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"OUTPUT\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Specifies optional webhooks associated with the Actor run, which can be used to receive a notification\\ne.g. when the Actor finished or failed. The value is a Base64-encoded JSON array whose items follow\\nthe WebhookRepresentation schema. For more information, see\\n[Webhooks documentation](https://docs.apify.com/platform/integrations/webhooks).\\n\",\n \"in\": \"query\",\n \"name\": \"webhooks\",\n \"required\": false,\n \"schema\": {\n \"contentEncoding\": \"base64\",\n \"contentMediaType\": \"application/json\",\n \"contentSchema\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/WebhookRepresentation\"\n },\n \"type\": \"array\"\n },\n \"example\": \"dGhpcyBpcyBqdXN0IGV4YW1wbGUK...\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/run-sync\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_run_sync_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Run task synchronously\",\n \"tags\": [\n \"Actor tasks\"\n ]\n },\n \"actor_task_run_sync_get_dataset_items_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Run a specific task and return its dataset items.\\n\\nThe run must finish in 300<!-- MAX_ACTOR_JOB_SYNC_WAIT_SECS --> seconds\\notherwise the HTTP request fails with a timeout error (this won't abort\\nthe run itself).\\n\\nYou can send all the same options in parameters as the [Get Dataset\\nItems](#/reference/datasets/item-collection/get-items) API endpoint.\\n\\nBeware that it might be impossible to maintain an idle HTTP connection for\\nan extended period, due to client timeout or network conditions. Make sure your HTTP client is\\nconfigured to have a long enough connection timeout.\\n\\nIf the connection breaks, you will not receive any information about the run\\nand its status.\\n\\nTo run the Task asynchronously, use the [Run task\\nasynchronously](#/reference/actor-tasks/run-collection/run-task) endpoint\\ninstead.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_task_run_sync_get_dataset_items_get\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Optional timeout for the run, in seconds. By default, the run uses the timeout from its configuration.\\n\",\n \"in\": \"query\",\n \"name\": \"timeout\",\n \"required\": false,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Memory limit for the run, in megabytes. The amount of memory can be set to a power of 2 with a minimum of 128.\\nBy default, the run uses the memory limit from its configuration.\\n\",\n \"in\": \"query\",\n \"name\": \"memory\",\n \"required\": false,\n \"schema\": {\n \"example\": 256,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Specifies the maximum number of dataset items that will be charged for pay-per-result Actors.\\nThis does NOT guarantee that the Actor will return only this many items.\\nIt only ensures you won't be charged for more than this number of items.\\nOnly works for pay-per-result Actors.\\nValue can be accessed in the actor run using `ACTOR_MAX_PAID_DATASET_ITEMS` environment variable.\\n\",\n \"in\": \"query\",\n \"name\": \"maxItems\",\n \"required\": false,\n \"schema\": {\n \"example\": 1000,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Specifies the Actor build to run. It can be either a build tag or build number.\\nBy default, the run uses the build from its configuration (typically `latest`).\\n\",\n \"in\": \"query\",\n \"name\": \"build\",\n \"required\": false,\n \"schema\": {\n \"example\": \"0.1.234\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Specifies optional webhooks associated with the Actor run, which can be used to receive a notification\\ne.g. when the Actor finished or failed. The value is a Base64-encoded JSON array whose items follow\\nthe WebhookRepresentation schema. For more information, see\\n[Webhooks documentation](https://docs.apify.com/platform/integrations/webhooks).\\n\",\n \"in\": \"query\",\n \"name\": \"webhooks\",\n \"required\": false,\n \"schema\": {\n \"contentEncoding\": \"base64\",\n \"contentMediaType\": \"application/json\",\n \"contentSchema\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/WebhookRepresentation\"\n },\n \"type\": \"array\"\n },\n \"example\": \"dGhpcyBpcyBqdXN0IGV4YW1wbGUK...\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Format of the results, possible values are: `json`, `jsonl`, `csv`, `html`, `xlsx`, `xml` and `rss`. The default value is `json`.\\n\",\n \"in\": \"query\",\n \"name\": \"format\",\n \"required\": false,\n \"schema\": {\n \"example\": \"json\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the API endpoint returns only non-empty items and skips hidden fields (i.e. fields starting with the # character).\\nThe `clean` parameter is just a shortcut for `skipHidden=true` and `skipEmpty=true` parameters.\\nNote that since some objects might be skipped from the output, that the result might contain less items than the `limit` value.\\n\",\n \"in\": \"query\",\n \"name\": \"clean\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Number of items that should be skipped at the start. The default value is `0`.\\n\",\n \"in\": \"query\",\n \"name\": \"offset\",\n \"required\": false,\n \"schema\": {\n \"example\": 0,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Maximum number of items to return. By default there is no limit.\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should be picked from the items, only these fields will remain in the resulting record objects.\\nNote that the fields in the outputted items are sorted the same way as they are specified in the `fields` query parameter.\\nYou can use this feature to effectively fix the output format.\\n\",\n \"in\": \"query\",\n \"name\": \"fields\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue,myOtherValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of output field names that positionally rename the fields specified in the `fields` parameter.\\nFor example, `?fields=headline,url&outputFields=title,link` renames `headline` to `title` and `url` to `link` in the output.\\nThe number of names in `outputFields` must match the number of names in `fields`.\\nRequires the `fields` parameter to be specified as well.\\n\",\n \"in\": \"query\",\n \"name\": \"outputFields\",\n \"required\": false,\n \"schema\": {\n \"example\": \"title,link\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should be omitted from the items.\",\n \"in\": \"query\",\n \"name\": \"omit\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue,myOtherValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should be unwound, in order which they should be processed. Each field should be either an array or an object.\\nIf the field is an array then every element of the array will become a separate record and merged with parent object.\\nIf the unwound field is an object then it is merged with the parent object.\\nIf the unwound field is missing or its value is neither an array nor an object and therefore cannot be merged with a parent object then the item gets preserved as it is.\\nNote that the unwound items ignore the `desc` parameter.\\n\",\n \"in\": \"query\",\n \"name\": \"unwind\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue,myOtherValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should transform nested objects into flat structures.\\n\\nFor example, with `flatten=\\\"foo\\\"` the object `{\\\"foo\\\":{\\\"bar\\\": \\\"hello\\\"}}` is turned into `{\\\"foo.bar\\\": \\\"hello\\\"}`.\\n\\nThe original object with properties is replaced with the flattened object.\\n\",\n \"in\": \"query\",\n \"name\": \"flatten\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"By default, results are returned in the same order as they were stored.\\nTo reverse the order, set this parameter to `true` or `1`.\\n\",\n \"in\": \"query\",\n \"name\": \"desc\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the response will define the `Content-Disposition:\\nattachment` header, forcing a web browser to download the file rather\\nthan to display it. By default this header is not present.\\n\",\n \"in\": \"query\",\n \"name\": \"attachment\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"A delimiter character for CSV files, only used if `format=csv`. You\\nmight need to URL-encode the character (e.g. use `%09` for tab or `%3B`\\nfor semicolon). The default delimiter is a simple comma (`,`).\\n\",\n \"in\": \"query\",\n \"name\": \"delimiter\",\n \"required\": false,\n \"schema\": {\n \"example\": \";\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"All text responses are encoded in UTF-8 encoding. By default, the\\n`format=csv` files are prefixed with the UTF-8 Byte Order Mark (BOM), while `json`, `jsonl`, `xml`, `html` and `rss` files are not.\\n\\nIf you want to override this default behavior, specify `bom=1` query parameter to include the BOM or `bom=0` to skip it.\\n\",\n \"in\": \"query\",\n \"name\": \"bom\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Overrides default root element name of `xml` output. By default the root element is `items`.\\n\",\n \"in\": \"query\",\n \"name\": \"xmlRoot\",\n \"required\": false,\n \"schema\": {\n \"example\": \"items\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Overrides default element name that wraps each page or page function result object in `xml` output. By default the element name is `item`.\\n\",\n \"in\": \"query\",\n \"name\": \"xmlRow\",\n \"required\": false,\n \"schema\": {\n \"example\": \"item\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then header row in the `csv` format is skipped.\",\n \"in\": \"query\",\n \"name\": \"skipHeaderRow\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then hidden fields are skipped from the output, i.e. fields starting with the `#` character.\\n\",\n \"in\": \"query\",\n \"name\": \"skipHidden\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then empty items are skipped from the output.\\n\\nNote that if used, the results might contain less items than the limit value.\\n\",\n \"in\": \"query\",\n \"name\": \"skipEmpty\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then, the endpoint applies the `fields=url,pageFunctionResult,errorInfo`\\nand `unwind=pageFunctionResult` query parameters. This feature is used to emulate simplified results provided by the\\nlegacy Apify Crawler product and it's not recommended to use it in new integrations.\\n\",\n \"in\": \"query\",\n \"name\": \"simplified\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Defines the view configuration for dataset items based on the schema definition.\\nThis parameter determines how the data will be filtered and presented.\\nFor complete specification details, see the [dataset schema documentation](/platform/actors/development/actor-definition/dataset-schema).\\n\",\n \"in\": \"query\",\n \"name\": \"view\",\n \"required\": false,\n \"schema\": {\n \"example\": \"overview\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then, the all the items with errorInfo property will be skipped from the output.\\n\\nThis feature is here to emulate functionality of API version 1 used for the legacy Apify Crawler product and it's not recommended to use it in new integrations.\\n\",\n \"in\": \"query\",\n \"name\": \"skipFailedPages\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Overrides the auto-generated RSS channel `<title>` element.\\nOnly used when `format=rss`. If not provided, the title defaults to `Dataset <label>`.\\n\",\n \"in\": \"query\",\n \"name\": \"feedTitle\",\n \"required\": false,\n \"schema\": {\n \"example\": \"Latest posts from r/pasta\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Overrides the auto-generated RSS channel `<description>` element.\\nOnly used when `format=rss`. If not provided, the description defaults to `Items in dataset with id \\\"<datasetId>\\\".`\\n\",\n \"in\": \"query\",\n \"name\": \"feedDescription\",\n \"required\": false,\n \"schema\": {\n \"example\": \"Scraped forum posts\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/run-sync-get-dataset-items\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_run_sync_get_dataset_items_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Run task synchronously and get dataset items\",\n \"tags\": [\n \"Actor tasks\"\n ]\n },\n \"actor_task_run_sync_get_dataset_items_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Runs an Actor task and synchronously returns its dataset items.\\n\\nThe run must finish in 300<!-- MAX_ACTOR_JOB_SYNC_WAIT_SECS --> seconds\\notherwise the HTTP request fails with a timeout error (this won't abort\\nthe run itself).\\n\\nOptionally, you can override the Actor input configuration by passing a JSON\\nobject as the POST payload and setting the `Content-Type: application/json` HTTP header.\\n\\nNote that if the object in the POST payload does not define a particular\\ninput property, the Actor run uses the default value defined by the task (or the Actor's\\ninput schema if not defined by the task).\\n\\nYou can send all the same options in parameters as the [Get Dataset\\nItems](#/reference/datasets/item-collection/get-items) API endpoint.\\n\\nBeware that it might be impossible to maintain an idle HTTP connection for\\nan extended period, due to client timeout or network conditions. Make sure your HTTP client is\\nconfigured to have a long enough connection timeout.\\n\\nIf the connection breaks, you will not receive any information about the run\\nand its status.\\n\\nInput fields from Actor task configuration can be overloaded with values\\npassed as the POST payload.\\n\\nJust make sure to specify the `Content-Type` header as `application/json`\\nand that the input is an object.\\n\\nTo run the task asynchronously, use the [Run\\ntask](#/reference/actor-tasks/run-collection/run-task) API endpoint instead.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"actor_task_run_sync_get_dataset_items_post\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Optional timeout for the run, in seconds. By default, the run uses the timeout from its configuration.\\n\",\n \"in\": \"query\",\n \"name\": \"timeout\",\n \"required\": false,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Memory limit for the run, in megabytes. The amount of memory can be set to a power of 2 with a minimum of 128.\\nBy default, the run uses the memory limit from its configuration.\\n\",\n \"in\": \"query\",\n \"name\": \"memory\",\n \"required\": false,\n \"schema\": {\n \"example\": 256,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Specifies the maximum number of dataset items that will be charged for pay-per-result Actors.\\nThis does NOT guarantee that the Actor will return only this many items.\\nIt only ensures you won't be charged for more than this number of items.\\nOnly works for pay-per-result Actors.\\nValue can be accessed in the actor run using `ACTOR_MAX_PAID_DATASET_ITEMS` environment variable.\\n\",\n \"in\": \"query\",\n \"name\": \"maxItems\",\n \"required\": false,\n \"schema\": {\n \"example\": 1000,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Specifies the maximum cost of the run. This parameter is\\nuseful for pay-per-event Actors, as it allows you to limit the amount\\ncharged to your subscription. You can access the maximum cost in your Actor\\nby using the `ACTOR_MAX_TOTAL_CHARGE_USD` environment variable.\\n\",\n \"in\": \"query\",\n \"name\": \"maxTotalChargeUsd\",\n \"required\": false,\n \"schema\": {\n \"example\": 5,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Determines whether the run will be restarted if it fails.\\n\",\n \"in\": \"query\",\n \"name\": \"restartOnError\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Specifies the Actor build to run. It can be either a build tag or build number.\\nBy default, the run uses the build from its configuration (typically `latest`).\\n\",\n \"in\": \"query\",\n \"name\": \"build\",\n \"required\": false,\n \"schema\": {\n \"example\": \"0.1.234\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Specifies optional webhooks associated with the Actor run, which can be used to receive a notification\\ne.g. when the Actor finished or failed. The value is a Base64-encoded JSON array whose items follow\\nthe WebhookRepresentation schema. For more information, see\\n[Webhooks documentation](https://docs.apify.com/platform/integrations/webhooks).\\n\",\n \"in\": \"query\",\n \"name\": \"webhooks\",\n \"required\": false,\n \"schema\": {\n \"contentEncoding\": \"base64\",\n \"contentMediaType\": \"application/json\",\n \"contentSchema\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/WebhookRepresentation\"\n },\n \"type\": \"array\"\n },\n \"example\": \"dGhpcyBpcyBqdXN0IGV4YW1wbGUK...\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Format of the results, possible values are: `json`, `jsonl`, `csv`, `html`, `xlsx`, `xml` and `rss`. The default value is `json`.\\n\",\n \"in\": \"query\",\n \"name\": \"format\",\n \"required\": false,\n \"schema\": {\n \"example\": \"json\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the API endpoint returns only non-empty items and skips hidden fields (i.e. fields starting with the # character).\\nThe `clean` parameter is just a shortcut for `skipHidden=true` and `skipEmpty=true` parameters.\\nNote that since some objects might be skipped from the output, that the result might contain less items than the `limit` value.\\n\",\n \"in\": \"query\",\n \"name\": \"clean\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Number of items that should be skipped at the start. The default value is `0`.\\n\",\n \"in\": \"query\",\n \"name\": \"offset\",\n \"required\": false,\n \"schema\": {\n \"example\": 0,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Maximum number of items to return. By default there is no limit.\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should be picked from the items, only these fields will remain in the resulting record objects.\\nNote that the fields in the outputted items are sorted the same way as they are specified in the `fields` query parameter.\\nYou can use this feature to effectively fix the output format.\\n\",\n \"in\": \"query\",\n \"name\": \"fields\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue,myOtherValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of output field names that positionally rename the fields specified in the `fields` parameter.\\nFor example, `?fields=headline,url&outputFields=title,link` renames `headline` to `title` and `url` to `link` in the output.\\nThe number of names in `outputFields` must match the number of names in `fields`.\\nRequires the `fields` parameter to be specified as well.\\n\",\n \"in\": \"query\",\n \"name\": \"outputFields\",\n \"required\": false,\n \"schema\": {\n \"example\": \"title,link\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should be omitted from the items.\",\n \"in\": \"query\",\n \"name\": \"omit\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue,myOtherValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should be unwound, in order which they should be processed. Each field should be either an array or an object.\\nIf the field is an array then every element of the array will become a separate record and merged with parent object.\\nIf the unwound field is an object then it is merged with the parent object.\\nIf the unwound field is missing or its value is neither an array nor an object and therefore cannot be merged with a parent object then the item gets preserved as it is.\\nNote that the unwound items ignore the `desc` parameter.\\n\",\n \"in\": \"query\",\n \"name\": \"unwind\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue,myOtherValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should transform nested objects into flat structures.\\n\\nFor example, with `flatten=\\\"foo\\\"` the object `{\\\"foo\\\":{\\\"bar\\\": \\\"hello\\\"}}` is turned into `{\\\"foo.bar\\\": \\\"hello\\\"}`.\\n\\nThe original object with properties is replaced with the flattened object.\\n\",\n \"in\": \"query\",\n \"name\": \"flatten\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"By default, results are returned in the same order as they were stored.\\nTo reverse the order, set this parameter to `true` or `1`.\\n\",\n \"in\": \"query\",\n \"name\": \"desc\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the response will define the `Content-Disposition:\\nattachment` header, forcing a web browser to download the file rather\\nthan to display it. By default this header is not present.\\n\",\n \"in\": \"query\",\n \"name\": \"attachment\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"A delimiter character for CSV files, only used if `format=csv`. You\\nmight need to URL-encode the character (e.g. use `%09` for tab or `%3B`\\nfor semicolon). The default delimiter is a simple comma (`,`).\\n\",\n \"in\": \"query\",\n \"name\": \"delimiter\",\n \"required\": false,\n \"schema\": {\n \"example\": \";\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"All text responses are encoded in UTF-8 encoding. By default, the\\n`format=csv` files are prefixed with the UTF-8 Byte Order Mark (BOM), while `json`, `jsonl`, `xml`, `html` and `rss` files are not.\\n\\nIf you want to override this default behavior, specify `bom=1` query parameter to include the BOM or `bom=0` to skip it.\\n\",\n \"in\": \"query\",\n \"name\": \"bom\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Overrides default root element name of `xml` output. By default the root element is `items`.\\n\",\n \"in\": \"query\",\n \"name\": \"xmlRoot\",\n \"required\": false,\n \"schema\": {\n \"example\": \"items\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Overrides default element name that wraps each page or page function result object in `xml` output. By default the element name is `item`.\\n\",\n \"in\": \"query\",\n \"name\": \"xmlRow\",\n \"required\": false,\n \"schema\": {\n \"example\": \"item\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then header row in the `csv` format is skipped.\",\n \"in\": \"query\",\n \"name\": \"skipHeaderRow\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then hidden fields are skipped from the output, i.e. fields starting with the `#` character.\\n\",\n \"in\": \"query\",\n \"name\": \"skipHidden\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then empty items are skipped from the output.\\n\\nNote that if used, the results might contain less items than the limit value.\\n\",\n \"in\": \"query\",\n \"name\": \"skipEmpty\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then, the endpoint applies the `fields=url,pageFunctionResult,errorInfo`\\nand `unwind=pageFunctionResult` query parameters. This feature is used to emulate simplified results provided by the\\nlegacy Apify Crawler product and it's not recommended to use it in new integrations.\\n\",\n \"in\": \"query\",\n \"name\": \"simplified\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Defines the view configuration for dataset items based on the schema definition.\\nThis parameter determines how the data will be filtered and presented.\\nFor complete specification details, see the [dataset schema documentation](/platform/actors/development/actor-definition/dataset-schema).\\n\",\n \"in\": \"query\",\n \"name\": \"view\",\n \"required\": false,\n \"schema\": {\n \"example\": \"overview\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then, the all the items with errorInfo property will be skipped from the output.\\n\\nThis feature is here to emulate functionality of API version 1 used for the legacy Apify Crawler product and it's not recommended to use it in new integrations.\\n\",\n \"in\": \"query\",\n \"name\": \"skipFailedPages\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Overrides the auto-generated RSS channel `<title>` element.\\nOnly used when `format=rss`. If not provided, the title defaults to `Dataset <label>`.\\n\",\n \"in\": \"query\",\n \"name\": \"feedTitle\",\n \"required\": false,\n \"schema\": {\n \"example\": \"Latest posts from r/pasta\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Overrides the auto-generated RSS channel `<description>` element.\\nOnly used when `format=rss`. If not provided, the description defaults to `Items in dataset with id \\\"<datasetId>\\\".`\\n\",\n \"in\": \"query\",\n \"name\": \"feedDescription\",\n \"required\": false,\n \"schema\": {\n \"example\": \"Scraped forum posts\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/run-sync-get-dataset-items\",\n \"request_body\": {\n \"type\": \"object\"\n },\n \"security\": null,\n \"skill_name\": \"actor_task_run_sync_get_dataset_items_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Run task synchronously and get dataset items\",\n \"tags\": [\n \"Actor tasks\"\n ]\n },\n \"actor_task_run_sync_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Runs an Actor task and synchronously returns its output.\\n\\nThe run must finish in 300<!-- MAX_ACTOR_JOB_SYNC_WAIT_SECS --> seconds\\notherwise the HTTP request fails with a timeout error (this won't abort\\nthe run itself).\\n\\nOptionally, you can override the Actor input configuration by passing a JSON\\nobject as the POST payload and setting the `Content-Type: application/json` HTTP header.\\n\\nNote that if the object in the POST payload does not define a particular\\ninput property, the Actor run uses the default value defined by the task (or Actor's input\\nschema if not defined by the task).\\n\\nBeware that it might be impossible to maintain an idle HTTP connection for\\nan extended period, due to client timeout or network conditions. Make sure your HTTP client is\\nconfigured to have a long enough connection timeout.\\n\\nIf the connection breaks, you will not receive any information about the run\\nand its status.\\n\\nInput fields from Actor task configuration can be overloaded with values\\npassed as the POST payload.\\n\\nJust make sure to specify `Content-Type` header to be `application/json` and\\ninput to be an object.\\n\\nTo run the task asynchronously, use the [Run\\ntask](#/reference/actor-tasks/run-collection/run-task) API endpoint instead.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"actor_task_run_sync_post\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Optional timeout for the run, in seconds. By default, the run uses the timeout from its configuration.\\n\",\n \"in\": \"query\",\n \"name\": \"timeout\",\n \"required\": false,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Memory limit for the run, in megabytes. The amount of memory can be set to a power of 2 with a minimum of 128.\\nBy default, the run uses the memory limit from its configuration.\\n\",\n \"in\": \"query\",\n \"name\": \"memory\",\n \"required\": false,\n \"schema\": {\n \"example\": 256,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Specifies the maximum number of dataset items that will be charged for pay-per-result Actors.\\nThis does NOT guarantee that the Actor will return only this many items.\\nIt only ensures you won't be charged for more than this number of items.\\nOnly works for pay-per-result Actors.\\nValue can be accessed in the actor run using `ACTOR_MAX_PAID_DATASET_ITEMS` environment variable.\\n\",\n \"in\": \"query\",\n \"name\": \"maxItems\",\n \"required\": false,\n \"schema\": {\n \"example\": 1000,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Specifies the maximum cost of the run. This parameter is\\nuseful for pay-per-event Actors, as it allows you to limit the amount\\ncharged to your subscription. You can access the maximum cost in your Actor\\nby using the `ACTOR_MAX_TOTAL_CHARGE_USD` environment variable.\\n\",\n \"in\": \"query\",\n \"name\": \"maxTotalChargeUsd\",\n \"required\": false,\n \"schema\": {\n \"example\": 5,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Determines whether the run will be restarted if it fails.\\n\",\n \"in\": \"query\",\n \"name\": \"restartOnError\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Specifies the Actor build to run. It can be either a build tag or build number.\\nBy default, the run uses the build from its configuration (typically `latest`).\\n\",\n \"in\": \"query\",\n \"name\": \"build\",\n \"required\": false,\n \"schema\": {\n \"example\": \"0.1.234\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Key of the record from run's default key-value store to be returned\\nin the response. By default, it is `OUTPUT`.\\n\",\n \"in\": \"query\",\n \"name\": \"outputRecordKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"OUTPUT\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Specifies optional webhooks associated with the Actor run, which can be used to receive a notification\\ne.g. when the Actor finished or failed. The value is a Base64-encoded JSON array whose items follow\\nthe WebhookRepresentation schema. For more information, see\\n[Webhooks documentation](https://docs.apify.com/platform/integrations/webhooks).\\n\",\n \"in\": \"query\",\n \"name\": \"webhooks\",\n \"required\": false,\n \"schema\": {\n \"contentEncoding\": \"base64\",\n \"contentMediaType\": \"application/json\",\n \"contentSchema\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/WebhookRepresentation\"\n },\n \"type\": \"array\"\n },\n \"example\": \"dGhpcyBpcyBqdXN0IGV4YW1wbGUK...\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/run-sync\",\n \"request_body\": {\n \"type\": \"object\"\n },\n \"security\": null,\n \"skill_name\": \"actor_task_run_sync_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Run task synchronously\",\n \"tags\": [\n \"Actor tasks\"\n ]\n },\n \"actor_task_runs_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Get a list of runs of a specific task. The response is a list of objects,\\nwhere each object contains essential information about a single task run.\\n\\nThe endpoint supports pagination using the `limit` and `offset` parameters,\\nand it does not return more than a 1000 array elements.\\n\\nBy default, the records are sorted by the `startedAt` field in ascending\\norder; therefore you can use pagination to incrementally fetch all records while\\nnew ones are still being created. To sort the records in descending order, use\\nthe `desc=1` parameter. You can also filter runs by status ([available\\nstatuses](https://docs.apify.com/platform/actors/running/runs-and-builds#lifecycle)).\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_task_runs_get\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Number of items that should be skipped at the start. The default value is `0`.\\n\",\n \"in\": \"query\",\n \"name\": \"offset\",\n \"required\": false,\n \"schema\": {\n \"example\": 0,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Maximum number of items to return. The default value as well as the maximum is `1000`.\\n\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"example\": 1000,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the objects are sorted by the `startedAt` field in\\ndescending order. By default, they are sorted in ascending order.\\n\",\n \"in\": \"query\",\n \"name\": \"desc\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Single status or comma-separated list of statuses, see ([available\\nstatuses](https://docs.apify.com/platform/actors/running/runs-and-builds#lifecycle)). Used to filter runs by the specified statuses only.\\n\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": [\n \"SUCCEEDED\"\n ],\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_runs_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get list of task runs\",\n \"tags\": [\n \"Actor tasks\"\n ]\n },\n \"actor_task_runs_last_abort_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Aborts the last run of the specified Actor task and returns an object that\\ncontains all the details about the run.\\n\\nThis endpoint is a shortcut for [Abort run](#/reference/actor-runs/abort-run/abort-run)\\non the Actor task's last run. Only runs that are starting or running are aborted.\\nFor runs with status `FINISHED`, `FAILED`, `ABORTING` and `TIMED-OUT` this call\\ndoes nothing.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"actor_task_runs_last_abort_post\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If true passed, the Actor run will abort gracefully.\\nIt will send `aborting` and `persistState` event into run and force-stop the run after 30 seconds.\\nIt is helpful in cases where you plan to resurrect the run later.\\n\",\n \"in\": \"query\",\n \"name\": \"gracefully\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/abort\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_abort_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Abort Actor task's last run\",\n \"tags\": [\n \"Last Actor task run's abort\"\n ]\n },\n \"actor_task_runs_last_dataset_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Deletes the default dataset associated with the last Actor task run.\\n\\nThis endpoint is a shortcut for getting the last task run's `defaultDatasetId` and then using the\\n[Delete dataset](/api/v2/dataset-delete) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"actor_task_runs_last_dataset_delete\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/dataset\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_dataset_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete last task run's default dataset\",\n \"tags\": [\n \"Last Actor task run's default dataset\"\n ]\n },\n \"actor_task_runs_last_dataset_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns the default dataset associated with the last Actor task run.\\n\\nThis endpoint is a shortcut for getting the last task run's `defaultDatasetId` and then using the\\n[Get dataset](/api/v2/dataset-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_task_runs_last_dataset_get\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/dataset\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_dataset_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get last task run's default dataset\",\n \"tags\": [\n \"Last Actor task run's default dataset\"\n ]\n },\n \"actor_task_runs_last_dataset_items_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns data stored in the default dataset of the last Actor task run in the desired format.\\n\\nThis endpoint is a shortcut that resolves the last task run's `defaultDatasetId` and proxies to the\\n[Get dataset items](/api/v2/dataset-items-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_task_runs_last_dataset_items_get\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Format of the results, possible values are: `json`, `jsonl`, `csv`, `html`, `xlsx`, `xml` and `rss`. The default value is `json`.\\n\",\n \"in\": \"query\",\n \"name\": \"format\",\n \"required\": false,\n \"schema\": {\n \"example\": \"json\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the API endpoint returns only non-empty items and skips hidden fields (i.e. fields starting with the # character).\\nThe `clean` parameter is just a shortcut for `skipHidden=true` and `skipEmpty=true` parameters.\\nNote that since some objects might be skipped from the output, that the result might contain less items than the `limit` value.\\n\",\n \"in\": \"query\",\n \"name\": \"clean\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Number of items that should be skipped at the start. The default value is `0`.\\n\",\n \"in\": \"query\",\n \"name\": \"offset\",\n \"required\": false,\n \"schema\": {\n \"example\": 0,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Maximum number of items to return. By default there is no limit.\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should be picked from the items, only these fields will remain in the resulting record objects.\\nNote that the fields in the outputted items are sorted the same way as they are specified in the `fields` query parameter.\\nYou can use this feature to effectively fix the output format.\\n\",\n \"in\": \"query\",\n \"name\": \"fields\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue,myOtherValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of output field names that positionally rename the fields specified in the `fields` parameter.\\nFor example, `?fields=headline,url&outputFields=title,link` renames `headline` to `title` and `url` to `link` in the output.\\nThe number of names in `outputFields` must match the number of names in `fields`.\\nRequires the `fields` parameter to be specified as well.\\n\",\n \"in\": \"query\",\n \"name\": \"outputFields\",\n \"required\": false,\n \"schema\": {\n \"example\": \"title,link\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should be omitted from the items.\",\n \"in\": \"query\",\n \"name\": \"omit\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue,myOtherValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should be unwound, in order which they should be processed. Each field should be either an array or an object.\\nIf the field is an array then every element of the array will become a separate record and merged with parent object.\\nIf the unwound field is an object then it is merged with the parent object.\\nIf the unwound field is missing or its value is neither an array nor an object and therefore cannot be merged with a parent object then the item gets preserved as it is.\\nNote that the unwound items ignore the `desc` parameter.\\n\",\n \"in\": \"query\",\n \"name\": \"unwind\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue,myOtherValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should transform nested objects into flat structures.\\n\\nFor example, with `flatten=\\\"foo\\\"` the object `{\\\"foo\\\":{\\\"bar\\\": \\\"hello\\\"}}` is turned into `{\\\"foo.bar\\\": \\\"hello\\\"}`.\\n\\nThe original object with properties is replaced with the flattened object.\\n\",\n \"in\": \"query\",\n \"name\": \"flatten\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"By default, results are returned in the same order as they were stored.\\nTo reverse the order, set this parameter to `true` or `1`.\\n\",\n \"in\": \"query\",\n \"name\": \"desc\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the response will define the `Content-Disposition:\\nattachment` header, forcing a web browser to download the file rather\\nthan to display it. By default this header is not present.\\n\",\n \"in\": \"query\",\n \"name\": \"attachment\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"A delimiter character for CSV files, only used if `format=csv`. You\\nmight need to URL-encode the character (e.g. use `%09` for tab or `%3B`\\nfor semicolon). The default delimiter is a simple comma (`,`).\\n\",\n \"in\": \"query\",\n \"name\": \"delimiter\",\n \"required\": false,\n \"schema\": {\n \"example\": \";\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"All text responses are encoded in UTF-8 encoding. By default, the\\n`format=csv` files are prefixed with the UTF-8 Byte Order Mark (BOM), while `json`, `jsonl`, `xml`, `html` and `rss` files are not.\\n\\nIf you want to override this default behavior, specify `bom=1` query parameter to include the BOM or `bom=0` to skip it.\\n\",\n \"in\": \"query\",\n \"name\": \"bom\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Overrides default root element name of `xml` output. By default the root element is `items`.\\n\",\n \"in\": \"query\",\n \"name\": \"xmlRoot\",\n \"required\": false,\n \"schema\": {\n \"example\": \"items\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Overrides default element name that wraps each page or page function result object in `xml` output. By default the element name is `item`.\\n\",\n \"in\": \"query\",\n \"name\": \"xmlRow\",\n \"required\": false,\n \"schema\": {\n \"example\": \"item\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then header row in the `csv` format is skipped.\",\n \"in\": \"query\",\n \"name\": \"skipHeaderRow\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then hidden fields are skipped from the output, i.e. fields starting with the `#` character.\\n\",\n \"in\": \"query\",\n \"name\": \"skipHidden\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then empty items are skipped from the output.\\n\\nNote that if used, the results might contain less items than the limit value.\\n\",\n \"in\": \"query\",\n \"name\": \"skipEmpty\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then, the endpoint applies the `fields=url,pageFunctionResult,errorInfo`\\nand `unwind=pageFunctionResult` query parameters. This feature is used to emulate simplified results provided by the\\nlegacy Apify Crawler product and it's not recommended to use it in new integrations.\\n\",\n \"in\": \"query\",\n \"name\": \"simplified\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Defines the view configuration for dataset items based on the schema definition.\\nThis parameter determines how the data will be filtered and presented.\\nFor complete specification details, see the [dataset schema documentation](/platform/actors/development/actor-definition/dataset-schema).\\n\",\n \"in\": \"query\",\n \"name\": \"view\",\n \"required\": false,\n \"schema\": {\n \"example\": \"overview\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then, the all the items with errorInfo property will be skipped from the output.\\n\\nThis feature is here to emulate functionality of API version 1 used for the legacy Apify Crawler product and it's not recommended to use it in new integrations.\\n\",\n \"in\": \"query\",\n \"name\": \"skipFailedPages\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Overrides the auto-generated RSS channel `<title>` element.\\nOnly used when `format=rss`. If not provided, the title defaults to `Dataset <label>`.\\n\",\n \"in\": \"query\",\n \"name\": \"feedTitle\",\n \"required\": false,\n \"schema\": {\n \"example\": \"Latest posts from r/pasta\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Overrides the auto-generated RSS channel `<description>` element.\\nOnly used when `format=rss`. If not provided, the description defaults to `Items in dataset with id \\\"<datasetId>\\\".`\\n\",\n \"in\": \"query\",\n \"name\": \"feedDescription\",\n \"required\": false,\n \"schema\": {\n \"example\": \"Scraped forum posts\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Signature used for the access.\",\n \"in\": \"query\",\n \"name\": \"signature\",\n \"required\": false,\n \"schema\": {\n \"example\": \"2wTI46Bg8qWQrV7tavlPI\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/dataset/items\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_dataset_items_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get last task run's dataset items\",\n \"tags\": [\n \"Last Actor task run's default dataset\"\n ]\n },\n \"actor_task_runs_last_dataset_items_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Appends an item or an array of items to the end of the last Actor task run's default dataset.\\n\\nThis endpoint is a shortcut that resolves the last task run's `defaultDatasetId` and proxies to the\\n[Store items](/api/v2/dataset-items-post) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"actor_task_runs_last_dataset_items_post\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/dataset/items\",\n \"request_body\": {\n \"description\": \"\",\n \"oneOf\": [\n {\n \"$ref\": \"#/components/schemas/PutItemsRequest\"\n },\n {\n \"items\": {\n \"$ref\": \"#/components/schemas/PutItemsRequest\"\n },\n \"type\": \"array\"\n }\n ]\n },\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_dataset_items_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Store items in last task run's dataset\",\n \"tags\": [\n \"Last Actor task run's default dataset\"\n ]\n },\n \"actor_task_runs_last_dataset_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Updates the default dataset associated with the last Actor task run.\\n\\nThis endpoint is a shortcut for getting the last task run's `defaultDatasetId` and then using the\\n[Update dataset](/api/v2/dataset-put) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"actor_task_runs_last_dataset_put\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/dataset\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/UpdateDatasetRequest\"\n },\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_dataset_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Update last task run's default dataset\",\n \"tags\": [\n \"Last Actor task run's default dataset\"\n ]\n },\n \"actor_task_runs_last_dataset_statistics_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns statistics for the last Actor task run's default dataset.\\n\\nThis endpoint is a shortcut that resolves the last task run's `defaultDatasetId` and proxies to the\\n[Get dataset statistics](/api/v2/dataset-statistics-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_task_runs_last_dataset_statistics_get\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/dataset/statistics\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_dataset_statistics_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get last task run's dataset statistics\",\n \"tags\": [\n \"Last Actor task run's default dataset\"\n ]\n },\n \"actor_task_runs_last_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"This is not a single endpoint, but an entire group of endpoints that lets you to\\nretrieve and manage the last run of given actor task or any of its default storages.\\nAll the endpoints require an authentication token.\\n\\nThe base path represents the last actor task run object is:\\n\\n`/v2/actor-tasks/{actorTaskId}/runs/last{?token,status}`\\n\\nUsing the `status` query parameter you can ensure to only get a run with a certain status\\n(e.g. `status=SUCCEEDED`). The output of this endpoint and other query parameters\\nare the same as in the [Run object](/api/v2/actor-run-get) endpoint.\\n\\n##### Convenience endpoints for last Actor task run\\n\\n* [Dataset](/api/v2/last-actor-task-runs-default-dataset)\\n\\n* [Key-value store](/api/v2/last-actor-task-runs-default-key-value-store)\\n\\n* [Request queue](/api/v2/last-actor-task-runs-default-request-queue)\\n\\n* [Log](/api/v2/last-actor-task-runs-log)\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_task_runs_last_get\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The maximum number of seconds the server waits for the run to finish. By\\ndefault it is `0`, the maximum value is `60`. <!-- MAX_ACTOR_JOB_ASYNC_WAIT_SECS -->\\nIf the run finishes in time then the returned run object will have a terminal status (e.g. `SUCCEEDED`),\\notherwise it will have a transitional status (e.g. `RUNNING`).\\n\",\n \"in\": \"query\",\n \"name\": \"waitForFinish\",\n \"required\": false,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get last run\",\n \"tags\": [\n \"Actor tasks\"\n ]\n },\n \"actor_task_runs_last_key_value_store_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Deletes the default key-value store of the last Actor task run.\\n\\nThis endpoint is a shortcut for getting the last task run's `defaultKeyValueStoreId` and then using the\\n[Delete store](/api/v2/key-value-store-delete) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"actor_task_runs_last_key_value_store_delete\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/key-value-store\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_key_value_store_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete last task run's default store\",\n \"tags\": [\n \"Last Actor task run's default key-value store\"\n ]\n },\n \"actor_task_runs_last_key_value_store_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets an object that contains all the details about the default key-value store of the last Actor task run.\\n\\nThis endpoint is a shortcut for getting the last task run's `defaultKeyValueStoreId` and then using the\\n[Get store](/api/v2/key-value-store-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_task_runs_last_key_value_store_get\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/key-value-store\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_key_value_store_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get last task run's default store\",\n \"tags\": [\n \"Last Actor task run's default key-value store\"\n ]\n },\n \"actor_task_runs_last_key_value_store_keys_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns a list of keys for the default key-value store of the last Actor task run.\\n\\nThis endpoint is a shortcut for getting the last task run's `defaultKeyValueStoreId` and then using the\\n[Get list of keys](/api/v2/key-value-store-keys-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_task_runs_last_key_value_store_keys_get\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"All keys up to this one (including) are skipped from the result.\",\n \"in\": \"query\",\n \"name\": \"exclusiveStartKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"Ihnsp8YrvJ8102Kj\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Number of keys to be returned.\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"default\": 1000,\n \"example\": 100,\n \"format\": \"int32\",\n \"maximum\": 1000,\n \"minimum\": 1,\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Limit the results to keys that belong to a specific collection from the key-value store schema. The key-value store need to have a schema defined for this parameter to work.\",\n \"in\": \"query\",\n \"name\": \"collection\",\n \"required\": false,\n \"schema\": {\n \"example\": \"postImages\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Limit the results to keys that start with a specific prefix.\",\n \"in\": \"query\",\n \"name\": \"prefix\",\n \"required\": false,\n \"schema\": {\n \"example\": \"post-images-\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Signature used for the access.\",\n \"in\": \"query\",\n \"name\": \"signature\",\n \"required\": false,\n \"schema\": {\n \"example\": \"2wTI46Bg8qWQrV7tavlPI\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/key-value-store/keys\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_key_value_store_keys_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get last task run's default store's list of keys\",\n \"tags\": [\n \"Last Actor task run's default key-value store\"\n ]\n },\n \"actor_task_runs_last_key_value_store_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Updates the default key-value store associated with the last Actor task run.\\n\\nThis endpoint is a shortcut for getting the last task run's `defaultKeyValueStoreId` and then using the\\n[Update store](/api/v2/key-value-store-put) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"actor_task_runs_last_key_value_store_put\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/key-value-store\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/UpdateStoreRequest\"\n },\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_key_value_store_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Update last task run's default store\",\n \"tags\": [\n \"Last Actor task run's default key-value store\"\n ]\n },\n \"actor_task_runs_last_key_value_store_record_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Removes a record specified by a key from the default key-value store of the last Actor task run.\\n\\nThis endpoint is a shortcut for getting the last task run's `defaultKeyValueStoreId` and then using the\\n[Delete record](/api/v2/key-value-store-record-delete) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"actor_task_runs_last_key_value_store_record_delete\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Key of the record.\",\n \"in\": \"path\",\n \"name\": \"recordKey\",\n \"required\": true,\n \"schema\": {\n \"example\": \"someKey\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/key-value-store/records/{recordKey}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_key_value_store_record_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete last task run's default store's record\",\n \"tags\": [\n \"Last Actor task run's default key-value store\"\n ]\n },\n \"actor_task_runs_last_key_value_store_record_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets a value stored under a specific key in the default key-value store of the last Actor task run.\\n\\nThis endpoint is a shortcut for getting the last task run's `defaultKeyValueStoreId` and then using the\\n[Get record](/api/v2/key-value-store-record-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_task_runs_last_key_value_store_record_get\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Key of the record.\",\n \"in\": \"path\",\n \"name\": \"recordKey\",\n \"required\": true,\n \"schema\": {\n \"example\": \"someKey\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Signature used for the access.\",\n \"in\": \"query\",\n \"name\": \"signature\",\n \"required\": false,\n \"schema\": {\n \"example\": \"2wTI46Bg8qWQrV7tavlPI\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1`, the response will be served with `Content-Disposition: attachment` header,\\ncausing web browsers to offer downloading HTML records instead of displaying them.\\n\",\n \"in\": \"query\",\n \"name\": \"attachment\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/key-value-store/records/{recordKey}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_key_value_store_record_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get last task run's default store's record\",\n \"tags\": [\n \"Last Actor task run's default key-value store\"\n ]\n },\n \"actor_task_runs_last_key_value_store_record_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Stores a value under a specific key in the default key-value store of the last Actor task run.\\n\\nThis endpoint is a shortcut for getting the last task run's `defaultKeyValueStoreId` and then using the\\n[Store record](/api/v2/key-value-store-record-post) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"actor_task_runs_last_key_value_store_record_post\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Key of the record.\",\n \"in\": \"path\",\n \"name\": \"recordKey\",\n \"required\": true,\n \"schema\": {\n \"example\": \"someKey\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"\",\n \"in\": \"header\",\n \"name\": \"Content-Encoding\",\n \"required\": false,\n \"schema\": {\n \"enum\": [\n \"gzip\",\n \"deflate\",\n \"br\",\n \"identity\"\n ],\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/key-value-store/records/{recordKey}\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/PutRecordRequest\"\n },\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_key_value_store_record_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Store record in last task run's default store (POST)\",\n \"tags\": [\n \"Last Actor task run's default key-value store\"\n ]\n },\n \"actor_task_runs_last_key_value_store_record_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Stores a value under a specific key in the default key-value store of the last Actor task run.\\n\\nThis endpoint is a shortcut for getting the last task run's `defaultKeyValueStoreId` and then using the\\n[Store record](/api/v2/key-value-store-record-put) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"actor_task_runs_last_key_value_store_record_put\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Key of the record.\",\n \"in\": \"path\",\n \"name\": \"recordKey\",\n \"required\": true,\n \"schema\": {\n \"example\": \"someKey\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"\",\n \"in\": \"header\",\n \"name\": \"Content-Encoding\",\n \"required\": false,\n \"schema\": {\n \"enum\": [\n \"gzip\",\n \"deflate\",\n \"br\",\n \"identity\"\n ],\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/key-value-store/records/{recordKey}\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/PutRecordRequest\"\n },\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_key_value_store_record_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Store record in last task run's default store\",\n \"tags\": [\n \"Last Actor task run's default key-value store\"\n ]\n },\n \"actor_task_runs_last_key_value_store_records_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Downloads all records from the default key-value store of the last Actor task run as a ZIP archive.\\n\\nThis endpoint is a shortcut for getting the last task run's `defaultKeyValueStoreId` and then using the\\n[Download records](/api/v2/key-value-store-records-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_task_runs_last_key_value_store_records_get\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If specified, only records belonging to a specific collection from the key-value store schema. The key-value store need to have a schema defined for this parameter to work.\\n\",\n \"in\": \"query\",\n \"name\": \"collection\",\n \"required\": false,\n \"schema\": {\n \"example\": \"my-collection\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If specified, only records whose key starts with the given prefix are included in the archive.\\n\",\n \"in\": \"query\",\n \"name\": \"prefix\",\n \"required\": false,\n \"schema\": {\n \"example\": \"my-prefix/\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Signature used for the access.\",\n \"in\": \"query\",\n \"name\": \"signature\",\n \"required\": false,\n \"schema\": {\n \"example\": \"2wTI46Bg8qWQrV7tavlPI\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/key-value-store/records\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_key_value_store_records_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Download last task run's default store's records\",\n \"tags\": [\n \"Last Actor task run's default key-value store\"\n ]\n },\n \"actor_task_runs_last_metamorph_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Transforms the last run of the specified Actor task into a run of another Actor with\\na new input.\\n\\nThis endpoint is a shortcut for [Metamorph run](#/reference/actor-runs/metamorph-run/metamorph-run)\\non the Actor task's last run.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"actor_task_runs_last_metamorph_post\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"ID of a target Actor that the run should be transformed into.\",\n \"in\": \"query\",\n \"name\": \"targetActorId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"HDSasDasz78YcAPEB\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Optional build of the target Actor.\\n\\nIt can be either a build tag or build number. By default, the run uses\\nthe build specified in the default run configuration for the target\\nActor (typically `latest`).\\n\",\n \"in\": \"query\",\n \"name\": \"build\",\n \"required\": false,\n \"schema\": {\n \"example\": \"beta\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/metamorph\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_metamorph_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Metamorph Actor task's last run\",\n \"tags\": [\n \"Last Actor task run's metamorph\"\n ]\n },\n \"actor_task_runs_last_reboot_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Reboots the last run of the specified Actor task and returns an object that\\ncontains all the details about the rebooted run.\\n\\nThis endpoint is a shortcut for [Reboot run](#/reference/actor-runs/reboot-run/reboot-run)\\non the Actor task's last run. Only runs with status `RUNNING` can be rebooted. The run's\\ncontainer will be restarted, so any data not persisted in the key-value store, dataset,\\nor request queue will be lost.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"actor_task_runs_last_reboot_post\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/reboot\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_reboot_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Reboot Actor task's last run\",\n \"tags\": [\n \"Last Actor task run's reboot\"\n ]\n },\n \"actor_task_runs_last_request_queue_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Deletes the default request queue associated with the last Actor task run.\\n\\nThis endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the\\n[Delete request queue](/api/v2/request-queue-delete) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"actor_task_runs_last_request_queue_delete\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/request-queue\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_request_queue_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete last task run's default request queue\",\n \"tags\": [\n \"Last Actor task run's default request queue\"\n ]\n },\n \"actor_task_runs_last_request_queue_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns the default request queue associated with the last Actor task run.\\n\\nThis endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the\\n[Get request queue](/api/v2/request-queue-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_task_runs_last_request_queue_get\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/request-queue\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_request_queue_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get last task run's default request queue\",\n \"tags\": [\n \"Last Actor task run's default request queue\"\n ]\n },\n \"actor_task_runs_last_request_queue_head_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns the given number of first requests from the default request queue of the last Actor task run.\\n\\nThis endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the\\n[Get head](/api/v2/request-queue-head-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_task_runs_last_request_queue_head_get\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"How many items from queue should be returned.\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"example\": 100,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/request-queue/head\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_request_queue_head_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get last task run's default request queue head\",\n \"tags\": [\n \"Last Actor task run's default request queue\"\n ]\n },\n \"actor_task_runs_last_request_queue_head_lock_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns the given number of first requests from the default request queue of the last Actor task run\\nand locks them for the given time.\\n\\nThis endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the\\n[Get head and lock](/api/v2/request-queue-head-lock-post) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"actor_task_runs_last_request_queue_head_lock_post\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"How long the requests will be locked for (in seconds).\",\n \"in\": \"query\",\n \"name\": \"lockSecs\",\n \"required\": true,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"How many items from the queue should be returned.\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"example\": 25,\n \"format\": \"double\",\n \"maximum\": 25,\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/request-queue/head/lock\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_request_queue_head_lock_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get and lock last task run's default request queue head\",\n \"tags\": [\n \"Last Actor task run's default request queue\"\n ]\n },\n \"actor_task_runs_last_request_queue_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Updates the default request queue associated with the last Actor task run.\\n\\nThis endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the\\n[Update request queue](/api/v2/request-queue-put) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"actor_task_runs_last_request_queue_put\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/request-queue\",\n \"request_body\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/UpdateRequestQueueRequest\"\n },\n {\n \"example\": {\n \"name\": \"new-request-queue-name\"\n }\n }\n ]\n },\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_request_queue_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Update last task run's default request queue\",\n \"tags\": [\n \"Last Actor task run's default request queue\"\n ]\n },\n \"actor_task_runs_last_request_queue_request_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Deletes a request from the default request queue of the last Actor task run.\\n\\nThis endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the\\n[Delete request](/api/v2/request-queue-request-delete) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"actor_task_runs_last_request_queue_request_delete\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Request ID.\",\n \"in\": \"path\",\n \"name\": \"requestId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"xpsmkDlspokDSmklS\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/{requestId}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_request_queue_request_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete request from last task run's default request queue\",\n \"tags\": [\n \"Last Actor task run's default request queue\"\n ]\n },\n \"actor_task_runs_last_request_queue_request_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns a request from the default request queue of the last Actor task run.\\n\\nThis endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the\\n[Get request](/api/v2/request-queue-request-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_task_runs_last_request_queue_request_get\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Request ID.\",\n \"in\": \"path\",\n \"name\": \"requestId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"xpsmkDlspokDSmklS\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/{requestId}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_request_queue_request_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get request from last task run's default request queue\",\n \"tags\": [\n \"Last Actor task run's default request queue\"\n ]\n },\n \"actor_task_runs_last_request_queue_request_lock_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Deletes a request lock in the default request queue of the last Actor task run.\\n\\nThis endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the\\n[Delete request lock](/api/v2/request-queue-request-lock-delete) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"actor_task_runs_last_request_queue_request_lock_delete\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Request ID.\",\n \"in\": \"path\",\n \"name\": \"requestId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"xpsmkDlspokDSmklS\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Determines if request should be added to the head of the queue or to the\\nend after lock was removed.\\n\",\n \"in\": \"query\",\n \"name\": \"forefront\",\n \"required\": false,\n \"schema\": {\n \"example\": \"false\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/{requestId}/lock\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_request_queue_request_lock_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete lock on request in last task run's default request queue\",\n \"tags\": [\n \"Last Actor task run's default request queue\"\n ]\n },\n \"actor_task_runs_last_request_queue_request_lock_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Prolongs a request lock in the default request queue of the last Actor task run.\\n\\nThis endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the\\n[Prolong request lock](/api/v2/request-queue-request-lock-put) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"actor_task_runs_last_request_queue_request_lock_put\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Request ID.\",\n \"in\": \"path\",\n \"name\": \"requestId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"xpsmkDlspokDSmklS\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"How long the requests will be locked for (in seconds).\",\n \"in\": \"query\",\n \"name\": \"lockSecs\",\n \"required\": true,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Determines if request should be added to the head of the queue or to the\\nend after lock expires.\\n\",\n \"in\": \"query\",\n \"name\": \"forefront\",\n \"required\": false,\n \"schema\": {\n \"example\": \"false\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/{requestId}/lock\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_request_queue_request_lock_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Prolong lock on request in last task run's default request queue\",\n \"tags\": [\n \"Last Actor task run's default request queue\"\n ]\n },\n \"actor_task_runs_last_request_queue_request_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Updates a request in the default request queue of the last Actor task run.\\n\\nThis endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the\\n[Update request](/api/v2/request-queue-request-put) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"actor_task_runs_last_request_queue_request_put\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Request ID.\",\n \"in\": \"path\",\n \"name\": \"requestId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"xpsmkDlspokDSmklS\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Determines if request should be added to the head of the queue or to the\\nend. Default value is `false` (end of queue).\\n\",\n \"in\": \"query\",\n \"name\": \"forefront\",\n \"required\": false,\n \"schema\": {\n \"example\": \"false\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/{requestId}\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/Request\"\n },\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_request_queue_request_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Update request in last task run's default request queue\",\n \"tags\": [\n \"Last Actor task run's default request queue\"\n ]\n },\n \"actor_task_runs_last_request_queue_requests_batch_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Batch-deletes requests from the default request queue of the last Actor task run.\\n\\nThis endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the\\n[Delete requests](/api/v2/request-queue-requests-batch-delete) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"actor_task_runs_last_request_queue_requests_batch_delete\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"\",\n \"in\": \"header\",\n \"name\": \"Content-Type\",\n \"required\": true,\n \"schema\": {\n \"const\": \"application/json\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/batch\",\n \"request_body\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/RequestDraftDelete\"\n },\n \"type\": \"array\"\n },\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_request_queue_requests_batch_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Batch delete requests from last task run's default request queue\",\n \"tags\": [\n \"Last Actor task run's default request queue\"\n ]\n },\n \"actor_task_runs_last_request_queue_requests_batch_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Adds requests to the default request queue of the last Actor task run in batch.\\n\\nThis endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the\\n[Add requests](/api/v2/request-queue-requests-batch-post) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"actor_task_runs_last_request_queue_requests_batch_post\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Determines if request should be added to the head of the queue or to the\\nend. Default value is `false` (end of queue).\\n\",\n \"in\": \"query\",\n \"name\": \"forefront\",\n \"required\": false,\n \"schema\": {\n \"example\": \"false\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/batch\",\n \"request_body\": {\n \"description\": \"\",\n \"items\": {\n \"$ref\": \"#/components/schemas/RequestBase\"\n },\n \"type\": \"array\"\n },\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_request_queue_requests_batch_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Batch add requests to last task run's default request queue\",\n \"tags\": [\n \"Last Actor task run's default request queue\"\n ]\n },\n \"actor_task_runs_last_request_queue_requests_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns a list of requests from the default request queue of the last Actor task run.\\n\\nThis endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the\\n[List requests](/api/v2/request-queue-requests-get) endpoint.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_task_runs_last_request_queue_requests_get\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"All requests up to this one (including) are skipped from the result. (Deprecated, use `cursor` instead.)\",\n \"in\": \"query\",\n \"name\": \"exclusiveStartId\",\n \"required\": false,\n \"schema\": {\n \"example\": \"Ihnsp8YrvJ8102Kj\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Number of keys to be returned. Maximum value is `10000`.\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"example\": 100,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"A cursor string for pagination, returned in the previous response as `nextCursor`. Use this to retrieve the next page of requests.\",\n \"in\": \"query\",\n \"name\": \"cursor\",\n \"required\": false,\n \"schema\": {\n \"example\": \"eyJyZXF1ZXN0SWQiOiI2OFRqQ2RaTDNvM2hiUU0ifQ\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter requests by their state. Possible values are `locked` and `pending`. You can combine multiple values separated by commas, which will mean the union of these filters \\u2013 requests matching any of the specified states will be returned. (Not compatible with deprecated `exclusiveStartId` parameter.)\",\n \"in\": \"query\",\n \"name\": \"filter\",\n \"required\": false,\n \"schema\": {\n \"example\": [\n \"locked\"\n ],\n \"items\": {\n \"enum\": [\n \"locked\",\n \"pending\"\n ],\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_request_queue_requests_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"List last task run's default request queue's requests\",\n \"tags\": [\n \"Last Actor task run's default request queue\"\n ]\n },\n \"actor_task_runs_last_request_queue_requests_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Adds a request to the default request queue of the last Actor task run.\\n\\nThis endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the\\n[Add request](/api/v2/request-queue-requests-post) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"actor_task_runs_last_request_queue_requests_post\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Determines if request should be added to the head of the queue or to the\\nend. Default value is `false` (end of queue).\\n\",\n \"in\": \"query\",\n \"name\": \"forefront\",\n \"required\": false,\n \"schema\": {\n \"example\": \"false\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/RequestBase\"\n },\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_request_queue_requests_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Add request to last task run's default request queue\",\n \"tags\": [\n \"Last Actor task run's default request queue\"\n ]\n },\n \"actor_task_runs_last_request_queue_requests_unlock_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Unlocks requests in the default request queue of the last Actor task run that are currently locked by the client.\\n\\nThis endpoint is a shortcut for getting the last task run's `defaultRequestQueueId` and then using the\\n[Unlock requests](/api/v2/request-queue-requests-unlock-post) endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"actor_task_runs_last_request_queue_requests_unlock_post\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter for the run status.\",\n \"in\": \"query\",\n \"name\": \"status\",\n \"required\": false,\n \"schema\": {\n \"example\": \"SUCCEEDED\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/unlock\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_runs_last_request_queue_requests_unlock_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Unlock requests in last task run's default request queue\",\n \"tags\": [\n \"Last Actor task run's default request queue\"\n ]\n },\n \"actor_task_runs_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Runs an Actor task and immediately returns without waiting for the run to\\nfinish.\\n\\nOptionally, you can override the Actor input configuration by passing a JSON\\nobject as the POST payload and setting the `Content-Type: application/json` HTTP header.\\n\\nNote that if the object in the POST payload does not define a particular\\ninput property, the Actor run uses the default value defined by the task (or Actor's input\\nschema if not defined by the task).\\n\\nThe response is the Actor Run object as returned by the [Get\\nrun](#/reference/actor-runs/run-object-and-its-storages/get-run) endpoint.\\n\\nIf you want to wait for the run to finish and receive the actual output of\\nthe Actor run as the response, use one of the [Run task\\nsynchronously](#/reference/actor-tasks/run-task-synchronously) API endpoints\\ninstead.\\n\\nTo fetch the Actor run results that are typically stored in the default\\ndataset, you'll need to pass the ID received in the `defaultDatasetId` field\\nreceived in the response JSON to the\\n[Get dataset items](#/reference/datasets/item-collection/get-items) API endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"actor_task_runs_post\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Optional timeout for the run, in seconds. By default, the run uses the timeout from its configuration.\\n\",\n \"in\": \"query\",\n \"name\": \"timeout\",\n \"required\": false,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Memory limit for the run, in megabytes. The amount of memory can be set to a power of 2 with a minimum of 128.\\nBy default, the run uses the memory limit from its configuration.\\n\",\n \"in\": \"query\",\n \"name\": \"memory\",\n \"required\": false,\n \"schema\": {\n \"example\": 256,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Specifies the maximum number of dataset items that will be charged for pay-per-result Actors.\\nThis does NOT guarantee that the Actor will return only this many items.\\nIt only ensures you won't be charged for more than this number of items.\\nOnly works for pay-per-result Actors.\\nValue can be accessed in the actor run using `ACTOR_MAX_PAID_DATASET_ITEMS` environment variable.\\n\",\n \"in\": \"query\",\n \"name\": \"maxItems\",\n \"required\": false,\n \"schema\": {\n \"example\": 1000,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Specifies the maximum cost of the run. This parameter is\\nuseful for pay-per-event Actors, as it allows you to limit the amount\\ncharged to your subscription. You can access the maximum cost in your Actor\\nby using the `ACTOR_MAX_TOTAL_CHARGE_USD` environment variable.\\n\",\n \"in\": \"query\",\n \"name\": \"maxTotalChargeUsd\",\n \"required\": false,\n \"schema\": {\n \"example\": 5,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Determines whether the run will be restarted if it fails.\\n\",\n \"in\": \"query\",\n \"name\": \"restartOnError\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Specifies the Actor build to run. It can be either a build tag or build number.\\nBy default, the run uses the build from its configuration (typically `latest`).\\n\",\n \"in\": \"query\",\n \"name\": \"build\",\n \"required\": false,\n \"schema\": {\n \"example\": \"0.1.234\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"The maximum number of seconds the server waits for the run to finish. By\\ndefault it is `0`, the maximum value is `60`. <!-- MAX_ACTOR_JOB_ASYNC_WAIT_SECS -->\\nIf the run finishes in time then the returned run object will have a terminal status (e.g. `SUCCEEDED`),\\notherwise it will have a transitional status (e.g. `RUNNING`).\\n\",\n \"in\": \"query\",\n \"name\": \"waitForFinish\",\n \"required\": false,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Specifies optional webhooks associated with the Actor run, which can be used to receive a notification\\ne.g. when the Actor finished or failed. The value is a Base64-encoded JSON array whose items follow\\nthe WebhookRepresentation schema. For more information, see\\n[Webhooks documentation](https://docs.apify.com/platform/integrations/webhooks).\\n\",\n \"in\": \"query\",\n \"name\": \"webhooks\",\n \"required\": false,\n \"schema\": {\n \"contentEncoding\": \"base64\",\n \"contentMediaType\": \"application/json\",\n \"contentSchema\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/WebhookRepresentation\"\n },\n \"type\": \"array\"\n },\n \"example\": \"dGhpcyBpcyBqdXN0IGV4YW1wbGUK...\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/runs\",\n \"request_body\": {\n \"type\": \"object\"\n },\n \"security\": null,\n \"skill_name\": \"actor_task_runs_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Run task\",\n \"tags\": [\n \"Actor tasks\"\n ]\n },\n \"actor_task_webhooks_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets the list of webhooks of a specific Actor task. The response is a JSON\\nwith the list of objects, where each object contains basic information about a single webhook.\\n\\nThe endpoint supports pagination using the `limit` and `offset` parameters\\nand it will not return more than 1000 records.\\n\\nBy default, the records are sorted by the `createdAt` field in ascending\\norder, to sort the records in descending order, use the `desc=1` parameter.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_task_webhooks_get\",\n \"parameters\": [\n {\n \"description\": \"Task ID or a tilde-separated owner's username and task's name.\",\n \"in\": \"path\",\n \"name\": \"actorTaskId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"janedoe~my-task\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Number of items that should be skipped at the start. The default value is `0`.\\n\",\n \"in\": \"query\",\n \"name\": \"offset\",\n \"required\": false,\n \"schema\": {\n \"example\": 0,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Maximum number of items to return. The default value as well as the maximum is `1000`.\\n\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"example\": 1000,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the objects are sorted by the `createdAt` field in\\ndescending order. By default, they are sorted in ascending order.\\n\",\n \"in\": \"query\",\n \"name\": \"desc\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks/{actorTaskId}/webhooks\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_task_webhooks_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get list of webhooks\",\n \"tags\": [\n \"Actor tasks\"\n ]\n },\n \"actor_tasks_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets the complete list of tasks that a user has created or used.\\n\\nThe response is a list of objects in which each object contains essential\\ninformation about a single task.\\n\\nThe endpoint supports pagination using the `limit` and `offset` parameters,\\nand it does not return more than a 1000 records.\\n\\nBy default, the records are sorted by the `createdAt` field in ascending\\norder; therefore you can use pagination to incrementally fetch all tasks while new\\nones are still being created. To sort the records in descending order, use\\nthe `desc=1` parameter.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"actor_tasks_get\",\n \"parameters\": [\n {\n \"description\": \"Number of items that should be skipped at the start. The default value is `0`.\\n\",\n \"in\": \"query\",\n \"name\": \"offset\",\n \"required\": false,\n \"schema\": {\n \"example\": 0,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Maximum number of items to return. The default value as well as the maximum is `1000`.\\n\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"example\": 1000,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the objects are sorted by the `createdAt` field in\\ndescending order. By default, they are sorted in ascending order.\\n\",\n \"in\": \"query\",\n \"name\": \"desc\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v2/actor-tasks\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"actor_tasks_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get list of tasks\",\n \"tags\": [\n \"Actor tasks\"\n ]\n },\n \"actor_tasks_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Create a new task with settings specified by the object passed as JSON in\\nthe POST payload.\\n\\nThe response is the full task object as returned by the\\n[Get task](/api/v2/actor-task-get) endpoint.\\n\\nThe request needs to specify the `Content-Type: application/json` HTTP header!\\n\\nWhen providing your API authentication token, we recommend using the\\nrequest's `Authorization` header, rather than the URL.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"actor_tasks_post\",\n \"parameters\": [],\n \"path\": \"/v2/actor-tasks\",\n \"request_body\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/CreateTaskRequest\"\n },\n {\n \"example\": {\n \"actId\": \"asADASadYvn4mBZmm\",\n \"input\": {\n \"hello\": \"world\"\n },\n \"name\": \"my-task\",\n \"options\": {\n \"build\": \"latest\",\n \"memoryMbytes\": 128,\n \"timeoutSecs\": 300\n }\n }\n }\n ]\n },\n \"security\": null,\n \"skill_name\": \"actor_tasks_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Create task\",\n \"tags\": [\n \"Actor tasks\"\n ]\n },\n \"acts_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets the list of all Actors that the user created or used. The response is a\\nlist of objects, where each object contains a basic information about a single Actor.\\n\\nTo only get Actors created by the user, add the `my=1` query parameter.\\n\\nThe endpoint supports pagination using the `limit` and `offset` parameters\\nand it will not return more than 1000 records.\\n\\nBy default, the records are sorted by the `createdAt` field in ascending\\norder, therefore you can use pagination to incrementally fetch all Actors while new\\nones are still being created. To sort the records in descending order, use the `desc=1` parameter.\\n\\nYou can also sort by your last run by using the `sortBy=stats.lastRunStartedAt` query parameter.\\nIn this case, descending order means the most recently run Actor appears first.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"acts_get\",\n \"parameters\": [\n {\n \"description\": \"If `true` or `1` then the returned list only contains Actors owned by the user. The default value is `false`.\\n\",\n \"in\": \"query\",\n \"name\": \"my\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Number of items that should be skipped at the start. The default value is `0`.\\n\",\n \"in\": \"query\",\n \"name\": \"offset\",\n \"required\": false,\n \"schema\": {\n \"example\": 0,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Maximum number of items to return. The default value as well as the maximum is `1000`.\\n\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"example\": 1000,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the objects are sorted by the `createdAt` field in\\ndescending order. By default, they are sorted in ascending order.\\n\",\n \"in\": \"query\",\n \"name\": \"desc\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Field to sort the records by. The default is `createdAt`. You can also use `stats.lastRunStartedAt` to sort\\nby the most recently ran Actors.\\n\",\n \"in\": \"query\",\n \"name\": \"sortBy\",\n \"required\": false,\n \"schema\": {\n \"enum\": [\n \"createdAt\",\n \"stats.lastRunStartedAt\"\n ],\n \"example\": \"createdAt\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actors\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"acts_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get list of Actors\",\n \"tags\": [\n \"Actors\"\n ]\n },\n \"acts_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Creates a new Actor with settings specified in an Actor object passed as\\nJSON in the POST payload.\\nThe response is the full Actor object as returned by the\\n[Get Actor](#/reference/actors/actor-object/get-actor) endpoint.\\n\\nThe HTTP request must have the `Content-Type: application/json` HTTP header!\\n\\nThe Actor needs to define at least one version of the source code.\\nFor more information, see [Version object](#/reference/actors/version-object).\\n\\nIf you want to make your Actor\\n[public](https://docs.apify.com/platform/actors/publishing) using `isPublic:\\ntrue`, you will need to provide the Actor's `title` and the `categories`\\nunder which that Actor will be classified in Apify Store. For this, it's\\nbest to use the [constants from our `apify-shared-js`\\npackage](https://github.com/apify/apify-shared-js/blob/2d43ebc41ece9ad31cd6525bd523fb86939bf860/packages/consts/src/consts.ts#L452-L471).\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"acts_post\",\n \"parameters\": [],\n \"path\": \"/v2/actors\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/CreateActorRequest\"\n },\n \"security\": null,\n \"skill_name\": \"acts_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Create Actor\",\n \"tags\": [\n \"Actors\"\n ]\n },\n \"dataset_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Deletes a specific dataset.\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"dataset_delete\",\n \"parameters\": [\n {\n \"description\": \"Dataset ID or `username~dataset-name`.\",\n \"in\": \"path\",\n \"name\": \"datasetId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/datasets/{datasetId}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"dataset_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete dataset\",\n \"tags\": [\n \"Storage/Datasets\"\n ]\n },\n \"dataset_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns dataset object for given dataset ID.\\n\\nThis does not return dataset items, only information about the storage itself.\\nTo retrieve dataset items, use the [List dataset items](/api/v2/dataset-items-get) endpoint.\\n\\n:::note\\n\\nKeep in mind that attributes `itemCount` and `cleanItemCount` are not propagated right away after data are pushed into a dataset.\\n\\n:::\\n\\nThere is a short period (up to 5 seconds) during which these counters may not match with exact counts in dataset items.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"dataset_get\",\n \"parameters\": [\n {\n \"description\": \"Dataset ID or `username~dataset-name`.\",\n \"in\": \"path\",\n \"name\": \"datasetId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/datasets/{datasetId}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"dataset_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get dataset\",\n \"tags\": [\n \"Storage/Datasets\"\n ]\n },\n \"dataset_items_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns data stored in the dataset in a desired format.\\n\\n### Response format\\n\\nThe format of the response depends on <code>format</code> query parameter.\\n\\nThe <code>format</code> parameter can have one of the following values:\\n<code>json</code>, <code>jsonl</code>, <code>xml</code>, <code>html</code>,\\n<code>csv</code>, <code>xlsx</code> and <code>rss</code>.\\n\\nThe following table describes how each format is treated.\\n\\n<table>\\n <tr>\\n <th>Format</th>\\n <th>Items</th>\\n </tr>\\n <tr>\\n <td><code>json</code></td>\\n <td rowspan=\\\"3\\\">The response is a JSON, JSONL or XML array of raw item objects.</td>\\n </tr>\\n <tr>\\n <td><code>jsonl</code></td>\\n </tr>\\n <tr>\\n <td><code>xml</code></td>\\n </tr>\\n <tr>\\n <td><code>html</code></td>\\n <td rowspan=\\\"3\\\">The response is a HTML, CSV or XLSX table, where columns correspond to the\\n properties of the item and rows correspond to each dataset item.</td>\\n </tr>\\n <tr>\\n <td><code>csv</code></td>\\n </tr>\\n <tr>\\n <td><code>xlsx</code></td>\\n </tr>\\n <tr>\\n <td><code>rss</code></td>\\n <td colspan=\\\"2\\\">The response is a RSS file. Each item is displayed as child elements of one\\n <code><item></code>.</td>\\n </tr>\\n</table>\\n\\nNote that CSV, XLSX and HTML tables are limited to 2000 columns and the column names cannot be longer than 200 characters.\\nJSON, XML and RSS formats do not have such restrictions.\\n\\n### Hidden fields\\n\\nThe top-level fields starting with the `#` character are considered hidden.\\nThese are useful to store debugging information and can be omitted from the output by providing the `skipHidden=1` or `clean=1` query parameters.\\nFor example, if you store the following object to the dataset:\\n\\n```\\n{\\n productName: \\\"iPhone Xs\\\",\\n description: \\\"Welcome to the big screens.\\\"\\n #debug: {\\n url: \\\"https://www.apple.com/lae/iphone-xs/\\\",\\n crawledAt: \\\"2019-01-21T16:06:03.683Z\\\"\\n }\\n}\\n```\\n\\nThe `#debug` field will be considered as hidden and can be omitted from the\\nresults. This is useful to\\nprovide nice cleaned data to end users, while keeping debugging info\\navailable if needed. The Dataset object\\nreturned by the API contains the number of such clean items in the`dataset.cleanItemCount` property.\\n\\n### XML format extension\\n\\nWhen 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:\\n\\n```\\n{\\n name: \\\"Paul Newman\\\",\\n address: [\\n { type: \\\"home\\\", street: \\\"21st\\\", city: \\\"Chicago\\\" },\\n { type: \\\"office\\\", street: null, city: null }\\n ]\\n}\\n```\\n\\nwill be transformed to the following XML snippet:\\n\\n```\\n<name>Paul Newman</name>\\n<address>\\n <type>home</type>\\n <street>21st</street>\\n <city>Chicago</city>\\n</address>\\n<address>\\n <type>office</type>\\n <street/>\\n <city/>\\n</address>\\n```\\n\\nIf the JavaScript object contains a property named `@` then its sub-properties are exported as attributes of the parent XML\\nelement.\\nIf the parent XML element does not have any child elements then its value is taken from a JavaScript object property named `#`.\\n\\nFor example, the following JavaScript object:\\n\\n```\\n{\\n \\\"address\\\": [{\\n \\\"@\\\": {\\n \\\"type\\\": \\\"home\\\"\\n },\\n \\\"street\\\": \\\"21st\\\",\\n \\\"city\\\": \\\"Chicago\\\"\\n },\\n {\\n \\\"@\\\": {\\n \\\"type\\\": \\\"office\\\"\\n },\\n \\\"#\\\": 'unknown'\\n }]\\n}\\n```\\n\\nwill be transformed to the following XML snippet:\\n\\n```\\n<address type=\\\"home\\\">\\n <street>21st</street>\\n <city>Chicago</city>\\n</address>\\n<address type=\\\"office\\\">unknown</address>\\n```\\n\\nThis feature is also useful to customize your RSS feeds generated for various websites.\\n\\nBy default the whole result is wrapped in a `<items>` element and each page object is wrapped in a `<item>` element.\\nYou can change this using <code>xmlRoot</code> and <code>xmlRow</code> url parameters.\\n\\n### Pagination\\n\\nThe generated response supports [pagination](#/introduction/pagination).\\nThe pagination is always performed with the granularity of a single item, regardless whether <code>unwind</code> parameter was provided.\\nBy 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.\\nNo limit exists to how many items can be returned in one response.\\n\\nIf 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).\\nNote that only the order of **Items** is reversed, but not the order of the `unwind` array elements.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"dataset_items_get\",\n \"parameters\": [\n {\n \"description\": \"Dataset ID or `username~dataset-name`.\",\n \"in\": \"path\",\n \"name\": \"datasetId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Format of the results, possible values are: `json`, `jsonl`, `csv`, `html`, `xlsx`, `xml` and `rss`. The default value is `json`.\\n\",\n \"in\": \"query\",\n \"name\": \"format\",\n \"required\": false,\n \"schema\": {\n \"example\": \"json\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the API endpoint returns only non-empty items and skips hidden fields (i.e. fields starting with the # character).\\nThe `clean` parameter is just a shortcut for `skipHidden=true` and `skipEmpty=true` parameters.\\nNote that since some objects might be skipped from the output, that the result might contain less items than the `limit` value.\\n\",\n \"in\": \"query\",\n \"name\": \"clean\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Number of items that should be skipped at the start. The default value is `0`.\\n\",\n \"in\": \"query\",\n \"name\": \"offset\",\n \"required\": false,\n \"schema\": {\n \"example\": 0,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Maximum number of items to return. By default there is no limit.\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should be picked from the items, only these fields will remain in the resulting record objects.\\nNote that the fields in the outputted items are sorted the same way as they are specified in the `fields` query parameter.\\nYou can use this feature to effectively fix the output format.\\n\",\n \"in\": \"query\",\n \"name\": \"fields\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue,myOtherValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of output field names that positionally rename the fields specified in the `fields` parameter.\\nFor example, `?fields=headline,url&outputFields=title,link` renames `headline` to `title` and `url` to `link` in the output.\\nThe number of names in `outputFields` must match the number of names in `fields`.\\nRequires the `fields` parameter to be specified as well.\\n\",\n \"in\": \"query\",\n \"name\": \"outputFields\",\n \"required\": false,\n \"schema\": {\n \"example\": \"title,link\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should be omitted from the items.\",\n \"in\": \"query\",\n \"name\": \"omit\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue,myOtherValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should be unwound, in order which they should be processed. Each field should be either an array or an object.\\nIf the field is an array then every element of the array will become a separate record and merged with parent object.\\nIf the unwound field is an object then it is merged with the parent object.\\nIf the unwound field is missing or its value is neither an array nor an object and therefore cannot be merged with a parent object then the item gets preserved as it is.\\nNote that the unwound items ignore the `desc` parameter.\\n\",\n \"in\": \"query\",\n \"name\": \"unwind\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue,myOtherValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should transform nested objects into flat structures.\\n\\nFor example, with `flatten=\\\"foo\\\"` the object `{\\\"foo\\\":{\\\"bar\\\": \\\"hello\\\"}}` is turned into `{\\\"foo.bar\\\": \\\"hello\\\"}`.\\n\\nThe original object with properties is replaced with the flattened object.\\n\",\n \"in\": \"query\",\n \"name\": \"flatten\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"By default, results are returned in the same order as they were stored.\\nTo reverse the order, set this parameter to `true` or `1`.\\n\",\n \"in\": \"query\",\n \"name\": \"desc\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the response will define the `Content-Disposition:\\nattachment` header, forcing a web browser to download the file rather\\nthan to display it. By default this header is not present.\\n\",\n \"in\": \"query\",\n \"name\": \"attachment\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"A delimiter character for CSV files, only used if `format=csv`. You\\nmight need to URL-encode the character (e.g. use `%09` for tab or `%3B`\\nfor semicolon). The default delimiter is a simple comma (`,`).\\n\",\n \"in\": \"query\",\n \"name\": \"delimiter\",\n \"required\": false,\n \"schema\": {\n \"example\": \";\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"All text responses are encoded in UTF-8 encoding. By default, the\\n`format=csv` files are prefixed with the UTF-8 Byte Order Mark (BOM), while `json`, `jsonl`, `xml`, `html` and `rss` files are not.\\n\\nIf you want to override this default behavior, specify `bom=1` query parameter to include the BOM or `bom=0` to skip it.\\n\",\n \"in\": \"query\",\n \"name\": \"bom\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Overrides default root element name of `xml` output. By default the root element is `items`.\\n\",\n \"in\": \"query\",\n \"name\": \"xmlRoot\",\n \"required\": false,\n \"schema\": {\n \"example\": \"items\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Overrides default element name that wraps each page or page function result object in `xml` output. By default the element name is `item`.\\n\",\n \"in\": \"query\",\n \"name\": \"xmlRow\",\n \"required\": false,\n \"schema\": {\n \"example\": \"item\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then header row in the `csv` format is skipped.\",\n \"in\": \"query\",\n \"name\": \"skipHeaderRow\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then hidden fields are skipped from the output, i.e. fields starting with the `#` character.\\n\",\n \"in\": \"query\",\n \"name\": \"skipHidden\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then empty items are skipped from the output.\\n\\nNote that if used, the results might contain less items than the limit value.\\n\",\n \"in\": \"query\",\n \"name\": \"skipEmpty\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then, the endpoint applies the `fields=url,pageFunctionResult,errorInfo`\\nand `unwind=pageFunctionResult` query parameters. This feature is used to emulate simplified results provided by the\\nlegacy Apify Crawler product and it's not recommended to use it in new integrations.\\n\",\n \"in\": \"query\",\n \"name\": \"simplified\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Defines the view configuration for dataset items based on the schema definition.\\nThis parameter determines how the data will be filtered and presented.\\nFor complete specification details, see the [dataset schema documentation](/platform/actors/development/actor-definition/dataset-schema).\\n\",\n \"in\": \"query\",\n \"name\": \"view\",\n \"required\": false,\n \"schema\": {\n \"example\": \"overview\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then, the all the items with errorInfo property will be skipped from the output.\\n\\nThis feature is here to emulate functionality of API version 1 used for the legacy Apify Crawler product and it's not recommended to use it in new integrations.\\n\",\n \"in\": \"query\",\n \"name\": \"skipFailedPages\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Overrides the auto-generated RSS channel `<title>` element.\\nOnly used when `format=rss`. If not provided, the title defaults to `Dataset <label>`.\\n\",\n \"in\": \"query\",\n \"name\": \"feedTitle\",\n \"required\": false,\n \"schema\": {\n \"example\": \"Latest posts from r/pasta\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Overrides the auto-generated RSS channel `<description>` element.\\nOnly used when `format=rss`. If not provided, the description defaults to `Items in dataset with id \\\"<datasetId>\\\".`\\n\",\n \"in\": \"query\",\n \"name\": \"feedDescription\",\n \"required\": false,\n \"schema\": {\n \"example\": \"Scraped forum posts\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Signature used for the access.\",\n \"in\": \"query\",\n \"name\": \"signature\",\n \"required\": false,\n \"schema\": {\n \"example\": \"2wTI46Bg8qWQrV7tavlPI\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/datasets/{datasetId}/items\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"dataset_items_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get dataset items\",\n \"tags\": [\n \"Storage/Datasets\"\n ]\n },\n \"dataset_items_head\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns only the HTTP headers for the dataset items endpoint, without the response body.\\nThis is useful to check pagination metadata or verify access without downloading the full dataset.\\n\",\n \"destructive\": false,\n \"method\": \"HEAD\",\n \"operation_id\": \"dataset_items_head\",\n \"parameters\": [\n {\n \"description\": \"Dataset ID or `username~dataset-name`.\",\n \"in\": \"path\",\n \"name\": \"datasetId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Format of the results, possible values are: `json`, `jsonl`, `csv`, `html`, `xlsx`, `xml` and `rss`. The default value is `json`.\\n\",\n \"in\": \"query\",\n \"name\": \"format\",\n \"required\": false,\n \"schema\": {\n \"example\": \"json\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the API endpoint returns only non-empty items and skips hidden fields (i.e. fields starting with the # character).\\nThe `clean` parameter is just a shortcut for `skipHidden=true` and `skipEmpty=true` parameters.\\nNote that since some objects might be skipped from the output, that the result might contain less items than the `limit` value.\\n\",\n \"in\": \"query\",\n \"name\": \"clean\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Number of items that should be skipped at the start. The default value is `0`.\\n\",\n \"in\": \"query\",\n \"name\": \"offset\",\n \"required\": false,\n \"schema\": {\n \"example\": 0,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Maximum number of items to return. By default there is no limit.\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should be picked from the items, only these fields will remain in the resulting record objects.\\nNote that the fields in the outputted items are sorted the same way as they are specified in the `fields` query parameter.\\nYou can use this feature to effectively fix the output format.\\n\",\n \"in\": \"query\",\n \"name\": \"fields\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue,myOtherValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of output field names that positionally rename the fields specified in the `fields` parameter.\\nFor example, `?fields=headline,url&outputFields=title,link` renames `headline` to `title` and `url` to `link` in the output.\\nThe number of names in `outputFields` must match the number of names in `fields`.\\nRequires the `fields` parameter to be specified as well.\\n\",\n \"in\": \"query\",\n \"name\": \"outputFields\",\n \"required\": false,\n \"schema\": {\n \"example\": \"title,link\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should be omitted from the items.\",\n \"in\": \"query\",\n \"name\": \"omit\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue,myOtherValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should be unwound, in order which they should be processed. Each field should be either an array or an object.\\nIf the field is an array then every element of the array will become a separate record and merged with parent object.\\nIf the unwound field is an object then it is merged with the parent object.\\nIf the unwound field is missing or its value is neither an array nor an object and therefore cannot be merged with a parent object then the item gets preserved as it is.\\nNote that the unwound items ignore the `desc` parameter.\\n\",\n \"in\": \"query\",\n \"name\": \"unwind\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue,myOtherValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A comma-separated list of fields which should transform nested objects into flat structures.\\n\\nFor example, with `flatten=\\\"foo\\\"` the object `{\\\"foo\\\":{\\\"bar\\\": \\\"hello\\\"}}` is turned into `{\\\"foo.bar\\\": \\\"hello\\\"}`.\\n\\nThe original object with properties is replaced with the flattened object.\\n\",\n \"in\": \"query\",\n \"name\": \"flatten\",\n \"required\": false,\n \"schema\": {\n \"example\": \"myValue\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"By default, results are returned in the same order as they were stored.\\nTo reverse the order, set this parameter to `true` or `1`.\\n\",\n \"in\": \"query\",\n \"name\": \"desc\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the response will define the `Content-Disposition:\\nattachment` header, forcing a web browser to download the file rather\\nthan to display it. By default this header is not present.\\n\",\n \"in\": \"query\",\n \"name\": \"attachment\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"A delimiter character for CSV files, only used if `format=csv`. You\\nmight need to URL-encode the character (e.g. use `%09` for tab or `%3B`\\nfor semicolon). The default delimiter is a simple comma (`,`).\\n\",\n \"in\": \"query\",\n \"name\": \"delimiter\",\n \"required\": false,\n \"schema\": {\n \"example\": \";\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"All text responses are encoded in UTF-8 encoding. By default, the\\n`format=csv` files are prefixed with the UTF-8 Byte Order Mark (BOM), while `json`, `jsonl`, `xml`, `html` and `rss` files are not.\\n\\nIf you want to override this default behavior, specify `bom=1` query parameter to include the BOM or `bom=0` to skip it.\\n\",\n \"in\": \"query\",\n \"name\": \"bom\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Overrides default root element name of `xml` output. By default the root element is `items`.\\n\",\n \"in\": \"query\",\n \"name\": \"xmlRoot\",\n \"required\": false,\n \"schema\": {\n \"example\": \"items\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Overrides default element name that wraps each page or page function result object in `xml` output. By default the element name is `item`.\\n\",\n \"in\": \"query\",\n \"name\": \"xmlRow\",\n \"required\": false,\n \"schema\": {\n \"example\": \"item\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then header row in the `csv` format is skipped.\",\n \"in\": \"query\",\n \"name\": \"skipHeaderRow\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then hidden fields are skipped from the output, i.e. fields starting with the `#` character.\\n\",\n \"in\": \"query\",\n \"name\": \"skipHidden\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then empty items are skipped from the output.\\n\\nNote that if used, the results might contain less items than the limit value.\\n\",\n \"in\": \"query\",\n \"name\": \"skipEmpty\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then, the endpoint applies the `fields=url,pageFunctionResult,errorInfo`\\nand `unwind=pageFunctionResult` query parameters. This feature is used to emulate simplified results provided by the\\nlegacy Apify Crawler product and it's not recommended to use it in new integrations.\\n\",\n \"in\": \"query\",\n \"name\": \"simplified\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Defines the view configuration for dataset items based on the schema definition.\\nThis parameter determines how the data will be filtered and presented.\\nFor complete specification details, see the [dataset schema documentation](/platform/actors/development/actor-definition/dataset-schema).\\n\",\n \"in\": \"query\",\n \"name\": \"view\",\n \"required\": false,\n \"schema\": {\n \"example\": \"overview\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then, the all the items with errorInfo property will be skipped from the output.\\n\\nThis feature is here to emulate functionality of API version 1 used for the legacy Apify Crawler product and it's not recommended to use it in new integrations.\\n\",\n \"in\": \"query\",\n \"name\": \"skipFailedPages\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Overrides the auto-generated RSS channel `<title>` element.\\nOnly used when `format=rss`. If not provided, the title defaults to `Dataset <label>`.\\n\",\n \"in\": \"query\",\n \"name\": \"feedTitle\",\n \"required\": false,\n \"schema\": {\n \"example\": \"Latest posts from r/pasta\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Overrides the auto-generated RSS channel `<description>` element.\\nOnly used when `format=rss`. If not provided, the description defaults to `Items in dataset with id \\\"<datasetId>\\\".`\\n\",\n \"in\": \"query\",\n \"name\": \"feedDescription\",\n \"required\": false,\n \"schema\": {\n \"example\": \"Scraped forum posts\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Signature used for the access.\",\n \"in\": \"query\",\n \"name\": \"signature\",\n \"required\": false,\n \"schema\": {\n \"example\": \"2wTI46Bg8qWQrV7tavlPI\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/datasets/{datasetId}/items\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"dataset_items_head\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get dataset items headers\",\n \"tags\": [\n \"Storage/Datasets\"\n ]\n },\n \"dataset_items_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Appends an item or an array of items to the end of the dataset.\\nThe POST payload is a JSON object or a JSON array of objects to save into the dataset.\\n\\nIf 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.\\nFor more information about dataset schema validation, see [Dataset schema](https://docs.apify.com/platform/actors/development/actor-definition/dataset-schema/validation).\\n\\n**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.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"dataset_items_post\",\n \"parameters\": [\n {\n \"description\": \"Dataset ID or `username~dataset-name`.\",\n \"in\": \"path\",\n \"name\": \"datasetId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/datasets/{datasetId}/items\",\n \"request_body\": {\n \"description\": \"\",\n \"oneOf\": [\n {\n \"$ref\": \"#/components/schemas/PutItemsRequest\"\n },\n {\n \"items\": {\n \"$ref\": \"#/components/schemas/PutItemsRequest\"\n },\n \"type\": \"array\"\n }\n ]\n },\n \"security\": null,\n \"skill_name\": \"dataset_items_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Store items\",\n \"tags\": [\n \"Storage/Datasets\"\n ]\n },\n \"dataset_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Updates a dataset's name and general resource access level using a value specified by a JSON object passed in the PUT payload.\\nThe response is the updated dataset object, as returned by the [Get dataset](/api/v2/dataset-get) API endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"dataset_put\",\n \"parameters\": [\n {\n \"description\": \"Dataset ID or `username~dataset-name`.\",\n \"in\": \"path\",\n \"name\": \"datasetId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/datasets/{datasetId}\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/UpdateDatasetRequest\"\n },\n \"security\": null,\n \"skill_name\": \"dataset_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Update dataset\",\n \"tags\": [\n \"Storage/Datasets\"\n ]\n },\n \"dataset_statistics_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns statistics for given dataset.\\n\\nProvides only [field statistics](https://docs.apify.com/platform/actors/development/actor-definition/dataset-schema/validation#dataset-field-statistics).\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"dataset_statistics_get\",\n \"parameters\": [\n {\n \"description\": \"Dataset ID or `username~dataset-name`.\",\n \"in\": \"path\",\n \"name\": \"datasetId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/datasets/{datasetId}/statistics\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"dataset_statistics_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get dataset statistics\",\n \"tags\": [\n \"Storage/Datasets\"\n ]\n },\n \"datasets_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Lists all of a user's datasets.\\n\\nThe response is a JSON array of objects,\\nwhere each object contains basic information about one dataset.\\n\\nBy default, the objects are sorted by the `createdAt` field in ascending\\norder, therefore you can use pagination to incrementally fetch all datasets while new\\nones are still being created. To sort them in descending order, use `desc=1`\\nparameter. The endpoint supports pagination using `limit` and `offset`\\nparameters and it will not return more than 1000 array elements.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"datasets_get\",\n \"parameters\": [\n {\n \"description\": \"Number of items that should be skipped at the start. The default value is `0`.\\n\",\n \"in\": \"query\",\n \"name\": \"offset\",\n \"required\": false,\n \"schema\": {\n \"example\": 0,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Maximum number of items to return. The default value as well as the maximum is `1000`.\\n\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"example\": 1000,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the objects are sorted by the `createdAt` field in\\ndescending order. By default, they are sorted in ascending order.\\n\",\n \"in\": \"query\",\n \"name\": \"desc\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then all the storages are returned. By default, only\\nnamed storages are returned.\\n\",\n \"in\": \"query\",\n \"name\": \"unnamed\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Filter by ownership. If this parameter is omitted, all accessible datasets are returned.\\n\\n- `ownedByMe`: Return only datasets owned by the user.\\n- `sharedWithMe`: Return only datasets shared with the user by other users.\\n\",\n \"in\": \"query\",\n \"name\": \"ownership\",\n \"required\": false,\n \"schema\": {\n \"$ref\": \"#/components/schemas/StorageOwnership\"\n }\n }\n ],\n \"path\": \"/v2/datasets\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"datasets_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get list of datasets\",\n \"tags\": [\n \"Storage/Datasets\"\n ]\n },\n \"datasets_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Creates a dataset and returns its object.\\nKeep in mind that data stored under unnamed dataset follows [data retention period](https://docs.apify.com/platform/storage#data-retention).\\nIt creates a dataset with the given name if the parameter name is used.\\nIf a dataset with the given name already exists then returns its object.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"datasets_post\",\n \"parameters\": [\n {\n \"description\": \"Custom unique name to easily identify the dataset in the future.\",\n \"in\": \"query\",\n \"name\": \"name\",\n \"required\": false,\n \"schema\": {\n \"example\": \"eshop-items\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/datasets\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"datasets_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Create dataset\",\n \"tags\": [\n \"Storage/Datasets\"\n ]\n },\n \"key_value_store_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Deletes a key-value store.\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"key_value_store_delete\",\n \"parameters\": [\n {\n \"description\": \"Key-value store ID or `username~store-name`.\",\n \"in\": \"path\",\n \"name\": \"storeId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/key-value-stores/{storeId}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"key_value_store_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete store\",\n \"tags\": [\n \"Storage/Key-value stores\"\n ]\n },\n \"key_value_store_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets an object that contains all the details about a specific key-value\\nstore.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"key_value_store_get\",\n \"parameters\": [\n {\n \"description\": \"Key-value store ID or `username~store-name`.\",\n \"in\": \"path\",\n \"name\": \"storeId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/key-value-stores/{storeId}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"key_value_store_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get store\",\n \"tags\": [\n \"Storage/Key-value stores\"\n ]\n },\n \"key_value_store_keys_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns a list of objects describing keys of a given key-value store, as\\nwell as some information about the values (e.g. size).\\n\\nThis endpoint is paginated using `exclusiveStartKey` and `limit` parameters\\n- see [Pagination](/api/v2#using-key) for more details.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"key_value_store_keys_get\",\n \"parameters\": [\n {\n \"description\": \"Key-value store ID or `username~store-name`.\",\n \"in\": \"path\",\n \"name\": \"storeId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"All keys up to this one (including) are skipped from the result.\",\n \"in\": \"query\",\n \"name\": \"exclusiveStartKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"Ihnsp8YrvJ8102Kj\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Number of keys to be returned.\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"default\": 1000,\n \"example\": 100,\n \"format\": \"int32\",\n \"maximum\": 1000,\n \"minimum\": 1,\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Limit the results to keys that belong to a specific collection from the key-value store schema. The key-value store need to have a schema defined for this parameter to work.\",\n \"in\": \"query\",\n \"name\": \"collection\",\n \"required\": false,\n \"schema\": {\n \"example\": \"postImages\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Limit the results to keys that start with a specific prefix.\",\n \"in\": \"query\",\n \"name\": \"prefix\",\n \"required\": false,\n \"schema\": {\n \"example\": \"post-images-\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Signature used for the access.\",\n \"in\": \"query\",\n \"name\": \"signature\",\n \"required\": false,\n \"schema\": {\n \"example\": \"2wTI46Bg8qWQrV7tavlPI\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/key-value-stores/{storeId}/keys\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"key_value_store_keys_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get list of keys\",\n \"tags\": [\n \"Storage/Key-value stores\"\n ]\n },\n \"key_value_store_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Updates a key-value store's name and general resource access level using a value specified by a JSON object\\npassed in the PUT payload.\\n\\nThe response is the updated key-value store object, as returned by the [Get\\nstore](#/reference/key-value-stores/store-object/get-store) API endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"key_value_store_put\",\n \"parameters\": [\n {\n \"description\": \"Key-value store ID or `username~store-name`.\",\n \"in\": \"path\",\n \"name\": \"storeId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/key-value-stores/{storeId}\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/UpdateStoreRequest\"\n },\n \"security\": null,\n \"skill_name\": \"key_value_store_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Update store\",\n \"tags\": [\n \"Storage/Key-value stores\"\n ]\n },\n \"key_value_store_record_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Removes a record specified by a key from the key-value store.\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"key_value_store_record_delete\",\n \"parameters\": [\n {\n \"description\": \"Key-value store ID or `username~store-name`.\",\n \"in\": \"path\",\n \"name\": \"storeId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Key of the record.\",\n \"in\": \"path\",\n \"name\": \"recordKey\",\n \"required\": true,\n \"schema\": {\n \"example\": \"someKey\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/key-value-stores/{storeId}/records/{recordKey}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"key_value_store_record_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete record\",\n \"tags\": [\n \"Storage/Key-value stores\"\n ]\n },\n \"key_value_store_record_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets a value stored in the key-value store under a specific key.\\n\\nThe response body has the same `Content-Encoding` header as it was set in\\n[Put record](#tag/Key-value-storesRecord/operation/keyValueStore_record_put).\\n\\nIf the request does not define the `Accept-Encoding` HTTP header with the\\nright encoding, the record will be decompressed.\\n\\nMost HTTP clients support decompression by default. After using the HTTP\\nclient with decompression support, the `Accept-Encoding` header is set by\\nthe client and body is decompressed automatically.\\n\\nPlease note that for security reasons, Apify API can perform small modifications\\nto HTML documents before they are served via this endpoint. To fetch the raw HTML\\ncontent without any modifications, use the `attachment` query parameter.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"key_value_store_record_get\",\n \"parameters\": [\n {\n \"description\": \"Key-value store ID or `username~store-name`.\",\n \"in\": \"path\",\n \"name\": \"storeId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Key of the record.\",\n \"in\": \"path\",\n \"name\": \"recordKey\",\n \"required\": true,\n \"schema\": {\n \"example\": \"someKey\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1`, the response will be served with `Content-Disposition: attachment` header,\\ncausing web browsers to offer downloading HTML records instead of displaying them.\\n\",\n \"in\": \"query\",\n \"name\": \"attachment\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Signature used for the access.\",\n \"in\": \"query\",\n \"name\": \"signature\",\n \"required\": false,\n \"schema\": {\n \"example\": \"2wTI46Bg8qWQrV7tavlPI\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/key-value-stores/{storeId}/records/{recordKey}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"key_value_store_record_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get record\",\n \"tags\": [\n \"Storage/Key-value stores\"\n ]\n },\n \"key_value_store_record_head\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Check if a value is stored in the key-value store under a specific key.\\n\",\n \"destructive\": false,\n \"method\": \"HEAD\",\n \"operation_id\": \"key_value_store_record_head\",\n \"parameters\": [\n {\n \"description\": \"Key-value store ID or `username~store-name`.\",\n \"in\": \"path\",\n \"name\": \"storeId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Key of the record.\",\n \"in\": \"path\",\n \"name\": \"recordKey\",\n \"required\": true,\n \"schema\": {\n \"example\": \"someKey\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/key-value-stores/{storeId}/records/{recordKey}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"key_value_store_record_head\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Check if a record exists\",\n \"tags\": [\n \"Storage/Key-value stores\"\n ]\n },\n \"key_value_store_record_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Stores a value under a specific key to the key-value store.\\n\\nThis endpoint is an alias for the [`PUT` record](#tag/Key-value-storesRecord/operation/keyValueStore_record_put) method and behaves identically.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"key_value_store_record_post\",\n \"parameters\": [\n {\n \"description\": \"Key-value store ID or `username~store-name`.\",\n \"in\": \"path\",\n \"name\": \"storeId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Key of the record.\",\n \"in\": \"path\",\n \"name\": \"recordKey\",\n \"required\": true,\n \"schema\": {\n \"example\": \"someKey\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"\",\n \"in\": \"header\",\n \"name\": \"Content-Encoding\",\n \"required\": false,\n \"schema\": {\n \"enum\": [\n \"gzip\",\n \"deflate\",\n \"br\",\n \"identity\"\n ],\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/key-value-stores/{storeId}/records/{recordKey}\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/PutRecordRequest\"\n },\n \"security\": null,\n \"skill_name\": \"key_value_store_record_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Store record (POST)\",\n \"tags\": [\n \"Storage/Key-value stores\"\n ]\n },\n \"key_value_store_record_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Stores a value under a specific key to the key-value store.\\n\\nThe value is passed as the PUT payload and it is stored with a MIME content\\ntype defined by the `Content-Type` header and with encoding defined by the\\n`Content-Encoding` header.\\n\\nTo save bandwidth, storage, and speed up your upload, send the request\\npayload compressed with Gzip compression and add the `Content-Encoding: gzip`\\nheader. It is possible to set up another compression type with `Content-Encoding`\\nrequest header.\\n\\nBelow is a list of supported `Content-Encoding` types.\\n\\n* Gzip compression: `Content-Encoding: gzip`\\n* Deflate compression: `Content-Encoding: deflate`\\n* Brotli compression: `Content-Encoding: br`\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"key_value_store_record_put\",\n \"parameters\": [\n {\n \"description\": \"Key-value store ID or `username~store-name`.\",\n \"in\": \"path\",\n \"name\": \"storeId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Key of the record.\",\n \"in\": \"path\",\n \"name\": \"recordKey\",\n \"required\": true,\n \"schema\": {\n \"example\": \"someKey\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"\",\n \"in\": \"header\",\n \"name\": \"Content-Encoding\",\n \"required\": false,\n \"schema\": {\n \"enum\": [\n \"gzip\",\n \"deflate\",\n \"br\",\n \"identity\"\n ],\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/key-value-stores/{storeId}/records/{recordKey}\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/PutRecordRequest\"\n },\n \"security\": null,\n \"skill_name\": \"key_value_store_record_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Store record\",\n \"tags\": [\n \"Storage/Key-value stores\"\n ]\n },\n \"key_value_store_records_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Downloads all records from the key-value store as a ZIP archive.\\nEach record is stored as a separate file in the archive, with the filename equal to the record key.\\n\\nYou can optionally filter the records by `collection` or `prefix` to download only a subset of the store.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"key_value_store_records_get\",\n \"parameters\": [\n {\n \"description\": \"Key-value store ID or `username~store-name`.\",\n \"in\": \"path\",\n \"name\": \"storeId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If specified, only records belonging to a specific collection from the key-value store schema. The key-value store need to have a schema defined for this parameter to work.\\n\",\n \"in\": \"query\",\n \"name\": \"collection\",\n \"required\": false,\n \"schema\": {\n \"example\": \"my-collection\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If specified, only records whose key starts with the given prefix are included in the archive.\\n\",\n \"in\": \"query\",\n \"name\": \"prefix\",\n \"required\": false,\n \"schema\": {\n \"example\": \"my-prefix/\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Signature used for the access.\",\n \"in\": \"query\",\n \"name\": \"signature\",\n \"required\": false,\n \"schema\": {\n \"example\": \"2wTI46Bg8qWQrV7tavlPI\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/key-value-stores/{storeId}/records\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"key_value_store_records_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Download records\",\n \"tags\": [\n \"Storage/Key-value stores\"\n ]\n },\n \"key_value_stores_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets the list of key-value stores owned by the user.\\n\\nThe response is a list of objects, where each objects contains a basic\\ninformation about a single key-value store.\\n\\nThe endpoint supports pagination using the `limit` and `offset` parameters\\nand it will not return more than 1000 array elements.\\n\\nBy default, the records are sorted by the `createdAt` field in ascending\\norder, therefore you can use pagination to incrementally fetch all key-value stores\\nwhile new ones are still being created. To sort the records in descending order, use\\nthe `desc=1` parameter.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"key_value_stores_get\",\n \"parameters\": [\n {\n \"description\": \"Number of items that should be skipped at the start. The default value is `0`.\\n\",\n \"in\": \"query\",\n \"name\": \"offset\",\n \"required\": false,\n \"schema\": {\n \"example\": 0,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Maximum number of items to return. The default value as well as the maximum is `1000`.\\n\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"example\": 1000,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the objects are sorted by the `createdAt` field in\\ndescending order. By default, they are sorted in ascending order.\\n\",\n \"in\": \"query\",\n \"name\": \"desc\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then all the storages are returned. By default, only\\nnamed storages are returned.\\n\",\n \"in\": \"query\",\n \"name\": \"unnamed\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Filter by ownership. If this parameter is omitted, all accessible key-value stores are returned.\\n\\n- `ownedByMe`: Return only key-value stores owned by the user.\\n- `sharedWithMe`: Return only key-value stores shared with the user by other users.\\n\",\n \"in\": \"query\",\n \"name\": \"ownership\",\n \"required\": false,\n \"schema\": {\n \"$ref\": \"#/components/schemas/StorageOwnership\"\n }\n }\n ],\n \"path\": \"/v2/key-value-stores\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"key_value_stores_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get list of key-value stores\",\n \"tags\": [\n \"Storage/Key-value stores\"\n ]\n },\n \"key_value_stores_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Creates a key-value store and returns its object. The response is the same\\nobject as returned by the [Get store](#/reference/key-value-stores/store-object/get-store)\\nendpoint.\\n\\nKeep in mind that data stored under unnamed store follows [data retention\\nperiod](https://docs.apify.com/platform/storage#data-retention).\\n\\nIt creates a store with the given name if the parameter name is used.\\nIf there is another store with the same name, the endpoint does not create a\\nnew one and returns the existing object instead.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"key_value_stores_post\",\n \"parameters\": [\n {\n \"description\": \"Custom unique name to easily identify the store in the future.\",\n \"in\": \"query\",\n \"name\": \"name\",\n \"required\": false,\n \"schema\": {\n \"example\": \"eshop-values\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/key-value-stores\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"key_value_stores_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Create key-value store\",\n \"tags\": [\n \"Storage/Key-value stores\"\n ]\n },\n \"log_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Retrieves logs for a specific Actor build or run.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"log_get\",\n \"parameters\": [\n {\n \"description\": \"ID of the Actor build or run.\",\n \"in\": \"path\",\n \"name\": \"buildOrRunId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"HG7ML7M8z78YcAPE\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the logs will be streamed as long as the run or build is running.\\n\",\n \"in\": \"query\",\n \"name\": \"stream\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the web browser will download the log file rather than open it in a tab.\\n\",\n \"in\": \"query\",\n \"name\": \"download\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1`, the logs will be kept verbatim. By default, the API removes\\nANSI escape codes from the logs, keeping only printable characters.\\n\",\n \"in\": \"query\",\n \"name\": \"raw\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v2/logs/{buildOrRunId}\",\n \"request_body\": null,\n \"security\": [\n {\n \"httpBearer\": []\n },\n {\n \"apiKey\": []\n },\n {}\n ],\n \"skill_name\": \"log_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get log\",\n \"tags\": [\n \"Logs\"\n ]\n },\n \"post_charge_run\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"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).\\nThe 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,\\nthe 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.\\n\\n:::info Learn more about pay-per-event pricing\\n\\nFor more details about pay-per-event (PPE) pricing, refer to our [PPE documentation](/platform/actors/publishing/monetize/pay-per-event).\\n\\n:::\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"post_charge_run\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Always pass a unique idempotency key (any unique string) for each charge to avoid double charging in case of retries or network errors.\",\n \"in\": \"header\",\n \"name\": \"idempotency-key\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/charge\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/ChargeRunRequest\"\n },\n \"security\": null,\n \"skill_name\": \"post_charge_run\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Charge events in run\",\n \"tags\": [\n \"Actor runs\"\n ]\n },\n \"post_resurrect_run\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Resurrects a finished Actor run and returns an object that contains all the details about the resurrected run.\\nOnly finished runs, i.e. runs with status `FINISHED`, `FAILED`, `ABORTED` and `TIMED-OUT` can be resurrected.\\nRun status will be updated to RUNNING and its container will be restarted with the same storages\\n(the same behaviour as when the run gets migrated to the new server).\\n\\nFor more information, see the [Actor docs](https://docs.apify.com/platform/actors/running/runs-and-builds#resurrection-of-finished-run).\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"post_resurrect_run\",\n \"parameters\": [\n {\n \"description\": \"Actor run ID.\",\n \"in\": \"path\",\n \"name\": \"runId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"3KH8gEpp4d8uQSe8T\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Specifies the Actor build to run. It can be either a build tag or build number.\\nBy default, the run is resurrected with the same build it originally used. Specifically,\\nif a run was first started with the `latest` tag, which resolves to version `0.0.3` at the\\ntime, a run resurrected without this parameter will continue running with `0.0.3`, even if\\n`latest` already points to a newer build.\\n\",\n \"in\": \"query\",\n \"name\": \"build\",\n \"required\": false,\n \"schema\": {\n \"example\": \"0.1.234\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Optional timeout for the run, in seconds. By default, the run uses the timeout\\nspecified in the run that is being resurrected.\\n\",\n \"in\": \"query\",\n \"name\": \"timeout\",\n \"required\": false,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Memory limit for the run, in megabytes. The amount of memory can be set to a power of 2\\nwith a minimum of 128. By default, the run uses the memory limit specified in the run\\nthat is being resurrected.\\n\",\n \"in\": \"query\",\n \"name\": \"memory\",\n \"required\": false,\n \"schema\": {\n \"example\": 256,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Specifies the maximum number of dataset items that will be charged for pay-per-result Actors.\\nThis does NOT guarantee that the Actor will return only this many items.\\nIt only ensures you won't be charged for more than this number of items.\\nOnly works for pay-per-result Actors.\\nValue can be accessed in the actor run using `ACTOR_MAX_PAID_DATASET_ITEMS` environment variable.\\n\",\n \"in\": \"query\",\n \"name\": \"maxItems\",\n \"required\": false,\n \"schema\": {\n \"example\": 1000,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Specifies the maximum cost of the run. This parameter is\\nuseful for pay-per-event Actors, as it allows you to limit the amount\\ncharged to your subscription. You can access the maximum cost in your Actor\\nby using the `ACTOR_MAX_TOTAL_CHARGE_USD` environment variable.\\n\",\n \"in\": \"query\",\n \"name\": \"maxTotalChargeUsd\",\n \"required\": false,\n \"schema\": {\n \"example\": 5,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Determines whether the resurrected run will be restarted if it fails.\\nBy default, the resurrected run uses the same setting as before.\\n\",\n \"in\": \"query\",\n \"name\": \"restartOnError\",\n \"required\": false,\n \"schema\": {\n \"example\": false,\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v2/actor-runs/{runId}/resurrect\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"post_resurrect_run\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Resurrect run\",\n \"tags\": [\n \"Actor runs\"\n ]\n },\n \"request_queue_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Deletes given queue.\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"request_queue_delete\",\n \"parameters\": [\n {\n \"description\": \"Queue ID or `username~queue-name`.\",\n \"in\": \"path\",\n \"name\": \"queueId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/request-queues/{queueId}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"request_queue_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete request queue\",\n \"tags\": [\n \"Storage/Request queues\"\n ]\n },\n \"request_queue_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns queue object for given queue ID.\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"request_queue_get\",\n \"parameters\": [\n {\n \"description\": \"Queue ID or `username~queue-name`.\",\n \"in\": \"path\",\n \"name\": \"queueId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/request-queues/{queueId}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"request_queue_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get request queue\",\n \"tags\": [\n \"Storage/Request queues\"\n ]\n },\n \"request_queue_head_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns given number of first requests from the queue.\\n\\nThe response contains the `hadMultipleClients` boolean field which indicates\\nthat the queue was accessed by more than one client (with unique or empty\\n`clientKey`).\\nThis field is used by [Apify SDK](https://sdk.apify.com) to determine\\nwhether the local cache is consistent with the request queue, and thus\\noptimize performance of certain operations.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"request_queue_head_get\",\n \"parameters\": [\n {\n \"description\": \"Queue ID or `username~queue-name`.\",\n \"in\": \"path\",\n \"name\": \"queueId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"How many items from queue should be returned.\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"example\": 100,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/request-queues/{queueId}/head\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"request_queue_head_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get head\",\n \"tags\": [\n \"Storage/Request queues/Requests locks\"\n ]\n },\n \"request_queue_head_lock_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns the given number of first requests from the queue and locks them for\\nthe given time.\\n\\nIf this endpoint locks the request, no other client or run will be able to get and\\nlock these requests.\\n\\nThe response contains the `hadMultipleClients` boolean field which indicates\\nthat the queue was accessed by more than one client (with unique or empty\\n`clientKey`).\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"request_queue_head_lock_post\",\n \"parameters\": [\n {\n \"description\": \"Queue ID or `username~queue-name`.\",\n \"in\": \"path\",\n \"name\": \"queueId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"How long the requests will be locked for (in seconds).\",\n \"in\": \"query\",\n \"name\": \"lockSecs\",\n \"required\": true,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"How many items from the queue should be returned.\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"example\": 25,\n \"format\": \"double\",\n \"maximum\": 25,\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/request-queues/{queueId}/head/lock\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"request_queue_head_lock_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get head and lock\",\n \"tags\": [\n \"Storage/Request queues/Requests locks\"\n ]\n },\n \"request_queue_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Updates a request queue's name and general resource access level using a value specified by a JSON object\\npassed in the PUT payload.\\n\\nThe response is the updated request queue object, as returned by the\\n[Get request queue](#/reference/request-queues/queue-collection/get-request-queue) API endpoint.\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"request_queue_put\",\n \"parameters\": [\n {\n \"description\": \"Queue ID or `username~queue-name`.\",\n \"in\": \"path\",\n \"name\": \"queueId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/request-queues/{queueId}\",\n \"request_body\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/UpdateRequestQueueRequest\"\n },\n {\n \"example\": {\n \"name\": \"new-request-queue-name\"\n }\n }\n ]\n },\n \"security\": null,\n \"skill_name\": \"request_queue_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Update request queue\",\n \"tags\": [\n \"Storage/Request queues\"\n ]\n },\n \"request_queue_request_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Deletes given request from queue.\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"request_queue_request_delete\",\n \"parameters\": [\n {\n \"description\": \"Queue ID or `username~queue-name`.\",\n \"in\": \"path\",\n \"name\": \"queueId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Request ID.\",\n \"in\": \"path\",\n \"name\": \"requestId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"xpsmkDlspokDSmklS\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/request-queues/{queueId}/requests/{requestId}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"request_queue_request_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete request\",\n \"tags\": [\n \"Storage/Request queues/Requests\"\n ]\n },\n \"request_queue_request_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns request from queue.\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"request_queue_request_get\",\n \"parameters\": [\n {\n \"description\": \"Queue ID or `username~queue-name`.\",\n \"in\": \"path\",\n \"name\": \"queueId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Request ID.\",\n \"in\": \"path\",\n \"name\": \"requestId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"xpsmkDlspokDSmklS\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/request-queues/{queueId}/requests/{requestId}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"request_queue_request_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get request\",\n \"tags\": [\n \"Storage/Request queues/Requests\"\n ]\n },\n \"request_queue_request_lock_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Deletes a request lock. The request lock can be deleted only by the client\\nthat has locked it using [Get and lock head\\noperation](#/request-queue-head-lock-post).\\n\\nThe clientKey identifier is used for locking and unlocking requests.\\nYou can delete or prolong the lock only for requests that were locked by the same client key or from the same Actor run.\\n\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"request_queue_request_lock_delete\",\n \"parameters\": [\n {\n \"description\": \"Queue ID or `username~queue-name`.\",\n \"in\": \"path\",\n \"name\": \"queueId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Request ID.\",\n \"in\": \"path\",\n \"name\": \"requestId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"xpsmkDlspokDSmklS\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Determines if request should be added to the head of the queue or to the\\nend after lock was removed.\\n\",\n \"in\": \"query\",\n \"name\": \"forefront\",\n \"required\": false,\n \"schema\": {\n \"example\": \"false\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/request-queues/{queueId}/requests/{requestId}/lock\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"request_queue_request_lock_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete request lock\",\n \"tags\": [\n \"Storage/Request queues/Requests locks\"\n ]\n },\n \"request_queue_request_lock_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Prolongs request lock. The request lock can be prolonged only by the client\\nthat has locked it using [Get and lock head\\noperation](#/request-queue-head-lock-post).\\n\\nThe clientKey identifier is used for locking and unlocking requests.\\nYou can delete or prolong the lock only for requests that were locked by the same client key or from the same Actor run.\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"request_queue_request_lock_put\",\n \"parameters\": [\n {\n \"description\": \"Queue ID or `username~queue-name`.\",\n \"in\": \"path\",\n \"name\": \"queueId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Request ID.\",\n \"in\": \"path\",\n \"name\": \"requestId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"xpsmkDlspokDSmklS\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"How long the requests will be locked for (in seconds).\",\n \"in\": \"query\",\n \"name\": \"lockSecs\",\n \"required\": true,\n \"schema\": {\n \"example\": 60,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Determines if request should be added to the head of the queue or to the\\nend after lock expires.\\n\",\n \"in\": \"query\",\n \"name\": \"forefront\",\n \"required\": false,\n \"schema\": {\n \"example\": \"false\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/request-queues/{queueId}/requests/{requestId}/lock\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"request_queue_request_lock_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Prolong request lock\",\n \"tags\": [\n \"Storage/Request queues/Requests locks\"\n ]\n },\n \"request_queue_request_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Updates a request in a queue. Mark request as handled by setting\\n`request.handledAt = new Date()`.\\nIf `handledAt` is set, the request will be removed from head of the queue (and unlocked, if applicable).\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"request_queue_request_put\",\n \"parameters\": [\n {\n \"description\": \"Queue ID or `username~queue-name`.\",\n \"in\": \"path\",\n \"name\": \"queueId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Request ID.\",\n \"in\": \"path\",\n \"name\": \"requestId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"xpsmkDlspokDSmklS\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Determines if request should be added to the head of the queue or to the\\nend. Default value is `false` (end of queue).\\n\",\n \"in\": \"query\",\n \"name\": \"forefront\",\n \"required\": false,\n \"schema\": {\n \"example\": \"false\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/request-queues/{queueId}/requests/{requestId}\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/Request\"\n },\n \"security\": null,\n \"skill_name\": \"request_queue_request_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Update request\",\n \"tags\": [\n \"Storage/Request queues/Requests\"\n ]\n },\n \"request_queue_requests_batch_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Batch-deletes given requests from the queue. The number of requests in a\\nbatch is limited to 25. The response contains an array of unprocessed and\\nprocessed requests.\\nIf any delete operation fails because the request queue rate limit is\\nexceeded or an internal failure occurs,\\nthe failed request is returned in the `unprocessedRequests` response\\nparameter.\\nYou can re-send these delete requests. It is recommended to use an\\nexponential backoff algorithm for these retries.\\nEach request is identified by its ID or uniqueKey parameter. You can use\\neither of them to identify the request.\\n\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"request_queue_requests_batch_delete\",\n \"parameters\": [\n {\n \"description\": \"Queue ID or `username~queue-name`.\",\n \"in\": \"path\",\n \"name\": \"queueId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"\",\n \"in\": \"header\",\n \"name\": \"Content-Type\",\n \"required\": true,\n \"schema\": {\n \"const\": \"application/json\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/request-queues/{queueId}/requests/batch\",\n \"request_body\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/RequestDraftDelete\"\n },\n \"type\": \"array\"\n },\n \"security\": null,\n \"skill_name\": \"request_queue_requests_batch_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete requests\",\n \"tags\": [\n \"Storage/Request queues\"\n ]\n },\n \"request_queue_requests_batch_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Adds requests to the queue in batch. The maximum requests in batch is limited\\nto 25. The response contains an array of unprocessed and processed requests.\\nIf any add operation fails because the request queue rate limit is exceeded\\nor an internal failure occurs,\\nthe failed request is returned in the unprocessedRequests response\\nparameter.\\nYou can resend these requests to add. It is recommended to use an\\nexponential backoff algorithm for these retries.\\nIf a request with the same `uniqueKey` was already present in the queue,\\nthen it returns an ID of the existing request.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"request_queue_requests_batch_post\",\n \"parameters\": [\n {\n \"description\": \"Queue ID or `username~queue-name`.\",\n \"in\": \"path\",\n \"name\": \"queueId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Determines if request should be added to the head of the queue or to the\\nend. Default value is `false` (end of queue).\\n\",\n \"in\": \"query\",\n \"name\": \"forefront\",\n \"required\": false,\n \"schema\": {\n \"example\": \"false\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/request-queues/{queueId}/requests/batch\",\n \"request_body\": {\n \"description\": \"\",\n \"items\": {\n \"$ref\": \"#/components/schemas/RequestBase\"\n },\n \"type\": \"array\"\n },\n \"security\": null,\n \"skill_name\": \"request_queue_requests_batch_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Add requests\",\n \"tags\": [\n \"Storage/Request queues\"\n ]\n },\n \"request_queue_requests_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns a list of requests. This endpoint is paginated using\\ncursor (pagination by `exclusiveStartId` is deprecated) and limit parameters.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"request_queue_requests_get\",\n \"parameters\": [\n {\n \"description\": \"Queue ID or `username~queue-name`.\",\n \"in\": \"path\",\n \"name\": \"queueId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"All requests up to this one (including) are skipped from the result. (Deprecated, use `cursor` instead.)\",\n \"in\": \"query\",\n \"name\": \"exclusiveStartId\",\n \"required\": false,\n \"schema\": {\n \"example\": \"Ihnsp8YrvJ8102Kj\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Number of keys to be returned. Maximum value is `10000`.\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"example\": 100,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"A cursor string for pagination, returned in the previous response as `nextCursor`. Use this to retrieve the next page of requests.\",\n \"in\": \"query\",\n \"name\": \"cursor\",\n \"required\": false,\n \"schema\": {\n \"example\": \"eyJyZXF1ZXN0SWQiOiI2OFRqQ2RaTDNvM2hiUU0ifQ\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filter requests by their state. Possible values are `locked` and `pending`. You can combine multiple values separated by commas, which will mean the union of these filters \\u2013 requests matching any of the specified states will be returned. (Not compatible with deprecated `exclusiveStartId` parameter.)\",\n \"in\": \"query\",\n \"name\": \"filter\",\n \"required\": false,\n \"schema\": {\n \"example\": [\n \"locked\"\n ],\n \"items\": {\n \"enum\": [\n \"locked\",\n \"pending\"\n ],\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n }\n ],\n \"path\": \"/v2/request-queues/{queueId}/requests\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"request_queue_requests_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"List requests\",\n \"tags\": [\n \"Storage/Request queues/Requests\"\n ]\n },\n \"request_queue_requests_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Adds request to the queue. Response contains ID of the request and info if\\nrequest was already present in the queue or handled.\\n\\nIf request with same `uniqueKey` was already present in the queue then\\nreturns an ID of existing request.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"request_queue_requests_post\",\n \"parameters\": [\n {\n \"description\": \"Queue ID or `username~queue-name`.\",\n \"in\": \"path\",\n \"name\": \"queueId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Determines if request should be added to the head of the queue or to the\\nend. Default value is `false` (end of queue).\\n\",\n \"in\": \"query\",\n \"name\": \"forefront\",\n \"required\": false,\n \"schema\": {\n \"example\": \"false\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/request-queues/{queueId}/requests\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/RequestBase\"\n },\n \"security\": null,\n \"skill_name\": \"request_queue_requests_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Add request\",\n \"tags\": [\n \"Storage/Request queues/Requests\"\n ]\n },\n \"request_queue_requests_unlock_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Unlocks requests in the queue that are currently locked by the client.\\n\\n* 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.\\n* If the client is outside of an Actor run, it unlocks all requests locked using the same clientKey.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"request_queue_requests_unlock_post\",\n \"parameters\": [\n {\n \"description\": \"Queue ID or `username~queue-name`.\",\n \"in\": \"path\",\n \"name\": \"queueId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"WkzbQMuFYuamGv3YF\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"A unique identifier of the client accessing the request queue. It must\\nbe a string between 1 and 32 characters long. This identifier is used to\\ndetermine whether the queue was accessed by multiple clients. If\\n`clientKey` is not provided,\\nthe system considers this API call to come from a new client. For\\ndetails, see the `hadMultipleClients` field returned by the [Get\\nhead](#/reference/request-queues/queue-head) operation.\\n\",\n \"in\": \"query\",\n \"name\": \"clientKey\",\n \"required\": false,\n \"schema\": {\n \"example\": \"client-abc\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/request-queues/{queueId}/requests/unlock\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"request_queue_requests_unlock_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Unlock requests\",\n \"tags\": [\n \"Storage/Request queues/Requests locks\"\n ]\n },\n \"request_queues_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Lists all of a user's request queues. The response is a JSON array of\\nobjects, where each object\\ncontains basic information about one queue.\\n\\nBy default, the objects are sorted by the `createdAt` field in ascending order,\\ntherefore you can use pagination to incrementally fetch all queues while new\\nones are still being created. To sort them in descending order, use `desc=1`\\nparameter. The endpoint supports pagination using `limit` and `offset`\\nparameters and it will not return more than 1000\\narray elements.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"request_queues_get\",\n \"parameters\": [\n {\n \"description\": \"Number of items that should be skipped at the start. The default value is `0`.\\n\",\n \"in\": \"query\",\n \"name\": \"offset\",\n \"required\": false,\n \"schema\": {\n \"example\": 0,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Maximum number of items to return. The default value as well as the maximum is `1000`.\\n\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"example\": 1000,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the objects are sorted by the `createdAt` field in\\ndescending order. By default, they are sorted in ascending order.\\n\",\n \"in\": \"query\",\n \"name\": \"desc\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1` then all the storages are returned. By default, only\\nnamed storages are returned.\\n\",\n \"in\": \"query\",\n \"name\": \"unnamed\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Filter by ownership. If this parameter is omitted, all accessible request queues are returned.\\n\\n- `ownedByMe`: Return only request queues owned by the user.\\n- `sharedWithMe`: Return only request queues shared with the user by other users.\\n\",\n \"in\": \"query\",\n \"name\": \"ownership\",\n \"required\": false,\n \"schema\": {\n \"$ref\": \"#/components/schemas/StorageOwnership\"\n }\n }\n ],\n \"path\": \"/v2/request-queues\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"request_queues_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get list of request queues\",\n \"tags\": [\n \"Storage/Request queues\"\n ]\n },\n \"request_queues_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Creates a request queue and returns its object.\\nKeep in mind that requests stored under unnamed queue follows [data\\nretention period](https://docs.apify.com/platform/storage#data-retention).\\n\\nIt creates a queue of given name if the parameter name is used. If a queue\\nwith the given name already exists then the endpoint returns\\nits object.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"request_queues_post\",\n \"parameters\": [\n {\n \"description\": \"Custom unique name to easily identify the queue in the future.\",\n \"in\": \"query\",\n \"name\": \"name\",\n \"required\": false,\n \"schema\": {\n \"example\": \"example-com\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/request-queues\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"request_queues_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Create request queue\",\n \"tags\": [\n \"Storage/Request queues\"\n ]\n },\n \"schedule_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Deletes a schedule.\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"schedule_delete\",\n \"parameters\": [\n {\n \"description\": \"Schedule ID.\",\n \"in\": \"path\",\n \"name\": \"scheduleId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"asdLZtadYvn4mBZmm\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/schedules/{scheduleId}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"schedule_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete schedule\",\n \"tags\": [\n \"Schedules\"\n ]\n },\n \"schedule_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets the schedule object with all details.\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"schedule_get\",\n \"parameters\": [\n {\n \"description\": \"Schedule ID.\",\n \"in\": \"path\",\n \"name\": \"scheduleId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"asdLZtadYvn4mBZmm\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/schedules/{scheduleId}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"schedule_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get schedule\",\n \"tags\": [\n \"Schedules\"\n ]\n },\n \"schedule_log_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets the schedule log as a JSON array containing information about up to a\\n1000 invocations of the schedule.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"schedule_log_get\",\n \"parameters\": [\n {\n \"description\": \"Schedule ID.\",\n \"in\": \"path\",\n \"name\": \"scheduleId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"asdLZtadYvn4mBZmm\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/schedules/{scheduleId}/log\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"schedule_log_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get schedule log\",\n \"tags\": [\n \"Schedules\"\n ]\n },\n \"schedule_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Updates a schedule using values specified by a schedule object passed as\\nJSON in the POST payload. If the object does not define a specific property,\\nits value will not be updated.\\n\\nThe response is the full schedule object as returned by the\\n[Get schedule](#/reference/schedules/schedule-object/get-schedule) endpoint.\\n\\n**The request needs to specify the `Content-Type: application/json` HTTP\\nheader!**\\n\\nWhen providing your API authentication token, we recommend using the\\nrequest's `Authorization` header, rather than the URL. ([More\\ninfo](#/introduction/authentication)).\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"schedule_put\",\n \"parameters\": [\n {\n \"description\": \"Schedule ID.\",\n \"in\": \"path\",\n \"name\": \"scheduleId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"asdLZtadYvn4mBZmm\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/schedules/{scheduleId}\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/ScheduleCreate\"\n },\n \"security\": null,\n \"skill_name\": \"schedule_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Update schedule\",\n \"tags\": [\n \"Schedules\"\n ]\n },\n \"schedules_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets the list of schedules that the user created.\\n\\nThe endpoint supports pagination using the `limit` and `offset` parameters.\\nIt will not return more than 1000 records.\\n\\nBy default, the records are sorted by the `createdAt` field in ascending\\norder. To sort the records in descending order, use the `desc=1` parameter.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"schedules_get\",\n \"parameters\": [\n {\n \"description\": \"Number of items that should be skipped at the start. The default value is `0`.\\n\",\n \"in\": \"query\",\n \"name\": \"offset\",\n \"required\": false,\n \"schema\": {\n \"example\": 0,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Maximum number of items to return. The default value as well as the maximum is `1000`.\\n\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"example\": 1000,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the objects are sorted by the `createdAt` field in\\ndescending order. By default, they are sorted in ascending order.\\n\",\n \"in\": \"query\",\n \"name\": \"desc\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v2/schedules\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"schedules_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get list of schedules\",\n \"tags\": [\n \"Schedules\"\n ]\n },\n \"schedules_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Creates a new schedule with settings provided by the schedule object passed\\nas JSON in the payload. The response is the created schedule object.\\n\\nThe request needs to specify the `Content-Type: application/json` HTTP header!\\n\\nWhen providing your API authentication token, we recommend using the\\nrequest's `Authorization` header, rather than the URL. ([More\\ninfo](#/introduction/authentication)).\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"schedules_post\",\n \"parameters\": [],\n \"path\": \"/v2/schedules\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/ScheduleCreate\"\n },\n \"security\": null,\n \"skill_name\": \"schedules_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Create schedule\",\n \"tags\": [\n \"Schedules\"\n ]\n },\n \"store_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets the list of public Actors in Apify Store. You can use `search`\\nparameter to search Actors by string in title, name, description, username\\nand readme.\\nIf you need detailed info about a specific Actor, use the [Get\\nActor](#/reference/actors/actor-object/get-actor) endpoint.\\n\\nThe endpoint supports pagination using the `limit` and `offset` parameters.\\nIt will not return more than 1,000 records.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"store_get\",\n \"parameters\": [\n {\n \"description\": \"Maximum number of items to return. The default value as well as the maximum is `1000`.\\n\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"example\": 1000,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Number of items that should be skipped at the start. The default value is `0`.\\n\",\n \"in\": \"query\",\n \"name\": \"offset\",\n \"required\": false,\n \"schema\": {\n \"example\": 0,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"String to search by. The search runs on the following fields: `title`,\\n`name`, `description`, `username`, `readme`.\\n\",\n \"in\": \"query\",\n \"name\": \"search\",\n \"required\": false,\n \"schema\": {\n \"example\": \"web scraper\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Specifies the field by which to sort the results. The supported values\\nare `relevance` (default), `popularity`, `newest` and `lastUpdate`.\\n\",\n \"in\": \"query\",\n \"name\": \"sortBy\",\n \"required\": false,\n \"schema\": {\n \"example\": \"'popularity'\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filters the results by the specified category.\",\n \"in\": \"query\",\n \"name\": \"category\",\n \"required\": false,\n \"schema\": {\n \"example\": \"'AI'\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Filters the results by the specified username.\",\n \"in\": \"query\",\n \"name\": \"username\",\n \"required\": false,\n \"schema\": {\n \"example\": \"'apify'\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Only return Actors with the specified pricing model.\\n\",\n \"in\": \"query\",\n \"name\": \"pricingModel\",\n \"required\": false,\n \"schema\": {\n \"enum\": [\n \"FREE\",\n \"FLAT_PRICE_PER_MONTH\",\n \"PRICE_PER_DATASET_ITEM\",\n \"PAY_PER_EVENT\"\n ],\n \"example\": \"FREE\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"If true, only return Actors that allow agentic users. If false, only\\nreturn Actors that do not allow agentic users.\\n\",\n \"in\": \"query\",\n \"name\": \"allowsAgenticUsers\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"Controls the shape of the response. Use `full` (default) for the\\ncomplete response including image URLs and all fields. Use `agent`\\nfor a reduced field set optimized for LLM consumers, which only\\nincludes `id`, `title`, `name`, `username`, `description`, `notice`,\\n`badge`, `categories`, and minimal `stats`.\\n\",\n \"in\": \"query\",\n \"name\": \"responseFormat\",\n \"required\": false,\n \"schema\": {\n \"default\": \"full\",\n \"enum\": [\n \"full\",\n \"agent\"\n ],\n \"example\": \"agent\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"By default, search results exclude Actors that are not safe to run\\nautomatically (e.g. Actors from developers who haven't passed KYC, or\\nfull-permission Actors without a large user base). Set to `true` to\\nbypass this safety filtering and include all Actors in the results.\\n\",\n \"in\": \"query\",\n \"name\": \"includeUnrunnableActors\",\n \"required\": false,\n \"schema\": {\n \"default\": false,\n \"example\": true,\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v2/store\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"store_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get list of Actors in Store\",\n \"tags\": [\n \"Store\"\n ]\n },\n \"tools_browser_info_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns information about the HTTP request, including the client IP address,\\ncountry code, request headers, and body length.\\n\\nThis endpoint is designed for proxy testing. It accepts any HTTP method so you\\ncan verify that your proxy correctly forwards requests of any type and that\\nclient IP addresses are anonymized.\\n\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"tools_browser_info_delete\",\n \"parameters\": [\n {\n \"description\": \"If `true` or `1`, the response omits the `headers` field.\",\n \"in\": \"query\",\n \"name\": \"skipHeaders\",\n \"required\": false,\n \"schema\": {\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1`, the response includes the `rawHeaders` field with the raw request headers.\",\n \"in\": \"query\",\n \"name\": \"rawHeaders\",\n \"required\": false,\n \"schema\": {\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v2/browser-info\",\n \"request_body\": null,\n \"security\": [],\n \"skill_name\": \"tools_browser_info_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get browser info\",\n \"tags\": [\n \"Tools\"\n ]\n },\n \"tools_browser_info_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns information about the HTTP request, including the client IP address,\\ncountry code, request headers, and body length.\\n\\nThis endpoint is designed for proxy testing. It accepts any HTTP method so you\\ncan verify that your proxy correctly forwards requests of any type and that\\nclient IP addresses are anonymized.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"tools_browser_info_get\",\n \"parameters\": [\n {\n \"description\": \"If `true` or `1`, the response omits the `headers` field.\",\n \"in\": \"query\",\n \"name\": \"skipHeaders\",\n \"required\": false,\n \"schema\": {\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1`, the response includes the `rawHeaders` field with the raw request headers.\",\n \"in\": \"query\",\n \"name\": \"rawHeaders\",\n \"required\": false,\n \"schema\": {\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v2/browser-info\",\n \"request_body\": null,\n \"security\": [],\n \"skill_name\": \"tools_browser_info_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get browser info\",\n \"tags\": [\n \"Tools\"\n ]\n },\n \"tools_browser_info_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns information about the HTTP request, including the client IP address,\\ncountry code, request headers, and body length.\\n\\nThis endpoint is designed for proxy testing. It accepts any HTTP method so you\\ncan verify that your proxy correctly forwards requests of any type and that\\nclient IP addresses are anonymized.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"tools_browser_info_post\",\n \"parameters\": [\n {\n \"description\": \"If `true` or `1`, the response omits the `headers` field.\",\n \"in\": \"query\",\n \"name\": \"skipHeaders\",\n \"required\": false,\n \"schema\": {\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1`, the response includes the `rawHeaders` field with the raw request headers.\",\n \"in\": \"query\",\n \"name\": \"rawHeaders\",\n \"required\": false,\n \"schema\": {\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v2/browser-info\",\n \"request_body\": null,\n \"security\": [],\n \"skill_name\": \"tools_browser_info_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get browser info\",\n \"tags\": [\n \"Tools\"\n ]\n },\n \"tools_browser_info_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns information about the HTTP request, including the client IP address,\\ncountry code, request headers, and body length.\\n\\nThis endpoint is designed for proxy testing. It accepts any HTTP method so you\\ncan verify that your proxy correctly forwards requests of any type and that\\nclient IP addresses are anonymized.\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"tools_browser_info_put\",\n \"parameters\": [\n {\n \"description\": \"If `true` or `1`, the response omits the `headers` field.\",\n \"in\": \"query\",\n \"name\": \"skipHeaders\",\n \"required\": false,\n \"schema\": {\n \"type\": \"boolean\"\n }\n },\n {\n \"description\": \"If `true` or `1`, the response includes the `rawHeaders` field with the raw request headers.\",\n \"in\": \"query\",\n \"name\": \"rawHeaders\",\n \"required\": false,\n \"schema\": {\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v2/browser-info\",\n \"request_body\": null,\n \"security\": [],\n \"skill_name\": \"tools_browser_info_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get browser info\",\n \"tags\": [\n \"Tools\"\n ]\n },\n \"tools_decode_and_verify_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Decodes and verifies an encoded value previously created by the\\nencode-and-sign endpoint. Returns the original decoded object along with\\ninformation about the user who encoded it and whether that user is verified.\\n\\n**Important**: The request must specify the `Content-Type: application/json`\\nHTTP header.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"tools_decode_and_verify_post\",\n \"parameters\": [],\n \"path\": \"/v2/tools/decode-and-verify\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/DecodeAndVerifyRequest\"\n },\n \"security\": [],\n \"skill_name\": \"tools_decode_and_verify_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Decode and verify object\",\n \"tags\": [\n \"Tools\"\n ]\n },\n \"tools_encode_and_sign_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Encodes and signs any JSON object. The encoded value includes a signature\\ntied to the authenticated user's ID, which can later be verified using the\\ndecode-and-verify endpoint.\\n\\n**Important**: The request must specify the `Content-Type: application/json`\\nHTTP header.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"tools_encode_and_sign_post\",\n \"parameters\": [],\n \"path\": \"/v2/tools/encode-and-sign\",\n \"request_body\": {\n \"type\": \"object\"\n },\n \"security\": null,\n \"skill_name\": \"tools_encode_and_sign_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Encode and sign object\",\n \"tags\": [\n \"Tools\"\n ]\n },\n \"user_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns public information about a specific user account, similar to what\\ncan be seen on public profile pages (e.g. https://apify.com/apify).\\n\\nThis operation requires no authentication token.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"user_get\",\n \"parameters\": [\n {\n \"description\": \"User ID or username.\",\n \"in\": \"path\",\n \"name\": \"userId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"HGzIk8z78YcAPEB\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/users/{userId}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"user_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get public user data\",\n \"tags\": [\n \"Users\"\n ]\n },\n \"users_me_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns information about the current user account, including both public\\nand private information.\\n\\nThe user account is identified by the provided authentication token.\\n\\nThe fields `plan`, `email` and `profile` are omitted when this endpoint is accessed from Actor run.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"users_me_get\",\n \"parameters\": [],\n \"path\": \"/v2/users/me\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"users_me_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get private user data\",\n \"tags\": [\n \"Users\"\n ]\n },\n \"users_me_limits_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns a complete summary of your account's limits. It is the same\\ninformation you will see on your account's [Limits page](https://console.apify.com/billing#/limits). The returned data\\nincludes the current usage cycle, a summary of your limits, and your current usage.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"users_me_limits_get\",\n \"parameters\": [],\n \"path\": \"/v2/users/me/limits\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"users_me_limits_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get limits\",\n \"tags\": [\n \"Users\"\n ]\n },\n \"users_me_limits_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Updates the account's limits manageable on your account's [Limits page](https://console.apify.com/billing#/limits).\\nSpecifically the: `maxMonthlyUsageUsd` and `dataRetentionDays` limits (see request body schema for more details).\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"users_me_limits_put\",\n \"parameters\": [],\n \"path\": \"/v2/users/me/limits\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/UpdateLimitsRequest\"\n },\n \"security\": null,\n \"skill_name\": \"users_me_limits_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Update limits\",\n \"tags\": [\n \"Users\"\n ]\n },\n \"users_me_usage_monthly_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Returns a complete summary of your usage for the current monthly usage cycle,\\nan overall sum, as well as a daily breakdown of usage. It is the same\\ninformation you will see on your account's [Billing > Historical usage page](https://console.apify.com/billing/historical-usage). The information\\nincludes your use of Actors, compute, data transfer, and storage.\\n\\nUsing the `date` parameter will show your usage in the monthly usage cycle that\\nincludes that date.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"users_me_usage_monthly_get\",\n \"parameters\": [\n {\n \"description\": \"Date in the YYYY-MM-DD format.\",\n \"in\": \"query\",\n \"name\": \"date\",\n \"required\": false,\n \"schema\": {\n \"example\": \"2020-06-14\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/users/me/usage/monthly\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"users_me_usage_monthly_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get monthly usage\",\n \"tags\": [\n \"Users\"\n ]\n },\n \"webhook_delete\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Deletes a webhook.\",\n \"destructive\": true,\n \"method\": \"DELETE\",\n \"operation_id\": \"webhook_delete\",\n \"parameters\": [\n {\n \"description\": \"Webhook ID.\",\n \"in\": \"path\",\n \"name\": \"webhookId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"pVJtoTelgYUq4qJOt\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/webhooks/{webhookId}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"webhook_delete\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Delete webhook\",\n \"tags\": [\n \"Webhooks/Webhooks\"\n ]\n },\n \"webhook_dispatch_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets webhook dispatch object with all details.\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"webhook_dispatch_get\",\n \"parameters\": [\n {\n \"description\": \"Webhook dispatch ID.\",\n \"in\": \"path\",\n \"name\": \"dispatchId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"Zib4xbZsmvZeK55ua\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/webhook-dispatches/{dispatchId}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"webhook_dispatch_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get webhook dispatch\",\n \"tags\": [\n \"Webhooks/Webhook dispatches\"\n ]\n },\n \"webhook_dispatches_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets the list of webhook dispatches that the user have.\\n\\nThe endpoint supports pagination using the `limit` and `offset` parameters\\nand it will not return more than 1000 records.\\nBy default, the records are sorted by the `createdAt` field in ascending\\norder. To sort the records in descending order, use the `desc=1`\\nparameter.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"webhook_dispatches_get\",\n \"parameters\": [\n {\n \"description\": \"Number of items that should be skipped at the start. The default value is `0`.\\n\",\n \"in\": \"query\",\n \"name\": \"offset\",\n \"required\": false,\n \"schema\": {\n \"example\": 0,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Maximum number of items to return. The default value as well as the maximum is `1000`.\\n\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"example\": 1000,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the objects are sorted by the `createdAt` field in\\ndescending order. By default, they are sorted in ascending order.\\n\",\n \"in\": \"query\",\n \"name\": \"desc\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v2/webhook-dispatches\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"webhook_dispatches_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get list of webhook dispatches\",\n \"tags\": [\n \"Webhooks/Webhook dispatches\"\n ]\n },\n \"webhook_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets webhook object with all details.\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"webhook_get\",\n \"parameters\": [\n {\n \"description\": \"Webhook ID.\",\n \"in\": \"path\",\n \"name\": \"webhookId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"pVJtoTelgYUq4qJOt\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/webhooks/{webhookId}\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"webhook_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get webhook\",\n \"tags\": [\n \"Webhooks/Webhooks\"\n ]\n },\n \"webhook_put\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Updates a webhook using values specified by a webhook object passed as JSON\\nin the POST payload.\\nIf the object does not define a specific property, its value will not be\\nupdated.\\n\\nThe response is the full webhook object as returned by the\\n[Get webhook](#/reference/webhooks/webhook-object/get-webhook) endpoint.\\n\\nThe request needs to specify the `Content-Type: application/json` HTTP\\nheader!\\n\\nWhen providing your API authentication token, we recommend using the\\nrequest's `Authorization` header, rather than the URL. ([More\\ninfo](#/introduction/authentication)).\\n\",\n \"destructive\": true,\n \"method\": \"PUT\",\n \"operation_id\": \"webhook_put\",\n \"parameters\": [\n {\n \"description\": \"Webhook ID.\",\n \"in\": \"path\",\n \"name\": \"webhookId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"pVJtoTelgYUq4qJOt\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/webhooks/{webhookId}\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/WebhookUpdate\"\n },\n \"security\": null,\n \"skill_name\": \"webhook_put\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Update webhook\",\n \"tags\": [\n \"Webhooks/Webhooks\"\n ]\n },\n \"webhook_test_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Tests a webhook. Creates a webhook dispatch with a dummy payload.\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"webhook_test_post\",\n \"parameters\": [\n {\n \"description\": \"Webhook ID.\",\n \"in\": \"path\",\n \"name\": \"webhookId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"pVJtoTelgYUq4qJOt\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/webhooks/{webhookId}/test\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"webhook_test_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Test webhook\",\n \"tags\": [\n \"Webhooks/Webhooks\"\n ]\n },\n \"webhook_webhook_dispatches_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets a given webhook's list of dispatches.\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"webhook_webhook_dispatches_get\",\n \"parameters\": [\n {\n \"description\": \"Webhook ID.\",\n \"in\": \"path\",\n \"name\": \"webhookId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"pVJtoTelgYUq4qJOt\",\n \"type\": \"string\"\n }\n }\n ],\n \"path\": \"/v2/webhooks/{webhookId}/dispatches\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"webhook_webhook_dispatches_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get collection\",\n \"tags\": [\n \"Webhooks/Webhooks\"\n ]\n },\n \"webhooks_get\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Gets the list of webhooks that the user created.\\n\\nThe endpoint supports pagination using the `limit` and `offset` parameters\\nand it will not return more than 1000 records.\\nBy default, the records are sorted by the `createdAt` field in ascending\\norder. To sort the records in descending order, use the `desc=1`\\nparameter.\\n\",\n \"destructive\": false,\n \"method\": \"GET\",\n \"operation_id\": \"webhooks_get\",\n \"parameters\": [\n {\n \"description\": \"Number of items that should be skipped at the start. The default value is `0`.\\n\",\n \"in\": \"query\",\n \"name\": \"offset\",\n \"required\": false,\n \"schema\": {\n \"example\": 0,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"Maximum number of items to return. The default value as well as the maximum is `1000`.\\n\",\n \"in\": \"query\",\n \"name\": \"limit\",\n \"required\": false,\n \"schema\": {\n \"example\": 1000,\n \"format\": \"double\",\n \"type\": \"number\"\n }\n },\n {\n \"description\": \"If `true` or `1` then the objects are sorted by the `createdAt` field in\\ndescending order. By default, they are sorted in ascending order.\\n\",\n \"in\": \"query\",\n \"name\": \"desc\",\n \"required\": false,\n \"schema\": {\n \"example\": true,\n \"type\": \"boolean\"\n }\n }\n ],\n \"path\": \"/v2/webhooks\",\n \"request_body\": null,\n \"security\": null,\n \"skill_name\": \"webhooks_get\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Get list of webhooks\",\n \"tags\": [\n \"Webhooks/Webhooks\"\n ]\n },\n \"webhooks_post\": {\n \"base_url\": \"https://api.apify.com\",\n \"base_url_field\": \"OPENAPI_BASE_URL\",\n \"description\": \"Creates a new webhook with settings provided by the webhook object passed as\\nJSON in the payload.\\nThe response is the created webhook object.\\n\\nTo avoid duplicating a webhook, use the `idempotencyKey` parameter in the\\nrequest body.\\nMultiple calls to create a webhook with the same `idempotencyKey` will only\\ncreate the webhook with the first call and return the existing webhook on\\nsubsequent calls.\\nIdempotency keys must be unique, so use a UUID or another random string with\\nenough entropy.\\n\\nTo assign the new webhook to an Actor or task, the request body must contain\\n`requestUrl`, `eventTypes`, and `condition` properties.\\n\\n* `requestUrl` is the webhook's target URL, to which data is sent as a POST\\nrequest with a JSON payload.\\n* `eventTypes` is a list of events that will trigger the webhook, e.g. when\\nthe Actor run succeeds.\\n* `condition` should be an object containing the ID of the Actor or task to\\nwhich the webhook will be assigned.\\n* `payloadTemplate` is a JSON-like string, whose syntax is extended with the\\nuse of variables.\\n* `headersTemplate` is a JSON-like string, whose syntax is extended with the\\nuse of variables. Following values will be re-written to defaults: \\\"host\\\",\\n\\\"Content-Type\\\", \\\"X-Apify-Webhook\\\", \\\"X-Apify-Webhook-Dispatch-Id\\\",\\n\\\"X-Apify-Request-Origin\\\"\\n* `description` is an optional string.\\n* `shouldInterpolateStrings` is a boolean indicating whether to interpolate\\nvariables contained inside strings in the `payloadTemplate`\\n\\n```\\n \\\"isAdHoc\\\" : false,\\n \\\"requestUrl\\\" : \\\"https://example.com\\\",\\n \\\"eventTypes\\\" : [\\n \\\"ACTOR.RUN.SUCCEEDED\\\",\\n \\\"ACTOR.RUN.ABORTED\\\"\\n ],\\n \\\"condition\\\" : {\\n \\\"actorId\\\": \\\"5sTMwDQywwsLzKRRh\\\",\\n \\\"actorTaskId\\\" : \\\"W9bs9JE9v7wprjAnJ\\\"\\n },\\n \\\"payloadTemplate\\\": \\\"\\\",\\n \\\"headersTemplate\\\": \\\"\\\",\\n \\\"description\\\": \\\"my awesome webhook\\\",\\n \\\"shouldInterpolateStrings\\\": false,\\n```\\n\\n**Important**: The request must specify the `Content-Type: application/json`\\nHTTP header.\\n\",\n \"destructive\": true,\n \"method\": \"POST\",\n \"operation_id\": \"webhooks_post\",\n \"parameters\": [],\n \"path\": \"/v2/webhooks\",\n \"request_body\": {\n \"$ref\": \"#/components/schemas/WebhookCreate\"\n },\n \"security\": null,\n \"skill_name\": \"webhooks_post\",\n \"source_index\": 1,\n \"source_openapi_url\": \"https://docs.apify.com/api/openapi.json\",\n \"source_title\": \"Apify API\",\n \"summary\": \"Create webhook\",\n \"tags\": [\n \"Webhooks/Webhooks\"\n ]\n }\n}") +OPERATION_GROUPS = json.loads("[\n {\n \"common_prefix\": \"/v2/actors\",\n \"description\": \"Handle 70 OpenAPI operation(s) under /v2/actors for the actors route group.\",\n \"id\": \"actors\",\n \"label\": \"actors\",\n \"operation_ids\": [\n \"acts_get\",\n \"acts_post\",\n \"act_get\",\n \"act_put\",\n \"act_delete\",\n \"act_versions_get\",\n \"act_versions_post\",\n \"act_version_get\",\n \"act_version_put\",\n \"act_version_post\",\n \"act_version_delete\",\n \"act_version_env_vars_get\",\n \"act_version_env_vars_post\",\n \"act_version_env_var_get\",\n \"act_version_env_var_put\",\n \"act_version_env_var_post\",\n \"act_version_env_var_delete\",\n \"act_webhooks_get\",\n \"act_builds_get\",\n \"act_builds_post\",\n \"act_build_default_get\",\n \"act_openapi_json_get\",\n \"act_build_get\",\n \"act_build_abort_post\",\n \"act_runs_get\",\n \"act_runs_post\",\n \"act_run_sync_post\",\n \"act_run_sync_get\",\n \"act_run_sync_get_dataset_items_post\",\n \"act_run_sync_get_dataset_items_get\",\n \"act_validate_input_post\",\n \"act_run_resurrect_post\",\n \"act_runs_last_get\",\n \"act_runs_last_dataset_get\",\n \"act_runs_last_dataset_put\",\n \"act_runs_last_dataset_delete\",\n \"act_runs_last_dataset_items_get\",\n \"act_runs_last_dataset_items_post\",\n \"act_runs_last_dataset_statistics_get\",\n \"act_runs_last_key_value_store_get\",\n \"act_runs_last_key_value_store_put\",\n \"act_runs_last_key_value_store_delete\",\n \"act_runs_last_key_value_store_keys_get\",\n \"act_runs_last_key_value_store_records_get\",\n \"act_runs_last_key_value_store_record_get\",\n \"act_runs_last_key_value_store_record_put\",\n \"act_runs_last_key_value_store_record_post\",\n \"act_runs_last_key_value_store_record_delete\",\n \"act_runs_last_request_queue_get\",\n \"act_runs_last_request_queue_put\",\n \"act_runs_last_request_queue_delete\",\n \"act_runs_last_request_queue_requests_get\",\n \"act_runs_last_request_queue_requests_post\",\n \"act_runs_last_request_queue_requests_batch_post\",\n \"act_runs_last_request_queue_requests_batch_delete\",\n \"act_runs_last_request_queue_requests_unlock_post\",\n \"act_runs_last_request_queue_request_get\",\n \"act_runs_last_request_queue_request_put\",\n \"act_runs_last_request_queue_request_delete\",\n \"act_runs_last_request_queue_request_lock_put\",\n \"act_runs_last_request_queue_request_lock_delete\",\n \"act_runs_last_request_queue_head_get\",\n \"act_runs_last_request_queue_head_lock_post\",\n \"act_runs_last_log_get\",\n \"act_runs_last_abort_post\",\n \"act_runs_last_metamorph_post\",\n \"act_runs_last_reboot_post\",\n \"act_run_get\",\n \"act_run_abort_post\",\n \"act_run_metamorph_post\"\n ],\n \"skill_dir\": \"actors\",\n \"skill_name\": \"actors-routes\",\n \"skill_path\": \"skills/actors/SKILL.md\",\n \"subagent_name\": \"actors-api\"\n },\n {\n \"common_prefix\": \"/v2/actor-tasks\",\n \"description\": \"Handle 49 OpenAPI operation(s) under /v2/actor-tasks for the actor tasks route group.\",\n \"id\": \"actor_tasks\",\n \"label\": \"actor tasks\",\n \"operation_ids\": [\n \"actor_tasks_get\",\n \"actor_tasks_post\",\n \"actor_task_get\",\n \"actor_task_put\",\n \"actor_task_delete\",\n \"actor_task_input_get\",\n \"actor_task_input_put\",\n \"actor_task_webhooks_get\",\n \"actor_task_runs_get\",\n \"actor_task_runs_post\",\n \"actor_task_run_sync_get\",\n \"actor_task_run_sync_post\",\n \"actor_task_run_sync_get_dataset_items_get\",\n \"actor_task_run_sync_get_dataset_items_post\",\n \"actor_task_runs_last_get\",\n \"actor_task_last_log_get\",\n \"actor_task_runs_last_abort_post\",\n \"actor_task_runs_last_metamorph_post\",\n \"actor_task_runs_last_reboot_post\",\n \"actor_task_runs_last_dataset_get\",\n \"actor_task_runs_last_dataset_put\",\n \"actor_task_runs_last_dataset_delete\",\n \"actor_task_runs_last_dataset_items_get\",\n \"actor_task_runs_last_dataset_items_post\",\n \"actor_task_runs_last_dataset_statistics_get\",\n \"actor_task_runs_last_key_value_store_get\",\n \"actor_task_runs_last_key_value_store_put\",\n \"actor_task_runs_last_key_value_store_delete\",\n \"actor_task_runs_last_key_value_store_keys_get\",\n \"actor_task_runs_last_key_value_store_records_get\",\n \"actor_task_runs_last_key_value_store_record_get\",\n \"actor_task_runs_last_key_value_store_record_put\",\n \"actor_task_runs_last_key_value_store_record_post\",\n \"actor_task_runs_last_key_value_store_record_delete\",\n \"actor_task_runs_last_request_queue_get\",\n \"actor_task_runs_last_request_queue_put\",\n \"actor_task_runs_last_request_queue_delete\",\n \"actor_task_runs_last_request_queue_head_get\",\n \"actor_task_runs_last_request_queue_head_lock_post\",\n \"actor_task_runs_last_request_queue_requests_get\",\n \"actor_task_runs_last_request_queue_requests_post\",\n \"actor_task_runs_last_request_queue_requests_batch_post\",\n \"actor_task_runs_last_request_queue_requests_batch_delete\",\n \"actor_task_runs_last_request_queue_requests_unlock_post\",\n \"actor_task_runs_last_request_queue_request_get\",\n \"actor_task_runs_last_request_queue_request_put\",\n \"actor_task_runs_last_request_queue_request_delete\",\n \"actor_task_runs_last_request_queue_request_lock_put\",\n \"actor_task_runs_last_request_queue_request_lock_delete\"\n ],\n \"skill_dir\": \"actor-tasks\",\n \"skill_name\": \"actor-tasks-routes\",\n \"skill_path\": \"skills/actor-tasks/SKILL.md\",\n \"subagent_name\": \"actor-tasks-api\"\n },\n {\n \"common_prefix\": \"/v2/actor-runs\",\n \"description\": \"Handle 40 OpenAPI operation(s) under /v2/actor-runs for the actor runs route group.\",\n \"id\": \"actor_runs\",\n \"label\": \"actor runs\",\n \"operation_ids\": [\n \"actor_runs_get\",\n \"actor_run_get\",\n \"actor_run_put\",\n \"actor_run_delete\",\n \"actor_run_abort_post\",\n \"actor_run_metamorph_post\",\n \"actor_run_reboot_post\",\n \"post_resurrect_run\",\n \"post_charge_run\",\n \"actor_run_dataset_get\",\n \"actor_run_dataset_put\",\n \"actor_run_dataset_delete\",\n \"actor_run_dataset_items_get\",\n \"actor_run_dataset_items_post\",\n \"actor_run_dataset_statistics_get\",\n \"actor_run_key_value_store_get\",\n \"actor_run_key_value_store_put\",\n \"actor_run_key_value_store_delete\",\n \"actor_run_key_value_store_keys_get\",\n \"actor_run_key_value_store_records_get\",\n \"actor_run_key_value_store_record_get\",\n \"actor_run_key_value_store_record_put\",\n \"actor_run_key_value_store_record_post\",\n \"actor_run_key_value_store_record_delete\",\n \"actor_run_request_queue_get\",\n \"actor_run_request_queue_put\",\n \"actor_run_request_queue_delete\",\n \"actor_run_request_queue_requests_get\",\n \"actor_run_request_queue_requests_post\",\n \"actor_run_request_queue_requests_batch_post\",\n \"actor_run_request_queue_requests_batch_delete\",\n \"actor_run_request_queue_requests_unlock_post\",\n \"actor_run_request_queue_request_get\",\n \"actor_run_request_queue_request_put\",\n \"actor_run_request_queue_request_delete\",\n \"actor_run_request_queue_request_lock_put\",\n \"actor_run_request_queue_request_lock_delete\",\n \"actor_run_request_queue_head_get\",\n \"actor_run_request_queue_head_lock_post\",\n \"actor_run_log_get\"\n ],\n \"skill_dir\": \"actor-runs\",\n \"skill_name\": \"actor-runs-routes\",\n \"skill_path\": \"skills/actor-runs/SKILL.md\",\n \"subagent_name\": \"actor-runs-api\"\n },\n {\n \"common_prefix\": \"/v2/actor-builds\",\n \"description\": \"Handle 6 OpenAPI operation(s) under /v2/actor-builds for the actor builds route group.\",\n \"id\": \"actor_builds\",\n \"label\": \"actor builds\",\n \"operation_ids\": [\n \"actor_builds_get\",\n \"actor_build_get\",\n \"actor_build_delete\",\n \"actor_build_abort_post\",\n \"actor_build_log_get\",\n \"actor_build_openapi_json_get\"\n ],\n \"skill_dir\": \"actor-builds\",\n \"skill_name\": \"actor-builds-routes\",\n \"skill_path\": \"skills/actor-builds/SKILL.md\",\n \"subagent_name\": \"actor-builds-api\"\n },\n {\n \"common_prefix\": \"/v2/key-value-stores\",\n \"description\": \"Handle 12 OpenAPI operation(s) under /v2/key-value-stores for the key value stores route group.\",\n \"id\": \"key_value_stores\",\n \"label\": \"key value stores\",\n \"operation_ids\": [\n \"key_value_stores_get\",\n \"key_value_stores_post\",\n \"key_value_store_get\",\n \"key_value_store_put\",\n \"key_value_store_delete\",\n \"key_value_store_keys_get\",\n \"key_value_store_records_get\",\n \"key_value_store_record_get\",\n \"key_value_store_record_head\",\n \"key_value_store_record_put\",\n \"key_value_store_record_post\",\n \"key_value_store_record_delete\"\n ],\n \"skill_dir\": \"key-value-stores\",\n \"skill_name\": \"key-value-stores-routes\",\n \"skill_path\": \"skills/key-value-stores/SKILL.md\",\n \"subagent_name\": \"key-value-stores-api\"\n },\n {\n \"common_prefix\": \"/v2/datasets\",\n \"description\": \"Handle 9 OpenAPI operation(s) under /v2/datasets for the datasets route group.\",\n \"id\": \"datasets\",\n \"label\": \"datasets\",\n \"operation_ids\": [\n \"datasets_get\",\n \"datasets_post\",\n \"dataset_get\",\n \"dataset_put\",\n \"dataset_delete\",\n \"dataset_items_get\",\n \"dataset_items_head\",\n \"dataset_items_post\",\n \"dataset_statistics_get\"\n ],\n \"skill_dir\": \"datasets\",\n \"skill_name\": \"datasets-routes\",\n \"skill_path\": \"skills/datasets/SKILL.md\",\n \"subagent_name\": \"datasets-api\"\n },\n {\n \"common_prefix\": \"/v2/request-queues\",\n \"description\": \"Handle 17 OpenAPI operation(s) under /v2/request-queues for the request queues route group.\",\n \"id\": \"request_queues\",\n \"label\": \"request queues\",\n \"operation_ids\": [\n \"request_queues_get\",\n \"request_queues_post\",\n \"request_queue_get\",\n \"request_queue_put\",\n \"request_queue_delete\",\n \"request_queue_requests_batch_post\",\n \"request_queue_requests_batch_delete\",\n \"request_queue_requests_unlock_post\",\n \"request_queue_requests_get\",\n \"request_queue_requests_post\",\n \"request_queue_request_get\",\n \"request_queue_request_put\",\n \"request_queue_request_delete\",\n \"request_queue_head_get\",\n \"request_queue_head_lock_post\",\n \"request_queue_request_lock_put\",\n \"request_queue_request_lock_delete\"\n ],\n \"skill_dir\": \"request-queues\",\n \"skill_name\": \"request-queues-routes\",\n \"skill_path\": \"skills/request-queues/SKILL.md\",\n \"subagent_name\": \"request-queues-api\"\n },\n {\n \"common_prefix\": \"/v2/webhooks\",\n \"description\": \"Handle 7 OpenAPI operation(s) under /v2/webhooks for the webhooks route group.\",\n \"id\": \"webhooks\",\n \"label\": \"webhooks\",\n \"operation_ids\": [\n \"webhooks_get\",\n \"webhooks_post\",\n \"webhook_get\",\n \"webhook_put\",\n \"webhook_delete\",\n \"webhook_test_post\",\n \"webhook_webhook_dispatches_get\"\n ],\n \"skill_dir\": \"webhooks\",\n \"skill_name\": \"webhooks-routes\",\n \"skill_path\": \"skills/webhooks/SKILL.md\",\n \"subagent_name\": \"webhooks-api\"\n },\n {\n \"common_prefix\": \"/v2/webhook-dispatches\",\n \"description\": \"Handle 2 OpenAPI operation(s) under /v2/webhook-dispatches for the webhook dispatches route group.\",\n \"id\": \"webhook_dispatches\",\n \"label\": \"webhook dispatches\",\n \"operation_ids\": [\n \"webhook_dispatches_get\",\n \"webhook_dispatch_get\"\n ],\n \"skill_dir\": \"webhook-dispatches\",\n \"skill_name\": \"webhook-dispatches-routes\",\n \"skill_path\": \"skills/webhook-dispatches/SKILL.md\",\n \"subagent_name\": \"webhook-dispatches-api\"\n },\n {\n \"common_prefix\": \"/v2/schedules\",\n \"description\": \"Handle 6 OpenAPI operation(s) under /v2/schedules for the schedules route group.\",\n \"id\": \"schedules\",\n \"label\": \"schedules\",\n \"operation_ids\": [\n \"schedules_get\",\n \"schedules_post\",\n \"schedule_get\",\n \"schedule_put\",\n \"schedule_delete\",\n \"schedule_log_get\"\n ],\n \"skill_dir\": \"schedules\",\n \"skill_name\": \"schedules-routes\",\n \"skill_path\": \"skills/schedules/SKILL.md\",\n \"subagent_name\": \"schedules-api\"\n },\n {\n \"common_prefix\": \"/v2/store\",\n \"description\": \"Handle 1 OpenAPI operation(s) under /v2/store for the store route group.\",\n \"id\": \"store\",\n \"label\": \"store\",\n \"operation_ids\": [\n \"store_get\"\n ],\n \"skill_dir\": \"store\",\n \"skill_name\": \"store-routes\",\n \"skill_path\": \"skills/store/SKILL.md\",\n \"subagent_name\": \"store-api\"\n },\n {\n \"common_prefix\": \"/v2/logs/{buildOrRunId}\",\n \"description\": \"Handle 1 OpenAPI operation(s) under /v2/logs/{buildOrRunId} for the logs route group.\",\n \"id\": \"logs\",\n \"label\": \"logs\",\n \"operation_ids\": [\n \"log_get\"\n ],\n \"skill_dir\": \"logs\",\n \"skill_name\": \"logs-routes\",\n \"skill_path\": \"skills/logs/SKILL.md\",\n \"subagent_name\": \"logs-api\"\n },\n {\n \"common_prefix\": \"/v2/users\",\n \"description\": \"Handle 5 OpenAPI operation(s) under /v2/users for the users route group.\",\n \"id\": \"users\",\n \"label\": \"users\",\n \"operation_ids\": [\n \"user_get\",\n \"users_me_get\",\n \"users_me_usage_monthly_get\",\n \"users_me_limits_get\",\n \"users_me_limits_put\"\n ],\n \"skill_dir\": \"users\",\n \"skill_name\": \"users-routes\",\n \"skill_path\": \"skills/users/SKILL.md\",\n \"subagent_name\": \"users-api\"\n },\n {\n \"common_prefix\": \"/v2/browser-info\",\n \"description\": \"Handle 4 OpenAPI operation(s) under /v2/browser-info for the browser info route group.\",\n \"id\": \"browser_info\",\n \"label\": \"browser info\",\n \"operation_ids\": [\n \"tools_browser_info_get\",\n \"tools_browser_info_post\",\n \"tools_browser_info_put\",\n \"tools_browser_info_delete\"\n ],\n \"skill_dir\": \"browser-info\",\n \"skill_name\": \"browser-info-routes\",\n \"skill_path\": \"skills/browser-info/SKILL.md\",\n \"subagent_name\": \"browser-info-api\"\n },\n {\n \"common_prefix\": \"/v2/tools\",\n \"description\": \"Handle 2 OpenAPI operation(s) under /v2/tools for the tools route group.\",\n \"id\": \"tools\",\n \"label\": \"tools\",\n \"operation_ids\": [\n \"tools_encode_and_sign_post\",\n \"tools_decode_and_verify_post\"\n ],\n \"skill_dir\": \"tools\",\n \"skill_name\": \"tools-routes\",\n \"skill_path\": \"skills/tools/SKILL.md\",\n \"subagent_name\": \"tools-api\"\n }\n]") ROOT_SECURITY = json.loads("[\n {\n \"httpBearer\": []\n },\n {\n \"apiKey\": []\n }\n]") SECURITY_SCHEMES = json.loads("{\n \"apiKey\": {\n \"description\": \"API token provided as a query parameter (e.g., `?token=your_token`\\u2014less secure).\\n\\nUse your API token to authenticate requests. You can find it on the [Integrations page](https://console.apify.com/account#/integrations) in Apify Console.\\n\\n:::danger Security\\n\\nDo not share your API token (or account password) with untrusted parties.\\n\\n:::\\n\\n_When is authentication required?_\\n- _Required_ for private Actors, tasks, or resources (e.g., builds of private Actors).\\n- _Required_ when using named formats for IDs (e.g., `username~store-name` for stores or `username~queue-name` for queues).\\n- _Optional_ for public Actors or resources (e.g., builds of public Actors can be queried without a token).\\n\\nFor more information, see our [integrations documentation](https://docs.apify.com/platform/integrations).\",\n \"in\": \"query\",\n \"name\": \"token\",\n \"type\": \"apiKey\"\n },\n \"httpBearer\": {\n \"description\": \"Bearer token provided in the `Authorization` header (e.g., `Authorization: Bearer your_token`\\u2014recommended). [More info](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization).\\n\\nUse your API token to authenticate requests. You can find it on the [Integrations page](https://console.apify.com/account#/integrations) in Apify Console. This method is more secure than query parameters, as headers are not logged in browser history or server logs.\\n\\n:::danger Security\\n\\nDo not share your API token (or account password) with untrusted parties.\\n\\n:::\\n\\n_When is authentication required?_\\n- _Required_ for private Actors, tasks, or resources (e.g., builds of private Actors).\\n- _Required_ when using named formats for IDs (e.g., `username~store-name` for stores or `username~queue-name` for queues).\\n- _Optional_ for public Actors or resources (e.g., builds of public Actors can be queried without a token).\\n\\nFor more information, see our [integrations documentation](https://docs.apify.com/platform/integrations).\",\n \"scheme\": \"bearer\",\n \"type\": \"http\"\n }\n}") SECURITY_FIELDS = json.loads("{\n \"apiKey\": {\n \"field\": \"TOKEN\",\n \"kind\": \"apiKey\",\n \"location\": \"query\",\n \"name\": \"token\"\n },\n \"httpBearer\": {\n \"field\": \"HTTPBEARER_TOKEN\",\n \"kind\": \"http\",\n \"scheme\": \"bearer\"\n }\n}") PATH_PARAMETER_RE = re.compile(r"{([^}/]+)}") +SOURCE_ROOT = Path(globals().get("__file__", "agent.py")).resolve().parent +SOURCE_SKILLS_DIR = SOURCE_ROOT / "skills" +RUNTIME_SKILLS_DIR = ".deepagents/openapi-skills/" class OperationInput(BaseModel): @@ -54,8 +59,8 @@ class ApifyApi(A2AAgent): llm_provisioning = LLMProvisioning.PLATFORM pricing = Pricing( price_per_call_usd=0.0, - caller_pays_llm=False, - notes="Uses a scoped platform LLM grant through ctx.llm.", + caller_pays_llm=True, + notes="Uses the caller's saved LLM credential through ctx.llm.", ) resources = Resources(cpu="200m", memory="512Mi") egress = EgressPolicy( @@ -87,8 +92,8 @@ class ApifyApi(A2AAgent): return { "error": "llm_credentials_missing", "final": ( - "LLM credentials were not available for this run. Hosted " - "generated OpenAPI agents should receive a platform LLM grant." + "LLM key required. Add an LLM credential in Settings > " + "LLM credentials before running this agent." ), "messages": [], } @@ -102,9 +107,13 @@ class ApifyApi(A2AAgent): if creds.extra_body: model_kwargs["extra_body"] = dict(creds.extra_body) model = ChatOpenAI(**model_kwargs) + backend = ctx.workspace_backend() + skills_root = _seed_runtime_skills(backend, ctx) graph = create_deep_agent( model=model, - tools=self._operation_tools(ctx), + backend=backend, + tools=[], + subagents=self._operation_subagents(ctx, skills_root), system_prompt=self._system_prompt(), ) result = await graph.ainvoke({"messages": [{"role": "user", "content": goal}]}) @@ -115,4398 +124,36 @@ class ApifyApi(A2AAgent): "messages": [_message_to_dict(message) for message in messages[-8:]], } - @skill( - name="acts_get", - description="GET /v2/actors - Get list of Actors", - tags=('Actors',), - timeout_seconds=60, - ) - async def acts_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "acts_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="acts_post", - description="POST /v2/actors - Create Actor", - tags=('Actors',), - timeout_seconds=120, - ) - async def acts_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "acts_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_get", - description="GET /v2/actors/{actorId} - Get Actor", - tags=('Actors',), - timeout_seconds=60, - ) - async def act_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_put", - description="PUT /v2/actors/{actorId} - Update Actor", - tags=('Actors',), - timeout_seconds=120, - ) - async def act_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_delete", - description="DELETE /v2/actors/{actorId} - Delete Actor", - tags=('Actors',), - timeout_seconds=120, - ) - async def act_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_versions_get", - description="GET /v2/actors/{actorId}/versions - Get list of versions", - tags=('Actors/Actor versions',), - timeout_seconds=60, - ) - async def act_versions_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_versions_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_versions_post", - description="POST /v2/actors/{actorId}/versions - Create version", - tags=('Actors/Actor versions',), - timeout_seconds=120, - ) - async def act_versions_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_versions_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_version_get", - description="GET /v2/actors/{actorId}/versions/{versionNumber} - Get version", - tags=('Actors/Actor versions',), - timeout_seconds=60, - ) - async def act_version_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_version_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_version_put", - description="PUT /v2/actors/{actorId}/versions/{versionNumber} - Update version", - tags=('Actors/Actor versions',), - timeout_seconds=120, - ) - async def act_version_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_version_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_version_post", - description="POST /v2/actors/{actorId}/versions/{versionNumber} - Update version (POST)", - tags=('Actors/Actor versions',), - timeout_seconds=120, - ) - async def act_version_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_version_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_version_delete", - description="DELETE /v2/actors/{actorId}/versions/{versionNumber} - Delete version", - tags=('Actors/Actor versions',), - timeout_seconds=120, - ) - async def act_version_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_version_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_version_env_vars_get", - description="GET /v2/actors/{actorId}/versions/{versionNumber}/env-vars - Get list of environment variables", - tags=('Actors/Actor versions',), - timeout_seconds=60, - ) - async def act_version_env_vars_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_version_env_vars_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_version_env_vars_post", - description="POST /v2/actors/{actorId}/versions/{versionNumber}/env-vars - Create environment variable", - tags=('Actors/Actor versions',), - timeout_seconds=120, - ) - async def act_version_env_vars_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_version_env_vars_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_version_env_var_get", - description="GET /v2/actors/{actorId}/versions/{versionNumber}/env-vars/{envVarName} - Get environment variable", - tags=('Actors/Actor versions',), - timeout_seconds=60, - ) - async def act_version_env_var_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_version_env_var_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_version_env_var_put", - description="PUT /v2/actors/{actorId}/versions/{versionNumber}/env-vars/{envVarName} - Update environment variable", - tags=('Actors/Actor versions',), - timeout_seconds=120, - ) - async def act_version_env_var_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_version_env_var_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_version_env_var_post", - description="POST /v2/actors/{actorId}/versions/{versionNumber}/env-vars/{envVarName} - Update environment variable (POST)", - tags=('Actors/Actor versions',), - timeout_seconds=120, - ) - async def act_version_env_var_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_version_env_var_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_version_env_var_delete", - description="DELETE /v2/actors/{actorId}/versions/{versionNumber}/env-vars/{envVarName} - Delete environment variable", - tags=('Actors/Actor versions',), - timeout_seconds=120, - ) - async def act_version_env_var_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_version_env_var_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_webhooks_get", - description="GET /v2/actors/{actorId}/webhooks - Get list of webhooks", - tags=('Actors/Webhook collection',), - timeout_seconds=60, - ) - async def act_webhooks_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_webhooks_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_builds_get", - description="GET /v2/actors/{actorId}/builds - Get list of builds", - tags=('Actors/Actor builds',), - timeout_seconds=60, - ) - async def act_builds_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_builds_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_builds_post", - description="POST /v2/actors/{actorId}/builds - Build Actor", - tags=('Actors/Actor builds',), - timeout_seconds=120, - ) - async def act_builds_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_builds_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_build_default_get", - description="GET /v2/actors/{actorId}/builds/default - Get default build", - tags=('Actors/Actor builds',), - timeout_seconds=60, - ) - async def act_build_default_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_build_default_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_openapi_json_get", - description="GET /v2/actors/{actorId}/builds/{buildId}/openapi.json - Get OpenAPI definition", - tags=('Actors/Actor builds',), - timeout_seconds=60, - ) - async def act_openapi_json_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_openapi_json_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_build_get", - description="GET /v2/actors/{actorId}/builds/{buildId} - Get build", - tags=('Actors/Actor builds',), - timeout_seconds=60, - ) - async def act_build_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_build_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_build_abort_post", - description="POST /v2/actors/{actorId}/builds/{buildId}/abort - Abort build", - tags=('Actors/Actor builds',), - timeout_seconds=120, - ) - async def act_build_abort_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_build_abort_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_get", - description="GET /v2/actors/{actorId}/runs - Get list of runs", - tags=('Actors/Actor runs',), - timeout_seconds=60, - ) - async def act_runs_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_post", - description="POST /v2/actors/{actorId}/runs - Run Actor", - tags=('Actors/Actor runs',), - timeout_seconds=120, - ) - async def act_runs_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_run_sync_post", - description="POST /v2/actors/{actorId}/run-sync - Run Actor synchronously and return output", - tags=('Actors/Actor runs',), - timeout_seconds=120, - ) - async def act_run_sync_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_run_sync_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_run_sync_get", - description="GET /v2/actors/{actorId}/run-sync - Run Actor synchronously without input", - tags=('Actors/Actor runs',), - timeout_seconds=60, - ) - async def act_run_sync_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_run_sync_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_run_sync_get_dataset_items_post", - description="POST /v2/actors/{actorId}/run-sync-get-dataset-items - Run Actor synchronously and get dataset items", - tags=('Actors/Actor runs',), - timeout_seconds=120, - ) - async def act_run_sync_get_dataset_items_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_run_sync_get_dataset_items_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_run_sync_get_dataset_items_get", - description="GET /v2/actors/{actorId}/run-sync-get-dataset-items - Run Actor synchronously without input and get dataset items", - tags=('Actors/Actor runs',), - timeout_seconds=60, - ) - async def act_run_sync_get_dataset_items_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_run_sync_get_dataset_items_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_validate_input_post", - description="POST /v2/actors/{actorId}/validate-input - Validate Actor input", - tags=('Actors',), - timeout_seconds=120, - ) - async def act_validate_input_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_validate_input_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_run_resurrect_post", - description="POST /v2/actors/{actorId}/runs/{runId}/resurrect - Resurrect run", - tags=('Actors/Actor runs',), - timeout_seconds=120, - ) - async def act_run_resurrect_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_run_resurrect_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_get", - description="GET /v2/actors/{actorId}/runs/last - Get last run", - tags=('Actors/Actor runs',), - timeout_seconds=60, - ) - async def act_runs_last_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_dataset_get", - description="GET /v2/actors/{actorId}/runs/last/dataset - Get last run's default dataset", - tags=("Last Actor run's default dataset",), - timeout_seconds=60, - ) - async def act_runs_last_dataset_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_dataset_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_dataset_put", - description="PUT /v2/actors/{actorId}/runs/last/dataset - Update last run's default dataset", - tags=("Last Actor run's default dataset",), - timeout_seconds=120, - ) - async def act_runs_last_dataset_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_dataset_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_dataset_delete", - description="DELETE /v2/actors/{actorId}/runs/last/dataset - Delete last run's default dataset", - tags=("Last Actor run's default dataset",), - timeout_seconds=120, - ) - async def act_runs_last_dataset_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_dataset_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_dataset_items_get", - description="GET /v2/actors/{actorId}/runs/last/dataset/items - Get last run's dataset items", - tags=("Last Actor run's default dataset",), - timeout_seconds=60, - ) - async def act_runs_last_dataset_items_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_dataset_items_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_dataset_items_post", - description="POST /v2/actors/{actorId}/runs/last/dataset/items - Store items in last run's dataset", - tags=("Last Actor run's default dataset",), - timeout_seconds=120, - ) - async def act_runs_last_dataset_items_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_dataset_items_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_dataset_statistics_get", - description="GET /v2/actors/{actorId}/runs/last/dataset/statistics - Get last run's dataset statistics", - tags=("Last Actor run's default dataset",), - timeout_seconds=60, - ) - async def act_runs_last_dataset_statistics_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_dataset_statistics_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_key_value_store_get", - description="GET /v2/actors/{actorId}/runs/last/key-value-store - Get last run's default store", - tags=("Last Actor run's default key-value store",), - timeout_seconds=60, - ) - async def act_runs_last_key_value_store_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_key_value_store_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_key_value_store_put", - description="PUT /v2/actors/{actorId}/runs/last/key-value-store - Update last run's default store", - tags=("Last Actor run's default key-value store",), - timeout_seconds=120, - ) - async def act_runs_last_key_value_store_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_key_value_store_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_key_value_store_delete", - description="DELETE /v2/actors/{actorId}/runs/last/key-value-store - Delete last run's default store", - tags=("Last Actor run's default key-value store",), - timeout_seconds=120, - ) - async def act_runs_last_key_value_store_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_key_value_store_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_key_value_store_keys_get", - description="GET /v2/actors/{actorId}/runs/last/key-value-store/keys - Get last run's default store's list of keys", - tags=("Last Actor run's default key-value store",), - timeout_seconds=60, - ) - async def act_runs_last_key_value_store_keys_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_key_value_store_keys_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_key_value_store_records_get", - description="GET /v2/actors/{actorId}/runs/last/key-value-store/records - Download last run's default store's records", - tags=("Last Actor run's default key-value store",), - timeout_seconds=60, - ) - async def act_runs_last_key_value_store_records_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_key_value_store_records_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_key_value_store_record_get", - description="GET /v2/actors/{actorId}/runs/last/key-value-store/records/{recordKey} - Get last run's default store's record", - tags=("Last Actor run's default key-value store",), - timeout_seconds=60, - ) - async def act_runs_last_key_value_store_record_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_key_value_store_record_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_key_value_store_record_put", - description="PUT /v2/actors/{actorId}/runs/last/key-value-store/records/{recordKey} - Store record in last run's default store", - tags=("Last Actor run's default key-value store",), - timeout_seconds=120, - ) - async def act_runs_last_key_value_store_record_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_key_value_store_record_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_key_value_store_record_post", - description="POST /v2/actors/{actorId}/runs/last/key-value-store/records/{recordKey} - Store record in last run's default store (POST)", - tags=("Last Actor run's default key-value store",), - timeout_seconds=120, - ) - async def act_runs_last_key_value_store_record_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_key_value_store_record_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_key_value_store_record_delete", - description="DELETE /v2/actors/{actorId}/runs/last/key-value-store/records/{recordKey} - Delete last run's default store's record", - tags=("Last Actor run's default key-value store",), - timeout_seconds=120, - ) - async def act_runs_last_key_value_store_record_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_key_value_store_record_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_request_queue_get", - description="GET /v2/actors/{actorId}/runs/last/request-queue - Get last run's default request queue", - tags=("Last Actor run's default request queue",), - timeout_seconds=60, - ) - async def act_runs_last_request_queue_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_request_queue_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_request_queue_put", - description="PUT /v2/actors/{actorId}/runs/last/request-queue - Update last run's default request queue", - tags=("Last Actor run's default request queue",), - timeout_seconds=120, - ) - async def act_runs_last_request_queue_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_request_queue_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_request_queue_delete", - description="DELETE /v2/actors/{actorId}/runs/last/request-queue - Delete last run's default request queue", - tags=("Last Actor run's default request queue",), - timeout_seconds=120, - ) - async def act_runs_last_request_queue_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_request_queue_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_request_queue_requests_get", - description="GET /v2/actors/{actorId}/runs/last/request-queue/requests - List last run's default request queue's requests", - tags=("Last Actor run's default request queue",), - timeout_seconds=60, - ) - async def act_runs_last_request_queue_requests_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_request_queue_requests_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_request_queue_requests_post", - description="POST /v2/actors/{actorId}/runs/last/request-queue/requests - Add request to last run's default request queue", - tags=("Last Actor run's default request queue",), - timeout_seconds=120, - ) - async def act_runs_last_request_queue_requests_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_request_queue_requests_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_request_queue_requests_batch_post", - description="POST /v2/actors/{actorId}/runs/last/request-queue/requests/batch - Batch add requests to last run's default request queue", - tags=("Last Actor run's default request queue",), - timeout_seconds=120, - ) - async def act_runs_last_request_queue_requests_batch_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_request_queue_requests_batch_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_request_queue_requests_batch_delete", - description="DELETE /v2/actors/{actorId}/runs/last/request-queue/requests/batch - Batch delete requests from last run's default request queue", - tags=("Last Actor run's default request queue",), - timeout_seconds=120, - ) - async def act_runs_last_request_queue_requests_batch_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_request_queue_requests_batch_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_request_queue_requests_unlock_post", - description="POST /v2/actors/{actorId}/runs/last/request-queue/requests/unlock - Unlock requests in last run's default request queue", - tags=("Last Actor run's default request queue",), - timeout_seconds=120, - ) - async def act_runs_last_request_queue_requests_unlock_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_request_queue_requests_unlock_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_request_queue_request_get", - description="GET /v2/actors/{actorId}/runs/last/request-queue/requests/{requestId} - Get request from last run's default request queue", - tags=("Last Actor run's default request queue",), - timeout_seconds=60, - ) - async def act_runs_last_request_queue_request_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_request_queue_request_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_request_queue_request_put", - description="PUT /v2/actors/{actorId}/runs/last/request-queue/requests/{requestId} - Update request in last run's default request queue", - tags=("Last Actor run's default request queue",), - timeout_seconds=120, - ) - async def act_runs_last_request_queue_request_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_request_queue_request_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_request_queue_request_delete", - description="DELETE /v2/actors/{actorId}/runs/last/request-queue/requests/{requestId} - Delete request from last run's default request queue", - tags=("Last Actor run's default request queue",), - timeout_seconds=120, - ) - async def act_runs_last_request_queue_request_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_request_queue_request_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_request_queue_request_lock_put", - description="PUT /v2/actors/{actorId}/runs/last/request-queue/requests/{requestId}/lock - Prolong lock on request in last run's default request queue", - tags=("Last Actor run's default request queue",), - timeout_seconds=120, - ) - async def act_runs_last_request_queue_request_lock_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_request_queue_request_lock_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_request_queue_request_lock_delete", - description="DELETE /v2/actors/{actorId}/runs/last/request-queue/requests/{requestId}/lock - Delete lock on request in last run's default request queue", - tags=("Last Actor run's default request queue",), - timeout_seconds=120, - ) - async def act_runs_last_request_queue_request_lock_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_request_queue_request_lock_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_request_queue_head_get", - description="GET /v2/actors/{actorId}/runs/last/request-queue/head - Get last run's default request queue head", - tags=("Last Actor run's default request queue",), - timeout_seconds=60, - ) - async def act_runs_last_request_queue_head_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_request_queue_head_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_request_queue_head_lock_post", - description="POST /v2/actors/{actorId}/runs/last/request-queue/head/lock - Get and lock last run's default request queue head", - tags=("Last Actor run's default request queue",), - timeout_seconds=120, - ) - async def act_runs_last_request_queue_head_lock_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_request_queue_head_lock_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_log_get", - description="GET /v2/actors/{actorId}/runs/last/log - Get last Actor run's log", - tags=("Last Actor run's log",), - timeout_seconds=60, - ) - async def act_runs_last_log_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_log_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_abort_post", - description="POST /v2/actors/{actorId}/runs/last/abort - Abort Actor's last run", - tags=("Last Actor run's abort",), - timeout_seconds=120, - ) - async def act_runs_last_abort_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_abort_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_metamorph_post", - description="POST /v2/actors/{actorId}/runs/last/metamorph - Metamorph Actor's last run", - tags=("Last Actor run's metamorph",), - timeout_seconds=120, - ) - async def act_runs_last_metamorph_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_metamorph_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_runs_last_reboot_post", - description="POST /v2/actors/{actorId}/runs/last/reboot - Reboot Actor's last run", - tags=("Last Actor run's reboot",), - timeout_seconds=120, - ) - async def act_runs_last_reboot_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_runs_last_reboot_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_run_get", - description="GET /v2/actors/{actorId}/runs/{runId} - Get run", - tags=('Actors/Actor runs',), - timeout_seconds=60, - ) - async def act_run_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_run_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_run_abort_post", - description="POST /v2/actors/{actorId}/runs/{runId}/abort - Abort run", - tags=('Actors/Actor runs',), - timeout_seconds=120, - ) - async def act_run_abort_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_run_abort_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="act_run_metamorph_post", - description="POST /v2/actors/{actorId}/runs/{runId}/metamorph - Metamorph run", - tags=('Actors/Actor runs',), - timeout_seconds=120, - ) - async def act_run_metamorph_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "act_run_metamorph_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_tasks_get", - description="GET /v2/actor-tasks - Get list of tasks", - tags=('Actor tasks',), - timeout_seconds=60, - ) - async def actor_tasks_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_tasks_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_tasks_post", - description="POST /v2/actor-tasks - Create task", - tags=('Actor tasks',), - timeout_seconds=120, - ) - async def actor_tasks_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_tasks_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_get", - description="GET /v2/actor-tasks/{actorTaskId} - Get task", - tags=('Actor tasks',), - timeout_seconds=60, - ) - async def actor_task_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_put", - description="PUT /v2/actor-tasks/{actorTaskId} - Update task", - tags=('Actor tasks',), - timeout_seconds=120, - ) - async def actor_task_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_delete", - description="DELETE /v2/actor-tasks/{actorTaskId} - Delete task", - tags=('Actor tasks',), - timeout_seconds=120, - ) - async def actor_task_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_input_get", - description="GET /v2/actor-tasks/{actorTaskId}/input - Get task input", - tags=('Actor tasks',), - timeout_seconds=60, - ) - async def actor_task_input_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_input_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_input_put", - description="PUT /v2/actor-tasks/{actorTaskId}/input - Update task input", - tags=('Actor tasks',), - timeout_seconds=120, - ) - async def actor_task_input_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_input_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_webhooks_get", - description="GET /v2/actor-tasks/{actorTaskId}/webhooks - Get list of webhooks", - tags=('Actor tasks',), - timeout_seconds=60, - ) - async def actor_task_webhooks_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_webhooks_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_get", - description="GET /v2/actor-tasks/{actorTaskId}/runs - Get list of task runs", - tags=('Actor tasks',), - timeout_seconds=60, - ) - async def actor_task_runs_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_post", - description="POST /v2/actor-tasks/{actorTaskId}/runs - Run task", - tags=('Actor tasks',), - timeout_seconds=120, - ) - async def actor_task_runs_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_run_sync_get", - description="GET /v2/actor-tasks/{actorTaskId}/run-sync - Run task synchronously", - tags=('Actor tasks',), - timeout_seconds=60, - ) - async def actor_task_run_sync_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_run_sync_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_run_sync_post", - description="POST /v2/actor-tasks/{actorTaskId}/run-sync - Run task synchronously", - tags=('Actor tasks',), - timeout_seconds=120, - ) - async def actor_task_run_sync_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_run_sync_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_run_sync_get_dataset_items_get", - description="GET /v2/actor-tasks/{actorTaskId}/run-sync-get-dataset-items - Run task synchronously and get dataset items", - tags=('Actor tasks',), - timeout_seconds=60, - ) - async def actor_task_run_sync_get_dataset_items_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_run_sync_get_dataset_items_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_run_sync_get_dataset_items_post", - description="POST /v2/actor-tasks/{actorTaskId}/run-sync-get-dataset-items - Run task synchronously and get dataset items", - tags=('Actor tasks',), - timeout_seconds=120, - ) - async def actor_task_run_sync_get_dataset_items_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_run_sync_get_dataset_items_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_get", - description="GET /v2/actor-tasks/{actorTaskId}/runs/last - Get last run", - tags=('Actor tasks',), - timeout_seconds=60, - ) - async def actor_task_runs_last_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_last_log_get", - description="GET /v2/actor-tasks/{actorTaskId}/runs/last/log - Get last Actor task run's log", - tags=("Last Actor task run's log",), - timeout_seconds=60, - ) - async def actor_task_last_log_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_last_log_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_abort_post", - description="POST /v2/actor-tasks/{actorTaskId}/runs/last/abort - Abort Actor task's last run", - tags=("Last Actor task run's abort",), - timeout_seconds=120, - ) - async def actor_task_runs_last_abort_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_abort_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_metamorph_post", - description="POST /v2/actor-tasks/{actorTaskId}/runs/last/metamorph - Metamorph Actor task's last run", - tags=("Last Actor task run's metamorph",), - timeout_seconds=120, - ) - async def actor_task_runs_last_metamorph_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_metamorph_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_reboot_post", - description="POST /v2/actor-tasks/{actorTaskId}/runs/last/reboot - Reboot Actor task's last run", - tags=("Last Actor task run's reboot",), - timeout_seconds=120, - ) - async def actor_task_runs_last_reboot_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_reboot_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_dataset_get", - description="GET /v2/actor-tasks/{actorTaskId}/runs/last/dataset - Get last task run's default dataset", - tags=("Last Actor task run's default dataset",), - timeout_seconds=60, - ) - async def actor_task_runs_last_dataset_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_dataset_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_dataset_put", - description="PUT /v2/actor-tasks/{actorTaskId}/runs/last/dataset - Update last task run's default dataset", - tags=("Last Actor task run's default dataset",), - timeout_seconds=120, - ) - async def actor_task_runs_last_dataset_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_dataset_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_dataset_delete", - description="DELETE /v2/actor-tasks/{actorTaskId}/runs/last/dataset - Delete last task run's default dataset", - tags=("Last Actor task run's default dataset",), - timeout_seconds=120, - ) - async def actor_task_runs_last_dataset_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_dataset_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_dataset_items_get", - description="GET /v2/actor-tasks/{actorTaskId}/runs/last/dataset/items - Get last task run's dataset items", - tags=("Last Actor task run's default dataset",), - timeout_seconds=60, - ) - async def actor_task_runs_last_dataset_items_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_dataset_items_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_dataset_items_post", - description="POST /v2/actor-tasks/{actorTaskId}/runs/last/dataset/items - Store items in last task run's dataset", - tags=("Last Actor task run's default dataset",), - timeout_seconds=120, - ) - async def actor_task_runs_last_dataset_items_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_dataset_items_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_dataset_statistics_get", - description="GET /v2/actor-tasks/{actorTaskId}/runs/last/dataset/statistics - Get last task run's dataset statistics", - tags=("Last Actor task run's default dataset",), - timeout_seconds=60, - ) - async def actor_task_runs_last_dataset_statistics_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_dataset_statistics_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_key_value_store_get", - description="GET /v2/actor-tasks/{actorTaskId}/runs/last/key-value-store - Get last task run's default store", - tags=("Last Actor task run's default key-value store",), - timeout_seconds=60, - ) - async def actor_task_runs_last_key_value_store_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_key_value_store_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_key_value_store_put", - description="PUT /v2/actor-tasks/{actorTaskId}/runs/last/key-value-store - Update last task run's default store", - tags=("Last Actor task run's default key-value store",), - timeout_seconds=120, - ) - async def actor_task_runs_last_key_value_store_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_key_value_store_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_key_value_store_delete", - description="DELETE /v2/actor-tasks/{actorTaskId}/runs/last/key-value-store - Delete last task run's default store", - tags=("Last Actor task run's default key-value store",), - timeout_seconds=120, - ) - async def actor_task_runs_last_key_value_store_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_key_value_store_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_key_value_store_keys_get", - description="GET /v2/actor-tasks/{actorTaskId}/runs/last/key-value-store/keys - Get last task run's default store's list of keys", - tags=("Last Actor task run's default key-value store",), - timeout_seconds=60, - ) - async def actor_task_runs_last_key_value_store_keys_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_key_value_store_keys_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_key_value_store_records_get", - description="GET /v2/actor-tasks/{actorTaskId}/runs/last/key-value-store/records - Download last task run's default store's records", - tags=("Last Actor task run's default key-value store",), - timeout_seconds=60, - ) - async def actor_task_runs_last_key_value_store_records_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_key_value_store_records_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_key_value_store_record_get", - description="GET /v2/actor-tasks/{actorTaskId}/runs/last/key-value-store/records/{recordKey} - Get last task run's default store's record", - tags=("Last Actor task run's default key-value store",), - timeout_seconds=60, - ) - async def actor_task_runs_last_key_value_store_record_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_key_value_store_record_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_key_value_store_record_put", - description="PUT /v2/actor-tasks/{actorTaskId}/runs/last/key-value-store/records/{recordKey} - Store record in last task run's default store", - tags=("Last Actor task run's default key-value store",), - timeout_seconds=120, - ) - async def actor_task_runs_last_key_value_store_record_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_key_value_store_record_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_key_value_store_record_post", - description="POST /v2/actor-tasks/{actorTaskId}/runs/last/key-value-store/records/{recordKey} - Store record in last task run's default store (POST)", - tags=("Last Actor task run's default key-value store",), - timeout_seconds=120, - ) - async def actor_task_runs_last_key_value_store_record_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_key_value_store_record_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_key_value_store_record_delete", - description="DELETE /v2/actor-tasks/{actorTaskId}/runs/last/key-value-store/records/{recordKey} - Delete last task run's default store's record", - tags=("Last Actor task run's default key-value store",), - timeout_seconds=120, - ) - async def actor_task_runs_last_key_value_store_record_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_key_value_store_record_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_request_queue_get", - description="GET /v2/actor-tasks/{actorTaskId}/runs/last/request-queue - Get last task run's default request queue", - tags=("Last Actor task run's default request queue",), - timeout_seconds=60, - ) - async def actor_task_runs_last_request_queue_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_request_queue_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_request_queue_put", - description="PUT /v2/actor-tasks/{actorTaskId}/runs/last/request-queue - Update last task run's default request queue", - tags=("Last Actor task run's default request queue",), - timeout_seconds=120, - ) - async def actor_task_runs_last_request_queue_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_request_queue_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_request_queue_delete", - description="DELETE /v2/actor-tasks/{actorTaskId}/runs/last/request-queue - Delete last task run's default request queue", - tags=("Last Actor task run's default request queue",), - timeout_seconds=120, - ) - async def actor_task_runs_last_request_queue_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_request_queue_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_request_queue_head_get", - description="GET /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/head - Get last task run's default request queue head", - tags=("Last Actor task run's default request queue",), - timeout_seconds=60, - ) - async def actor_task_runs_last_request_queue_head_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_request_queue_head_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_request_queue_head_lock_post", - description="POST /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/head/lock - Get and lock last task run's default request queue head", - tags=("Last Actor task run's default request queue",), - timeout_seconds=120, - ) - async def actor_task_runs_last_request_queue_head_lock_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_request_queue_head_lock_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_request_queue_requests_get", - description="GET /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests - List last task run's default request queue's requests", - tags=("Last Actor task run's default request queue",), - timeout_seconds=60, - ) - async def actor_task_runs_last_request_queue_requests_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_request_queue_requests_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_request_queue_requests_post", - description="POST /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests - Add request to last task run's default request queue", - tags=("Last Actor task run's default request queue",), - timeout_seconds=120, - ) - async def actor_task_runs_last_request_queue_requests_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_request_queue_requests_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_request_queue_requests_batch_post", - description="POST /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/batch - Batch add requests to last task run's default request queue", - tags=("Last Actor task run's default request queue",), - timeout_seconds=120, - ) - async def actor_task_runs_last_request_queue_requests_batch_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_request_queue_requests_batch_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_request_queue_requests_batch_delete", - description="DELETE /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/batch - Batch delete requests from last task run's default request queue", - tags=("Last Actor task run's default request queue",), - timeout_seconds=120, - ) - async def actor_task_runs_last_request_queue_requests_batch_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_request_queue_requests_batch_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_request_queue_requests_unlock_post", - description="POST /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/unlock - Unlock requests in last task run's default request queue", - tags=("Last Actor task run's default request queue",), - timeout_seconds=120, - ) - async def actor_task_runs_last_request_queue_requests_unlock_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_request_queue_requests_unlock_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_request_queue_request_get", - description="GET /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/{requestId} - Get request from last task run's default request queue", - tags=("Last Actor task run's default request queue",), - timeout_seconds=60, - ) - async def actor_task_runs_last_request_queue_request_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_request_queue_request_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_request_queue_request_put", - description="PUT /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/{requestId} - Update request in last task run's default request queue", - tags=("Last Actor task run's default request queue",), - timeout_seconds=120, - ) - async def actor_task_runs_last_request_queue_request_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_request_queue_request_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_request_queue_request_delete", - description="DELETE /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/{requestId} - Delete request from last task run's default request queue", - tags=("Last Actor task run's default request queue",), - timeout_seconds=120, - ) - async def actor_task_runs_last_request_queue_request_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_request_queue_request_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_request_queue_request_lock_put", - description="PUT /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/{requestId}/lock - Prolong lock on request in last task run's default request queue", - tags=("Last Actor task run's default request queue",), - timeout_seconds=120, - ) - async def actor_task_runs_last_request_queue_request_lock_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_request_queue_request_lock_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_task_runs_last_request_queue_request_lock_delete", - description="DELETE /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/{requestId}/lock - Delete lock on request in last task run's default request queue", - tags=("Last Actor task run's default request queue",), - timeout_seconds=120, - ) - async def actor_task_runs_last_request_queue_request_lock_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_task_runs_last_request_queue_request_lock_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_runs_get", - description="GET /v2/actor-runs - Get user runs list", - tags=('Actor runs',), - timeout_seconds=60, - ) - async def actor_runs_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_runs_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_get", - description="GET /v2/actor-runs/{runId} - Get run", - tags=('Actor runs',), - timeout_seconds=60, - ) - async def actor_run_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_put", - description="PUT /v2/actor-runs/{runId} - Update run", - tags=('Actor runs',), - timeout_seconds=120, - ) - async def actor_run_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_delete", - description="DELETE /v2/actor-runs/{runId} - Delete run", - tags=('Actor runs',), - timeout_seconds=120, - ) - async def actor_run_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_abort_post", - description="POST /v2/actor-runs/{runId}/abort - Abort run", - tags=('Actor runs',), - timeout_seconds=120, - ) - async def actor_run_abort_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_abort_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_metamorph_post", - description="POST /v2/actor-runs/{runId}/metamorph - Metamorph run", - tags=('Actor runs',), - timeout_seconds=120, - ) - async def actor_run_metamorph_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_metamorph_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_reboot_post", - description="POST /v2/actor-runs/{runId}/reboot - Reboot run", - tags=('Actor runs',), - timeout_seconds=120, - ) - async def actor_run_reboot_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_reboot_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="post_resurrect_run", - description="POST /v2/actor-runs/{runId}/resurrect - Resurrect run", - tags=('Actor runs',), - timeout_seconds=120, - ) - async def post_resurrect_run( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "post_resurrect_run", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="post_charge_run", - description="POST /v2/actor-runs/{runId}/charge - Charge events in run", - tags=('Actor runs',), - timeout_seconds=120, - ) - async def post_charge_run( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "post_charge_run", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_dataset_get", - description="GET /v2/actor-runs/{runId}/dataset - Get default dataset", - tags=('Default dataset',), - timeout_seconds=60, - ) - async def actor_run_dataset_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_dataset_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_dataset_put", - description="PUT /v2/actor-runs/{runId}/dataset - Update default dataset", - tags=('Default dataset',), - timeout_seconds=120, - ) - async def actor_run_dataset_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_dataset_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_dataset_delete", - description="DELETE /v2/actor-runs/{runId}/dataset - Delete default dataset", - tags=('Default dataset',), - timeout_seconds=120, - ) - async def actor_run_dataset_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_dataset_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_dataset_items_get", - description="GET /v2/actor-runs/{runId}/dataset/items - Get default dataset items", - tags=('Default dataset',), - timeout_seconds=60, - ) - async def actor_run_dataset_items_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_dataset_items_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_dataset_items_post", - description="POST /v2/actor-runs/{runId}/dataset/items - Store items", - tags=('Default dataset',), - timeout_seconds=120, - ) - async def actor_run_dataset_items_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_dataset_items_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_dataset_statistics_get", - description="GET /v2/actor-runs/{runId}/dataset/statistics - Get default dataset statistics", - tags=('Default dataset',), - timeout_seconds=60, - ) - async def actor_run_dataset_statistics_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_dataset_statistics_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_key_value_store_get", - description="GET /v2/actor-runs/{runId}/key-value-store - Get default store", - tags=('Default key-value store',), - timeout_seconds=60, - ) - async def actor_run_key_value_store_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_key_value_store_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_key_value_store_put", - description="PUT /v2/actor-runs/{runId}/key-value-store - Update default store", - tags=('Default key-value store',), - timeout_seconds=120, - ) - async def actor_run_key_value_store_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_key_value_store_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_key_value_store_delete", - description="DELETE /v2/actor-runs/{runId}/key-value-store - Delete default store", - tags=('Default key-value store',), - timeout_seconds=120, - ) - async def actor_run_key_value_store_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_key_value_store_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_key_value_store_keys_get", - description="GET /v2/actor-runs/{runId}/key-value-store/keys - Get default store's list of keys", - tags=('Default key-value store',), - timeout_seconds=60, - ) - async def actor_run_key_value_store_keys_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_key_value_store_keys_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_key_value_store_records_get", - description="GET /v2/actor-runs/{runId}/key-value-store/records - Download default store's records", - tags=('Default key-value store',), - timeout_seconds=60, - ) - async def actor_run_key_value_store_records_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_key_value_store_records_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_key_value_store_record_get", - description="GET /v2/actor-runs/{runId}/key-value-store/records/{recordKey} - Get default store's record", - tags=('Default key-value store',), - timeout_seconds=60, - ) - async def actor_run_key_value_store_record_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_key_value_store_record_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_key_value_store_record_put", - description="PUT /v2/actor-runs/{runId}/key-value-store/records/{recordKey} - Store record in default store", - tags=('Default key-value store',), - timeout_seconds=120, - ) - async def actor_run_key_value_store_record_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_key_value_store_record_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_key_value_store_record_post", - description="POST /v2/actor-runs/{runId}/key-value-store/records/{recordKey} - Store record in default store (POST)", - tags=('Default key-value store',), - timeout_seconds=120, - ) - async def actor_run_key_value_store_record_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_key_value_store_record_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_key_value_store_record_delete", - description="DELETE /v2/actor-runs/{runId}/key-value-store/records/{recordKey} - Delete default store's record", - tags=('Default key-value store',), - timeout_seconds=120, - ) - async def actor_run_key_value_store_record_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_key_value_store_record_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_request_queue_get", - description="GET /v2/actor-runs/{runId}/request-queue - Get default request queue", - tags=('Default request queue',), - timeout_seconds=60, - ) - async def actor_run_request_queue_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_request_queue_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_request_queue_put", - description="PUT /v2/actor-runs/{runId}/request-queue - Update default request queue", - tags=('Default request queue',), - timeout_seconds=120, - ) - async def actor_run_request_queue_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_request_queue_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_request_queue_delete", - description="DELETE /v2/actor-runs/{runId}/request-queue - Delete default request queue", - tags=('Default request queue',), - timeout_seconds=120, - ) - async def actor_run_request_queue_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_request_queue_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_request_queue_requests_get", - description="GET /v2/actor-runs/{runId}/request-queue/requests - List default request queue's requests", - tags=('Default request queue',), - timeout_seconds=60, - ) - async def actor_run_request_queue_requests_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_request_queue_requests_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_request_queue_requests_post", - description="POST /v2/actor-runs/{runId}/request-queue/requests - Add request to default request queue", - tags=('Default request queue',), - timeout_seconds=120, - ) - async def actor_run_request_queue_requests_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_request_queue_requests_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_request_queue_requests_batch_post", - description="POST /v2/actor-runs/{runId}/request-queue/requests/batch - Batch add requests to default request queue", - tags=('Default request queue',), - timeout_seconds=120, - ) - async def actor_run_request_queue_requests_batch_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_request_queue_requests_batch_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_request_queue_requests_batch_delete", - description="DELETE /v2/actor-runs/{runId}/request-queue/requests/batch - Batch delete requests from default request queue", - tags=('Default request queue',), - timeout_seconds=120, - ) - async def actor_run_request_queue_requests_batch_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_request_queue_requests_batch_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_request_queue_requests_unlock_post", - description="POST /v2/actor-runs/{runId}/request-queue/requests/unlock - Unlock requests in default request queue", - tags=('Default request queue',), - timeout_seconds=120, - ) - async def actor_run_request_queue_requests_unlock_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_request_queue_requests_unlock_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_request_queue_request_get", - description="GET /v2/actor-runs/{runId}/request-queue/requests/{requestId} - Get request from default request queue", - tags=('Default request queue',), - timeout_seconds=60, - ) - async def actor_run_request_queue_request_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_request_queue_request_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_request_queue_request_put", - description="PUT /v2/actor-runs/{runId}/request-queue/requests/{requestId} - Update request in default request queue", - tags=('Default request queue',), - timeout_seconds=120, - ) - async def actor_run_request_queue_request_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_request_queue_request_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_request_queue_request_delete", - description="DELETE /v2/actor-runs/{runId}/request-queue/requests/{requestId} - Delete request from default request queue", - tags=('Default request queue',), - timeout_seconds=120, - ) - async def actor_run_request_queue_request_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_request_queue_request_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_request_queue_request_lock_put", - description="PUT /v2/actor-runs/{runId}/request-queue/requests/{requestId}/lock - Prolong lock on request in default request queue", - tags=('Default request queue',), - timeout_seconds=120, - ) - async def actor_run_request_queue_request_lock_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_request_queue_request_lock_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_request_queue_request_lock_delete", - description="DELETE /v2/actor-runs/{runId}/request-queue/requests/{requestId}/lock - Delete lock on request in default request queue", - tags=('Default request queue',), - timeout_seconds=120, - ) - async def actor_run_request_queue_request_lock_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_request_queue_request_lock_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_request_queue_head_get", - description="GET /v2/actor-runs/{runId}/request-queue/head - Get default request queue head", - tags=('Default request queue',), - timeout_seconds=60, - ) - async def actor_run_request_queue_head_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_request_queue_head_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_request_queue_head_lock_post", - description="POST /v2/actor-runs/{runId}/request-queue/head/lock - Get and lock default request queue head", - tags=('Default request queue',), - timeout_seconds=120, - ) - async def actor_run_request_queue_head_lock_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_request_queue_head_lock_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_run_log_get", - description="GET /v2/actor-runs/{runId}/log - Get run's log", - tags=('Actor runs',), - timeout_seconds=60, - ) - async def actor_run_log_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_run_log_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_builds_get", - description="GET /v2/actor-builds - Get user builds list", - tags=('Actor builds',), - timeout_seconds=60, - ) - async def actor_builds_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_builds_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_build_get", - description="GET /v2/actor-builds/{buildId} - Get build", - tags=('Actor builds',), - timeout_seconds=60, - ) - async def actor_build_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_build_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_build_delete", - description="DELETE /v2/actor-builds/{buildId} - Delete build", - tags=('Actor builds',), - timeout_seconds=120, - ) - async def actor_build_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_build_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_build_abort_post", - description="POST /v2/actor-builds/{buildId}/abort - Abort build", - tags=('Actor builds',), - timeout_seconds=120, - ) - async def actor_build_abort_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_build_abort_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_build_log_get", - description="GET /v2/actor-builds/{buildId}/log - Get build's Log", - tags=('Actor builds',), - timeout_seconds=60, - ) - async def actor_build_log_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_build_log_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="actor_build_openapi_json_get", - description="GET /v2/actor-builds/{buildId}/openapi.json - Get OpenAPI definition", - tags=('Actor builds',), - timeout_seconds=60, - ) - async def actor_build_openapi_json_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "actor_build_openapi_json_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="key_value_stores_get", - description="GET /v2/key-value-stores - Get list of key-value stores", - tags=('Storage/Key-value stores',), - timeout_seconds=60, - ) - async def key_value_stores_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "key_value_stores_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="key_value_stores_post", - description="POST /v2/key-value-stores - Create key-value store", - tags=('Storage/Key-value stores',), - timeout_seconds=120, - ) - async def key_value_stores_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "key_value_stores_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="key_value_store_get", - description="GET /v2/key-value-stores/{storeId} - Get store", - tags=('Storage/Key-value stores',), - timeout_seconds=60, - ) - async def key_value_store_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "key_value_store_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="key_value_store_put", - description="PUT /v2/key-value-stores/{storeId} - Update store", - tags=('Storage/Key-value stores',), - timeout_seconds=120, - ) - async def key_value_store_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "key_value_store_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="key_value_store_delete", - description="DELETE /v2/key-value-stores/{storeId} - Delete store", - tags=('Storage/Key-value stores',), - timeout_seconds=120, - ) - async def key_value_store_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "key_value_store_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="key_value_store_keys_get", - description="GET /v2/key-value-stores/{storeId}/keys - Get list of keys", - tags=('Storage/Key-value stores',), - timeout_seconds=60, - ) - async def key_value_store_keys_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "key_value_store_keys_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="key_value_store_records_get", - description="GET /v2/key-value-stores/{storeId}/records - Download records", - tags=('Storage/Key-value stores',), - timeout_seconds=60, - ) - async def key_value_store_records_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "key_value_store_records_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="key_value_store_record_get", - description="GET /v2/key-value-stores/{storeId}/records/{recordKey} - Get record", - tags=('Storage/Key-value stores',), - timeout_seconds=60, - ) - async def key_value_store_record_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "key_value_store_record_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="key_value_store_record_head", - description="HEAD /v2/key-value-stores/{storeId}/records/{recordKey} - Check if a record exists", - tags=('Storage/Key-value stores',), - timeout_seconds=60, - ) - async def key_value_store_record_head( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "key_value_store_record_head", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="key_value_store_record_put", - description="PUT /v2/key-value-stores/{storeId}/records/{recordKey} - Store record", - tags=('Storage/Key-value stores',), - timeout_seconds=120, - ) - async def key_value_store_record_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "key_value_store_record_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="key_value_store_record_post", - description="POST /v2/key-value-stores/{storeId}/records/{recordKey} - Store record (POST)", - tags=('Storage/Key-value stores',), - timeout_seconds=120, - ) - async def key_value_store_record_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "key_value_store_record_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="key_value_store_record_delete", - description="DELETE /v2/key-value-stores/{storeId}/records/{recordKey} - Delete record", - tags=('Storage/Key-value stores',), - timeout_seconds=120, - ) - async def key_value_store_record_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "key_value_store_record_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="datasets_get", - description="GET /v2/datasets - Get list of datasets", - tags=('Storage/Datasets',), - timeout_seconds=60, - ) - async def datasets_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "datasets_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="datasets_post", - description="POST /v2/datasets - Create dataset", - tags=('Storage/Datasets',), - timeout_seconds=120, - ) - async def datasets_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "datasets_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="dataset_get", - description="GET /v2/datasets/{datasetId} - Get dataset", - tags=('Storage/Datasets',), - timeout_seconds=60, - ) - async def dataset_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "dataset_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="dataset_put", - description="PUT /v2/datasets/{datasetId} - Update dataset", - tags=('Storage/Datasets',), - timeout_seconds=120, - ) - async def dataset_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "dataset_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="dataset_delete", - description="DELETE /v2/datasets/{datasetId} - Delete dataset", - tags=('Storage/Datasets',), - timeout_seconds=120, - ) - async def dataset_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "dataset_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="dataset_items_get", - description="GET /v2/datasets/{datasetId}/items - Get dataset items", - tags=('Storage/Datasets',), - timeout_seconds=60, - ) - async def dataset_items_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "dataset_items_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="dataset_items_head", - description="HEAD /v2/datasets/{datasetId}/items - Get dataset items headers", - tags=('Storage/Datasets',), - timeout_seconds=60, - ) - async def dataset_items_head( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "dataset_items_head", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="dataset_items_post", - description="POST /v2/datasets/{datasetId}/items - Store items", - tags=('Storage/Datasets',), - timeout_seconds=120, - ) - async def dataset_items_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "dataset_items_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="dataset_statistics_get", - description="GET /v2/datasets/{datasetId}/statistics - Get dataset statistics", - tags=('Storage/Datasets',), - timeout_seconds=60, - ) - async def dataset_statistics_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "dataset_statistics_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="request_queues_get", - description="GET /v2/request-queues - Get list of request queues", - tags=('Storage/Request queues',), - timeout_seconds=60, - ) - async def request_queues_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "request_queues_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="request_queues_post", - description="POST /v2/request-queues - Create request queue", - tags=('Storage/Request queues',), - timeout_seconds=120, - ) - async def request_queues_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "request_queues_post", - parameters=parameters or {}, - body=body, - ) - @skill( - name="request_queue_get", - description="GET /v2/request-queues/{queueId} - Get request queue", - tags=('Storage/Request queues',), - timeout_seconds=60, - ) - async def request_queue_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "request_queue_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="request_queue_put", - description="PUT /v2/request-queues/{queueId} - Update request queue", - tags=('Storage/Request queues',), - timeout_seconds=120, - ) - async def request_queue_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "request_queue_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="request_queue_delete", - description="DELETE /v2/request-queues/{queueId} - Delete request queue", - tags=('Storage/Request queues',), - timeout_seconds=120, - ) - async def request_queue_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "request_queue_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="request_queue_requests_batch_post", - description="POST /v2/request-queues/{queueId}/requests/batch - Add requests", - tags=('Storage/Request queues',), - timeout_seconds=120, - ) - async def request_queue_requests_batch_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "request_queue_requests_batch_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="request_queue_requests_batch_delete", - description="DELETE /v2/request-queues/{queueId}/requests/batch - Delete requests", - tags=('Storage/Request queues',), - timeout_seconds=120, - ) - async def request_queue_requests_batch_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "request_queue_requests_batch_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="request_queue_requests_unlock_post", - description="POST /v2/request-queues/{queueId}/requests/unlock - Unlock requests", - tags=('Storage/Request queues/Requests locks',), - timeout_seconds=120, - ) - async def request_queue_requests_unlock_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "request_queue_requests_unlock_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="request_queue_requests_get", - description="GET /v2/request-queues/{queueId}/requests - List requests", - tags=('Storage/Request queues/Requests',), - timeout_seconds=60, - ) - async def request_queue_requests_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "request_queue_requests_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="request_queue_requests_post", - description="POST /v2/request-queues/{queueId}/requests - Add request", - tags=('Storage/Request queues/Requests',), - timeout_seconds=120, - ) - async def request_queue_requests_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "request_queue_requests_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="request_queue_request_get", - description="GET /v2/request-queues/{queueId}/requests/{requestId} - Get request", - tags=('Storage/Request queues/Requests',), - timeout_seconds=60, - ) - async def request_queue_request_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "request_queue_request_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="request_queue_request_put", - description="PUT /v2/request-queues/{queueId}/requests/{requestId} - Update request", - tags=('Storage/Request queues/Requests',), - timeout_seconds=120, - ) - async def request_queue_request_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "request_queue_request_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="request_queue_request_delete", - description="DELETE /v2/request-queues/{queueId}/requests/{requestId} - Delete request", - tags=('Storage/Request queues/Requests',), - timeout_seconds=120, - ) - async def request_queue_request_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "request_queue_request_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="request_queue_head_get", - description="GET /v2/request-queues/{queueId}/head - Get head", - tags=('Storage/Request queues/Requests locks',), - timeout_seconds=60, - ) - async def request_queue_head_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "request_queue_head_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="request_queue_head_lock_post", - description="POST /v2/request-queues/{queueId}/head/lock - Get head and lock", - tags=('Storage/Request queues/Requests locks',), - timeout_seconds=120, - ) - async def request_queue_head_lock_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "request_queue_head_lock_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="request_queue_request_lock_put", - description="PUT /v2/request-queues/{queueId}/requests/{requestId}/lock - Prolong request lock", - tags=('Storage/Request queues/Requests locks',), - timeout_seconds=120, - ) - async def request_queue_request_lock_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "request_queue_request_lock_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="request_queue_request_lock_delete", - description="DELETE /v2/request-queues/{queueId}/requests/{requestId}/lock - Delete request lock", - tags=('Storage/Request queues/Requests locks',), - timeout_seconds=120, - ) - async def request_queue_request_lock_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "request_queue_request_lock_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="webhooks_get", - description="GET /v2/webhooks - Get list of webhooks", - tags=('Webhooks/Webhooks',), - timeout_seconds=60, - ) - async def webhooks_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "webhooks_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="webhooks_post", - description="POST /v2/webhooks - Create webhook", - tags=('Webhooks/Webhooks',), - timeout_seconds=120, - ) - async def webhooks_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "webhooks_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="webhook_get", - description="GET /v2/webhooks/{webhookId} - Get webhook", - tags=('Webhooks/Webhooks',), - timeout_seconds=60, - ) - async def webhook_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "webhook_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="webhook_put", - description="PUT /v2/webhooks/{webhookId} - Update webhook", - tags=('Webhooks/Webhooks',), - timeout_seconds=120, - ) - async def webhook_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "webhook_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="webhook_delete", - description="DELETE /v2/webhooks/{webhookId} - Delete webhook", - tags=('Webhooks/Webhooks',), - timeout_seconds=120, - ) - async def webhook_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "webhook_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="webhook_test_post", - description="POST /v2/webhooks/{webhookId}/test - Test webhook", - tags=('Webhooks/Webhooks',), - timeout_seconds=120, - ) - async def webhook_test_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "webhook_test_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="webhook_webhook_dispatches_get", - description="GET /v2/webhooks/{webhookId}/dispatches - Get collection", - tags=('Webhooks/Webhooks',), - timeout_seconds=60, - ) - async def webhook_webhook_dispatches_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "webhook_webhook_dispatches_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="webhook_dispatches_get", - description="GET /v2/webhook-dispatches - Get list of webhook dispatches", - tags=('Webhooks/Webhook dispatches',), - timeout_seconds=60, - ) - async def webhook_dispatches_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "webhook_dispatches_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="webhook_dispatch_get", - description="GET /v2/webhook-dispatches/{dispatchId} - Get webhook dispatch", - tags=('Webhooks/Webhook dispatches',), - timeout_seconds=60, - ) - async def webhook_dispatch_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "webhook_dispatch_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="schedules_get", - description="GET /v2/schedules - Get list of schedules", - tags=('Schedules',), - timeout_seconds=60, - ) - async def schedules_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "schedules_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="schedules_post", - description="POST /v2/schedules - Create schedule", - tags=('Schedules',), - timeout_seconds=120, - ) - async def schedules_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "schedules_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="schedule_get", - description="GET /v2/schedules/{scheduleId} - Get schedule", - tags=('Schedules',), - timeout_seconds=60, - ) - async def schedule_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "schedule_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="schedule_put", - description="PUT /v2/schedules/{scheduleId} - Update schedule", - tags=('Schedules',), - timeout_seconds=120, - ) - async def schedule_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "schedule_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="schedule_delete", - description="DELETE /v2/schedules/{scheduleId} - Delete schedule", - tags=('Schedules',), - timeout_seconds=120, - ) - async def schedule_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "schedule_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="schedule_log_get", - description="GET /v2/schedules/{scheduleId}/log - Get schedule log", - tags=('Schedules',), - timeout_seconds=60, - ) - async def schedule_log_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "schedule_log_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="store_get", - description="GET /v2/store - Get list of Actors in Store", - tags=('Store',), - timeout_seconds=60, - ) - async def store_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "store_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="log_get", - description="GET /v2/logs/{buildOrRunId} - Get log", - tags=('Logs',), - timeout_seconds=60, - ) - async def log_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "log_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="user_get", - description="GET /v2/users/{userId} - Get public user data", - tags=('Users',), - timeout_seconds=60, - ) - async def user_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "user_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="users_me_get", - description="GET /v2/users/me - Get private user data", - tags=('Users',), - timeout_seconds=60, - ) - async def users_me_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "users_me_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="users_me_usage_monthly_get", - description="GET /v2/users/me/usage/monthly - Get monthly usage", - tags=('Users',), - timeout_seconds=60, - ) - async def users_me_usage_monthly_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "users_me_usage_monthly_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="users_me_limits_get", - description="GET /v2/users/me/limits - Get limits", - tags=('Users',), - timeout_seconds=60, - ) - async def users_me_limits_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "users_me_limits_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="users_me_limits_put", - description="PUT /v2/users/me/limits - Update limits", - tags=('Users',), - timeout_seconds=120, - ) - async def users_me_limits_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "users_me_limits_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="tools_browser_info_get", - description="GET /v2/browser-info - Get browser info", - tags=('Tools',), - timeout_seconds=60, - ) - async def tools_browser_info_get( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "tools_browser_info_get", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="tools_browser_info_post", - description="POST /v2/browser-info - Get browser info", - tags=('Tools',), - timeout_seconds=120, - ) - async def tools_browser_info_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "tools_browser_info_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="tools_browser_info_put", - description="PUT /v2/browser-info - Get browser info", - tags=('Tools',), - timeout_seconds=120, - ) - async def tools_browser_info_put( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "tools_browser_info_put", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="tools_browser_info_delete", - description="DELETE /v2/browser-info - Get browser info", - tags=('Tools',), - timeout_seconds=120, - ) - async def tools_browser_info_delete( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "tools_browser_info_delete", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="tools_encode_and_sign_post", - description="POST /v2/tools/encode-and-sign - Encode and sign object", - tags=('Tools',), - timeout_seconds=120, - ) - async def tools_encode_and_sign_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "tools_encode_and_sign_post", - parameters=parameters or {}, - body=body, - ) - - @skill( - name="tools_decode_and_verify_post", - description="POST /v2/tools/decode-and-verify - Decode and verify object", - tags=('Tools',), - timeout_seconds=120, - ) - async def tools_decode_and_verify_post( - self, - ctx: RunContext, - parameters: dict[str, Any] | None = None, - body: Any | None = None, - ) -> dict[str, Any]: - return await self._request( - ctx, - "tools_decode_and_verify_post", - parameters=parameters or {}, - body=body, - ) - def _operation_tools(self, ctx: RunContext) -> list[StructuredTool]: + def _operation_subagents(self, ctx: RunContext, skills_root: str) -> list[dict[str, Any]]: + subagents: list[dict[str, Any]] = [] + for group in OPERATION_GROUPS: + skill_path = ( + f"{skills_root}{group['skill_dir']}/" + if skills_root + else "" + ) + subagent = { + "name": group["subagent_name"], + "description": group["description"], + "system_prompt": self._subagent_prompt(group), + "tools": self._operation_tools(ctx, set(group["operation_ids"])), + } + if skill_path: + subagent["skills"] = [skill_path] + subagents.append(subagent) + return subagents + + def _operation_tools( + self, + ctx: RunContext, + operation_ids: set[str] | None = None, + ) -> list[StructuredTool]: tools: list[StructuredTool] = [] for operation_id, operation in OPERATIONS.items(): + if operation_ids is not None and operation_id not in operation_ids: + continue async def call( parameters: dict[str, Any] | None = None, body: Any | None = None, @@ -4531,6 +178,21 @@ class ApifyApi(A2AAgent): return tools def _system_prompt(self) -> str: + if OPERATION_GROUPS: + lines = [ + "You coordinate route-specific OpenAPI subagents.", + "Delegate API work to the matching subagent with the task tool.", + "Do not invent API responses; ask subagents to call their tools for real results.", + "If a subagent reports missing consumer setup, tell the user which setup field is required.", + "If a subagent reports that the generated OpenAPI agent may be stale, ask whether the user wants to refresh it from the latest OpenAPI spec.", + "", + "Available route groups:", + ] + for group in OPERATION_GROUPS: + lines.append( + f"- {group['subagent_name']}: {group['description']}" + ) + return "\n".join(lines) lines = [ "You operate an API through generated OpenAPI tools.", "Call tools to get real results. Do not invent API responses.", @@ -4547,6 +209,27 @@ class ApifyApi(A2AAgent): ) return "\n".join(lines) + def _subagent_prompt(self, group: dict[str, Any]) -> str: + lines = [ + "You operate one route group from a generated OpenAPI API.", + "Use the available operation tools to make real API calls. Do not invent API responses.", + "Read the route group's SKILL.md when it applies; it lists every route you cover.", + "For write, update, or delete operations, explain the intended action before calling the tool.", + "If an operation reports missing consumer setup, return the exact setup field name.", + "If an operation returns 404, 405, 410, or a schema/validation error that suggests the live API no longer matches these tools, say the generated agent may need to be refreshed from the latest OpenAPI spec.", + "", + f"Route group: {group['label']}", + f"Common prefix: {group.get('common_prefix') or '/'}", + "Available operation tools:", + ] + for operation_id in group["operation_ids"]: + operation = OPERATIONS[operation_id] + marker = "WRITE" if operation.get("destructive") else "READ" + lines.append( + f"- {operation['skill_name']}: {marker} {operation['method']} {operation['path']} - {operation['summary']}" + ) + return "\n".join(lines) + def _tool_description(self, operation: dict[str, Any]) -> str: parts = [ f"{operation['method']} {operation['path']}", @@ -4718,6 +401,32 @@ def _consumer_secret_optional(ctx: RunContext, name: str | None) -> str: return "" +def _runtime_skills_root(ctx: RunContext) -> str: + workspace = getattr(ctx, "_workspace", None) + prefixes = tuple(getattr(workspace, "write_prefixes", ()) or ()) + if not prefixes: + outputs_prefix = getattr(workspace, "outputs_prefix", None) + prefixes = (outputs_prefix or "outputs/",) + prefix = str(prefixes[0]).strip("/") + return f"/{prefix}/{RUNTIME_SKILLS_DIR}" if prefix else f"/{RUNTIME_SKILLS_DIR}" + + +def _seed_runtime_skills(backend: Any, ctx: RunContext) -> str: + if not SOURCE_SKILLS_DIR.exists(): + return "" + runtime_root = _runtime_skills_root(ctx) + uploads: list[tuple[str, bytes]] = [] + for path in SOURCE_SKILLS_DIR.rglob("*"): + if not path.is_file(): + continue + rel = path.relative_to(SOURCE_SKILLS_DIR).as_posix() + uploads.append((runtime_root + rel, path.read_bytes())) + if not uploads: + return "" + backend.upload_files(uploads) + return runtime_root + + def _message_text(message: Any) -> Any: content = getattr(message, "content", message) return content diff --git a/skills/actor-builds/SKILL.md b/skills/actor-builds/SKILL.md new file mode 100644 index 0000000..db66858 --- /dev/null +++ b/skills/actor-builds/SKILL.md @@ -0,0 +1,73 @@ +--- +name: actor-builds-routes +description: Handle 6 OpenAPI operation(s) under /v2/actor-builds for the actor builds route group. +--- + +# actor builds API Routes + +Handle 6 OpenAPI operation(s) under /v2/actor-builds for the actor builds route group. + +Use the generated operation tools to make real API calls. Do not invent API responses. +If a tool reports missing setup, return the exact setup field name to the caller. +For write, update, or delete operations, state the intended action before calling the tool. + +## Operations + +### actor_builds_get + +- Operation ID: `actor_builds_get` +- Route: `GET /v2/actor-builds` +- Mode: READ +- Summary: Get user builds list +- Parameters: + - `offset` in `query` + - `limit` in `query` + - `desc` in `query` + +### actor_build_get + +- Operation ID: `actor_build_get` +- Route: `GET /v2/actor-builds/{buildId}` +- Mode: READ +- Summary: Get build +- Parameters: + - `buildId` in `path` required + - `waitForFinish` in `query` + +### actor_build_delete + +- Operation ID: `actor_build_delete` +- Route: `DELETE /v2/actor-builds/{buildId}` +- Mode: WRITE +- Summary: Delete build +- Parameters: + - `buildId` in `path` required + +### actor_build_abort_post + +- Operation ID: `actor_build_abort_post` +- Route: `POST /v2/actor-builds/{buildId}/abort` +- Mode: WRITE +- Summary: Abort build +- Parameters: + - `buildId` in `path` required + +### actor_build_log_get + +- Operation ID: `actor_build_log_get` +- Route: `GET /v2/actor-builds/{buildId}/log` +- Mode: READ +- Summary: Get build's Log +- Parameters: + - `buildId` in `path` required + - `stream` in `query` + - `download` in `query` + +### actor_build_openapi_json_get + +- Operation ID: `actor_build_openapi_json_get` +- Route: `GET /v2/actor-builds/{buildId}/openapi.json` +- Mode: READ +- Summary: Get OpenAPI definition +- Parameters: + - `buildId` in `path` required diff --git a/skills/actor-runs/SKILL.md b/skills/actor-runs/SKILL.md new file mode 100644 index 0000000..0520b42 --- /dev/null +++ b/skills/actor-runs/SKILL.md @@ -0,0 +1,475 @@ +--- +name: actor-runs-routes +description: Handle 40 OpenAPI operation(s) under /v2/actor-runs for the actor runs route group. +--- + +# actor runs API Routes + +Handle 40 OpenAPI operation(s) under /v2/actor-runs for the actor runs route group. + +Use the generated operation tools to make real API calls. Do not invent API responses. +If a tool reports missing setup, return the exact setup field name to the caller. +For write, update, or delete operations, state the intended action before calling the tool. + +## Operations + +### actor_runs_get + +- Operation ID: `actor_runs_get` +- Route: `GET /v2/actor-runs` +- Mode: READ +- Summary: Get user runs list +- Parameters: + - `offset` in `query` + - `limit` in `query` + - `desc` in `query` + - `status` in `query` + - `startedAfter` in `query` + - `startedBefore` in `query` + +### actor_run_get + +- Operation ID: `actor_run_get` +- Route: `GET /v2/actor-runs/{runId}` +- Mode: READ +- Summary: Get run +- Parameters: + - `runId` in `path` required + - `waitForFinish` in `query` + +### actor_run_put + +- Operation ID: `actor_run_put` +- Route: `PUT /v2/actor-runs/{runId}` +- Mode: WRITE +- Summary: Update run +- Parameters: + - `runId` in `path` required +- Body: JSON request body accepted. + +### actor_run_delete + +- Operation ID: `actor_run_delete` +- Route: `DELETE /v2/actor-runs/{runId}` +- Mode: WRITE +- Summary: Delete run +- Parameters: + - `runId` in `path` required + +### actor_run_abort_post + +- Operation ID: `actor_run_abort_post` +- Route: `POST /v2/actor-runs/{runId}/abort` +- Mode: WRITE +- Summary: Abort run +- Parameters: + - `runId` in `path` required + - `gracefully` in `query` + +### actor_run_metamorph_post + +- Operation ID: `actor_run_metamorph_post` +- Route: `POST /v2/actor-runs/{runId}/metamorph` +- Mode: WRITE +- Summary: Metamorph run +- Parameters: + - `runId` in `path` required + - `targetActorId` in `query` required + - `build` in `query` + +### actor_run_reboot_post + +- Operation ID: `actor_run_reboot_post` +- Route: `POST /v2/actor-runs/{runId}/reboot` +- Mode: WRITE +- Summary: Reboot run +- Parameters: + - `runId` in `path` required + +### post_resurrect_run + +- Operation ID: `post_resurrect_run` +- Route: `POST /v2/actor-runs/{runId}/resurrect` +- Mode: WRITE +- Summary: Resurrect run +- Parameters: + - `runId` in `path` required + - `build` in `query` + - `timeout` in `query` + - `memory` in `query` + - `maxItems` in `query` + - `maxTotalChargeUsd` in `query` + - `restartOnError` in `query` + +### post_charge_run + +- Operation ID: `post_charge_run` +- Route: `POST /v2/actor-runs/{runId}/charge` +- Mode: WRITE +- Summary: Charge events in run +- Parameters: + - `runId` in `path` required + - `idempotency-key` in `header` +- Body: JSON request body accepted. + +### actor_run_dataset_get + +- Operation ID: `actor_run_dataset_get` +- Route: `GET /v2/actor-runs/{runId}/dataset` +- Mode: READ +- Summary: Get default dataset +- Parameters: + - `runId` in `path` required + +### actor_run_dataset_put + +- Operation ID: `actor_run_dataset_put` +- Route: `PUT /v2/actor-runs/{runId}/dataset` +- Mode: WRITE +- Summary: Update default dataset +- Parameters: + - `runId` in `path` required +- Body: JSON request body accepted. + +### actor_run_dataset_delete + +- Operation ID: `actor_run_dataset_delete` +- Route: `DELETE /v2/actor-runs/{runId}/dataset` +- Mode: WRITE +- Summary: Delete default dataset +- Parameters: + - `runId` in `path` required + +### actor_run_dataset_items_get + +- Operation ID: `actor_run_dataset_items_get` +- Route: `GET /v2/actor-runs/{runId}/dataset/items` +- Mode: READ +- Summary: Get default dataset items +- Parameters: + - `runId` in `path` required + - `format` in `query` + - `clean` in `query` + - `offset` in `query` + - `limit` in `query` + - `fields` in `query` + - `outputFields` in `query` + - `omit` in `query` + - `unwind` in `query` + - `flatten` in `query` + - `desc` in `query` + - `attachment` in `query` + - `delimiter` in `query` + - `bom` in `query` + - `xmlRoot` in `query` + - `xmlRow` in `query` + - `skipHeaderRow` in `query` + - `skipHidden` in `query` + - `skipEmpty` in `query` + - `simplified` in `query` + - `view` in `query` + - `skipFailedPages` in `query` + - `feedTitle` in `query` + - `feedDescription` in `query` + - `signature` in `query` + +### actor_run_dataset_items_post + +- Operation ID: `actor_run_dataset_items_post` +- Route: `POST /v2/actor-runs/{runId}/dataset/items` +- Mode: WRITE +- Summary: Store items +- Parameters: + - `runId` in `path` required +- Body: JSON request body accepted. + +### actor_run_dataset_statistics_get + +- Operation ID: `actor_run_dataset_statistics_get` +- Route: `GET /v2/actor-runs/{runId}/dataset/statistics` +- Mode: READ +- Summary: Get default dataset statistics +- Parameters: + - `runId` in `path` required + +### actor_run_key_value_store_get + +- Operation ID: `actor_run_key_value_store_get` +- Route: `GET /v2/actor-runs/{runId}/key-value-store` +- Mode: READ +- Summary: Get default store +- Parameters: + - `runId` in `path` required + +### actor_run_key_value_store_put + +- Operation ID: `actor_run_key_value_store_put` +- Route: `PUT /v2/actor-runs/{runId}/key-value-store` +- Mode: WRITE +- Summary: Update default store +- Parameters: + - `runId` in `path` required +- Body: JSON request body accepted. + +### actor_run_key_value_store_delete + +- Operation ID: `actor_run_key_value_store_delete` +- Route: `DELETE /v2/actor-runs/{runId}/key-value-store` +- Mode: WRITE +- Summary: Delete default store +- Parameters: + - `runId` in `path` required + +### actor_run_key_value_store_keys_get + +- Operation ID: `actor_run_key_value_store_keys_get` +- Route: `GET /v2/actor-runs/{runId}/key-value-store/keys` +- Mode: READ +- Summary: Get default store's list of keys +- Parameters: + - `runId` in `path` required + - `exclusiveStartKey` in `query` + - `limit` in `query` + - `collection` in `query` + - `prefix` in `query` + - `signature` in `query` + +### actor_run_key_value_store_records_get + +- Operation ID: `actor_run_key_value_store_records_get` +- Route: `GET /v2/actor-runs/{runId}/key-value-store/records` +- Mode: READ +- Summary: Download default store's records +- Parameters: + - `runId` in `path` required + - `collection` in `query` + - `prefix` in `query` + - `signature` in `query` + +### actor_run_key_value_store_record_get + +- Operation ID: `actor_run_key_value_store_record_get` +- Route: `GET /v2/actor-runs/{runId}/key-value-store/records/{recordKey}` +- Mode: READ +- Summary: Get default store's record +- Parameters: + - `runId` in `path` required + - `recordKey` in `path` required + - `signature` in `query` + - `attachment` in `query` + +### actor_run_key_value_store_record_put + +- Operation ID: `actor_run_key_value_store_record_put` +- Route: `PUT /v2/actor-runs/{runId}/key-value-store/records/{recordKey}` +- Mode: WRITE +- Summary: Store record in default store +- Parameters: + - `runId` in `path` required + - `recordKey` in `path` required + - `Content-Encoding` in `header` +- Body: JSON request body accepted. + +### actor_run_key_value_store_record_post + +- Operation ID: `actor_run_key_value_store_record_post` +- Route: `POST /v2/actor-runs/{runId}/key-value-store/records/{recordKey}` +- Mode: WRITE +- Summary: Store record in default store (POST) +- Parameters: + - `runId` in `path` required + - `recordKey` in `path` required + - `Content-Encoding` in `header` +- Body: JSON request body accepted. + +### actor_run_key_value_store_record_delete + +- Operation ID: `actor_run_key_value_store_record_delete` +- Route: `DELETE /v2/actor-runs/{runId}/key-value-store/records/{recordKey}` +- Mode: WRITE +- Summary: Delete default store's record +- Parameters: + - `runId` in `path` required + - `recordKey` in `path` required + +### actor_run_request_queue_get + +- Operation ID: `actor_run_request_queue_get` +- Route: `GET /v2/actor-runs/{runId}/request-queue` +- Mode: READ +- Summary: Get default request queue +- Parameters: + - `runId` in `path` required + +### actor_run_request_queue_put + +- Operation ID: `actor_run_request_queue_put` +- Route: `PUT /v2/actor-runs/{runId}/request-queue` +- Mode: WRITE +- Summary: Update default request queue +- Parameters: + - `runId` in `path` required +- Body: JSON request body accepted. + +### actor_run_request_queue_delete + +- Operation ID: `actor_run_request_queue_delete` +- Route: `DELETE /v2/actor-runs/{runId}/request-queue` +- Mode: WRITE +- Summary: Delete default request queue +- Parameters: + - `runId` in `path` required + +### actor_run_request_queue_requests_get + +- Operation ID: `actor_run_request_queue_requests_get` +- Route: `GET /v2/actor-runs/{runId}/request-queue/requests` +- Mode: READ +- Summary: List default request queue's requests +- Parameters: + - `runId` in `path` required + - `clientKey` in `query` + - `exclusiveStartId` in `query` + - `limit` in `query` + - `cursor` in `query` + - `filter` in `query` + +### actor_run_request_queue_requests_post + +- Operation ID: `actor_run_request_queue_requests_post` +- Route: `POST /v2/actor-runs/{runId}/request-queue/requests` +- Mode: WRITE +- Summary: Add request to default request queue +- Parameters: + - `runId` in `path` required + - `clientKey` in `query` + - `forefront` in `query` +- Body: JSON request body accepted. + +### actor_run_request_queue_requests_batch_post + +- Operation ID: `actor_run_request_queue_requests_batch_post` +- Route: `POST /v2/actor-runs/{runId}/request-queue/requests/batch` +- Mode: WRITE +- Summary: Batch add requests to default request queue +- Parameters: + - `runId` in `path` required + - `clientKey` in `query` + - `forefront` in `query` +- Body: JSON request body accepted. + +### actor_run_request_queue_requests_batch_delete + +- Operation ID: `actor_run_request_queue_requests_batch_delete` +- Route: `DELETE /v2/actor-runs/{runId}/request-queue/requests/batch` +- Mode: WRITE +- Summary: Batch delete requests from default request queue +- Parameters: + - `runId` in `path` required + - `Content-Type` in `header` required + - `clientKey` in `query` +- Body: JSON request body accepted. + +### actor_run_request_queue_requests_unlock_post + +- Operation ID: `actor_run_request_queue_requests_unlock_post` +- Route: `POST /v2/actor-runs/{runId}/request-queue/requests/unlock` +- Mode: WRITE +- Summary: Unlock requests in default request queue +- Parameters: + - `runId` in `path` required + - `clientKey` in `query` + +### actor_run_request_queue_request_get + +- Operation ID: `actor_run_request_queue_request_get` +- Route: `GET /v2/actor-runs/{runId}/request-queue/requests/{requestId}` +- Mode: READ +- Summary: Get request from default request queue +- Parameters: + - `runId` in `path` required + - `requestId` in `path` required + +### actor_run_request_queue_request_put + +- Operation ID: `actor_run_request_queue_request_put` +- Route: `PUT /v2/actor-runs/{runId}/request-queue/requests/{requestId}` +- Mode: WRITE +- Summary: Update request in default request queue +- Parameters: + - `runId` in `path` required + - `requestId` in `path` required + - `forefront` in `query` + - `clientKey` in `query` +- Body: JSON request body accepted. + +### actor_run_request_queue_request_delete + +- Operation ID: `actor_run_request_queue_request_delete` +- Route: `DELETE /v2/actor-runs/{runId}/request-queue/requests/{requestId}` +- Mode: WRITE +- Summary: Delete request from default request queue +- Parameters: + - `runId` in `path` required + - `requestId` in `path` required + - `clientKey` in `query` + +### actor_run_request_queue_request_lock_put + +- Operation ID: `actor_run_request_queue_request_lock_put` +- Route: `PUT /v2/actor-runs/{runId}/request-queue/requests/{requestId}/lock` +- Mode: WRITE +- Summary: Prolong lock on request in default request queue +- Parameters: + - `runId` in `path` required + - `requestId` in `path` required + - `lockSecs` in `query` required + - `clientKey` in `query` + - `forefront` in `query` + +### actor_run_request_queue_request_lock_delete + +- Operation ID: `actor_run_request_queue_request_lock_delete` +- Route: `DELETE /v2/actor-runs/{runId}/request-queue/requests/{requestId}/lock` +- Mode: WRITE +- Summary: Delete lock on request in default request queue +- Parameters: + - `runId` in `path` required + - `requestId` in `path` required + - `clientKey` in `query` + - `forefront` in `query` + +### actor_run_request_queue_head_get + +- Operation ID: `actor_run_request_queue_head_get` +- Route: `GET /v2/actor-runs/{runId}/request-queue/head` +- Mode: READ +- Summary: Get default request queue head +- Parameters: + - `runId` in `path` required + - `limit` in `query` + - `clientKey` in `query` + +### actor_run_request_queue_head_lock_post + +- Operation ID: `actor_run_request_queue_head_lock_post` +- Route: `POST /v2/actor-runs/{runId}/request-queue/head/lock` +- Mode: WRITE +- Summary: Get and lock default request queue head +- Parameters: + - `runId` in `path` required + - `lockSecs` in `query` required + - `limit` in `query` + - `clientKey` in `query` + +### actor_run_log_get + +- Operation ID: `actor_run_log_get` +- Route: `GET /v2/actor-runs/{runId}/log` +- Mode: READ +- Summary: Get run's log +- Parameters: + - `runId` in `path` required + - `stream` in `query` + - `download` in `query` + - `raw` in `query` diff --git a/skills/actor-tasks/SKILL.md b/skills/actor-tasks/SKILL.md new file mode 100644 index 0000000..da77a89 --- /dev/null +++ b/skills/actor-tasks/SKILL.md @@ -0,0 +1,669 @@ +--- +name: actor-tasks-routes +description: Handle 49 OpenAPI operation(s) under /v2/actor-tasks for the actor tasks route group. +--- + +# actor tasks API Routes + +Handle 49 OpenAPI operation(s) under /v2/actor-tasks for the actor tasks route group. + +Use the generated operation tools to make real API calls. Do not invent API responses. +If a tool reports missing setup, return the exact setup field name to the caller. +For write, update, or delete operations, state the intended action before calling the tool. + +## Operations + +### actor_tasks_get + +- Operation ID: `actor_tasks_get` +- Route: `GET /v2/actor-tasks` +- Mode: READ +- Summary: Get list of tasks +- Parameters: + - `offset` in `query` + - `limit` in `query` + - `desc` in `query` + +### actor_tasks_post + +- Operation ID: `actor_tasks_post` +- Route: `POST /v2/actor-tasks` +- Mode: WRITE +- Summary: Create task +- Body: JSON request body accepted. + +### actor_task_get + +- Operation ID: `actor_task_get` +- Route: `GET /v2/actor-tasks/{actorTaskId}` +- Mode: READ +- Summary: Get task +- Parameters: + - `actorTaskId` in `path` required + +### actor_task_put + +- Operation ID: `actor_task_put` +- Route: `PUT /v2/actor-tasks/{actorTaskId}` +- Mode: WRITE +- Summary: Update task +- Parameters: + - `actorTaskId` in `path` required +- Body: JSON request body accepted. + +### actor_task_delete + +- Operation ID: `actor_task_delete` +- Route: `DELETE /v2/actor-tasks/{actorTaskId}` +- Mode: WRITE +- Summary: Delete task +- Parameters: + - `actorTaskId` in `path` required + +### actor_task_input_get + +- Operation ID: `actor_task_input_get` +- Route: `GET /v2/actor-tasks/{actorTaskId}/input` +- Mode: READ +- Summary: Get task input +- Parameters: + - `actorTaskId` in `path` required + +### actor_task_input_put + +- Operation ID: `actor_task_input_put` +- Route: `PUT /v2/actor-tasks/{actorTaskId}/input` +- Mode: WRITE +- Summary: Update task input +- Parameters: + - `actorTaskId` in `path` required +- Body: JSON request body accepted. + +### actor_task_webhooks_get + +- Operation ID: `actor_task_webhooks_get` +- Route: `GET /v2/actor-tasks/{actorTaskId}/webhooks` +- Mode: READ +- Summary: Get list of webhooks +- Parameters: + - `actorTaskId` in `path` required + - `offset` in `query` + - `limit` in `query` + - `desc` in `query` + +### actor_task_runs_get + +- Operation ID: `actor_task_runs_get` +- Route: `GET /v2/actor-tasks/{actorTaskId}/runs` +- Mode: READ +- Summary: Get list of task runs +- Parameters: + - `actorTaskId` in `path` required + - `offset` in `query` + - `limit` in `query` + - `desc` in `query` + - `status` in `query` + +### actor_task_runs_post + +- Operation ID: `actor_task_runs_post` +- Route: `POST /v2/actor-tasks/{actorTaskId}/runs` +- Mode: WRITE +- Summary: Run task +- Parameters: + - `actorTaskId` in `path` required + - `timeout` in `query` + - `memory` in `query` + - `maxItems` in `query` + - `maxTotalChargeUsd` in `query` + - `restartOnError` in `query` + - `build` in `query` + - `waitForFinish` in `query` + - `webhooks` in `query` +- Body: JSON request body accepted. + +### actor_task_run_sync_get + +- Operation ID: `actor_task_run_sync_get` +- Route: `GET /v2/actor-tasks/{actorTaskId}/run-sync` +- Mode: READ +- Summary: Run task synchronously +- Parameters: + - `actorTaskId` in `path` required + - `timeout` in `query` + - `memory` in `query` + - `maxItems` in `query` + - `build` in `query` + - `outputRecordKey` in `query` + - `webhooks` in `query` + +### actor_task_run_sync_post + +- Operation ID: `actor_task_run_sync_post` +- Route: `POST /v2/actor-tasks/{actorTaskId}/run-sync` +- Mode: WRITE +- Summary: Run task synchronously +- Parameters: + - `actorTaskId` in `path` required + - `timeout` in `query` + - `memory` in `query` + - `maxItems` in `query` + - `maxTotalChargeUsd` in `query` + - `restartOnError` in `query` + - `build` in `query` + - `outputRecordKey` in `query` + - `webhooks` in `query` +- Body: JSON request body accepted. + +### actor_task_run_sync_get_dataset_items_get + +- Operation ID: `actor_task_run_sync_get_dataset_items_get` +- Route: `GET /v2/actor-tasks/{actorTaskId}/run-sync-get-dataset-items` +- Mode: READ +- Summary: Run task synchronously and get dataset items +- Parameters: + - `actorTaskId` in `path` required + - `timeout` in `query` + - `memory` in `query` + - `maxItems` in `query` + - `build` in `query` + - `webhooks` in `query` + - `format` in `query` + - `clean` in `query` + - `offset` in `query` + - `limit` in `query` + - `fields` in `query` + - `outputFields` in `query` + - `omit` in `query` + - `unwind` in `query` + - `flatten` in `query` + - `desc` in `query` + - `attachment` in `query` + - `delimiter` in `query` + - `bom` in `query` + - `xmlRoot` in `query` + - `xmlRow` in `query` + - `skipHeaderRow` in `query` + - `skipHidden` in `query` + - `skipEmpty` in `query` + - `simplified` in `query` + - `view` in `query` + - `skipFailedPages` in `query` + - `feedTitle` in `query` + - `feedDescription` in `query` + +### actor_task_run_sync_get_dataset_items_post + +- Operation ID: `actor_task_run_sync_get_dataset_items_post` +- Route: `POST /v2/actor-tasks/{actorTaskId}/run-sync-get-dataset-items` +- Mode: WRITE +- Summary: Run task synchronously and get dataset items +- Parameters: + - `actorTaskId` in `path` required + - `timeout` in `query` + - `memory` in `query` + - `maxItems` in `query` + - `maxTotalChargeUsd` in `query` + - `restartOnError` in `query` + - `build` in `query` + - `webhooks` in `query` + - `format` in `query` + - `clean` in `query` + - `offset` in `query` + - `limit` in `query` + - `fields` in `query` + - `outputFields` in `query` + - `omit` in `query` + - `unwind` in `query` + - `flatten` in `query` + - `desc` in `query` + - `attachment` in `query` + - `delimiter` in `query` + - `bom` in `query` + - `xmlRoot` in `query` + - `xmlRow` in `query` + - `skipHeaderRow` in `query` + - `skipHidden` in `query` + - `skipEmpty` in `query` + - `simplified` in `query` + - `view` in `query` + - `skipFailedPages` in `query` + - `feedTitle` in `query` + - `feedDescription` in `query` +- Body: JSON request body accepted. + +### actor_task_runs_last_get + +- Operation ID: `actor_task_runs_last_get` +- Route: `GET /v2/actor-tasks/{actorTaskId}/runs/last` +- Mode: READ +- Summary: Get last run +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + - `waitForFinish` in `query` + +### actor_task_last_log_get + +- Operation ID: `actor_task_last_log_get` +- Route: `GET /v2/actor-tasks/{actorTaskId}/runs/last/log` +- Mode: READ +- Summary: Get last Actor task run's log +- Parameters: + - `actorTaskId` in `path` required + - `stream` in `query` + - `download` in `query` + - `raw` in `query` + +### actor_task_runs_last_abort_post + +- Operation ID: `actor_task_runs_last_abort_post` +- Route: `POST /v2/actor-tasks/{actorTaskId}/runs/last/abort` +- Mode: WRITE +- Summary: Abort Actor task's last run +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + - `gracefully` in `query` + +### actor_task_runs_last_metamorph_post + +- Operation ID: `actor_task_runs_last_metamorph_post` +- Route: `POST /v2/actor-tasks/{actorTaskId}/runs/last/metamorph` +- Mode: WRITE +- Summary: Metamorph Actor task's last run +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + - `targetActorId` in `query` required + - `build` in `query` + +### actor_task_runs_last_reboot_post + +- Operation ID: `actor_task_runs_last_reboot_post` +- Route: `POST /v2/actor-tasks/{actorTaskId}/runs/last/reboot` +- Mode: WRITE +- Summary: Reboot Actor task's last run +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + +### actor_task_runs_last_dataset_get + +- Operation ID: `actor_task_runs_last_dataset_get` +- Route: `GET /v2/actor-tasks/{actorTaskId}/runs/last/dataset` +- Mode: READ +- Summary: Get last task run's default dataset +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + +### actor_task_runs_last_dataset_put + +- Operation ID: `actor_task_runs_last_dataset_put` +- Route: `PUT /v2/actor-tasks/{actorTaskId}/runs/last/dataset` +- Mode: WRITE +- Summary: Update last task run's default dataset +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` +- Body: JSON request body accepted. + +### actor_task_runs_last_dataset_delete + +- Operation ID: `actor_task_runs_last_dataset_delete` +- Route: `DELETE /v2/actor-tasks/{actorTaskId}/runs/last/dataset` +- Mode: WRITE +- Summary: Delete last task run's default dataset +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + +### actor_task_runs_last_dataset_items_get + +- Operation ID: `actor_task_runs_last_dataset_items_get` +- Route: `GET /v2/actor-tasks/{actorTaskId}/runs/last/dataset/items` +- Mode: READ +- Summary: Get last task run's dataset items +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + - `format` in `query` + - `clean` in `query` + - `offset` in `query` + - `limit` in `query` + - `fields` in `query` + - `outputFields` in `query` + - `omit` in `query` + - `unwind` in `query` + - `flatten` in `query` + - `desc` in `query` + - `attachment` in `query` + - `delimiter` in `query` + - `bom` in `query` + - `xmlRoot` in `query` + - `xmlRow` in `query` + - `skipHeaderRow` in `query` + - `skipHidden` in `query` + - `skipEmpty` in `query` + - `simplified` in `query` + - `view` in `query` + - `skipFailedPages` in `query` + - `feedTitle` in `query` + - `feedDescription` in `query` + - `signature` in `query` + +### actor_task_runs_last_dataset_items_post + +- Operation ID: `actor_task_runs_last_dataset_items_post` +- Route: `POST /v2/actor-tasks/{actorTaskId}/runs/last/dataset/items` +- Mode: WRITE +- Summary: Store items in last task run's dataset +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` +- Body: JSON request body accepted. + +### actor_task_runs_last_dataset_statistics_get + +- Operation ID: `actor_task_runs_last_dataset_statistics_get` +- Route: `GET /v2/actor-tasks/{actorTaskId}/runs/last/dataset/statistics` +- Mode: READ +- Summary: Get last task run's dataset statistics +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + +### actor_task_runs_last_key_value_store_get + +- Operation ID: `actor_task_runs_last_key_value_store_get` +- Route: `GET /v2/actor-tasks/{actorTaskId}/runs/last/key-value-store` +- Mode: READ +- Summary: Get last task run's default store +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + +### actor_task_runs_last_key_value_store_put + +- Operation ID: `actor_task_runs_last_key_value_store_put` +- Route: `PUT /v2/actor-tasks/{actorTaskId}/runs/last/key-value-store` +- Mode: WRITE +- Summary: Update last task run's default store +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` +- Body: JSON request body accepted. + +### actor_task_runs_last_key_value_store_delete + +- Operation ID: `actor_task_runs_last_key_value_store_delete` +- Route: `DELETE /v2/actor-tasks/{actorTaskId}/runs/last/key-value-store` +- Mode: WRITE +- Summary: Delete last task run's default store +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + +### actor_task_runs_last_key_value_store_keys_get + +- Operation ID: `actor_task_runs_last_key_value_store_keys_get` +- Route: `GET /v2/actor-tasks/{actorTaskId}/runs/last/key-value-store/keys` +- Mode: READ +- Summary: Get last task run's default store's list of keys +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + - `exclusiveStartKey` in `query` + - `limit` in `query` + - `collection` in `query` + - `prefix` in `query` + - `signature` in `query` + +### actor_task_runs_last_key_value_store_records_get + +- Operation ID: `actor_task_runs_last_key_value_store_records_get` +- Route: `GET /v2/actor-tasks/{actorTaskId}/runs/last/key-value-store/records` +- Mode: READ +- Summary: Download last task run's default store's records +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + - `collection` in `query` + - `prefix` in `query` + - `signature` in `query` + +### actor_task_runs_last_key_value_store_record_get + +- Operation ID: `actor_task_runs_last_key_value_store_record_get` +- Route: `GET /v2/actor-tasks/{actorTaskId}/runs/last/key-value-store/records/{recordKey}` +- Mode: READ +- Summary: Get last task run's default store's record +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + - `recordKey` in `path` required + - `signature` in `query` + - `attachment` in `query` + +### actor_task_runs_last_key_value_store_record_put + +- Operation ID: `actor_task_runs_last_key_value_store_record_put` +- Route: `PUT /v2/actor-tasks/{actorTaskId}/runs/last/key-value-store/records/{recordKey}` +- Mode: WRITE +- Summary: Store record in last task run's default store +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + - `recordKey` in `path` required + - `Content-Encoding` in `header` +- Body: JSON request body accepted. + +### actor_task_runs_last_key_value_store_record_post + +- Operation ID: `actor_task_runs_last_key_value_store_record_post` +- Route: `POST /v2/actor-tasks/{actorTaskId}/runs/last/key-value-store/records/{recordKey}` +- Mode: WRITE +- Summary: Store record in last task run's default store (POST) +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + - `recordKey` in `path` required + - `Content-Encoding` in `header` +- Body: JSON request body accepted. + +### actor_task_runs_last_key_value_store_record_delete + +- Operation ID: `actor_task_runs_last_key_value_store_record_delete` +- Route: `DELETE /v2/actor-tasks/{actorTaskId}/runs/last/key-value-store/records/{recordKey}` +- Mode: WRITE +- Summary: Delete last task run's default store's record +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + - `recordKey` in `path` required + +### actor_task_runs_last_request_queue_get + +- Operation ID: `actor_task_runs_last_request_queue_get` +- Route: `GET /v2/actor-tasks/{actorTaskId}/runs/last/request-queue` +- Mode: READ +- Summary: Get last task run's default request queue +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + +### actor_task_runs_last_request_queue_put + +- Operation ID: `actor_task_runs_last_request_queue_put` +- Route: `PUT /v2/actor-tasks/{actorTaskId}/runs/last/request-queue` +- Mode: WRITE +- Summary: Update last task run's default request queue +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` +- Body: JSON request body accepted. + +### actor_task_runs_last_request_queue_delete + +- Operation ID: `actor_task_runs_last_request_queue_delete` +- Route: `DELETE /v2/actor-tasks/{actorTaskId}/runs/last/request-queue` +- Mode: WRITE +- Summary: Delete last task run's default request queue +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + +### actor_task_runs_last_request_queue_head_get + +- Operation ID: `actor_task_runs_last_request_queue_head_get` +- Route: `GET /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/head` +- Mode: READ +- Summary: Get last task run's default request queue head +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + - `limit` in `query` + - `clientKey` in `query` + +### actor_task_runs_last_request_queue_head_lock_post + +- Operation ID: `actor_task_runs_last_request_queue_head_lock_post` +- Route: `POST /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/head/lock` +- Mode: WRITE +- Summary: Get and lock last task run's default request queue head +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + - `lockSecs` in `query` required + - `limit` in `query` + - `clientKey` in `query` + +### actor_task_runs_last_request_queue_requests_get + +- Operation ID: `actor_task_runs_last_request_queue_requests_get` +- Route: `GET /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests` +- Mode: READ +- Summary: List last task run's default request queue's requests +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + - `clientKey` in `query` + - `exclusiveStartId` in `query` + - `limit` in `query` + - `cursor` in `query` + - `filter` in `query` + +### actor_task_runs_last_request_queue_requests_post + +- Operation ID: `actor_task_runs_last_request_queue_requests_post` +- Route: `POST /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests` +- Mode: WRITE +- Summary: Add request to last task run's default request queue +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + - `clientKey` in `query` + - `forefront` in `query` +- Body: JSON request body accepted. + +### actor_task_runs_last_request_queue_requests_batch_post + +- Operation ID: `actor_task_runs_last_request_queue_requests_batch_post` +- Route: `POST /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/batch` +- Mode: WRITE +- Summary: Batch add requests to last task run's default request queue +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + - `clientKey` in `query` + - `forefront` in `query` +- Body: JSON request body accepted. + +### actor_task_runs_last_request_queue_requests_batch_delete + +- Operation ID: `actor_task_runs_last_request_queue_requests_batch_delete` +- Route: `DELETE /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/batch` +- Mode: WRITE +- Summary: Batch delete requests from last task run's default request queue +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + - `Content-Type` in `header` required + - `clientKey` in `query` +- Body: JSON request body accepted. + +### actor_task_runs_last_request_queue_requests_unlock_post + +- Operation ID: `actor_task_runs_last_request_queue_requests_unlock_post` +- Route: `POST /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/unlock` +- Mode: WRITE +- Summary: Unlock requests in last task run's default request queue +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + - `clientKey` in `query` + +### actor_task_runs_last_request_queue_request_get + +- Operation ID: `actor_task_runs_last_request_queue_request_get` +- Route: `GET /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/{requestId}` +- Mode: READ +- Summary: Get request from last task run's default request queue +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + - `requestId` in `path` required + +### actor_task_runs_last_request_queue_request_put + +- Operation ID: `actor_task_runs_last_request_queue_request_put` +- Route: `PUT /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/{requestId}` +- Mode: WRITE +- Summary: Update request in last task run's default request queue +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + - `requestId` in `path` required + - `forefront` in `query` + - `clientKey` in `query` +- Body: JSON request body accepted. + +### actor_task_runs_last_request_queue_request_delete + +- Operation ID: `actor_task_runs_last_request_queue_request_delete` +- Route: `DELETE /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/{requestId}` +- Mode: WRITE +- Summary: Delete request from last task run's default request queue +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + - `requestId` in `path` required + - `clientKey` in `query` + +### actor_task_runs_last_request_queue_request_lock_put + +- Operation ID: `actor_task_runs_last_request_queue_request_lock_put` +- Route: `PUT /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/{requestId}/lock` +- Mode: WRITE +- Summary: Prolong lock on request in last task run's default request queue +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + - `requestId` in `path` required + - `lockSecs` in `query` required + - `clientKey` in `query` + - `forefront` in `query` + +### actor_task_runs_last_request_queue_request_lock_delete + +- Operation ID: `actor_task_runs_last_request_queue_request_lock_delete` +- Route: `DELETE /v2/actor-tasks/{actorTaskId}/runs/last/request-queue/requests/{requestId}/lock` +- Mode: WRITE +- Summary: Delete lock on request in last task run's default request queue +- Parameters: + - `actorTaskId` in `path` required + - `status` in `query` + - `requestId` in `path` required + - `clientKey` in `query` + - `forefront` in `query` diff --git a/skills/actors/SKILL.md b/skills/actors/SKILL.md new file mode 100644 index 0000000..bce89d8 --- /dev/null +++ b/skills/actors/SKILL.md @@ -0,0 +1,913 @@ +--- +name: actors-routes +description: Handle 70 OpenAPI operation(s) under /v2/actors for the actors route group. +--- + +# actors API Routes + +Handle 70 OpenAPI operation(s) under /v2/actors for the actors route group. + +Use the generated operation tools to make real API calls. Do not invent API responses. +If a tool reports missing setup, return the exact setup field name to the caller. +For write, update, or delete operations, state the intended action before calling the tool. + +## Operations + +### acts_get + +- Operation ID: `acts_get` +- Route: `GET /v2/actors` +- Mode: READ +- Summary: Get list of Actors +- Parameters: + - `my` in `query` + - `offset` in `query` + - `limit` in `query` + - `desc` in `query` + - `sortBy` in `query` + +### acts_post + +- Operation ID: `acts_post` +- Route: `POST /v2/actors` +- Mode: WRITE +- Summary: Create Actor +- Body: JSON request body accepted. + +### act_get + +- Operation ID: `act_get` +- Route: `GET /v2/actors/{actorId}` +- Mode: READ +- Summary: Get Actor +- Parameters: + - `actorId` in `path` required + +### act_put + +- Operation ID: `act_put` +- Route: `PUT /v2/actors/{actorId}` +- Mode: WRITE +- Summary: Update Actor +- Parameters: + - `actorId` in `path` required +- Body: JSON request body accepted. + +### act_delete + +- Operation ID: `act_delete` +- Route: `DELETE /v2/actors/{actorId}` +- Mode: WRITE +- Summary: Delete Actor +- Parameters: + - `actorId` in `path` required + +### act_versions_get + +- Operation ID: `act_versions_get` +- Route: `GET /v2/actors/{actorId}/versions` +- Mode: READ +- Summary: Get list of versions +- Parameters: + - `actorId` in `path` required + +### act_versions_post + +- Operation ID: `act_versions_post` +- Route: `POST /v2/actors/{actorId}/versions` +- Mode: WRITE +- Summary: Create version +- Parameters: + - `actorId` in `path` required +- Body: JSON request body accepted. + +### act_version_get + +- Operation ID: `act_version_get` +- Route: `GET /v2/actors/{actorId}/versions/{versionNumber}` +- Mode: READ +- Summary: Get version +- Parameters: + - `actorId` in `path` required + - `versionNumber` in `path` required + +### act_version_put + +- Operation ID: `act_version_put` +- Route: `PUT /v2/actors/{actorId}/versions/{versionNumber}` +- Mode: WRITE +- Summary: Update version +- Parameters: + - `actorId` in `path` required + - `versionNumber` in `path` required +- Body: JSON request body accepted. + +### act_version_post + +- Operation ID: `act_version_post` +- Route: `POST /v2/actors/{actorId}/versions/{versionNumber}` +- Mode: WRITE +- Summary: Update version (POST) +- Parameters: + - `actorId` in `path` required + - `versionNumber` in `path` required +- Body: JSON request body accepted. + +### act_version_delete + +- Operation ID: `act_version_delete` +- Route: `DELETE /v2/actors/{actorId}/versions/{versionNumber}` +- Mode: WRITE +- Summary: Delete version +- Parameters: + - `actorId` in `path` required + - `versionNumber` in `path` required + +### act_version_env_vars_get + +- Operation ID: `act_version_env_vars_get` +- Route: `GET /v2/actors/{actorId}/versions/{versionNumber}/env-vars` +- Mode: READ +- Summary: Get list of environment variables +- Parameters: + - `actorId` in `path` required + - `versionNumber` in `path` required + +### act_version_env_vars_post + +- Operation ID: `act_version_env_vars_post` +- Route: `POST /v2/actors/{actorId}/versions/{versionNumber}/env-vars` +- Mode: WRITE +- Summary: Create environment variable +- Parameters: + - `actorId` in `path` required + - `versionNumber` in `path` required +- Body: JSON request body accepted. + +### act_version_env_var_get + +- Operation ID: `act_version_env_var_get` +- Route: `GET /v2/actors/{actorId}/versions/{versionNumber}/env-vars/{envVarName}` +- Mode: READ +- Summary: Get environment variable +- Parameters: + - `actorId` in `path` required + - `versionNumber` in `path` required + - `envVarName` in `path` required + +### act_version_env_var_put + +- Operation ID: `act_version_env_var_put` +- Route: `PUT /v2/actors/{actorId}/versions/{versionNumber}/env-vars/{envVarName}` +- Mode: WRITE +- Summary: Update environment variable +- Parameters: + - `actorId` in `path` required + - `versionNumber` in `path` required + - `envVarName` in `path` required +- Body: JSON request body accepted. + +### act_version_env_var_post + +- Operation ID: `act_version_env_var_post` +- Route: `POST /v2/actors/{actorId}/versions/{versionNumber}/env-vars/{envVarName}` +- Mode: WRITE +- Summary: Update environment variable (POST) +- Parameters: + - `actorId` in `path` required + - `versionNumber` in `path` required + - `envVarName` in `path` required +- Body: JSON request body accepted. + +### act_version_env_var_delete + +- Operation ID: `act_version_env_var_delete` +- Route: `DELETE /v2/actors/{actorId}/versions/{versionNumber}/env-vars/{envVarName}` +- Mode: WRITE +- Summary: Delete environment variable +- Parameters: + - `actorId` in `path` required + - `versionNumber` in `path` required + - `envVarName` in `path` required + +### act_webhooks_get + +- Operation ID: `act_webhooks_get` +- Route: `GET /v2/actors/{actorId}/webhooks` +- Mode: READ +- Summary: Get list of webhooks +- Parameters: + - `actorId` in `path` required + - `offset` in `query` + - `limit` in `query` + - `desc` in `query` + +### act_builds_get + +- Operation ID: `act_builds_get` +- Route: `GET /v2/actors/{actorId}/builds` +- Mode: READ +- Summary: Get list of builds +- Parameters: + - `actorId` in `path` required + - `offset` in `query` + - `limit` in `query` + - `desc` in `query` + +### act_builds_post + +- Operation ID: `act_builds_post` +- Route: `POST /v2/actors/{actorId}/builds` +- Mode: WRITE +- Summary: Build Actor +- Parameters: + - `actorId` in `path` required + - `version` in `query` required + - `useCache` in `query` + - `betaPackages` in `query` + - `tag` in `query` + - `waitForFinish` in `query` + +### act_build_default_get + +- Operation ID: `act_build_default_get` +- Route: `GET /v2/actors/{actorId}/builds/default` +- Mode: READ +- Summary: Get default build +- Parameters: + - `actorId` in `path` required + - `waitForFinish` in `query` + +### act_openapi_json_get + +- Operation ID: `act_openapi_json_get` +- Route: `GET /v2/actors/{actorId}/builds/{buildId}/openapi.json` +- Mode: READ +- Summary: Get OpenAPI definition +- Parameters: + - `actorId` in `path` required + - `buildId` in `path` required + +### act_build_get + +- Operation ID: `act_build_get` +- Route: `GET /v2/actors/{actorId}/builds/{buildId}` +- Mode: READ +- Summary: Get build +- Parameters: + - `actorId` in `path` required + - `buildId` in `path` required + - `waitForFinish` in `query` + +### act_build_abort_post + +- Operation ID: `act_build_abort_post` +- Route: `POST /v2/actors/{actorId}/builds/{buildId}/abort` +- Mode: WRITE +- Summary: Abort build +- Parameters: + - `actorId` in `path` required + - `buildId` in `path` required + +### act_runs_get + +- Operation ID: `act_runs_get` +- Route: `GET /v2/actors/{actorId}/runs` +- Mode: READ +- Summary: Get list of runs +- Parameters: + - `actorId` in `path` required + - `offset` in `query` + - `limit` in `query` + - `desc` in `query` + - `status` in `query` + - `startedAfter` in `query` + - `startedBefore` in `query` + +### act_runs_post + +- Operation ID: `act_runs_post` +- Route: `POST /v2/actors/{actorId}/runs` +- Mode: WRITE +- Summary: Run Actor +- Parameters: + - `actorId` in `path` required + - `timeout` in `query` + - `memory` in `query` + - `maxItems` in `query` + - `maxTotalChargeUsd` in `query` + - `restartOnError` in `query` + - `build` in `query` + - `waitForFinish` in `query` + - `webhooks` in `query` + - `forcePermissionLevel` in `query` +- Body: JSON request body accepted. + +### act_run_sync_post + +- Operation ID: `act_run_sync_post` +- Route: `POST /v2/actors/{actorId}/run-sync` +- Mode: WRITE +- Summary: Run Actor synchronously and return output +- Parameters: + - `actorId` in `path` required + - `outputRecordKey` in `query` + - `timeout` in `query` + - `memory` in `query` + - `maxItems` in `query` + - `maxTotalChargeUsd` in `query` + - `restartOnError` in `query` + - `build` in `query` + - `webhooks` in `query` +- Body: JSON request body accepted. + +### act_run_sync_get + +- Operation ID: `act_run_sync_get` +- Route: `GET /v2/actors/{actorId}/run-sync` +- Mode: READ +- Summary: Run Actor synchronously without input +- Parameters: + - `actorId` in `path` required + - `outputRecordKey` in `query` + - `timeout` in `query` + - `memory` in `query` + - `maxItems` in `query` + - `maxTotalChargeUsd` in `query` + - `restartOnError` in `query` + - `build` in `query` + - `webhooks` in `query` + +### act_run_sync_get_dataset_items_post + +- Operation ID: `act_run_sync_get_dataset_items_post` +- Route: `POST /v2/actors/{actorId}/run-sync-get-dataset-items` +- Mode: WRITE +- Summary: Run Actor synchronously and get dataset items +- Parameters: + - `actorId` in `path` required + - `timeout` in `query` + - `memory` in `query` + - `maxItems` in `query` + - `maxTotalChargeUsd` in `query` + - `restartOnError` in `query` + - `build` in `query` + - `webhooks` in `query` + - `format` in `query` + - `clean` in `query` + - `offset` in `query` + - `limit` in `query` + - `fields` in `query` + - `outputFields` in `query` + - `omit` in `query` + - `unwind` in `query` + - `flatten` in `query` + - `desc` in `query` + - `attachment` in `query` + - `delimiter` in `query` + - `bom` in `query` + - `xmlRoot` in `query` + - `xmlRow` in `query` + - `skipHeaderRow` in `query` + - `skipHidden` in `query` + - `skipEmpty` in `query` + - `simplified` in `query` + - `view` in `query` + - `skipFailedPages` in `query` + - `feedTitle` in `query` + - `feedDescription` in `query` +- Body: JSON request body accepted. + +### act_run_sync_get_dataset_items_get + +- Operation ID: `act_run_sync_get_dataset_items_get` +- Route: `GET /v2/actors/{actorId}/run-sync-get-dataset-items` +- Mode: READ +- Summary: Run Actor synchronously without input and get dataset items +- Parameters: + - `actorId` in `path` required + - `timeout` in `query` + - `memory` in `query` + - `maxItems` in `query` + - `maxTotalChargeUsd` in `query` + - `restartOnError` in `query` + - `build` in `query` + - `webhooks` in `query` + - `format` in `query` + - `clean` in `query` + - `offset` in `query` + - `limit` in `query` + - `fields` in `query` + - `outputFields` in `query` + - `omit` in `query` + - `unwind` in `query` + - `flatten` in `query` + - `desc` in `query` + - `attachment` in `query` + - `delimiter` in `query` + - `bom` in `query` + - `xmlRoot` in `query` + - `xmlRow` in `query` + - `skipHeaderRow` in `query` + - `skipHidden` in `query` + - `skipEmpty` in `query` + - `simplified` in `query` + - `view` in `query` + - `skipFailedPages` in `query` + - `feedTitle` in `query` + - `feedDescription` in `query` + +### act_validate_input_post + +- Operation ID: `act_validate_input_post` +- Route: `POST /v2/actors/{actorId}/validate-input` +- Mode: WRITE +- Summary: Validate Actor input +- Parameters: + - `actorId` in `path` required + - `build` in `query` +- Body: JSON request body accepted. + +### act_run_resurrect_post + +- Operation ID: `act_run_resurrect_post` +- Route: `POST /v2/actors/{actorId}/runs/{runId}/resurrect` +- Mode: WRITE +- Summary: Resurrect run +- Parameters: + - `actorId` in `path` required + - `runId` in `path` required + - `build` in `query` + - `timeout` in `query` + - `memory` in `query` + - `restartOnError` in `query` + +### act_runs_last_get + +- Operation ID: `act_runs_last_get` +- Route: `GET /v2/actors/{actorId}/runs/last` +- Mode: READ +- Summary: Get last run +- Parameters: + - `actorId` in `path` required + - `status` in `query` + - `waitForFinish` in `query` + +### act_runs_last_dataset_get + +- Operation ID: `act_runs_last_dataset_get` +- Route: `GET /v2/actors/{actorId}/runs/last/dataset` +- Mode: READ +- Summary: Get last run's default dataset +- Parameters: + - `actorId` in `path` required + - `status` in `query` + +### act_runs_last_dataset_put + +- Operation ID: `act_runs_last_dataset_put` +- Route: `PUT /v2/actors/{actorId}/runs/last/dataset` +- Mode: WRITE +- Summary: Update last run's default dataset +- Parameters: + - `actorId` in `path` required + - `status` in `query` +- Body: JSON request body accepted. + +### act_runs_last_dataset_delete + +- Operation ID: `act_runs_last_dataset_delete` +- Route: `DELETE /v2/actors/{actorId}/runs/last/dataset` +- Mode: WRITE +- Summary: Delete last run's default dataset +- Parameters: + - `actorId` in `path` required + - `status` in `query` + +### act_runs_last_dataset_items_get + +- Operation ID: `act_runs_last_dataset_items_get` +- Route: `GET /v2/actors/{actorId}/runs/last/dataset/items` +- Mode: READ +- Summary: Get last run's dataset items +- Parameters: + - `actorId` in `path` required + - `status` in `query` + - `format` in `query` + - `clean` in `query` + - `offset` in `query` + - `limit` in `query` + - `fields` in `query` + - `outputFields` in `query` + - `omit` in `query` + - `unwind` in `query` + - `flatten` in `query` + - `desc` in `query` + - `attachment` in `query` + - `delimiter` in `query` + - `bom` in `query` + - `xmlRoot` in `query` + - `xmlRow` in `query` + - `skipHeaderRow` in `query` + - `skipHidden` in `query` + - `skipEmpty` in `query` + - `simplified` in `query` + - `view` in `query` + - `skipFailedPages` in `query` + - `feedTitle` in `query` + - `feedDescription` in `query` + - `signature` in `query` + +### act_runs_last_dataset_items_post + +- Operation ID: `act_runs_last_dataset_items_post` +- Route: `POST /v2/actors/{actorId}/runs/last/dataset/items` +- Mode: WRITE +- Summary: Store items in last run's dataset +- Parameters: + - `actorId` in `path` required + - `status` in `query` +- Body: JSON request body accepted. + +### act_runs_last_dataset_statistics_get + +- Operation ID: `act_runs_last_dataset_statistics_get` +- Route: `GET /v2/actors/{actorId}/runs/last/dataset/statistics` +- Mode: READ +- Summary: Get last run's dataset statistics +- Parameters: + - `actorId` in `path` required + - `status` in `query` + +### act_runs_last_key_value_store_get + +- Operation ID: `act_runs_last_key_value_store_get` +- Route: `GET /v2/actors/{actorId}/runs/last/key-value-store` +- Mode: READ +- Summary: Get last run's default store +- Parameters: + - `actorId` in `path` required + - `status` in `query` + +### act_runs_last_key_value_store_put + +- Operation ID: `act_runs_last_key_value_store_put` +- Route: `PUT /v2/actors/{actorId}/runs/last/key-value-store` +- Mode: WRITE +- Summary: Update last run's default store +- Parameters: + - `actorId` in `path` required + - `status` in `query` +- Body: JSON request body accepted. + +### act_runs_last_key_value_store_delete + +- Operation ID: `act_runs_last_key_value_store_delete` +- Route: `DELETE /v2/actors/{actorId}/runs/last/key-value-store` +- Mode: WRITE +- Summary: Delete last run's default store +- Parameters: + - `actorId` in `path` required + - `status` in `query` + +### act_runs_last_key_value_store_keys_get + +- Operation ID: `act_runs_last_key_value_store_keys_get` +- Route: `GET /v2/actors/{actorId}/runs/last/key-value-store/keys` +- Mode: READ +- Summary: Get last run's default store's list of keys +- Parameters: + - `actorId` in `path` required + - `status` in `query` + - `exclusiveStartKey` in `query` + - `limit` in `query` + - `collection` in `query` + - `prefix` in `query` + - `signature` in `query` + +### act_runs_last_key_value_store_records_get + +- Operation ID: `act_runs_last_key_value_store_records_get` +- Route: `GET /v2/actors/{actorId}/runs/last/key-value-store/records` +- Mode: READ +- Summary: Download last run's default store's records +- Parameters: + - `actorId` in `path` required + - `status` in `query` + - `collection` in `query` + - `prefix` in `query` + - `signature` in `query` + +### act_runs_last_key_value_store_record_get + +- Operation ID: `act_runs_last_key_value_store_record_get` +- Route: `GET /v2/actors/{actorId}/runs/last/key-value-store/records/{recordKey}` +- Mode: READ +- Summary: Get last run's default store's record +- Parameters: + - `actorId` in `path` required + - `status` in `query` + - `recordKey` in `path` required + - `signature` in `query` + - `attachment` in `query` + +### act_runs_last_key_value_store_record_put + +- Operation ID: `act_runs_last_key_value_store_record_put` +- Route: `PUT /v2/actors/{actorId}/runs/last/key-value-store/records/{recordKey}` +- Mode: WRITE +- Summary: Store record in last run's default store +- Parameters: + - `actorId` in `path` required + - `status` in `query` + - `recordKey` in `path` required + - `Content-Encoding` in `header` +- Body: JSON request body accepted. + +### act_runs_last_key_value_store_record_post + +- Operation ID: `act_runs_last_key_value_store_record_post` +- Route: `POST /v2/actors/{actorId}/runs/last/key-value-store/records/{recordKey}` +- Mode: WRITE +- Summary: Store record in last run's default store (POST) +- Parameters: + - `actorId` in `path` required + - `status` in `query` + - `recordKey` in `path` required + - `Content-Encoding` in `header` +- Body: JSON request body accepted. + +### act_runs_last_key_value_store_record_delete + +- Operation ID: `act_runs_last_key_value_store_record_delete` +- Route: `DELETE /v2/actors/{actorId}/runs/last/key-value-store/records/{recordKey}` +- Mode: WRITE +- Summary: Delete last run's default store's record +- Parameters: + - `actorId` in `path` required + - `status` in `query` + - `recordKey` in `path` required + +### act_runs_last_request_queue_get + +- Operation ID: `act_runs_last_request_queue_get` +- Route: `GET /v2/actors/{actorId}/runs/last/request-queue` +- Mode: READ +- Summary: Get last run's default request queue +- Parameters: + - `actorId` in `path` required + - `status` in `query` + +### act_runs_last_request_queue_put + +- Operation ID: `act_runs_last_request_queue_put` +- Route: `PUT /v2/actors/{actorId}/runs/last/request-queue` +- Mode: WRITE +- Summary: Update last run's default request queue +- Parameters: + - `actorId` in `path` required + - `status` in `query` +- Body: JSON request body accepted. + +### act_runs_last_request_queue_delete + +- Operation ID: `act_runs_last_request_queue_delete` +- Route: `DELETE /v2/actors/{actorId}/runs/last/request-queue` +- Mode: WRITE +- Summary: Delete last run's default request queue +- Parameters: + - `actorId` in `path` required + - `status` in `query` + +### act_runs_last_request_queue_requests_get + +- Operation ID: `act_runs_last_request_queue_requests_get` +- Route: `GET /v2/actors/{actorId}/runs/last/request-queue/requests` +- Mode: READ +- Summary: List last run's default request queue's requests +- Parameters: + - `actorId` in `path` required + - `status` in `query` + - `clientKey` in `query` + - `exclusiveStartId` in `query` + - `limit` in `query` + - `cursor` in `query` + - `filter` in `query` + +### act_runs_last_request_queue_requests_post + +- Operation ID: `act_runs_last_request_queue_requests_post` +- Route: `POST /v2/actors/{actorId}/runs/last/request-queue/requests` +- Mode: WRITE +- Summary: Add request to last run's default request queue +- Parameters: + - `actorId` in `path` required + - `status` in `query` + - `clientKey` in `query` + - `forefront` in `query` +- Body: JSON request body accepted. + +### act_runs_last_request_queue_requests_batch_post + +- Operation ID: `act_runs_last_request_queue_requests_batch_post` +- Route: `POST /v2/actors/{actorId}/runs/last/request-queue/requests/batch` +- Mode: WRITE +- Summary: Batch add requests to last run's default request queue +- Parameters: + - `actorId` in `path` required + - `status` in `query` + - `clientKey` in `query` + - `forefront` in `query` +- Body: JSON request body accepted. + +### act_runs_last_request_queue_requests_batch_delete + +- Operation ID: `act_runs_last_request_queue_requests_batch_delete` +- Route: `DELETE /v2/actors/{actorId}/runs/last/request-queue/requests/batch` +- Mode: WRITE +- Summary: Batch delete requests from last run's default request queue +- Parameters: + - `actorId` in `path` required + - `status` in `query` + - `Content-Type` in `header` required + - `clientKey` in `query` +- Body: JSON request body accepted. + +### act_runs_last_request_queue_requests_unlock_post + +- Operation ID: `act_runs_last_request_queue_requests_unlock_post` +- Route: `POST /v2/actors/{actorId}/runs/last/request-queue/requests/unlock` +- Mode: WRITE +- Summary: Unlock requests in last run's default request queue +- Parameters: + - `actorId` in `path` required + - `status` in `query` + - `clientKey` in `query` + +### act_runs_last_request_queue_request_get + +- Operation ID: `act_runs_last_request_queue_request_get` +- Route: `GET /v2/actors/{actorId}/runs/last/request-queue/requests/{requestId}` +- Mode: READ +- Summary: Get request from last run's default request queue +- Parameters: + - `actorId` in `path` required + - `status` in `query` + - `requestId` in `path` required + +### act_runs_last_request_queue_request_put + +- Operation ID: `act_runs_last_request_queue_request_put` +- Route: `PUT /v2/actors/{actorId}/runs/last/request-queue/requests/{requestId}` +- Mode: WRITE +- Summary: Update request in last run's default request queue +- Parameters: + - `actorId` in `path` required + - `status` in `query` + - `requestId` in `path` required + - `forefront` in `query` + - `clientKey` in `query` +- Body: JSON request body accepted. + +### act_runs_last_request_queue_request_delete + +- Operation ID: `act_runs_last_request_queue_request_delete` +- Route: `DELETE /v2/actors/{actorId}/runs/last/request-queue/requests/{requestId}` +- Mode: WRITE +- Summary: Delete request from last run's default request queue +- Parameters: + - `actorId` in `path` required + - `status` in `query` + - `requestId` in `path` required + - `clientKey` in `query` + +### act_runs_last_request_queue_request_lock_put + +- Operation ID: `act_runs_last_request_queue_request_lock_put` +- Route: `PUT /v2/actors/{actorId}/runs/last/request-queue/requests/{requestId}/lock` +- Mode: WRITE +- Summary: Prolong lock on request in last run's default request queue +- Parameters: + - `actorId` in `path` required + - `status` in `query` + - `requestId` in `path` required + - `lockSecs` in `query` required + - `clientKey` in `query` + - `forefront` in `query` + +### act_runs_last_request_queue_request_lock_delete + +- Operation ID: `act_runs_last_request_queue_request_lock_delete` +- Route: `DELETE /v2/actors/{actorId}/runs/last/request-queue/requests/{requestId}/lock` +- Mode: WRITE +- Summary: Delete lock on request in last run's default request queue +- Parameters: + - `actorId` in `path` required + - `status` in `query` + - `requestId` in `path` required + - `clientKey` in `query` + - `forefront` in `query` + +### act_runs_last_request_queue_head_get + +- Operation ID: `act_runs_last_request_queue_head_get` +- Route: `GET /v2/actors/{actorId}/runs/last/request-queue/head` +- Mode: READ +- Summary: Get last run's default request queue head +- Parameters: + - `actorId` in `path` required + - `status` in `query` + - `limit` in `query` + - `clientKey` in `query` + +### act_runs_last_request_queue_head_lock_post + +- Operation ID: `act_runs_last_request_queue_head_lock_post` +- Route: `POST /v2/actors/{actorId}/runs/last/request-queue/head/lock` +- Mode: WRITE +- Summary: Get and lock last run's default request queue head +- Parameters: + - `actorId` in `path` required + - `status` in `query` + - `lockSecs` in `query` required + - `limit` in `query` + - `clientKey` in `query` + +### act_runs_last_log_get + +- Operation ID: `act_runs_last_log_get` +- Route: `GET /v2/actors/{actorId}/runs/last/log` +- Mode: READ +- Summary: Get last Actor run's log +- Parameters: + - `actorId` in `path` required + - `stream` in `query` + - `download` in `query` + - `raw` in `query` + +### act_runs_last_abort_post + +- Operation ID: `act_runs_last_abort_post` +- Route: `POST /v2/actors/{actorId}/runs/last/abort` +- Mode: WRITE +- Summary: Abort Actor's last run +- Parameters: + - `actorId` in `path` required + - `status` in `query` + - `gracefully` in `query` + +### act_runs_last_metamorph_post + +- Operation ID: `act_runs_last_metamorph_post` +- Route: `POST /v2/actors/{actorId}/runs/last/metamorph` +- Mode: WRITE +- Summary: Metamorph Actor's last run +- Parameters: + - `actorId` in `path` required + - `status` in `query` + - `targetActorId` in `query` required + - `build` in `query` + +### act_runs_last_reboot_post + +- Operation ID: `act_runs_last_reboot_post` +- Route: `POST /v2/actors/{actorId}/runs/last/reboot` +- Mode: WRITE +- Summary: Reboot Actor's last run +- Parameters: + - `actorId` in `path` required + - `status` in `query` + +### act_run_get + +- Operation ID: `act_run_get` +- Route: `GET /v2/actors/{actorId}/runs/{runId}` +- Mode: READ +- Summary: Get run +- Parameters: + - `actorId` in `path` required + - `runId` in `path` required + - `waitForFinish` in `query` + +### act_run_abort_post + +- Operation ID: `act_run_abort_post` +- Route: `POST /v2/actors/{actorId}/runs/{runId}/abort` +- Mode: WRITE +- Summary: Abort run +- Parameters: + - `actorId` in `path` required + - `runId` in `path` required + - `gracefully` in `query` + +### act_run_metamorph_post + +- Operation ID: `act_run_metamorph_post` +- Route: `POST /v2/actors/{actorId}/runs/{runId}/metamorph` +- Mode: WRITE +- Summary: Metamorph run +- Parameters: + - `actorId` in `path` required + - `runId` in `path` required + - `targetActorId` in `query` required + - `build` in `query` diff --git a/skills/browser-info/SKILL.md b/skills/browser-info/SKILL.md new file mode 100644 index 0000000..bf9f293 --- /dev/null +++ b/skills/browser-info/SKILL.md @@ -0,0 +1,54 @@ +--- +name: browser-info-routes +description: Handle 4 OpenAPI operation(s) under /v2/browser-info for the browser info route group. +--- + +# browser info API Routes + +Handle 4 OpenAPI operation(s) under /v2/browser-info for the browser info route group. + +Use the generated operation tools to make real API calls. Do not invent API responses. +If a tool reports missing setup, return the exact setup field name to the caller. +For write, update, or delete operations, state the intended action before calling the tool. + +## Operations + +### tools_browser_info_get + +- Operation ID: `tools_browser_info_get` +- Route: `GET /v2/browser-info` +- Mode: READ +- Summary: Get browser info +- Parameters: + - `skipHeaders` in `query` + - `rawHeaders` in `query` + +### tools_browser_info_post + +- Operation ID: `tools_browser_info_post` +- Route: `POST /v2/browser-info` +- Mode: WRITE +- Summary: Get browser info +- Parameters: + - `skipHeaders` in `query` + - `rawHeaders` in `query` + +### tools_browser_info_put + +- Operation ID: `tools_browser_info_put` +- Route: `PUT /v2/browser-info` +- Mode: WRITE +- Summary: Get browser info +- Parameters: + - `skipHeaders` in `query` + - `rawHeaders` in `query` + +### tools_browser_info_delete + +- Operation ID: `tools_browser_info_delete` +- Route: `DELETE /v2/browser-info` +- Mode: WRITE +- Summary: Get browser info +- Parameters: + - `skipHeaders` in `query` + - `rawHeaders` in `query` diff --git a/skills/datasets/SKILL.md b/skills/datasets/SKILL.md new file mode 100644 index 0000000..1f4f2e0 --- /dev/null +++ b/skills/datasets/SKILL.md @@ -0,0 +1,149 @@ +--- +name: datasets-routes +description: Handle 9 OpenAPI operation(s) under /v2/datasets for the datasets route group. +--- + +# datasets API Routes + +Handle 9 OpenAPI operation(s) under /v2/datasets for the datasets route group. + +Use the generated operation tools to make real API calls. Do not invent API responses. +If a tool reports missing setup, return the exact setup field name to the caller. +For write, update, or delete operations, state the intended action before calling the tool. + +## Operations + +### datasets_get + +- Operation ID: `datasets_get` +- Route: `GET /v2/datasets` +- Mode: READ +- Summary: Get list of datasets +- Parameters: + - `offset` in `query` + - `limit` in `query` + - `desc` in `query` + - `unnamed` in `query` + - `ownership` in `query` + +### datasets_post + +- Operation ID: `datasets_post` +- Route: `POST /v2/datasets` +- Mode: WRITE +- Summary: Create dataset +- Parameters: + - `name` in `query` + +### dataset_get + +- Operation ID: `dataset_get` +- Route: `GET /v2/datasets/{datasetId}` +- Mode: READ +- Summary: Get dataset +- Parameters: + - `datasetId` in `path` required + +### dataset_put + +- Operation ID: `dataset_put` +- Route: `PUT /v2/datasets/{datasetId}` +- Mode: WRITE +- Summary: Update dataset +- Parameters: + - `datasetId` in `path` required +- Body: JSON request body accepted. + +### dataset_delete + +- Operation ID: `dataset_delete` +- Route: `DELETE /v2/datasets/{datasetId}` +- Mode: WRITE +- Summary: Delete dataset +- Parameters: + - `datasetId` in `path` required + +### dataset_items_get + +- Operation ID: `dataset_items_get` +- Route: `GET /v2/datasets/{datasetId}/items` +- Mode: READ +- Summary: Get dataset items +- Parameters: + - `datasetId` in `path` required + - `format` in `query` + - `clean` in `query` + - `offset` in `query` + - `limit` in `query` + - `fields` in `query` + - `outputFields` in `query` + - `omit` in `query` + - `unwind` in `query` + - `flatten` in `query` + - `desc` in `query` + - `attachment` in `query` + - `delimiter` in `query` + - `bom` in `query` + - `xmlRoot` in `query` + - `xmlRow` in `query` + - `skipHeaderRow` in `query` + - `skipHidden` in `query` + - `skipEmpty` in `query` + - `simplified` in `query` + - `view` in `query` + - `skipFailedPages` in `query` + - `feedTitle` in `query` + - `feedDescription` in `query` + - `signature` in `query` + +### dataset_items_head + +- Operation ID: `dataset_items_head` +- Route: `HEAD /v2/datasets/{datasetId}/items` +- Mode: READ +- Summary: Get dataset items headers +- Parameters: + - `datasetId` in `path` required + - `format` in `query` + - `clean` in `query` + - `offset` in `query` + - `limit` in `query` + - `fields` in `query` + - `outputFields` in `query` + - `omit` in `query` + - `unwind` in `query` + - `flatten` in `query` + - `desc` in `query` + - `attachment` in `query` + - `delimiter` in `query` + - `bom` in `query` + - `xmlRoot` in `query` + - `xmlRow` in `query` + - `skipHeaderRow` in `query` + - `skipHidden` in `query` + - `skipEmpty` in `query` + - `simplified` in `query` + - `view` in `query` + - `skipFailedPages` in `query` + - `feedTitle` in `query` + - `feedDescription` in `query` + - `signature` in `query` + +### dataset_items_post + +- Operation ID: `dataset_items_post` +- Route: `POST /v2/datasets/{datasetId}/items` +- Mode: WRITE +- Summary: Store items +- Parameters: + - `datasetId` in `path` required +- Body: JSON request body accepted. + +### dataset_statistics_get + +- Operation ID: `dataset_statistics_get` +- Route: `GET /v2/datasets/{datasetId}/statistics` +- Mode: READ +- Summary: Get dataset statistics +- Parameters: + - `datasetId` in `path` required diff --git a/skills/key-value-stores/SKILL.md b/skills/key-value-stores/SKILL.md new file mode 100644 index 0000000..171d84f --- /dev/null +++ b/skills/key-value-stores/SKILL.md @@ -0,0 +1,146 @@ +--- +name: key-value-stores-routes +description: Handle 12 OpenAPI operation(s) under /v2/key-value-stores for the key value stores route group. +--- + +# key value stores API Routes + +Handle 12 OpenAPI operation(s) under /v2/key-value-stores for the key value stores route group. + +Use the generated operation tools to make real API calls. Do not invent API responses. +If a tool reports missing setup, return the exact setup field name to the caller. +For write, update, or delete operations, state the intended action before calling the tool. + +## Operations + +### key_value_stores_get + +- Operation ID: `key_value_stores_get` +- Route: `GET /v2/key-value-stores` +- Mode: READ +- Summary: Get list of key-value stores +- Parameters: + - `offset` in `query` + - `limit` in `query` + - `desc` in `query` + - `unnamed` in `query` + - `ownership` in `query` + +### key_value_stores_post + +- Operation ID: `key_value_stores_post` +- Route: `POST /v2/key-value-stores` +- Mode: WRITE +- Summary: Create key-value store +- Parameters: + - `name` in `query` + +### key_value_store_get + +- Operation ID: `key_value_store_get` +- Route: `GET /v2/key-value-stores/{storeId}` +- Mode: READ +- Summary: Get store +- Parameters: + - `storeId` in `path` required + +### key_value_store_put + +- Operation ID: `key_value_store_put` +- Route: `PUT /v2/key-value-stores/{storeId}` +- Mode: WRITE +- Summary: Update store +- Parameters: + - `storeId` in `path` required +- Body: JSON request body accepted. + +### key_value_store_delete + +- Operation ID: `key_value_store_delete` +- Route: `DELETE /v2/key-value-stores/{storeId}` +- Mode: WRITE +- Summary: Delete store +- Parameters: + - `storeId` in `path` required + +### key_value_store_keys_get + +- Operation ID: `key_value_store_keys_get` +- Route: `GET /v2/key-value-stores/{storeId}/keys` +- Mode: READ +- Summary: Get list of keys +- Parameters: + - `storeId` in `path` required + - `exclusiveStartKey` in `query` + - `limit` in `query` + - `collection` in `query` + - `prefix` in `query` + - `signature` in `query` + +### key_value_store_records_get + +- Operation ID: `key_value_store_records_get` +- Route: `GET /v2/key-value-stores/{storeId}/records` +- Mode: READ +- Summary: Download records +- Parameters: + - `storeId` in `path` required + - `collection` in `query` + - `prefix` in `query` + - `signature` in `query` + +### key_value_store_record_get + +- Operation ID: `key_value_store_record_get` +- Route: `GET /v2/key-value-stores/{storeId}/records/{recordKey}` +- Mode: READ +- Summary: Get record +- Parameters: + - `storeId` in `path` required + - `recordKey` in `path` required + - `attachment` in `query` + - `signature` in `query` + +### key_value_store_record_head + +- Operation ID: `key_value_store_record_head` +- Route: `HEAD /v2/key-value-stores/{storeId}/records/{recordKey}` +- Mode: READ +- Summary: Check if a record exists +- Parameters: + - `storeId` in `path` required + - `recordKey` in `path` required + +### key_value_store_record_put + +- Operation ID: `key_value_store_record_put` +- Route: `PUT /v2/key-value-stores/{storeId}/records/{recordKey}` +- Mode: WRITE +- Summary: Store record +- Parameters: + - `storeId` in `path` required + - `recordKey` in `path` required + - `Content-Encoding` in `header` +- Body: JSON request body accepted. + +### key_value_store_record_post + +- Operation ID: `key_value_store_record_post` +- Route: `POST /v2/key-value-stores/{storeId}/records/{recordKey}` +- Mode: WRITE +- Summary: Store record (POST) +- Parameters: + - `storeId` in `path` required + - `recordKey` in `path` required + - `Content-Encoding` in `header` +- Body: JSON request body accepted. + +### key_value_store_record_delete + +- Operation ID: `key_value_store_record_delete` +- Route: `DELETE /v2/key-value-stores/{storeId}/records/{recordKey}` +- Mode: WRITE +- Summary: Delete record +- Parameters: + - `storeId` in `path` required + - `recordKey` in `path` required diff --git a/skills/logs/SKILL.md b/skills/logs/SKILL.md new file mode 100644 index 0000000..3df4f52 --- /dev/null +++ b/skills/logs/SKILL.md @@ -0,0 +1,26 @@ +--- +name: logs-routes +description: Handle 1 OpenAPI operation(s) under /v2/logs/{buildOrRunId} for the logs route group. +--- + +# logs API Routes + +Handle 1 OpenAPI operation(s) under /v2/logs/{buildOrRunId} for the logs route group. + +Use the generated operation tools to make real API calls. Do not invent API responses. +If a tool reports missing setup, return the exact setup field name to the caller. +For write, update, or delete operations, state the intended action before calling the tool. + +## Operations + +### log_get + +- Operation ID: `log_get` +- Route: `GET /v2/logs/{buildOrRunId}` +- Mode: READ +- Summary: Get log +- Parameters: + - `buildOrRunId` in `path` required + - `stream` in `query` + - `download` in `query` + - `raw` in `query` diff --git a/skills/request-queues/SKILL.md b/skills/request-queues/SKILL.md new file mode 100644 index 0000000..a7e8f1d --- /dev/null +++ b/skills/request-queues/SKILL.md @@ -0,0 +1,206 @@ +--- +name: request-queues-routes +description: Handle 17 OpenAPI operation(s) under /v2/request-queues for the request queues route group. +--- + +# request queues API Routes + +Handle 17 OpenAPI operation(s) under /v2/request-queues for the request queues route group. + +Use the generated operation tools to make real API calls. Do not invent API responses. +If a tool reports missing setup, return the exact setup field name to the caller. +For write, update, or delete operations, state the intended action before calling the tool. + +## Operations + +### request_queues_get + +- Operation ID: `request_queues_get` +- Route: `GET /v2/request-queues` +- Mode: READ +- Summary: Get list of request queues +- Parameters: + - `offset` in `query` + - `limit` in `query` + - `desc` in `query` + - `unnamed` in `query` + - `ownership` in `query` + +### request_queues_post + +- Operation ID: `request_queues_post` +- Route: `POST /v2/request-queues` +- Mode: WRITE +- Summary: Create request queue +- Parameters: + - `name` in `query` + +### request_queue_get + +- Operation ID: `request_queue_get` +- Route: `GET /v2/request-queues/{queueId}` +- Mode: READ +- Summary: Get request queue +- Parameters: + - `queueId` in `path` required + +### request_queue_put + +- Operation ID: `request_queue_put` +- Route: `PUT /v2/request-queues/{queueId}` +- Mode: WRITE +- Summary: Update request queue +- Parameters: + - `queueId` in `path` required +- Body: JSON request body accepted. + +### request_queue_delete + +- Operation ID: `request_queue_delete` +- Route: `DELETE /v2/request-queues/{queueId}` +- Mode: WRITE +- Summary: Delete request queue +- Parameters: + - `queueId` in `path` required + +### request_queue_requests_batch_post + +- Operation ID: `request_queue_requests_batch_post` +- Route: `POST /v2/request-queues/{queueId}/requests/batch` +- Mode: WRITE +- Summary: Add requests +- Parameters: + - `queueId` in `path` required + - `clientKey` in `query` + - `forefront` in `query` +- Body: JSON request body accepted. + +### request_queue_requests_batch_delete + +- Operation ID: `request_queue_requests_batch_delete` +- Route: `DELETE /v2/request-queues/{queueId}/requests/batch` +- Mode: WRITE +- Summary: Delete requests +- Parameters: + - `queueId` in `path` required + - `Content-Type` in `header` required + - `clientKey` in `query` +- Body: JSON request body accepted. + +### request_queue_requests_unlock_post + +- Operation ID: `request_queue_requests_unlock_post` +- Route: `POST /v2/request-queues/{queueId}/requests/unlock` +- Mode: WRITE +- Summary: Unlock requests +- Parameters: + - `queueId` in `path` required + - `clientKey` in `query` + +### request_queue_requests_get + +- Operation ID: `request_queue_requests_get` +- Route: `GET /v2/request-queues/{queueId}/requests` +- Mode: READ +- Summary: List requests +- Parameters: + - `queueId` in `path` required + - `clientKey` in `query` + - `exclusiveStartId` in `query` + - `limit` in `query` + - `cursor` in `query` + - `filter` in `query` + +### request_queue_requests_post + +- Operation ID: `request_queue_requests_post` +- Route: `POST /v2/request-queues/{queueId}/requests` +- Mode: WRITE +- Summary: Add request +- Parameters: + - `queueId` in `path` required + - `clientKey` in `query` + - `forefront` in `query` +- Body: JSON request body accepted. + +### request_queue_request_get + +- Operation ID: `request_queue_request_get` +- Route: `GET /v2/request-queues/{queueId}/requests/{requestId}` +- Mode: READ +- Summary: Get request +- Parameters: + - `queueId` in `path` required + - `requestId` in `path` required + +### request_queue_request_put + +- Operation ID: `request_queue_request_put` +- Route: `PUT /v2/request-queues/{queueId}/requests/{requestId}` +- Mode: WRITE +- Summary: Update request +- Parameters: + - `queueId` in `path` required + - `requestId` in `path` required + - `forefront` in `query` + - `clientKey` in `query` +- Body: JSON request body accepted. + +### request_queue_request_delete + +- Operation ID: `request_queue_request_delete` +- Route: `DELETE /v2/request-queues/{queueId}/requests/{requestId}` +- Mode: WRITE +- Summary: Delete request +- Parameters: + - `queueId` in `path` required + - `requestId` in `path` required + - `clientKey` in `query` + +### request_queue_head_get + +- Operation ID: `request_queue_head_get` +- Route: `GET /v2/request-queues/{queueId}/head` +- Mode: READ +- Summary: Get head +- Parameters: + - `queueId` in `path` required + - `limit` in `query` + - `clientKey` in `query` + +### request_queue_head_lock_post + +- Operation ID: `request_queue_head_lock_post` +- Route: `POST /v2/request-queues/{queueId}/head/lock` +- Mode: WRITE +- Summary: Get head and lock +- Parameters: + - `queueId` in `path` required + - `lockSecs` in `query` required + - `limit` in `query` + - `clientKey` in `query` + +### request_queue_request_lock_put + +- Operation ID: `request_queue_request_lock_put` +- Route: `PUT /v2/request-queues/{queueId}/requests/{requestId}/lock` +- Mode: WRITE +- Summary: Prolong request lock +- Parameters: + - `queueId` in `path` required + - `requestId` in `path` required + - `lockSecs` in `query` required + - `clientKey` in `query` + - `forefront` in `query` + +### request_queue_request_lock_delete + +- Operation ID: `request_queue_request_lock_delete` +- Route: `DELETE /v2/request-queues/{queueId}/requests/{requestId}/lock` +- Mode: WRITE +- Summary: Delete request lock +- Parameters: + - `queueId` in `path` required + - `requestId` in `path` required + - `clientKey` in `query` + - `forefront` in `query` diff --git a/skills/schedules/SKILL.md b/skills/schedules/SKILL.md new file mode 100644 index 0000000..e6d6066 --- /dev/null +++ b/skills/schedules/SKILL.md @@ -0,0 +1,70 @@ +--- +name: schedules-routes +description: Handle 6 OpenAPI operation(s) under /v2/schedules for the schedules route group. +--- + +# schedules API Routes + +Handle 6 OpenAPI operation(s) under /v2/schedules for the schedules route group. + +Use the generated operation tools to make real API calls. Do not invent API responses. +If a tool reports missing setup, return the exact setup field name to the caller. +For write, update, or delete operations, state the intended action before calling the tool. + +## Operations + +### schedules_get + +- Operation ID: `schedules_get` +- Route: `GET /v2/schedules` +- Mode: READ +- Summary: Get list of schedules +- Parameters: + - `offset` in `query` + - `limit` in `query` + - `desc` in `query` + +### schedules_post + +- Operation ID: `schedules_post` +- Route: `POST /v2/schedules` +- Mode: WRITE +- Summary: Create schedule +- Body: JSON request body accepted. + +### schedule_get + +- Operation ID: `schedule_get` +- Route: `GET /v2/schedules/{scheduleId}` +- Mode: READ +- Summary: Get schedule +- Parameters: + - `scheduleId` in `path` required + +### schedule_put + +- Operation ID: `schedule_put` +- Route: `PUT /v2/schedules/{scheduleId}` +- Mode: WRITE +- Summary: Update schedule +- Parameters: + - `scheduleId` in `path` required +- Body: JSON request body accepted. + +### schedule_delete + +- Operation ID: `schedule_delete` +- Route: `DELETE /v2/schedules/{scheduleId}` +- Mode: WRITE +- Summary: Delete schedule +- Parameters: + - `scheduleId` in `path` required + +### schedule_log_get + +- Operation ID: `schedule_log_get` +- Route: `GET /v2/schedules/{scheduleId}/log` +- Mode: READ +- Summary: Get schedule log +- Parameters: + - `scheduleId` in `path` required diff --git a/skills/store/SKILL.md b/skills/store/SKILL.md new file mode 100644 index 0000000..1860fc7 --- /dev/null +++ b/skills/store/SKILL.md @@ -0,0 +1,32 @@ +--- +name: store-routes +description: Handle 1 OpenAPI operation(s) under /v2/store for the store route group. +--- + +# store API Routes + +Handle 1 OpenAPI operation(s) under /v2/store for the store route group. + +Use the generated operation tools to make real API calls. Do not invent API responses. +If a tool reports missing setup, return the exact setup field name to the caller. +For write, update, or delete operations, state the intended action before calling the tool. + +## Operations + +### store_get + +- Operation ID: `store_get` +- Route: `GET /v2/store` +- Mode: READ +- Summary: Get list of Actors in Store +- Parameters: + - `limit` in `query` + - `offset` in `query` + - `search` in `query` + - `sortBy` in `query` + - `category` in `query` + - `username` in `query` + - `pricingModel` in `query` + - `allowsAgenticUsers` in `query` + - `responseFormat` in `query` + - `includeUnrunnableActors` in `query` diff --git a/skills/tools/SKILL.md b/skills/tools/SKILL.md new file mode 100644 index 0000000..623ea9d --- /dev/null +++ b/skills/tools/SKILL.md @@ -0,0 +1,30 @@ +--- +name: tools-routes +description: Handle 2 OpenAPI operation(s) under /v2/tools for the tools route group. +--- + +# tools API Routes + +Handle 2 OpenAPI operation(s) under /v2/tools for the tools route group. + +Use the generated operation tools to make real API calls. Do not invent API responses. +If a tool reports missing setup, return the exact setup field name to the caller. +For write, update, or delete operations, state the intended action before calling the tool. + +## Operations + +### tools_encode_and_sign_post + +- Operation ID: `tools_encode_and_sign_post` +- Route: `POST /v2/tools/encode-and-sign` +- Mode: WRITE +- Summary: Encode and sign object +- Body: JSON request body accepted. + +### tools_decode_and_verify_post + +- Operation ID: `tools_decode_and_verify_post` +- Route: `POST /v2/tools/decode-and-verify` +- Mode: WRITE +- Summary: Decode and verify object +- Body: JSON request body accepted. diff --git a/skills/users/SKILL.md b/skills/users/SKILL.md new file mode 100644 index 0000000..27bfd4f --- /dev/null +++ b/skills/users/SKILL.md @@ -0,0 +1,54 @@ +--- +name: users-routes +description: Handle 5 OpenAPI operation(s) under /v2/users for the users route group. +--- + +# users API Routes + +Handle 5 OpenAPI operation(s) under /v2/users for the users route group. + +Use the generated operation tools to make real API calls. Do not invent API responses. +If a tool reports missing setup, return the exact setup field name to the caller. +For write, update, or delete operations, state the intended action before calling the tool. + +## Operations + +### user_get + +- Operation ID: `user_get` +- Route: `GET /v2/users/{userId}` +- Mode: READ +- Summary: Get public user data +- Parameters: + - `userId` in `path` required + +### users_me_get + +- Operation ID: `users_me_get` +- Route: `GET /v2/users/me` +- Mode: READ +- Summary: Get private user data + +### users_me_usage_monthly_get + +- Operation ID: `users_me_usage_monthly_get` +- Route: `GET /v2/users/me/usage/monthly` +- Mode: READ +- Summary: Get monthly usage +- Parameters: + - `date` in `query` + +### users_me_limits_get + +- Operation ID: `users_me_limits_get` +- Route: `GET /v2/users/me/limits` +- Mode: READ +- Summary: Get limits + +### users_me_limits_put + +- Operation ID: `users_me_limits_put` +- Route: `PUT /v2/users/me/limits` +- Mode: WRITE +- Summary: Update limits +- Body: JSON request body accepted. diff --git a/skills/webhook-dispatches/SKILL.md b/skills/webhook-dispatches/SKILL.md new file mode 100644 index 0000000..cdb227a --- /dev/null +++ b/skills/webhook-dispatches/SKILL.md @@ -0,0 +1,34 @@ +--- +name: webhook-dispatches-routes +description: Handle 2 OpenAPI operation(s) under /v2/webhook-dispatches for the webhook dispatches route group. +--- + +# webhook dispatches API Routes + +Handle 2 OpenAPI operation(s) under /v2/webhook-dispatches for the webhook dispatches route group. + +Use the generated operation tools to make real API calls. Do not invent API responses. +If a tool reports missing setup, return the exact setup field name to the caller. +For write, update, or delete operations, state the intended action before calling the tool. + +## Operations + +### webhook_dispatches_get + +- Operation ID: `webhook_dispatches_get` +- Route: `GET /v2/webhook-dispatches` +- Mode: READ +- Summary: Get list of webhook dispatches +- Parameters: + - `offset` in `query` + - `limit` in `query` + - `desc` in `query` + +### webhook_dispatch_get + +- Operation ID: `webhook_dispatch_get` +- Route: `GET /v2/webhook-dispatches/{dispatchId}` +- Mode: READ +- Summary: Get webhook dispatch +- Parameters: + - `dispatchId` in `path` required diff --git a/skills/webhooks/SKILL.md b/skills/webhooks/SKILL.md new file mode 100644 index 0000000..43a58b1 --- /dev/null +++ b/skills/webhooks/SKILL.md @@ -0,0 +1,79 @@ +--- +name: webhooks-routes +description: Handle 7 OpenAPI operation(s) under /v2/webhooks for the webhooks route group. +--- + +# webhooks API Routes + +Handle 7 OpenAPI operation(s) under /v2/webhooks for the webhooks route group. + +Use the generated operation tools to make real API calls. Do not invent API responses. +If a tool reports missing setup, return the exact setup field name to the caller. +For write, update, or delete operations, state the intended action before calling the tool. + +## Operations + +### webhooks_get + +- Operation ID: `webhooks_get` +- Route: `GET /v2/webhooks` +- Mode: READ +- Summary: Get list of webhooks +- Parameters: + - `offset` in `query` + - `limit` in `query` + - `desc` in `query` + +### webhooks_post + +- Operation ID: `webhooks_post` +- Route: `POST /v2/webhooks` +- Mode: WRITE +- Summary: Create webhook +- Body: JSON request body accepted. + +### webhook_get + +- Operation ID: `webhook_get` +- Route: `GET /v2/webhooks/{webhookId}` +- Mode: READ +- Summary: Get webhook +- Parameters: + - `webhookId` in `path` required + +### webhook_put + +- Operation ID: `webhook_put` +- Route: `PUT /v2/webhooks/{webhookId}` +- Mode: WRITE +- Summary: Update webhook +- Parameters: + - `webhookId` in `path` required +- Body: JSON request body accepted. + +### webhook_delete + +- Operation ID: `webhook_delete` +- Route: `DELETE /v2/webhooks/{webhookId}` +- Mode: WRITE +- Summary: Delete webhook +- Parameters: + - `webhookId` in `path` required + +### webhook_test_post + +- Operation ID: `webhook_test_post` +- Route: `POST /v2/webhooks/{webhookId}/test` +- Mode: WRITE +- Summary: Test webhook +- Parameters: + - `webhookId` in `path` required + +### webhook_webhook_dispatches_get + +- Operation ID: `webhook_webhook_dispatches_get` +- Route: `GET /v2/webhooks/{webhookId}/dispatches` +- Mode: READ +- Summary: Get collection +- Parameters: + - `webhookId` in `path` required