NinjaOne icon

NinjaOne

Consume the NinjaOne RMM API

Actions120

Query → Backup Usage

AI-generated

Summary

Query NinjaOne backup usage records with optional pagination and device filters. The operation sends a GET request to /api/v2/queries/backup/usage and returns the API response as n8n items.

Inputs

  • authentication (required) — Choose OAuth2 (Authorization Code) or Client Credentials authentication.
  • filters — Optional query parameters: cursor for pagination, pageSize (default 200), and ts for a monitoring timestamp. You can also filter devices by approval status, device classes, comma-separated device IDs, location IDs, organization IDs, or role IDs, and by online status. Device filters are combined into a NinjaOne df expression.

Output shape

A list of n8n items, with each returned record in an item's json field.

The request is made once; this operation does not automatically fetch subsequent cursor pages. A non-array API response is returned as one item. If the API response is empty or undefined, the node emits `{ "success": true }.

Links

Discussion