GET /api/v1/cloud/environments
Lists environments under the current account with cursor pagination. Archived environments are excluded by default.
Headers
Query parameters
See Pagination for cursor semantics.
Example request
Example response
HTTP 200 OKResponse fields
Errors
See Errors for the full error envelope.
Notes
- Records are returned in descending ID order by default.
- Archived environments do not appear in the default listing. Pass
include_archived=trueto include them. - Pagination is cursor-based; offset-based pagination is not supported.
Related
Cloud environment setup
Choose the container, network, and dependencies your agent runs in.