capabilities.work

Tag a Dataset

A 2-step recipe with DataHub. We can help you get access.

Recipe · 2 steps

Tag a Dataset

with DataHub · Information & Data Management

Verify a dataset entity and apply a globalTags aspect to it.

  1. Retrieve the latest aspects for the dataset URN to confirm the entity exists before applying tags.
  2. Upsert the globalTags aspect for the confirmed dataset URN to associate the supplied tags with the dataset.
What you'll need to have ready
  • token: DataHub personal access token passed as a Bearer token.
  • entityUrn: The dataset URN to tag.
  • globalTags: The globalTags aspect value containing the tag associations to apply.
For your developer

Arazzo workflow datahub:tag-dataset, 2 operations: getEntityLatestAspects → upsertEntities. Specs on APIs.io.