Skip to main content
Question

Changing Metadata with the automation API

  • July 27, 2026
  • 1 reply
  • 30 views

Christian Trachsel
Forum|alt.badge.img+1

Hello,
I'd like to update the metadata for the assets using the Automation API. It seems that not all metadata fields can be modified directly via the API.
Where can I find these restrictions?
Using `/automation/v1.0/metadata/templates/default/fields`, you can see all fields, including those that cannot be modified.
Furthermore, it’s not possible to retrieve the values of a list, such as for `default.theme`. 

1 reply

Valentine
Huwise Team
Forum|alt.badge.img+1
  • Huwise Team
  • August 25, 2026

Hello Christian,

Thank you for your message.

You're right : the /automation/v1.0/metadata/templates/default/fields call returns all fields from the default template, whether or not they can be edited via the API.

To get only the editable fields, you can use /automation/v1.0/datasets/<dataset_uid>/metadata/. This call returns the metadata for a specific dataset (identified by its dataset_uid), and only includes the non-empty metadata fields that are editable via a PUT request.

We've taken note of your feedback and will look into ways to make this simpler.

Regarding your second question:

  • If you want to retrieve the themes of a specific dataset :

default.theme is not part of the metadata that can be edited via the API, so it isn't returned when you list a dataset's metadata. That said, the API does let you work with the technical IDs of your dataset's themes. Note that this field lives in the internal template, not the default one. So look for internal.theme_id in the API response.

To see how theme IDs map to theme names, use: /automation/v1.0/metadata/templates/internal/fields/theme_id

  • If you want to list a portal's themes :

Call /automation/v1.0/metadata/templates/internal/theme_id directly.