capabilities.work

Emit Platform Event and Audit

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

Recipe · 3 steps

Emit Platform Event and Audit

with DataHub · Information & Data Management

Emit an MCP, read the entity back, and audit the change in its timeline.

  1. Emit an UPSERT metadata change proposal for the target entity through the platform ingestion path.
  2. Retrieve the latest aspects for the target entity to observe the result of the emitted change proposal.
  3. Query the entity timeline for the changed aspect to audit the recorded change transaction.
What you'll need to have ready
  • token: DataHub personal access token passed as a Bearer token.
  • entityUrn: The URN of the entity the metadata change proposal targets.
  • entityType: The type of the target entity (e.g. dataset).
  • aspectName: The name of the aspect being changed (e.g. datasetProperties).
  • aspect: The new aspect value to propose.
For your developer

Arazzo workflow datahub:emit-and-audit, 3 operations: emitPlatformEvents → getEntityLatestAspects → getTimeline. Specs on APIs.io.