Unraid icon

Unraid

Interact with the Unraid API — manage Docker containers, VMs, array health, disks, notifications, and system metrics

Notification → Archive All

AI-generated

Summary

Archives every notification on the Unraid server in a single GraphQL archiveAll mutation and returns the resulting unread and archived counts.

Inputs

  • Maximum Control Level — Caps what this node may do. Options: Use Credential Default (default), Read, Control, Full. It can only narrow the credential's limit, never raise it. Archive All needs an effective level of at least Control, so setting Read, or inheriting a Read credential, makes the operation fail before any request is sent.

Output shape

One item per input item. Its JSON holds the notification overview after archiving: unread and archive, each with info, warning, alert and total counts.

If the API returns no result, the item is an empty object. If the effective control level is below Control, the node throws an error naming the required level. With Continue On Fail enabled, the item becomes { error: message }. The operation has no other parameters and archives all notifications, with no filtering by importance or ID. The mutation runs once for each input item.

Examples

Example 1: Clear the notification inbox on a nightly schedule after reviewing alerts.

Resource: Notification, Operation: Archive All, Maximum Control Level: Use Credential Default (the credential must be set to Control or Full).

Example 2: Let an AI Agent tool tidy notifications without allowing destructive actions.

Resource: Notification, Operation: Archive All, Maximum Control Level: Control.

Links

Discussion