Notifications
List notifications and update their read state from the CLI.
List, read, and manage notifications. Alias: pf n
pf notifications listList notifications
alias: pf n ls
Options
--unreadbooleanShow only unread notifications
--sincestringOnly notifications created at or after this time. Unix milliseconds, a YYYY-MM-DD date, or an ISO timestamp with a timezone.
--typestringOnly these notification types, comma-separated, up to 16
--in-projectstringOnly notifications about this project, by ID or slug
--limitnumberMax number of results
--offsetnumberPagination offset
--cursorstringContinue from nextCursor, including after an empty page
--pagebooleanInclude nextCursor and hasMore with --json
--sortstringSort by field
--reversebooleanReverse sort order
Example
pf notifications list --unread
pf n ls --limit 10
pf notifications list --since 2026-10-01T09:00:00Zpf notifications summaryCount your unread notifications by type
Example
pf notifications summary --jsonpf notifications projectsList the projects you watch or mute. Projects at the default level are not listed.
Options
--limitnumberMax results per page
--cursorstringContinue from nextCursor
Example
pf notifications projects --limit 20pf notifications unread-countShow the number of unread notifications
Example
pf notifications unread-countpf notifications mark-read [ids...]Mark up to 100 notifications as read, or every unread notification about one post
Options
--poststringMark every unread notification about this post instead of listing IDs
--unreadbooleanMark one notification as unread instead
Example
pf notifications mark-read notif123
pf notifications mark-read notif123 notif456
pf notifications mark-read notif123 --unread
pf notifications mark-read --post 3pf notifications delete <id>Delete a notification
Example
pf notifications delete notif123pf notifications delete-readDelete all read notifications
Options
--confirmbooleanSkip confirmation prompt
--dry-runbooleanPreview without making changes
Example
pf notifications delete-read --confirmpf notifications delete-oldDelete notifications, read or unread, older than a number of days
Options
--daysnumberrequiredDelete notifications older than this many days
--confirmbooleanSkip confirmation prompt
--dry-runbooleanPreview without making changes
Example
pf notifications delete-old --days 30 --confirmpf notifications project-level <project-id> <level>Set a project's notification level: watching, muted, or default to follow your preferences
Example
pf notifications project-level proj123 muted
pf notifications project-level proj123 defaultpf notifications mark-all-readMark all notifications as read
Options
--confirmbooleanSkip confirmation prompt
--dry-runbooleanPreview without making changes
Example
pf notifications mark-all-read --confirmpf notifications preferencesView or update notification preferences
alias: pf n prefs
Options
--resetbooleanRemove workspace overrides and use account defaults; cannot combine with channel options
--emailstringSet email notifications: on or off
--pushstringSet push notifications: on or off
--in-appstringSet in-app notifications: on or off
--expected-updated-atnumberFail with 412 if the preferences changed since this updatedAt
Example
pf notifications preferences
pf n prefs --email off --push onProcess notifications safely
- 1.
List unread notifications
Use
--json --pageand continue through results with--cursor. - 2.
Keep the notification ID
Preserve it before opening its target or applying an automated action.
- 3.
Mark it read when the work is accepted
Use
--unreadto return it to the queue. - 4.
Preview bulk changes
Preview
mark-all-readwith--dry-runbefore using it in an unattended command.
The preferences command changes every event-category flag in the selected channel group. Read the current preferences first when a job should preserve category-specific choices.
Fix notification problems
- Pagination repeats or skips notifications
- Keep the same filters and pass nextCursor with --cursor while hasMore is true, including after an empty page. Use --json --page to include this pagination metadata. Ordinary --json output remains an array.