Create environment
Creates a server-owned environment definition in the environment catalog. REST environment requests only accept inline Dockerfile content; local Dockerfile paths are supported by workflow/settings files but rejected by this API.
Authorizations
Raw dev token passed as Authorization: Bearer fabro_dev_... when server.auth.methods includes dev-token.
Body
Request body for creating a server-managed environment.
^[a-z0-9][a-z0-9-]{0,62}$"docker"
Desired environment provider.
local, docker, daytona REST-safe environment image settings. Dockerfile sources are inline-only; local paths are rejected by the REST API.
Response
Environment created
Public server-managed environment definition.
^[a-z0-9][a-z0-9-]{0,62}$"docker"
Stable revision used with If-Match for optimistic concurrency.
^[0-9a-f]{64}$"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
Desired environment provider.
local, docker, daytona REST-safe environment image settings. Dockerfile sources are inline-only; local paths are rejected by the REST API.