Azure DevOps · Arazzo Workflow

Azure DevOps Provision a Release Definition and Cut a Release

Version 1.0.0

Create a release definition, confirm it, and create a first release from it.

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

Provider

microsoft-azure-devops

Workflows

provision-release-definition
Create a release definition, confirm it, and cut a first release.
Creates a release definition, retrieves it to confirm creation, and creates an initial release from it.
3 steps inputs: accessToken, apiVersion, artifactAlias, artifactInstanceId, artifactInstanceName, definition outputs: definitionId, releaseId
1
createDefinition
Create the release definition from the supplied definition body.
2
confirmDefinition
Fetch the release definition by ID to confirm it was created and capture its revision.
3
createFirstRelease
Create a first release from the newly provisioned definition, binding the named artifact to the requested build instance.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Azure DevOps Provision a Release Definition and Cut a Release
  summary: Create a release definition, confirm it, and create a first release from it.
  description: >-
    Stands up a new classic release pipeline and cuts an initial release. The
    workflow creates a release definition from a supplied definition body,
    fetches it by the returned ID to confirm the environments and artifact
    sources, and then creates a first release from that definition bound to a
    build artifact. 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: provision-release-definition
  summary: Create a release definition, confirm it, and cut a first release.
  description: >-
    Creates a release definition, retrieves it to confirm creation, and creates
    an initial release from it.
  inputs:
    type: object
    required:
    - apiVersion
    - definition
    - artifactAlias
    - artifactInstanceId
    - artifactInstanceName
    properties:
      apiVersion:
        type: string
        description: Azure DevOps REST API version (e.g. 7.1).
      definition:
        type: object
        description: >-
          Release definition body matching the ReleaseDefinition schema (name,
          environments, artifacts, etc.).
      artifactAlias:
        type: string
        description: Artifact alias as defined in the release definition.
      artifactInstanceId:
        type: string
        description: Build ID or artifact version ID to deploy in the first release.
      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: createDefinition
    description: >-
      Create the release definition from the supplied definition body.
    operationId: releaseDefinitions_create
    parameters:
    - name: api-version
      in: query
      value: $inputs.apiVersion
    requestBody:
      contentType: application/json
      payload: $inputs.definition
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      definitionId: $response.body#/id
      definitionName: $response.body#/name
  - stepId: confirmDefinition
    description: >-
      Fetch the release definition by ID to confirm it was created and capture
      its revision.
    operationId: releaseDefinitions_get
    parameters:
    - name: api-version
      in: query
      value: $inputs.apiVersion
    - name: definitionId
      in: path
      value: $steps.createDefinition.outputs.definitionId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      revision: $response.body#/revision
  - stepId: createFirstRelease
    description: >-
      Create a first release from the newly provisioned 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: $steps.createDefinition.outputs.definitionId
        artifacts:
        - alias: $inputs.artifactAlias
          instanceReference:
            id: $inputs.artifactInstanceId
            name: $inputs.artifactInstanceName
        isDraft: false
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      releaseId: $response.body#/id
  outputs:
    definitionId: $steps.createDefinition.outputs.definitionId
    releaseId: $steps.createFirstRelease.outputs.releaseId

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-definition-provision-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.