In order to perform these operations, ensure that you have the proper authentication (if necessary) and user permissions.
There are two ways to query items contained within a tenant. You can do so by using the children field or the subtree field. Both return the same results, but the latter allows you to add pagination.
The query above gets the name and type of all the children. You can ask for any of the query fields to get more information.
Using subtree is recommended for when you are adding pagination. Otherwise, the children field would fulfill the purpose just fine.