POST /environments

Create an environment, managed through the API: no file, live immediately.

MethodPath
POST/v1/environments

To define it in a repository instead, commit a `kind: environment` YAML under an agents directory. 409 when another live environment already holds the name.

curl -X POST "https://api.ellipsis.dev/v1/environments" \
  -H "Authorization: Bearer $ELLIPSIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"environment":"..."}'

Request

Example request body
{
}

Body parameters

environmentEnvironmentDocumentrequired

The environment's definition.

Response

Example response · 201
{
}

On this page

No Headings
Schedule a demo