artifacts_refresh
Re-render a data-driven artifact from a small data payload and publish a new version at the SAME URL. The artifact must have been created/updated with a template (HTML containing {{placeholder}} tokens). Pass data as a flat map of placeholder -> value (e.g. {"leads": "3 200", "date": "15 июля 2026"}); the server substitutes them into the stored template — you do NOT send any HTML. Ideal for scheduled refreshes of live numbers. Every template placeholder must have a value in data, or the call fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Flat map of {{placeholder}} name -> value. Every placeholder in the template must be present. Values are HTML-escaped. | |
| label | No | Optional version label (e.g. 'daily refresh'). | |
| artifact_id | Yes | The data-driven artifact to refresh. | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |