v44

latestOpenAPI 3.1.0Proprietaryraw.githubusercontent.com2026-05-192301780.0 KB
Compute

Create compute environment

Creates a new compute environment for running serverless workloads. Each environment gets its own isolated namespace with a unique domain for hosting applications and APIs. The first environment created becomes the default environment for the organization.

post/compute/v1/environments

Request body

namestring required

Environment name (alphanumeric, hyphens, and underscores only)

Example request

{
  "name": "document-review-prod"
}

Response

Environment created successfully

idstring

Unique environment identifier

namestring

Environment name

slugstring

URL-friendly slug derived from name

domainstring

Unique domain for this environment

isDefaultboolean

Whether this is the default environment

status'active' | 'inactive'

Environment status

createdAtstring date-time

Environment creation timestamp