Admiral
Environments

List components deployed to an environment

GET
/api/v1/environments/{environment_id}/components

Components without a SUCCEEDED revision (e.g. CREATE entries that failed mid-plan) still appear, with last_revision_status and last_deployed_at empty.

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 environment whose components should be listed (UUID).

Formatuuid

Response Body

application/json

curl -X GET "https://api.admiral.io/api/v1/environments/497f6eca-6276-4993-bfeb-53cbbbba6f08/components"
{  "components": [    {      "name": "string",      "catalog_item_type": "CATALOG_ITEM_TYPE_UNSPECIFIED",      "ref": "string",      "last_revision_id": "string",      "last_revision_status": "REVISION_STATUS_UNSPECIFIED",      "last_deployed_at": "2023-01-15T01:30:15.01Z"    }  ]}