New Relic icon

New Relic

Execute NRQL queries via NerdGraph

Account → Get Account Structure

AI-generated

Summary

Retrieve the parent-child account hierarchy of the New Relic organization to understand the structure of managed accounts.

Inputs

None.

Output shape

a list of JSON objects representing the managed accounts, each containing the account's id, name, and regionCode

No input parameters are required or configurable for this operation. The output is a list of managed accounts under the organization, returned as separate items, each with account details. Errors during the request are reported as operation errors or added to the output if 'Continue On Fail' is enabled.

Examples

Example 1: Get Account Structure

No additional parameters; select Resource as 'Account' and Operation as 'Get Account Structure'.

Links

Discussion