EnvironmentList
A page of Environment objects.
Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
data * |
array of Environment | |
next_cursor * |
string or null | Pass as cursor to get the next page; null on the last page. |
has_more * |
boolean |
* always present
Example
Section titled “Example”{ "data": [ { "id": "env_01jbx2m9k7q4r8t5v6w3y0z1en", "project_id": "prj_01jbx2m9k7q4r8t5v6w3y0z1pr", "name": "production", "kind": "production", "branch": "main", "pull_requests": false, "pull_request": null, "parent_environment_id": null, "ttl": null, "expires_at": null, "protection": { "require_approval": true, "approver_roles": [ "owner", "admin" ], "allowed_branches": [ "main" ] }, "databases_mode": "new", "spend_cap": null, "status": "active", "created_at": "2026-10-22T09:30:00Z", "updated_at": "2026-10-22T09:30:00Z" } ], "next_cursor": "string", "has_more": false}