List Events
Returns a paginated list of events in the descending order of their occurrence. Optional query parameters may be used for filtering results
Query parameters
Filter events by the originating service
Filter events by the originating host ID
Filter events by a prefix match on the event type (e.g. "user.image.")
Filter events by the type of resource - tag, imageDigest, repository etc
Filter events by the id of the resource
Filter events by the level - INFO or ERROR
Return events that occurred after the timestamp
Return events that occurred before the timestamp
Pagination controls - return the nth page of results. Defaults to first page if left empty
Number of events in the result set. Defaults to 100 if left empty
Headers
An account name to change the resource scope of the request to that account, if permissions allow (admin only)
Response
Paginated list of event records and the next token
Example response
{
"next_page": true,
"item_count": 0,
"page": 6,
"results": [
{
"generated_uuid": "generated_uuid",
"created_at": "2000-01-23T04:56:07.000+00:00",
"event": {
"resource": {
"user_id": "user_id",
"id": "id",
"type": "type"
},
"level": "level",
"details": "{}",
"source": {
"base_url": "base_url",
"hostid": "hostid",
"servicename": "servicename",
"request_id": "request_id"
},
"type": "type",
"category": "category",
"message": "message",
"timestamp": "2000-01-23T04:56:07.000+00:00"
}
},
{
"generated_uuid": "generated_uuid",
"created_at": "2000-01-23T04:56:07.000+00:00",
"event": {
"resource": {
"user_id": "user_id",
"id": "id",
"type": "type"
},
"level": "level",
"details": "{}",
"source": {
"base_url": "base_url",
"hostid": "hostid",
"servicename": "servicename",
"request_id": "request_id"
},
"type": "type",
"category": "category",
"message": "message",
"timestamp": "2000-01-23T04:56:07.000+00:00"
}
}
]
}