Actions15
Set Asset Fields
AI-generatedSummary
Update custom fields of a Storyteq asset
Inputs
- assetID (required) — The ID of the asset whose fields are to be updated.
- fields (required) — JSON object mapping field IDs to arrays of string values, e.g., {"123": ["value1", "value2"], "456": ["value3"]}.
Output shape
a JSON success response
On success the operation returns { success: true }; errors are thrown and not captured in the response body.
Examples
Example 1: Set fields on a single asset
assetID: 123, fields: {"123": ["value1"], "456": ["value2"]}
Example 2: Bulk update multiple assets in a workflow
Pass an array of asset objects each containing assetID and fields; each triggers the Set Asset Fields operation.