Dynatrace · Arazzo Workflow

Dynatrace Annotate a Deployment with a Custom Event

Version 1.0.0

Resolve a service by name, push a deployment event onto its timeline, and verify it.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub AI OperationsAnalyticsAPMApplication Performance MonitoringApplication SecurityAutomationCloud MonitoringDigital Experience ManagementIntelligenceObservabilityArazzoWorkflows

Provider

dynatrace

Workflows

annotate-deployment-event
Push a deployment event for a named service and verify it landed.
Looks up a service by name, ingests a deployment event targeting it, and lists events to confirm the deployment annotation is present.
3 steps inputs: deployedBy, deploymentTitle, serviceName, version outputs: entityId, eventId, verifiedCount
1
resolveService
Resolve the service display name to a Dynatrace entity ID so the event can be scoped precisely to that entity.
2
ingestDeploymentEvent
Ingest a CUSTOM_DEPLOYMENT event onto the resolved service's timeline, carrying the version and deployer as event properties.
3
verifyEvent
List recent CUSTOM_DEPLOYMENT events affecting the service to confirm the deployment annotation was accepted and is visible.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Dynatrace Annotate a Deployment with a Custom Event
  summary: Resolve a service by name, push a deployment event onto its timeline, and verify it.
  description: >-
    Records a deployment on the Dynatrace timeline. The workflow first resolves
    the target service from its human-readable name to obtain its entity ID,
    ingests a CUSTOM_DEPLOYMENT event scoped to that service, and then lists
    recent events to confirm the annotation was accepted. Every step spells out
    its request inline so the flow can be read and executed without opening the
    underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: entitiesApi
  url: ../openapi/dynatrace-entities-api-openapi.yml
  type: openapi
- name: eventsApi
  url: ../openapi/dynatrace-events-api-openapi.yml
  type: openapi
workflows:
- workflowId: annotate-deployment-event
  summary: Push a deployment event for a named service and verify it landed.
  description: >-
    Looks up a service by name, ingests a deployment event targeting it, and
    lists events to confirm the deployment annotation is present.
  inputs:
    type: object
    required:
    - serviceName
    - deploymentTitle
    - version
    properties:
      serviceName:
        type: string
        description: The display name of the service being deployed.
      deploymentTitle:
        type: string
        description: A short title describing the deployment (e.g. "Release v2.5.1").
      version:
        type: string
        description: The version identifier being deployed.
      deployedBy:
        type: string
        description: Who or what triggered the deployment (e.g. "CI/CD pipeline").
  steps:
  - stepId: resolveService
    description: >-
      Resolve the service display name to a Dynatrace entity ID so the event
      can be scoped precisely to that entity.
    operationId: lookupEntity
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.serviceName
        type: SERVICE
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      entityId: $response.body#/entityId
      displayName: $response.body#/displayName
  - stepId: ingestDeploymentEvent
    description: >-
      Ingest a CUSTOM_DEPLOYMENT event onto the resolved service's timeline,
      carrying the version and deployer as event properties.
    operationId: ingestEvent
    requestBody:
      contentType: application/json
      payload:
        eventType: CUSTOM_DEPLOYMENT
        title: $inputs.deploymentTitle
        entitySelector: "entityId($steps.resolveService.outputs.entityId)"
        properties:
          version: $inputs.version
          deployedBy: $inputs.deployedBy
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      reportCount: $response.body#/reportCount
      eventId: $response.body#/eventIngestResults/0/eventId
  - stepId: verifyEvent
    description: >-
      List recent CUSTOM_DEPLOYMENT events affecting the service to confirm the
      deployment annotation was accepted and is visible.
    operationId: listEvents
    parameters:
    - name: eventType
      in: query
      value: CUSTOM_DEPLOYMENT
    - name: entitySelector
      in: query
      value: "entityId($steps.resolveService.outputs.entityId)"
    - name: from
      in: query
      value: now-1h
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      totalCount: $response.body#/totalCount
      latestEventId: $response.body#/events/0/eventId
  outputs:
    entityId: $steps.resolveService.outputs.entityId
    eventId: $steps.ingestDeploymentEvent.outputs.eventId
    verifiedCount: $steps.verifyEvent.outputs.totalCount

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/dynatrace-annotate-deployment-event-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.