> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apostra.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Reading your notifications and release notes

> How a seller or buyer account reads its own in-app notifications, with the unread state of the person asking, and the release notes its account sees.

The notification inbox and the Release notes page show you what happened and what changed. A seller or buyer account can read the
same two lists with `search`, so an agent sees what you see. Both kinds are read-only and explicit: a broad `search` with no `kind`
never lists them. Marking a notification read or acknowledged, and marking release updates seen, stay in the web app and in the
pages, because they only move your own marker.

## Read your notifications

Call `search` with `kind: "notification"`. Notifications come back newest first, 25 to a page unless you set `limit` (up to 100).

```json theme={null}
{ "kind": "notification", "filter": { "unreadOnly": true }, "limit": 25 }
```

`filter.unreadOnly` keeps only the notifications you have not read. The search takes no `query`. Each result is a compact row:

| Field | Meaning |
| - | - |
| `id` | The notification id. |
| `type` | The kind of event, such as a media buy waiting for approval. |
| `status` | The notification status. |
| `read`, `acknowledged` | Whether you read or acknowledged it. Another person's read or acknowledgement never shows here. |
| `messagePreview` | The message, cut to 200 characters. A message that repeats a seller's own words is fenced as the seller's text, so an agent does not take it as an instruction. `null` when there is no message. |
| `actionUrl` | An app-relative link that opens what the notification is about, or `null`. |
| `createdAt` | When it was created. |

The answer also carries `total`, the notifications you can see that match the filter, and `unreadCount`, your own unread
notifications whatever the filter. Both follow the same rules as the inbox in the app: you see the types you turned on and the
always-on operational ones, and a notification addressed to one person is visible only to that person.

When there is another page, the answer carries `nextCursor`. Pass it back as `cursor` with the same filter. A cursor the search did
not issue is refused with `INVALID_CURSOR`; it never restarts at the first page.

A caller with no signed-in person, such as a service token, reads the notifications addressed to the whole account, and the read
state is that credential's own, so it does not change what any person sees. A read token that an agent holds for one buyer cannot
read the inbox and is refused with `ACCESS_DENIED`.

## Read the release notes

Call `search` with `kind: "release_update"`. `filter.releaseView` picks what you read:

| `releaseView` | What it lists |
| - | - |
| `for_you` (default) | Updates that apply to your account: the broad ones, and those that match a feature you have set up or an area you are affected by. |
| `explore` | Features your role could try that you have not set up. |
| `all` | The recent release history for your role. |
| `board` | The product features your account can see, one row each, with the stage it is at (`alpha`, `beta` or `ga`). |

```json theme={null}
{ "kind": "release_update", "filter": { "releaseView": "for_you" }, "limit": 25 }
```

The three update views return release updates newest first. Each row has `id`, `version`, `releasedAt`, `description`, `tier`
(`fix`, `improvement`, `feature` or `headline`), `audience`, the `feature` it belongs to, `relevance` and `reason` (why it is in your
view), and `unread`. The answer carries `total`, `unreadCount` and `lastSeenAt`. `unread`, `unreadCount` and `lastSeenAt` are yours: they
come from the point you last marked updates seen in the app, and they are not claimed for a caller with no signed-in person.
Reading an update here does not mark it seen.

The `board` view returns one row per product feature: `stage`, `key`, `title`, `description`, `audience`, `area`, `capability`,
`docsUrl`, `gated` (the feature is gated and your account is confirmed set up for it), `updateCount`, `lastUpdatedAt` and its newest
`updates`. A seller account sees the seller and shared features, a buyer account the buyer and shared ones.

Both views page with `limit` and `nextCursor`, and neither takes a `query`. `releaseView` is refused on any other kind, and
`unreadOnly` is refused on this one.

## Who can read them

A seller account and a buyer account can. An organization or developer account is refused with a wrong-account error. Notifications
and release notes are about the account and the person acting in it, so nothing here shows another company's.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.