NinjaOne RMM icon

NinjaOne RMM

Interact with NinjaOne RMM API

Device → Get Jobs

AI-generated

Summary

Retrieve jobs associated with a specific device from the NinjaOne RMM system, with options to return all jobs or limit the number of results.

Inputs

  • Device (required) — The device to retrieve jobs for, selectable from a list or by ID, supporting expressions.
  • Return All — Boolean indicating whether to return all job records (true) or limit the number returned (false).
  • Limit — Maximum number of job records to return if 'Return All' is false; must be between 1 and 1000.

Output shape

a list of job objects related to the specified device

Supports pagination: if 'Return All' is true, all job records are fetched using pagination; otherwise, up to 'Limit' records are returned. The output is an array of job records with data matching the NinjaOne API response for device jobs.

Examples

Example 1: Get latest 50 jobs for a device

Set 'Device' to the target device, 'Return All' to false, and 'Limit' to 50.

Example 2: Get all jobs for a device

Set 'Device' to the target device and 'Return All' to true, ignoring the 'Limit' parameter.

Links

Discussion