List the authenticated user's notifications
const url = 'http://localhost:11044/api/v1/notifications';const options = {method: 'GET', headers: {'X-Embabel-Api-Key': '<X-Embabel-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:11044/api/v1/notifications \ --header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'Newest first.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”List of notifications
A stored notification as the /notifications endpoints answer it. List-valued fields arrive as JSON-encoded strings
object
Name of the recommended action kind, such as DRAFT_REPLY or ACK_ONLY. Null when there is nothing to act on
How sure the producer was that this matters, from 0 to 1. Null when it did not say
One sentence on what happens if the user does nothing. Null on simple alerts
When the notification was generated, an ISO-8601 instant
Who produced it: “user” when the user asked for it, otherwise the producer’s id, such as “system” or engine.v1
When this stops being actionable, an ISO-8601 instant. Null when there is no hard deadline
One-sentence headline saying what happened
Stable id, which the read and dismiss endpoints take in their path
How it relates to earlier notifications on the same signals: ORIGINAL, UPDATE, CANCELLATION or COMPLETION
Whether the user has marked it read
One sentence giving the recommended next step. Null on simple alerts
What produced it, such as github, build, email or calendar
The ids of the signals it was derived from, as a JSON-encoded array of strings
The cited sources as a JSON-encoded array of {kind, id, displayLabel, url, typeName} objects; “[]” when there are none
Ids of the earlier notifications it replaced, as a JSON-encoded array of strings
Urgency tier name: AMBIENT, DEFERRED, TIMELY, INTERRUPTIVE, ACTING or ESCALATING
Link to act on it in the originating system. Null when there is none
The user the notification belongs to; always the caller
One sentence on why the user should care. Null on simple alerts

