NinjaOne icon

NinjaOne

Interact with the NinjaOne API

Device → Get Many

AI-generated

Overview

This node interacts with the NinjaOne API to retrieve multiple device records. It is useful for scenarios where you need to fetch a list of devices managed in NinjaOne, such as inventory management, monitoring, or reporting. For example, you can use it to get a paginated list of devices with control over the number of results and starting offset.

Use Case Examples

  1. Fetch up to 50 devices starting from the first record to display in a dashboard.
  2. Retrieve devices in batches to process or analyze device data in an automated workflow.

Properties

Name Meaning
Limit Maximum number of device results to return in one request.
Offset Starting point offset for the list of devices to retrieve.
Request Options Additional request settings such as batching, SSL certificate validation, proxy configuration, and timeout settings.

Output

JSON

  • devices - Array of device objects retrieved from the NinjaOne API.
  • totalCount - Total number of devices available matching the query.
  • limit - The limit parameter value used for the request.
  • offset - The offset parameter value used for the request.

Dependencies

  • NinjaOne API with OAuth2 authentication

Troubleshooting

  • Ensure the OAuth2 API credentials are correctly configured and valid to avoid authentication errors.
  • If the node returns fewer results than expected, check the 'Limit' and 'Offset' parameters to ensure they are set correctly.
  • If SSL certificate errors occur, consider enabling the 'Ignore SSL Issues' option, but be aware of security risks.
  • Proxy settings must be correctly formatted if used; otherwise, requests may fail.
  • Timeout errors indicate the server did not respond in time; increase the timeout value if necessary.

Links

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

Discussion