Environment
Retrieve environment
Retrieves details on a specified environment. Supply the environment ID in the path, and Hyperstack will return the corresponding environment object containing details on the environment.
get/core/environments/{id}
Request
- Base URL: https://infrahub-api.nexgencloud.com/v1
- URL: https://infrahub-api.nexgencloud.com/v1/core/environments/{id}
- Auth: API key in header api_key
Path parameters
idinteger required
ID of the environment.
Response
Environment details retrieved successfully.
Example response
{
"status": true,
"message": "Environment example-environment is created successfully",
"environment": {
"id": 3287,
"name": "example-environment",
"region": "NORWAY-1",
"created_at": "2026-05-06T16:04:09Z",
"features": {
"green_status": "GREEN"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.