Apigee · Arazzo Workflow

Apigee Promote a New Proxy Revision

Version 1.0.0

List a proxy's revisions, deploy the newest one with override, then undeploy the prior revision.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Advanced API SecurityAgentic AIAnalyticsAPI GatewayAPI GovernanceAPI HubAPI ManagementDeveloper PortalEnterpriseGenerative AIHybridIntegrationMicroservicesMCPMonetizationArazzoWorkflows

Provider

apigee

Workflows

promote-proxy-revision
Deploy the latest proxy revision and retire the previously deployed one.
Reads the proxy to discover the latest revision, deploys it to the environment with override enabled, and undeploys the prior revision to complete the promotion.
3 steps inputs: apiId, environmentId, organizationId, previousRevisionId outputs: deploymentState, latestRevisionId, undeployedRevision
1
getProxy
Read the proxy to discover the latest revision id to promote.
2
deployLatest
Deploy the latest revision with override so it takes over the base path from the prior revision.
3
undeployPrevious
Undeploy the previously running revision now that the new revision is serving traffic.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Apigee Promote a New Proxy Revision
  summary: List a proxy's revisions, deploy the newest one with override, then undeploy the prior revision.
  description: >-
    A zero-downtime promotion flow for proxy revisions. The workflow reads the
    target proxy to find its latest revision, deploys that revision to the
    environment with override so it takes over the route, and then undeploys the
    previously running revision. 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.40
  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.40
      capability_name: Deployment Orchestration
      spec: apigee-deployments-api-openapi.yml
      confidence: 0.7
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: apiProxiesApi
  url: ../openapi/apigee-api-proxies-api-openapi.yml
  type: openapi
- name: deploymentsApi
  url: ../openapi/apigee-deployments-api-openapi.yml
  type: openapi
workflows:
- workflowId: promote-proxy-revision
  summary: Deploy the latest proxy revision and retire the previously deployed one.
  description: >-
    Reads the proxy to discover the latest revision, deploys it to the
    environment with override enabled, and undeploys the prior revision to
    complete the promotion.
  inputs:
    type: object
    required:
    - organizationId
    - environmentId
    - apiId
    - previousRevisionId
    properties:
      organizationId:
        type: string
        description: The Apigee organization owning the proxy.
      environmentId:
        type: string
        description: The environment where the revision is promoted.
      apiId:
        type: string
        description: The API proxy whose revision is being promoted.
      previousRevisionId:
        type: string
        description: The currently deployed revision to undeploy after promotion.
  steps:
  - stepId: getProxy
    description: >-
      Read the proxy to discover the latest revision id to promote.
    operationId: getApiProxy
    parameters:
    - name: organizationId
      in: path
      value: $inputs.organizationId
    - name: apiId
      in: path
      value: $inputs.apiId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      latestRevisionId: $response.body#/latestRevisionId
  - stepId: deployLatest
    description: >-
      Deploy the latest revision with override so it takes over the base path
      from the prior revision.
    operationId: deployApiProxyRevision
    parameters:
    - name: organizationId
      in: path
      value: $inputs.organizationId
    - name: environmentId
      in: path
      value: $inputs.environmentId
    - name: apiId
      in: path
      value: $inputs.apiId
    - name: revisionId
      in: path
      value: $steps.getProxy.outputs.latestRevisionId
    - name: override
      in: query
      value: true
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      deploymentState: $response.body#/state
  - stepId: undeployPrevious
    description: >-
      Undeploy the previously running revision now that the new revision is
      serving traffic.
    operationId: undeployApiProxyRevision
    parameters:
    - name: organizationId
      in: path
      value: $inputs.organizationId
    - name: environmentId
      in: path
      value: $inputs.environmentId
    - name: apiId
      in: path
      value: $inputs.apiId
    - name: revisionId
      in: path
      value: $inputs.previousRevisionId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      undeployedRevision: $response.body#/revision
  outputs:
    latestRevisionId: $steps.getProxy.outputs.latestRevisionId
    deploymentState: $steps.deployLatest.outputs.deploymentState
    undeployedRevision: $steps.undeployPrevious.outputs.undeployedRevision

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/apigee-promote-proxy-revision-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.