You can list system events or the events an application sends notifications for.
Steps
query {
# Either "system" or the application ID
events(application: String) {
records {
id
eventName
eventType
}
}
}
The response looks like this:
{
"data": {
"events": {
"records": [
{
"id": "72b0186f-2db5-4b1d-b667-5aab733a52ca",
"eventName": "JobCompleted",
"eventType": "job"
},
{
"id": "1d31d2d7-710d-4690-bdae-6ff5d9b2bd59",
"eventName": "JobCreated",
"eventType": "job"
},
{
"id": "17b48ea5-df51-4fef-99f4-d3ea251df980",
"eventName": "JobFailed",
"eventType": "job"
},
]
}
}
}