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

# notifications_mark_read

> Mark notifications as read — all of them, or everything up to `last_read_at`. GitHub answers 205 when it finished and 202 when there were too many and it will finish in the background, so list again with `all: false` to know whether the queue is actually empty.

<div className="tool-route"><span className="tool-row-method" data-method="PUT">PUT</span><code>{"https://api.github.com/notifications"}</code></div>

```python github_notifications_mark_read.py theme={null}
from charter.packs import github

result = await github.notifications_mark_read.ainvoke({})
```

<Note>
  Requires `repo`, `read:user`.
</Note>

## Body

<div className="reference-table">
  | Field        | Type      | Description                                                                                                                                                                                                                                                                              |
  | ------------ | --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `lastReadAt` | `string`  | Describes the last point that notifications were checked. Anything updated since this time will not be marked as read. If you omit this parameter, all notifications are marked as read. ISO 8601: `YYYY-MM-DDTHH:MM:SSZ`. <span className="field-constraints">format `date-time`</span> |
  | `read`       | `boolean` | Whether the notification has been read.                                                                                                                                                                                                                                                  |
</div>
