Skip to content

NotificationsRead

The data of the stream event notifications_read: the user read notifications on a device, and the read marker and the unread count are now these.

object
last_read_id

The newest notification read up to the marker; omitted when the user has read none.

string format: uuid
unread_count
required

The number of listed notifications that are unread, as Notification.read tells.

integer format: int64
id

The notification read on its own past the marker (POST /notifications/{id}/read); omitted when the marker moved.

string format: uuid

Example generated

{
"last_read_id": "01890a5d-ac96-774b-bcce-b302099a8057",
"unread_count": 1,
"id": "01890a5d-ac96-774b-bcce-b302099a8057"
}

For LLMs and coding agents:llms.txt,llms-full.txt, llms-small.txt

Analytics on this site