Skip to content

Retrieve all recent security and operational alerts across the organization

Request

Requires alerts::read permission.

Security
JWTAuthorizer
curl -i -X GET \
  https://apidocs.trustgrid.io/_mock/v2/alert \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
Array [
eventTypestring

Type of alert

Example:"Data Plane Disruption"
messagestring

More information about the alert

Example:"Node mynode abnormally disconnected"
nodeIdstring

Node ID that generated the alert

Example:"19084f81-5668-41ee-adbe-295e4c65531a"
nodeNamestring

Node name that generated the alert

Example:"mynode"
timestampnumber

Unix timestamp of alert

Example:1661440360
uidstring

Unique ID of alert

Example:"2DqxLdknjWxEkGt474d2Cstsa1O"
]
Response
[ { "eventType": "Data Plane Disruption", "message": "Node mynode abnormally disconnected", "nodeId": "19084f81-5668-41ee-adbe-295e4c65531a", "nodeName": "mynode", "timestamp": 1661440360, "uid": "2DqxLdknjWxEkGt474d2Cstsa1O" } ]