Environment
List environments
Returns a list of your existing environments, providing the following details for each; environment ID, name, region, and the date and time of creation. For more information on environments, see Environment.
get/core/environments
Request
- Base URL: https://infrahub-api.nexgencloud.com/v1
- URL: https://infrahub-api.nexgencloud.com/v1/core/environments
- Auth: API key in header api_key
Query parameters
pageinteger
Page number of results to return.
pageSizeinteger
Data Per Page
searchstring
Search By ID or Name or Region
Response
Successful retrieval of environments list.
Example response
{
"status": true,
"message": "Getting environments successful",
"environments": [
{
"id": 3287,
"name": "example-environment",
"region": "NORWAY-1",
"created_at": "2026-05-06T16:04:09Z",
"features": {
"green_status": "GREEN"
}
}
],
"count": 11
}Changes
No recorded changes to this operation across all 1 revision of this API.