Agents
List workload events
Scope: agent: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
agent_id*agent_id
The agent (cluster) whose events to list (UUID).
Format
uuidQuery Parameters
filter?filter
Filter expression to narrow results. Uses the Admiral filter DSL (see the API documentation for the full operator and predicate reference).
Filterable fields:
type: filter by event type (Normal, Warning).reason: filter by event reason.component: filter by reporting component.host: filter by node.
Length
length <= 1024page_size?page_size
Maximum number of events to return per page. Defaults to 50 when omitted or 0; must not exceed 100.
Format
int32Range
0 <= value <= 100page_token?page_token
Opaque pagination token from a previous response.
Response Body
application/json
curl -X GET "https://api.admiral.io/api/v1/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08/events"{ "events": [ { "uid": "string", "type": "string", "reason": "string", "regarding": { "kind": "string", "namespace": "string", "name": "string", "api_version": "string", "uid": "string" }, "message": "string", "first_seen": "2023-01-15T01:30:15.01Z", "last_seen": "2023-01-15T01:30:15.01Z", "count": 0, "component": "string", "host": "string" } ], "next_page_token": "string"}