Microsoft Azure API Management · Arazzo Workflow

Azure API Management Define API Operation

Version 1.0.0

Confirm an API exists, add an operation to it, then list the API's operations.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub A2AAI GatewayAPI CenterAPI GatewayAPI ManagementEnterpriseMCPMicrosoft AzureArazzoWorkflows

Provider

microsoft-azure-api-management

Workflows

define-api-operation
Add an operation to an API and confirm it.
Confirms the API exists, creates an operation with a method and URL template, then lists the API's operations to verify.
3 steps inputs: apiId, displayName, method, operationId, resourceGroupName, serviceName, subscriptionId, urlTemplate outputs: operationCount, operationResourceId
1
getApi
Read the API to confirm it exists before adding an operation.
2
createOperation
Create or update the operation with a display name, HTTP method, and URL template.
3
listOperations
List the API's operations to confirm the new operation is present.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Azure API Management Define API Operation
  summary: Confirm an API exists, add an operation to it, then list the API's operations.
  description: >-
    Adds a single HTTP operation (method + URL template) to an existing API. The
    workflow reads the API to confirm it exists, creates or updates the
    operation with a display name, method, and URL template, then lists the
    API's operations to confirm the new operation is present. 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: apiApi
  url: ../openapi/microsoft-azure-api-management-api-api-openapi.yml
  type: openapi
- name: apioperationApi
  url: ../openapi/microsoft-azure-api-management-apioperation-api-openapi.yml
  type: openapi
workflows:
- workflowId: define-api-operation
  summary: Add an operation to an API and confirm it.
  description: >-
    Confirms the API exists, creates an operation with a method and URL
    template, then lists the API's operations to verify.
  inputs:
    type: object
    required:
    - subscriptionId
    - resourceGroupName
    - serviceName
    - apiId
    - operationId
    - displayName
    - method
    - urlTemplate
    properties:
      subscriptionId:
        type: string
        description: The Azure subscription identifier.
      resourceGroupName:
        type: string
        description: The resource group containing the service.
      serviceName:
        type: string
        description: The API Management service name.
      apiId:
        type: string
        description: The API identifier to add the operation to.
      operationId:
        type: string
        description: The operation identifier to create.
      displayName:
        type: string
        description: The operation display name.
      method:
        type: string
        description: The HTTP method (e.g. GET, POST).
      urlTemplate:
        type: string
        description: The operation URL template (e.g. /pets/{petId}).
  steps:
  - stepId: getApi
    description: >-
      Read the API to confirm it exists before adding an operation.
    operationId: Api_Get
    parameters:
    - name: subscriptionId
      in: path
      value: $inputs.subscriptionId
    - name: resourceGroupName
      in: path
      value: $inputs.resourceGroupName
    - name: serviceName
      in: path
      value: $inputs.serviceName
    - name: apiId
      in: path
      value: $inputs.apiId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      apiResourceId: $response.body#/id
  - stepId: createOperation
    description: >-
      Create or update the operation with a display name, HTTP method, and URL
      template.
    operationId: ApiOperation_CreateOrUpdate
    parameters:
    - name: subscriptionId
      in: path
      value: $inputs.subscriptionId
    - name: resourceGroupName
      in: path
      value: $inputs.resourceGroupName
    - name: serviceName
      in: path
      value: $inputs.serviceName
    - name: apiId
      in: path
      value: $inputs.apiId
    - name: operationId
      in: path
      value: $inputs.operationId
    requestBody:
      contentType: application/json
      payload:
        properties:
          displayName: $inputs.displayName
          method: $inputs.method
          urlTemplate: $inputs.urlTemplate
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      operationResourceId: $response.body#/id
  - stepId: listOperations
    description: >-
      List the API's operations to confirm the new operation is present.
    operationId: ApiOperation_ListByApi
    parameters:
    - name: subscriptionId
      in: path
      value: $inputs.subscriptionId
    - name: resourceGroupName
      in: path
      value: $inputs.resourceGroupName
    - name: serviceName
      in: path
      value: $inputs.serviceName
    - name: apiId
      in: path
      value: $inputs.apiId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      operationCount: $response.body#/count
  outputs:
    operationResourceId: $steps.createOperation.outputs.operationResourceId
    operationCount: $steps.listOperations.outputs.operationCount

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-api-management-define-api-operation-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.