# Cosmo Change Asset Metadata Action

With the help of Cosmo Change Asset Metadata Action it is possible to manage custom metadata besides typical job and project metadata. This node will add or update one or multiple metadata key value pairs to an asset by referring to the asset ID. It allows users to change asset metadata of already indexed Assets. The corresponding metadata entries will be added (new entries) to or updated (existing entries) in the database (MongoDB - assetDB) into the array „customMetadata“. Avoid using this node right after the Cosmo Add Asset To Project Action node or at least provide the Sleep Action in between and wait for 4000+ ms.

With the "Autosync" option it can be decided within the Helmut4 panel if the asset should automatically be synced whenever the project is opened or the user initiates a manual Sync process. If the Autosync is disabled an orange icon will be increased with the amount of assets that needs to be synchronized/updated.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.helmut.de/helmut4-releases/v4.7.0/helmut4-components/streamdesigner/nodes/actions/cosmo/cosmo-change-asset-metadata-action.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
