Skip to main content

Environments

List Environments

Returns environments visible to the caller. When project_id is set, the result contains project-owned environments plus workspace environments shared with that project. When project_id is omitted, the result contains workspace-owned environments.

Create an Environment

Creates either a project-owned environment or a workspace-owned environment with sharing. Exactly one scope must be provided.

Retrieve an Environment

Retrieves a visible environment by ID.

Delete an Environment

Permanently deletes an environment.

Update an Environment

Updates environment metadata. Scope is immutable; sharing may only be updated on workspace-owned environments.