Notification Logs
Use these operations to interact with notification logs in Cortex.
Required permissions
Your API key must have the View notification logs permission.
Operations
Retrieve notification logs based on the provided filters. API key must have the View Notification logs permission.
All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.
The unique identifier of the notification run that this log is associated with.
The email address that this notification was sent to.
The unique identifiers of the entities that the notifications were sent to.
The channel in Slack or MS Teams where the notification was sent.
The ISO date and time to start the search from.
2021-01-01T00:00:00The ISO date and time to end the search at.
2021-01-01T00:00:00Number of results to return per page, between 1 and 1000. Default 250.
250Page number to return, 0-indexed. Default 0.
0Sort the results ascending or descending.
DESCPossible values: Successfully retrieved notification logs
Forbidden
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
GET /api/v1/notifications/logs?pageSize=250&page=0 HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"logs": [
{
"dateCreated": "2025-11-14T22:52:07.793Z",
"dateDelivered": "2025-11-14T22:52:07.793Z",
"dateUpdated": "2025-11-14T22:52:07.793Z",
"errorMessage": "text",
"failedReason": "CHANNEL_NOT_FOUND",
"id": 1,
"ignoredReason": "USER_UNSUBSCRIBED",
"medium": "SLACK",
"recipientChannel": "#general",
"recipientEmail": "text",
"recipientEntityId": 1,
"recipientType": "USER",
"recipientUserId": 1,
"runId": 1,
"status": "READY",
"type": "INITIATIVE_CREATION"
}
],
"page": 1,
"total": 1,
"totalPages": 1
}Retrieve notification runs based on the provided filters. API key must have the View Notification logs permission.
All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.
A search query to filter the results.
Whether to include the objects associated with the notification run.
falseThe ISO date and time to start the search from.
2021-01-01T00:00:00The ISO date and time to end the search at.
2021-01-01T00:00:00trueNumber of results to return per page, between 1 and 1000. Default 250.
250Page number to return, 0-indexed. Default 0.
0Sort the results ascending or descending.
DESCPossible values: Successfully retrieved notification runs
Forbidden
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
GET /api/v1/notifications/logs/run?pageSize=250&page=0 HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"page": 1,
"runs": [
{
"dateCreated": "2025-11-14T22:52:07.793Z",
"dateUpdated": "2025-11-14T22:52:07.793Z",
"deliveredCount": 1,
"errorMessage": "text",
"failedReason": "PACKET_GENERATOR_ERROR",
"id": 1,
"ignoredReason": "SCORECARD_DISABLED",
"medium": "SLACK",
"notificationObjects": [
{
"cid": "en2da8159dbeefb974",
"id": 1,
"name": "text",
"tag": "production-readiness-scorecard",
"type": "ENTITY",
"url": "text"
}
],
"notificationType": "INITIATIVE_CREATION",
"originalRunId": 1,
"seqNo": 1,
"status": "CREATED",
"summary": "text"
}
],
"total": 1,
"totalPages": 1
}Last updated
Was this helpful?