fortrabbit-com · Schema

Environment.EnvironmentCreateApiRequest

PHP hostingManaged CloudWeb HostingAgency solutionsStartup hostingDeveloper Platform

Properties

Name Type Description
appId stringnull
name string
deployment objectnull Deployment configuration. The git field is required to configure deployment; omit the whole object to skip deployment.
softwareVersion stringnull Major version only, e.g. "11". Optional; defaults to the app software's version.
components object Component plans keyed by component slug. The value is a size key (e.g. "sm") or "off" to disable an optional component.
autoscaling boolean Enable autoscaling. Optional; defaults to true.
phpVersion stringnull PHP runtime version; defaults to the platform default.
sourceEnvironment stringnull Public ID of an existing environment to clone component plans and settings from.
cloudDomain stringnull Cloud domain label without the root, e.g. "acme-staging". Omit to derive one from the cloud domain name of the app (or the app name) and the environment name, e.g. "acme-shop-staging"; none is created
environmentVariables object Environment variables to set on the new environment, keyed by name.
View JSON Schema on GitHub

JSON Schema

fortrabbit-com-environment-environment-create-api-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fortrabbit-com/json-schema/fortrabbit-com-environment-environment-create-api-request-schema.json",
  "title": "Environment.EnvironmentCreateApiRequest",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/fortrabbit-com-api-openapi.json#/components/schemas/Environment.EnvironmentCreateApiRequest",
  "type": "object",
  "properties": {
    "appId": {
      "pattern": "^(([a-z]{2})-[0-9a-z]{6})$",
      "type": [
        "string",
        "null"
      ]
    },
    "name": {
      "minLength": 3,
      "maxLength": 32,
      "pattern": "^([a-z0-9]([a-z0-9-]*[a-z0-9])?)$",
      "type": "string"
    },
    "deployment": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "git": {
          "type": "object",
          "required": [
            "branch"
          ],
          "properties": {
            "branch": {
              "type": "string",
              "maxLength": 255
            },
            "directory": {
              "type": "string",
              "maxLength": 255,
              "default": "/",
              "description": "Deploy directory. Optional; defaults to \"/\". Must not be null or empty when provided."
            }
          }
        },
        "buildCommands": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "postDeployCommands": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "startFirstDeployment": {
          "type": "boolean",
          "description": "Trigger a first deployment right after the environment is created."
        }
      },
      "additionalProperties": false,
      "required": [
        "git"
      ],
      "description": "Deployment configuration. The git field is required to configure deployment; omit the whole object to skip deployment."
    },
    "softwareVersion": {
      "type": [
        "string",
        "null"
      ],
      "description": "Major version only, e.g. \"11\". Optional; defaults to the app software's version."
    },
    "components": {
      "type": "object",
      "description": "Component plans keyed by component slug. The value is a size key (e.g. \"sm\") or \"off\" to disable an optional component.",
      "additionalProperties": {
        "type": "string"
      }
    },
    "autoscaling": {
      "type": "boolean",
      "default": true,
      "description": "Enable autoscaling. Optional; defaults to true."
    },
    "phpVersion": {
      "type": [
        "string",
        "null"
      ],
      "description": "PHP runtime version; defaults to the platform default."
    },
    "sourceEnvironment": {
      "pattern": "^(([a-z]{2})-[0-9a-z]{6})$",
      "type": [
        "string",
        "null"
      ],
      "description": "Public ID of an existing environment to clone component plans and settings from."
    },
    "cloudDomain": {
      "type": [
        "string",
        "null"
      ],
      "description": "Cloud domain label without the root, e.g. \"acme-staging\". Omit to derive one from the cloud domain name of the app (or the app name) and the environment name, e.g. \"acme-shop-staging\"; none is created when that name is invalid, reserved or taken. Set null to create no cloud domain."
    },
    "environmentVariables": {
      "type": "object",
      "description": "Environment variables to set on the new environment, keyed by name.",
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "required": [
    "name",
    "autoscaling"
  ]
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/fortrabbit-com-environment-environment-create-api-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?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. See our Privacy Policy and Terms.

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