Azure DevOps · Arazzo Workflow

Azure DevOps Inspect a Release Definition and Cut a Release

Version 1.0.0

Read a release definition, create a release from it, and confirm the release.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub AgileCI/CDDevOpsProject ManagementVersion ControlArazzoWorkflows

Provider

microsoft-azure-devops

Workflows

release-from-definition
Read a release definition, create a release, and confirm it.
Gets a release definition, creates a release from it with an artifact, and retrieves the created release.
3 steps inputs: accessToken, apiVersion, artifactAlias, artifactInstanceId, artifactInstanceName, definitionId outputs: releaseId, status
1
getDefinition
Fetch the release definition to confirm it exists and capture its name and revision before cutting a release.
2
createRelease
Create a release from the confirmed definition, binding the named artifact to the requested build instance.
3
confirmRelease
Fetch the newly created release to confirm it exists and read its status.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Azure DevOps Inspect a Release Definition and Cut a Release
  summary: Read a release definition, create a release from it, and confirm the release.
  description: >-
    Cuts a release from an existing release definition with a verification pass.
    The workflow fetches the release definition to confirm it exists and capture
    its name, creates a release from that definition bound to a build artifact,
    and then fetches the new release to confirm it was created. 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
  x-realizes-capability-ids:
  - BC-4210
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-4210
      capability_name: Software Release & Deployment Management
      spec: microsoft-azure-devops-releases-api-openapi.yml
      confidence: 0.82
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: releaseDefinitionsApi
  url: ../openapi/microsoft-azure-devops-release-definitions-api-openapi.yml
  type: openapi
- name: releasesApi
  url: ../openapi/microsoft-azure-devops-releases-api-openapi.yml
  type: openapi
workflows:
- workflowId: release-from-definition
  summary: Read a release definition, create a release, and confirm it.
  description: >-
    Gets a release definition, creates a release from it with an artifact, and
    retrieves the created release.
  inputs:
    type: object
    required:
    - apiVersion
    - definitionId
    - artifactAlias
    - artifactInstanceId
    - artifactInstanceName
    properties:
      apiVersion:
        type: string
        description: Azure DevOps REST API version (e.g. 7.1).
      definitionId:
        type: integer
        description: ID of the release definition.
      artifactAlias:
        type: string
        description: Artifact alias as defined in the release definition.
      artifactInstanceId:
        type: string
        description: Build ID or artifact version ID to deploy.
      artifactInstanceName:
        type: string
        description: Build number or version string for the artifact.
      accessToken:
        type: string
        description: Azure DevOps bearer (OAuth 2.0) access token.
  steps:
  - stepId: getDefinition
    description: >-
      Fetch the release definition to confirm it exists and capture its name and
      revision before cutting a release.
    operationId: releaseDefinitions_get
    parameters:
    - name: api-version
      in: query
      value: $inputs.apiVersion
    - name: definitionId
      in: path
      value: $inputs.definitionId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      definitionName: $response.body#/name
      revision: $response.body#/revision
  - stepId: createRelease
    description: >-
      Create a release from the confirmed definition, binding the named artifact
      to the requested build instance.
    operationId: releases_create
    parameters:
    - name: api-version
      in: query
      value: $inputs.apiVersion
    requestBody:
      contentType: application/json
      payload:
        definitionId: $inputs.definitionId
        description: $steps.getDefinition.outputs.definitionName
        artifacts:
        - alias: $inputs.artifactAlias
          instanceReference:
            id: $inputs.artifactInstanceId
            name: $inputs.artifactInstanceName
        isDraft: false
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      releaseId: $response.body#/id
  - stepId: confirmRelease
    description: >-
      Fetch the newly created release to confirm it exists and read its status.
    operationId: releases_get
    parameters:
    - name: api-version
      in: query
      value: $inputs.apiVersion
    - name: releaseId
      in: path
      value: $steps.createRelease.outputs.releaseId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      status: $response.body#/status
      name: $response.body#/name
  outputs:
    releaseId: $steps.createRelease.outputs.releaseId
    status: $steps.confirmRelease.outputs.status

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/microsoft-azure-devops-release-from-definition-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.