Skip to main content
GET
/
retention
/
notifications
[
  {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "userId": "123e4567-e89b-12d3-a456-426614174000",
    "dataType": "monitoring_data",
    "expiryDate": "2025-02-01T00:00:00.000Z",
    "notified": false,
    "retryCount": 0,
    "lastNotificationAttempt": "2025-01-01T00:00:00.000Z",
    "metadata": {
      "size": 1024,
      "count": 5000
    },
    "createdAt": "2025-01-01T00:00:00.000Z",
    "updatedAt": "2025-01-01T00:00:00.000Z"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Returns upcoming data expiry notifications

id
string
required
Example:

"123e4567-e89b-12d3-a456-426614174000"

userId
string
required
Example:

"123e4567-e89b-12d3-a456-426614174000"

dataType
enum<string>
required
Available options:
monitoring_data,
incident_data,
alert_history,
check_results
expiryDate
string<date-time>
required
Example:

"2025-02-01T00:00:00.000Z"

notified
boolean
required
Example:

false

retryCount
number
required
Example:

0

lastNotificationAttempt
string<date-time>
required
Example:

"2025-01-01T00:00:00.000Z"

metadata
object
required
Example:
{ "size": 1024, "count": 5000 }
createdAt
string<date-time>
required
Example:

"2025-01-01T00:00:00.000Z"

updatedAt
string<date-time>
required
Example:

"2025-01-01T00:00:00.000Z"