Mendix Environments API

The Environments API from Mendix — 8 operation(s) for environments.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Environment Management BC-4210.20

Operations 9

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /apps/{AppId}/environments List an app's environments · List environments #
Ask an LLM
“Which environments does my Mendix app have?”
“What are the staging and production environments for an app?”
Tell an agent
List the environments of app {AppId}.
Show every environment for app {AppId}.
GET /apps/{AppId}/environments/{Mode} Get an environment's details · Get environment #
Ask an LLM
“What is the state of my staging environment?”
“Can I look up one environment by its mode?”
Tell an agent
Get the {Mode} environment of app {AppId}.
Show the details of {Mode} for app {AppId}.
POST /apps/{AppId}/environments/{Mode}/start Start an environment · Start environment #
Ask an LLM
“How do I start a stopped staging environment?”
“Can I bring an environment back online?”
Tell an agent
Start the {Mode} environment of app {AppId}.
Bring {Mode} for app {AppId} online.
GET /apps/{AppId}/environments/{Mode}/start/{JobId} Check an environment start job · Check environment start status #
Ask an LLM
“Did my environment start job succeed?”
“How do I poll an environment start job?”
Tell an agent
Check the status of start job {JobId} for {Mode} on app {AppId}.
Poll environment start job {JobId} in {Mode} of {AppId}.
POST /apps/{AppId}/environments/{Mode}/stop Stop an environment · Stop environment #
Ask an LLM
“How do I stop a staging environment?”
“Can I shut down an environment without deleting it?”
Tell an agent
Stop the {Mode} environment of app {AppId}.
Shut down {Mode} for app {AppId}.
POST /apps/{AppId}/environments/{Mode}/clean Clean an environment's data · Clean environment data #
Ask an LLM
“How do I wipe all data from a staging environment?”
“Can I clean an environment without redeploying?”
Tell an agent destructive · confirm first
Clean the {Mode} environment of app {AppId}.
Wipe all data from {Mode} on app {AppId}.
GET /apps/{AppId}/environments/{Mode}/settings Get an environment's settings · Get environment settings #
Ask an LLM
“What settings are configured on my staging environment?”
“Can I read an environment's settings?”
Tell an agent
Get the settings of {Mode} for app {AppId}.
Show the {Mode} environment settings of {AppId}.
POST /apps/{AppId}/environments/{Mode}/settings Update an environment's settings · Update environment settings #
Ask an LLM
“How do I change the settings of a staging environment?”
“Can I update an environment's settings after it is deployed?”
Tell an agent
Update the settings of {Mode} for app {AppId}.
Change the {Mode} environment settings of {AppId}.
POST /apps/{AppId}/environments/{Mode}/scale Scale an environment's memory and instances · Scale memory and instances #
Ask an LLM
“How do I scale up memory and instances for staging?”
“Can I change an environment's scaling settings?”
Tell an agent
Scale the {Mode} environment of app {AppId}.
Change memory and instance count for {Mode} on {AppId}.

Specifications

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/mendix:mendix-environments-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mendix-environments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mendix Deploy API v1 Environments API
  description: 'The Mendix Deploy API manages apps, environments, deployment packages,

    transports, logs, scaling, settings, and tags on Mendix Cloud. Authentication

    uses the Mendix-Username and Mendix-ApiKey request headers tied to a Mendix

    user account.'
  version: '1'
  contact:
    name: Mendix
    url: https://docs.mendix.com/apidocs-mxsdk/apidocs/deploy-api/
servers:
- url: https://deploy.mendix.com/api/1
  description: Mendix Cloud Deploy API v1
security:
- mendixApiKey: []
tags:
- name: Environments
paths:
  /apps/{AppId}/environments:
    parameters:
    - $ref: '#/components/parameters/AppId'
    get:
      tags:
      - Environments
      summary: List environments
      responses:
        '200':
          description: Environments
      operationId: getAppsByAppIdEnvironments
      x-operation-id-source: derived
  /apps/{AppId}/environments/{Mode}:
    parameters:
    - $ref: '#/components/parameters/AppId'
    - $ref: '#/components/parameters/Mode'
    get:
      tags:
      - Environments
      summary: Get environment
      responses:
        '200':
          description: Environment
      operationId: getAppsByAppIdEnvironmentsByMode
      x-operation-id-source: derived
  /apps/{AppId}/environments/{Mode}/start:
    parameters:
    - $ref: '#/components/parameters/AppId'
    - $ref: '#/components/parameters/Mode'
    post:
      tags:
      - Environments
      summary: Start environment
      responses:
        '200':
          description: Start job accepted
      operationId: postAppsByAppIdEnvironmentsByModeStart
      x-operation-id-source: derived
  /apps/{AppId}/environments/{Mode}/start/{JobId}:
    parameters:
    - $ref: '#/components/parameters/AppId'
    - $ref: '#/components/parameters/Mode'
    - name: JobId
      in: path
      required: true
      schema:
        type: string
    get:
      tags:
      - Environments
      summary: Check environment start status
      responses:
        '200':
          description: Job status
      operationId: getAppsByAppIdEnvironmentsByModeStartByJobId
      x-operation-id-source: derived
  /apps/{AppId}/environments/{Mode}/stop:
    parameters:
    - $ref: '#/components/parameters/AppId'
    - $ref: '#/components/parameters/Mode'
    post:
      tags:
      - Environments
      summary: Stop environment
      responses:
        '200':
          description: Stopped
      operationId: postAppsByAppIdEnvironmentsByModeStop
      x-operation-id-source: derived
  /apps/{AppId}/environments/{Mode}/clean:
    parameters:
    - $ref: '#/components/parameters/AppId'
    - $ref: '#/components/parameters/Mode'
    post:
      tags:
      - Environments
      summary: Clean environment data
      responses:
        '200':
          description: Clean accepted
      operationId: postAppsByAppIdEnvironmentsByModeClean
      x-operation-id-source: derived
  /apps/{AppId}/environments/{Mode}/settings:
    parameters:
    - $ref: '#/components/parameters/AppId'
    - $ref: '#/components/parameters/Mode'
    get:
      tags:
      - Environments
      summary: Get environment settings
      responses:
        '200':
          description: Settings
      operationId: getAppsByAppIdEnvironmentsByModeSettings
      x-operation-id-source: derived
    post:
      tags:
      - Environments
      summary: Update environment settings
      responses:
        '200':
          description: Updated
      operationId: postAppsByAppIdEnvironmentsByModeSettings
      x-operation-id-source: derived
  /apps/{AppId}/environments/{Mode}/scale:
    parameters:
    - $ref: '#/components/parameters/AppId'
    - $ref: '#/components/parameters/Mode'
    post:
      tags:
      - Environments
      summary: Scale memory and instances
      responses:
        '200':
          description: Scaled
      operationId: postAppsByAppIdEnvironmentsByModeScale
      x-operation-id-source: derived
components:
  parameters:
    AppId:
      name: AppId
      in: path
      required: true
      schema:
        type: string
      description: Sub-domain name of the app.
    Mode:
      name: Mode
      in: path
      required: true
      schema:
        type: string
        enum:
        - Test
        - Acceptance
        - Production
      description: Environment mode.
  securitySchemes:
    mendixApiKey:
      type: apiKey
      in: header
      name: Mendix-ApiKey
      description: 'Mendix API key. Must be paired with a Mendix-Username header containing the

        login name of the user the key belongs to.

        '