Treblle · Arazzo Workflow

Treblle Promote a Project's Environment

Version 1.0.0

Read a project, update its environment and metadata, and confirm the change took effect.

1 workflow 1 source API 1 provider
View Spec View on GitHub AnalyticsArtificial IntelligenceDeveloper ExperienceDocumentationGovernanceInsightsObservabilityPlatformSecurityTestingArazzoWorkflows

Provider

treblle

Workflows

promote-project-environment
Update a project's environment and verify the change.
Reads the current project environment, applies an update, then re-reads the project to confirm the new environment.
3 steps inputs: apiKey, description, environment, name, projectId outputs: currentEnvironment, previousEnvironment, projectId
1
readProject
Read the project to capture its current environment before updating.
2
updateProject
Apply the update, changing the project environment and any supplied metadata.
3
confirmUpdate
Re-read the project to confirm the new environment is in place.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Treblle Promote a Project's Environment
  summary: Read a project, update its environment and metadata, and confirm the change took effect.
  description: >-
    Promotes or reconfigures a monitored API. The workflow reads the project to
    capture its current environment, applies an update changing the environment
    and optional metadata, and then re-reads the project to confirm the new
    environment is in place. 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: projectsApi
  url: ../openapi/treblle-projects-api-openapi.yml
  type: openapi
workflows:
- workflowId: promote-project-environment
  summary: Update a project's environment and verify the change.
  description: >-
    Reads the current project environment, applies an update, then re-reads the
    project to confirm the new environment.
  inputs:
    type: object
    required:
    - apiKey
    - projectId
    - environment
    properties:
      apiKey:
        type: string
        description: Treblle API key passed in the Treblle-Api-Key header.
      projectId:
        type: string
        description: The project to update.
      environment:
        type: string
        description: New environment for the project (development, staging, production).
      name:
        type: string
        description: Optional new display name for the project.
      description:
        type: string
        description: Optional new description for the project.
  steps:
  - stepId: readProject
    description: Read the project to capture its current environment before updating.
    operationId: getProject
    parameters:
    - name: Treblle-Api-Key
      in: header
      value: $inputs.apiKey
    - name: projectId
      in: path
      value: $inputs.projectId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      previousEnvironment: $response.body#/environment
  - stepId: updateProject
    description: >-
      Apply the update, changing the project environment and any supplied
      metadata.
    operationId: updateProject
    parameters:
    - name: Treblle-Api-Key
      in: header
      value: $inputs.apiKey
    - name: projectId
      in: path
      value: $inputs.projectId
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.name
        description: $inputs.description
        environment: $inputs.environment
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      updatedEnvironment: $response.body#/environment
  - stepId: confirmUpdate
    description: Re-read the project to confirm the new environment is in place.
    operationId: getProject
    parameters:
    - name: Treblle-Api-Key
      in: header
      value: $inputs.apiKey
    - name: projectId
      in: path
      value: $inputs.projectId
    successCriteria:
    - condition: $statusCode == 200
    - condition: $response.body#/environment == $inputs.environment
    outputs:
      environment: $response.body#/environment
  outputs:
    projectId: $inputs.projectId
    previousEnvironment: $steps.readProject.outputs.previousEnvironment
    currentEnvironment: $steps.confirmUpdate.outputs.environment

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/treblle-update-project-environment-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.