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

AssetTags → Get Asset Tags

AI-generated

Summary

Retrieve a list of asset tags from NinjaOne, supporting pagination, filtering, batch requests, and customization of headers and request body.

Inputs

  • Return All — Choose whether to return all asset tags available or only a single page of results.
  • Options — Additional optional settings including custom request body (JSON), custom HTTP headers, query string filters for refining results, batching parameters to control request grouping and timing, debug mode to include request details in output, pagination settings to control page size, mode, and limits, and request timeout duration.

Output shape

a list of asset tag records fetched from the NinjaOne API

When 'Return All' is false, only one page of results is returned according to the pagination settings. Pagination can be configured with offset-based, cursor-based, or next URL modes. Batch settings govern how input items are grouped and delays between request batches. If debug mode is enabled, additional request details are included in output under a debug entry.

Examples

Example 1: Fetch all asset tags without filters

Set 'Return All' to true, leave other options default.

Example 2: Fetch a single page of asset tags with a custom query filter

Set 'Return All' to false, add a query filter in Options to filter by a parameter (e.g., 'name' contains a value).

Example 3: Fetch asset tags with custom headers and debug enabled

Add custom HTTP headers via Options, and enable Debug to see full request details in the output.

Links

Discussion