List deployment environments
GET lists fresh environment summaries. POST is a compatibility active-only listing requiring deployments:write; it does not create infrastructure and takes no body.
Requires every scope: deployments:read.
Authentication
AuthorizationBearer
JWT returned by POST /api/auth/token-exchange. Amazon, authorization invitations, and developer credentials require API-key-derived tokens.
Headers
X-Organization-Id
If supplied, must match the authenticated organization.
Response
Success
environments
Errors
401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
500
Internal Server Error
503
Service Unavailable Error