v1
latestOpenAPI 3.0.02026-07-13103151174.7 KBEnvironments
List Environments
List all environments for a project. If a token does not have permission to view protected environments the environments will be filtered to only show non-protected environments SDK Keys for security.
get/v1/projects/{project}/environments
Path parameters
projectstring required
A Project key or ID
Query parameters
pagenumber
perPagenumber
sortBy'createdAt' | 'updatedAt' | 'name' | 'key' | 'propertyKey'
sortOrder'asc' | 'desc'
searchstring
createdBystring
Response
Example response
[
{
"name": "Staging Upcoming",
"key": "staging-upcoming",
"description": "Pre-production changes",
"color": "#4073FF",
"_id": "61450f3daec96f5cf4a49946",
"type": "staging"
}
]