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

Queries → Custom fields report

AI-generated

Summary

Retrieve a report of custom fields from NinjaOne's API endpoint /v2/queries/custom-fields, supporting pagination, filtering, and secure value options.

Inputs

  • Return All — Choose whether to fetch all pages of results or only a single page.
  • Additional Fields — Optional parameters including device filter (df), cursor pagination token (cursor), page size (pageSize), filter for updated fields after a specific date (updatedAfter), comma-separated list of fields to include (fields), and whether to show secure values in plain text (showSecureValues).
  • Options — Contains sub-options for sending a custom request body (merged with other fields), custom HTTP headers, query string filters, batching settings for multiple input items, debug flag to include request details in the output, pagination configuration (mode, parameter names, paths, limits, intervals), and request timeout in milliseconds.

Output shape

a list of custom field report items, paginated according to the pagination settings; each item corresponds to a custom field as returned by the NinjaOne API

Supports multiple pagination modes (offset, cursor, or next URL) with customizable parameters and limits. Debug mode includes detailed request data in output. Custom body JSON, headers, and query filters can override or augment standard parameters. By default, returns a single page unless 'Return All' is set to true.

Links

Discussion