List notifications for the current user.
const url = 'https://app.everruns.com/api/v1/notifications';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://app.everruns.com/api/v1/notificationsParameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters”Maximum number of items returned in this page.
Responses
Section titled “ Responses ”Success
object
Page of items returned by this query.
object
Plain-text summary of what happened.
Timestamp when this resource was created (RFC 3339).
UI link that opens the resource the notification is about.
Prefixed public identifier. See ID Schema.
Discriminator selecting the variant of this resource.
How many times the same event recurred into this notification.
Kind-specific structured detail.
object
Prefixed public identifier of the resource the notification is about.
Kind of resource the notification is about, when it has one.
Human-readable title. Safe to render in user-facing messages.
Timestamp when this resource was last updated (RFC 3339).
When the current user marked the notification as viewed; null while unviewed.
Number of notifications the current user has not viewed yet.
Example
{ "data": [ { "href": "/chat/session_01933b5a00007000800000000000001", "id": "notification_01933b5a00007000800000000000001", "kind": "health.issue", "occurrence_count": 1, "source": { "id": "agent_01933b5a00007000800000000000001", "name": "Platform Assistant", "type": "agent" }, "target_id": "session_01933b5a00007000800000000000001", "target_type": "session", "title": "Agent run failed" } ], "unviewed_count": 3}