For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Recent Notifications

GraphQL endpoint: /user

Returns the top N notifications ordered unread-first, then most recent within each group, so unread items stay visible even when read items are newer. The limit defaults to 5 when omitted.

Query

query ($limit: Int) {
  recentNotifications(limit: $limit) {
    id
    status
  }
}

Variables

{
  "limit": 5
}

Response

{
  "data": {
    "recentNotifications": [
      {
        "id": "00000000-0000-4000-8000-000000000001",
        "status": "UNREAD"
      },
      {
        "id": "00000000-0000-4000-8000-000000000002",
        "status": "UNREAD"
      },
      {
        "id": "00000000-0000-4000-8000-000000000003",
        "status": "READ"
      }
    ]
  }
}

Last updated