Is it possible to get with SQL REST API the same hierarchy as shown in the investigator?