From d1d5b592755422338f42541157e476ff43b4bd95 Mon Sep 17 00:00:00 2001 From: Jiri Spilka Date: Wed, 22 Oct 2025 08:31:15 +0200 Subject: [PATCH 1/2] fix: Output schema (fix copy-paste mistakes) and containerUrl to containerRunUrl (I guess it is a correct variable) --- .../development/actor_definition/output_schema/index.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sources/platform/actors/development/actor_definition/output_schema/index.md b/sources/platform/actors/development/actor_definition/output_schema/index.md index cbd313669..dfd82a95a 100644 --- a/sources/platform/actors/development/actor_definition/output_schema/index.md +++ b/sources/platform/actors/development/actor_definition/output_schema/index.md @@ -56,7 +56,7 @@ You can organize the files using one of these structures: ## Definitions -The key-value store schema defines the collections of keys and their properties. It allows you to organize and validate data stored by the Actor, making it easier to manage and retrieve specific records. +The output schema defines the collections of keys and their properties. It allows you to organize and validate data stored by the Actor, making it easier to manage and retrieve specific records. ### Output schema object definition @@ -139,7 +139,7 @@ Then to specify that output is stored in the default dataset, create `.actor/out } ``` -To show, that the output is stored in the default key-value store, the schema defines a property called `results`. +To show that the output is stored in the default dataset, the schema defines a property called `results`. The `title` is a human-readable name for the output, shown in the Apify Console. @@ -206,7 +206,7 @@ Then to specify that output is stored in the key-value store, update `.actor/out } ``` -To show, that the output is stored in the default key-value store, the schema defines a property called `files`. +To show that the output is stored in the default key-value store, the schema defines a property called `files`. The `template` uses a variable `{{links.apiDefaultKeyValueStoreUrl}}`, which is replaced with the URL of the default key-value store API endpoints when the Actor run finishes. @@ -297,7 +297,7 @@ The conversation history is then stored in the dataset. "clientUrl": { "type": "string", "title": "Chat client", - "template": "{{run.containerUrl}}" + "template": "{{run.containerRunUrl}}" }, "chatHistory": { "type": "string", From f88f4851e9a3049b9bd74f157fcc7538f71a0480 Mon Sep 17 00:00:00 2001 From: Jiri Spilka Date: Wed, 22 Oct 2025 09:23:18 +0200 Subject: [PATCH 2/2] fix: change `containerRunUrl` back to `containerUrl` and replace `links.containerRunUrl` with `run.containerUrl` --- .../development/actor_definition/output_schema/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/platform/actors/development/actor_definition/output_schema/index.md b/sources/platform/actors/development/actor_definition/output_schema/index.md index dfd82a95a..5b0dff595 100644 --- a/sources/platform/actors/development/actor_definition/output_schema/index.md +++ b/sources/platform/actors/development/actor_definition/output_schema/index.md @@ -85,8 +85,8 @@ The output schema defines the collections of keys and their properties. It allow | `links.apiRunUrl` | string | API run url in format `https://api.apify.com/v2/actor-runs/:runId` | | `links.apiDefaultDatasetUrl` | string | API url of default dataset in format `https://api.apify.com/v2/datasets/:defaultDatasetId` | | `links.apiDefaultKeyValueStoreUrl` | string | API url of default key-value store in format `https://api.apify.com/v2/key-value-stores/:defaultKeyValueStoreId` | -| `links.containerRunUrl` | string | URL of a webserver running inside the run in format `https://.runs.apify.net/` | | `run` | object | Contains information about the run same as it is returned from the `GET Run` API endpoint | +| `run.containerUrl` | string | URL of a webserver running inside the run in format `https://.runs.apify.net/` | | `run.defaultDatasetId` | string | ID of the default dataset | | `run.defaultKeyValueStoreId` | string | ID of the default key-value store | @@ -297,7 +297,7 @@ The conversation history is then stored in the dataset. "clientUrl": { "type": "string", "title": "Chat client", - "template": "{{run.containerRunUrl}}" + "template": "{{run.containerUrl}}" }, "chatHistory": { "type": "string",