Notification Logs
Retrieve notification runs
Changed onRetrieve notification runs based on the provided filters. API key must have the View Notification logs permission.
get/api/v1/notifications/logs/run
Request
- Base URLhttps://api.getcortexapp.com
- URLhttps://api.getcortexapp.com/api/v1/notifications/logs/run
- AuthHTTP bearer
Query parameters
notificationTypesstring[]
The type of notification.
statusesstring[]
The status of the notification.
mediumsstring[]
The medium used to send the notification.
ignoredReasonsstring[]
The reason why a notification run was ignored.
failedReasonsstring[]
The reason why a notification run failed.
includeObjectsboolean
Whether to include the objects associated with the notification run.
fromDatestring date-time
The ISO date and time to start the search from.
untilDatestring date-time
The ISO date and time to end the search at.
deliveredOnlyboolean
pageSizeinteger required
Number of results to return per page, between 1 and 1000. Default 250.
pageinteger required
Page number to return, 0-indexed. Default 0.
orderBy'ASC' | 'DESC'
Sort the results ascending or descending.
Response
Successfully retrieved notification runs
Example response
{
"runs": [
{
"id": 1,
"notificationObjects": [
{
"cid": "en2da8159dbeefb974",
"tag": "production-readiness-scorecard"
}
]
}
]
}Changes
- info
endpoint added
- info