---
title: "Scoped custom fields report"
method: GET
path: "/v2/queries/scoped-custom-fields"
tags: ["queries"]
---

# Scoped custom fields report

`GET /v2/queries/scoped-custom-fields`

Returns report for Custom Fields defined at different scopes (device, location, organization)

## Query parameters

- `cursor` string
- `pageSize` integer
- `updatedAfter` string
- `fields` string
- `scopes` string
- `showSecureValues` boolean

## Response `default`

default response

- object
  - `cursor` object
    - `name` string
    - `offset` integer
    - `count` integer
    - `expires` number, double
  - `results` object[]
    - `scope` 'NODE' | 'END_USER' | 'LOCATION' | 'ORGANIZATION' | 'GLOBAL' — Defines what entity types can use this custom field definition
    - `entityId` integer — Entity identifier (device, organization, location)
    - `fields` object — Field values

---

[API](https://skmtc.net/ninjarmm/apis/ninjaone-public-api-2-0.md) · [All operations](https://skmtc.net/ninjarmm/apis/ninjaone-public-api-2-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ninjarmm/ninjaone-public-api-2-0/versions/753f26d46650/schema)
