Admiral
Environments

Retrieve an environment

GET
/v1/environments/{environment_id}

Scope: env:read

Authorization

bearerAuth
AuthorizationBearer <token>

Personal Access Token (PAT) or Service Access Token (SAT). Pass the token in the Authorization header: Bearer admp_...

In: header

Path Parameters

environment_id*environment_id

The unique identifier of the environment (UUID).

Formatuuid

Response Body

application/json

curl -X GET "https://example.com/v1/environments/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "environment": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "application_id": "48ac72d0-a829-4896-a067-dcb1c2b0f30c",    "name": "string",    "description": "string",    "labels": {      "property1": "string",      "property2": "string"    },    "has_pending_changes": true,    "last_deployed_at": "2023-01-15T01:30:15.01Z",    "created_by": {      "id": "string",      "display_name": "string",      "email": "string"    },    "created_at": "2023-01-15T01:30:15.01Z",    "updated_at": "2023-01-15T01:30:15.01Z"  }}