development, staging, and production, with support for custom named environments.
Base path
Endpoints
Attributes
Relationships
Environments belong to Projects and are associated with Resources and Usage Records.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Named deployment and configuration contexts for a project — development, staging, production, or custom.
development, staging, and production, with support for custom named environments.
/v1/projects/{project_id}/environments
| Method | Path | Description |
|---|---|---|
GET | /v1/projects/{project_id}/environments | List environments for a project |
POST | /v1/projects/{project_id}/environments | Create an environment |
GET | /v1/environments/{id} | Get an environment |
PATCH | /v1/environments/{id} | Update an environment |
DELETE | /v1/environments/{id} | Delete an environment |
GET | /v1/environments/{id}/variables | List environment variables |
PUT | /v1/environments/{id}/variables | Set environment variables |
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier |
project_id | string | Parent project reference |
name | string | Display name |
slug | string | URL-safe identifier (e.g. production) |
type | enum | development, staging, production, custom |
protected | boolean | Restricts direct deployments if true |
created_at | datetime | ISO 8601 timestamp |
updated_at | datetime | ISO 8601 timestamp |
Was this page helpful?