GET
/projects/{uuid}/{environment_name_or_uuid}Get an environment by name or UUID
Retrieves an environment belonging to a project by its name or UUID. Use environment_name_or_uuid to identify the environment and uuid to specify its project.
uuidstringrequired
The UUID of the project that contains the environment.
environment_name_or_uuidstringrequired
The environment's name or UUID.
200Returns an environment object containing its `id`, `name`, `description`, `project_id`, `created_at`, and `updated_at`.
created_atstringoptional
descriptionstringoptional
idintegeroptional
namestringoptional
project_idintegeroptional
updated_atstringoptional
400Returned when the token is invalid.
messagestringoptional
401Returned when the request is unauthenticated.
messagestringoptional
404Returned when the project or environment is not found.
messagestringoptional
422Returned when the request fails validation; the response includes a message and validation errors.
errorsobjectoptional
messagestringoptional
Error handling
A 400 is returned for an invalid token; a 401 when authentication is missing; a 404 when the project or environment is not found; and a 422 when the request fails validation. The uuid path parameter must identify the project, and environment_name_or_uuid must identify an environment by name or UUID.