Amigo · Schema

CreateWorkspaceRequest

Request body for ``POST /v1/me/workspaces``. ``region`` is intentionally not exposed here — the workspace is created in the region of the platform-api pod that handles the request (each region's CD pipeline serves its own ingress host), and a workspace cannot migrate between regions. The handler derives it from ``app.env.aws_region``. ``environment`` has no default: it is a load-bearing routing field (staging vs production downstream), and ``PATCH .../convert_environment`` is the supported migration path. Callers must commit to a value.

CompanyArtificial IntelligenceHealthcareAI AgentsVoiceClinicalConversational AIFHIRElectronic Health RecordsHIPAA

Properties

Name Type Description
slug object
name object
environment string
backend_org_id object
View JSON Schema on GitHub

JSON Schema

amigo-create-workspace-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amigo/main/json-schema/amigo-create-workspace-request-schema.json",
  "title": "CreateWorkspaceRequest",
  "description": "Request body for ``POST /v1/me/workspaces``.\n\n``region`` is intentionally not exposed here — the workspace is created\nin the region of the platform-api pod that handles the request (each\nregion's CD pipeline serves its own ingress host), and a workspace\ncannot migrate between regions. The handler derives it from\n``app.env.aws_region``.\n\n``environment`` has no default: it is a load-bearing routing field\n(staging vs production downstream), and ``PATCH .../convert_environment``\nis the supported migration path. Callers must commit to a value.",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amigo-account-api-openapi.yml#/components/schemas/CreateWorkspaceRequest",
  "properties": {
    "slug": {
      "$ref": "#/$defs/SlugString"
    },
    "name": {
      "$ref": "#/$defs/StrippedNonemptyString"
    },
    "environment": {
      "type": "string",
      "enum": [
        "production",
        "staging",
        "development"
      ],
      "title": "Environment"
    },
    "backend_org_id": {
      "anyOf": [
        {
          "$ref": "#/$defs/StrippedNonemptyString"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "type": "object",
  "required": [
    "slug",
    "name",
    "environment"
  ],
  "$defs": {
    "SlugString": {
      "type": "string",
      "maxLength": 63,
      "minLength": 2,
      "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$"
    },
    "StrippedNonemptyString": {
      "type": "string",
      "minLength": 1
    }
  }
}

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/amigo-create-workspace-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.