NinjaOne icon

NinjaOne

Interact with the NinjaOne API

Device → Get Activities

AI-generated

Overview

This node interacts with the NinjaOne API to retrieve activity data for a specific device. It is useful for scenarios where users need to monitor or audit device activities, such as tracking changes, user actions, or system events on a device managed within NinjaOne. For example, IT administrators can use this node to fetch recent activities on a device to investigate issues or verify compliance.

Use Case Examples

  1. Fetch recent activities for a device by providing its Device ID to monitor user actions or system changes.
  2. Use batching options to handle large sets of activity data efficiently by splitting requests into manageable batches.

Properties

Name Meaning
Device ID The unique identifier of the device for which activities are to be retrieved. This is a required input.
Request Options Settings to customize the API request behavior, including batching, SSL certificate validation, proxy configuration, and request timeout.

Output

JSON

  • activities - Array of activity records retrieved for the specified device.

Dependencies

  • NinjaOne API with OAuth2 authentication

Troubleshooting

  • Ensure the Device ID is correct and the device exists in NinjaOne to avoid 'not found' errors.
  • Check network connectivity and proxy settings if requests fail or time out.
  • If SSL certificate validation errors occur, consider enabling the 'Ignore SSL Issues' option cautiously.
  • Verify that the OAuth2 credentials are valid and have sufficient permissions to access device activities.

Links

  • NinjaOne API Documentation - Official API documentation for NinjaOne, useful for understanding available endpoints and data structures.

Discussion