notice_list
List change notices for a path, since a time, or only unread ones. Viewing unread notices marks them as seen so they do not appear again.
Instructions
List change notices for a path, since a time, or only those you have not been shown (unread=true), newest first. unread without path is scoped to the paths you hold, and all=true looks beyond them. Listing unread notices marks them seen by you, durably, so they do not come back. A claim's brief already delivers the unread notices for the paths it claims; use this for other paths or older pages. 20 rows per page; pass next_before as before for older rows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | With `unread`, look beyond the paths you hold. | |
| path | No | Only notices affecting this path. | |
| agent | Yes | Your stable agent name. | |
| limit | No | Rows to return (default 20, max 200), newest first. | |
| since | No | Only notices published at or after this RFC 3339 timestamp. | |
| before | No | Only notices published before this cursor: an RFC 3339 timestamp or a previous response's `next_before`. | |
| unread | No | Only notices you neither published nor were already shown. Without `path` or `all`, this is scoped to the paths you currently hold. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Rows in this response. | |
| total | No | Rows that matched, across all pages. | |
| status | Yes | ok, with zero rows and a message when unread is scoped to paths and you hold none. invalid: bad input. | |
| message | No | Human-readable detail, on most outcomes other than ok. | |
| notices | No | Newest first: id, kind, summary, from, to, affected_paths, published_by, published_at. Rows returned for unread=true are now marked seen by you. | |
| truncated | No | True when older rows were left out. | |
| next_before | No | Present when truncated: pass it back as before for the next older page. |