Apigee · Arazzo Workflow

Apigee Provision a Runtime Instance

Version 1.0.0

Create an Apigee runtime instance, poll until it is active, then create an environment on it.

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

provision-runtime-instance
Create a runtime instance, wait until active, and create an environment.
Creates a runtime instance, polls getInstance until the state is ACTIVE, and creates an environment in the organization.
3 steps inputs: environmentId, instanceName, location, organizationId outputs: environmentOperation, instanceState
1
createInstance
Create the Apigee runtime instance, which returns a long-running operation while infrastructure is provisioned.
2
pollInstance
Poll the instance until its state reports ACTIVE before creating the environment.
3
createEnvironment
Create an environment in the organization now that the runtime instance is active.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Apigee Provision a Runtime Instance
  summary: Create an Apigee runtime instance, poll until it is active, then create an environment on it.
  description: >-
    The runtime provisioning flow for hybrid and paid organizations. The
    workflow creates an Apigee runtime instance (a long-running operation), polls
    the instance until its state reports ACTIVE, and then creates an environment
    that can later be attached to the instance. 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: environmentsApi
  url: ../openapi/apigee-environments-api-openapi.yml
  type: openapi
- name: instancesApi
  url: ../openapi/apigee-instances-api-openapi.yml
  type: openapi
workflows:
- workflowId: provision-runtime-instance
  summary: Create a runtime instance, wait until active, and create an environment.
  description: >-
    Creates a runtime instance, polls getInstance until the state is ACTIVE, and
    creates an environment in the organization.
  inputs:
    type: object
    required:
    - organizationId
    - instanceName
    - location
    - environmentId
    properties:
      organizationId:
        type: string
        description: The Apigee organization to provision into.
      instanceName:
        type: string
        description: Resource name for the new runtime instance.
      location:
        type: string
        description: Google Cloud region where the instance resides.
      environmentId:
        type: string
        description: Name for the environment to create after the instance is active.
  steps:
  - stepId: createInstance
    description: >-
      Create the Apigee runtime instance, which returns a long-running operation
      while infrastructure is provisioned.
    operationId: createInstance
    parameters:
    - name: organizationId
      in: path
      value: $inputs.organizationId
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.instanceName
        location: $inputs.location
        displayName: $inputs.instanceName
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      operationName: $response.body#/name
  - stepId: pollInstance
    description: >-
      Poll the instance until its state reports ACTIVE before creating the
      environment.
    operationId: getInstance
    parameters:
    - name: organizationId
      in: path
      value: $inputs.organizationId
    - name: instanceId
      in: path
      value: $inputs.instanceName
    successCriteria:
    - condition: $statusCode == 200
    - context: $response.body
      condition: $.state == "ACTIVE"
      type: jsonpath
    outputs:
      instanceState: $response.body#/state
    onFailure:
    - name: retryInstance
      type: retry
      stepId: pollInstance
      retryAfter: 30
      retryLimit: 20
  - stepId: createEnvironment
    description: >-
      Create an environment in the organization now that the runtime instance is
      active.
    operationId: createEnvironment
    parameters:
    - name: organizationId
      in: path
      value: $inputs.organizationId
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.environmentId
        displayName: $inputs.environmentId
        deploymentType: PROXY
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      environmentOperation: $response.body#/name
  outputs:
    instanceState: $steps.pollInstance.outputs.instanceState
    environmentOperation: $steps.createEnvironment.outputs.environmentOperation

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-provision-runtime-instance-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.