NinjaOne icon

NinjaOne

Ninja One Public API documentation. <br><br>See also: <br> <a href="https://resources.ninjarmm.com/API/Ninja+RMM+Public+API+v2.0.5+Device+Filter+Syntax.pdf">Device Filter syntax</a><br><a href="https://app.ninjarmm.com/apidocs-beta/core-resources/articles/webhooks/overview">Webhooks</a>

Actions309

System → List activities

AI-generated

Summary

Retrieve a list of system activities from the NinjaOne API with optional filtering, pagination, and customization.

Inputs

  • returnAll — Set to true to return all activities across pages; false to limit to a single page.
  • additionalFields — Optional filters and parameters to refine the returned activities. Supports filters by class (SYSTEM, DEVICE, USER, ALL), date ranges ('before' and 'after'), activity IDs ('olderThan' and 'newerThan'), type, status, user, alert series UID, device filter, page size limit (default 200), language, timezone, start and end timestamps, and source configuration UID.
  • options — Additional customization including sending a custom JSON body merged with other parameters, adding custom HTTP headers, applying extra query filters, configuring batch request behavior (items per batch and interval), enabling debug output to see request details, and setting pagination mode and parameters for handling offset, cursor, or next URL-based pagination.

Output shape

a list of activity records as returned by the NinjaOne /v2/activities endpoint, potentially paginated or fully aggregated based on 'returnAll' and pagination settings.

Returned data structure corresponds to the API response for activities. Pagination is configurable via the 'options.pagination' settings. When debug is enabled, output also includes the full request details under a debug key for troubleshooting. Users can control filtering and limiting to adjust the size and scope of the data retrieved.

Links

Discussion