# DQL entities have less infomation than API entities

**URL:** <https://community.dynatrace.com/t/dql-entities-have-less-infomation-than-api-entities/45822>\
**Category:** DQL\
**Tags:** dql, dynatrace-managed, dynatrace-api\
**Created:** [May 30, 2024, 4:29am UTC](https://community.dynatrace.com/t/dql-entities-have-less-infomation-than-api-entities/45822 "2024-05-30T04:29:34Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![joeistyping](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/joeistyping/32/26040_2.png) [@joeistyping](https://community.dynatrace.com/u/joeistyping)\
**Post date:** [June 4, 2024, 9:36pm UTC](https://community.dynatrace.com/t/dql-entities-have-less-infomation-than-api-entities/45822/2 "2024-06-04T21:36:36Z")

</div>

Hello Mark!

If you’re looking for the relationship from a process instance to a host/container, there is a field in _dt.entity.process\_group\_instance_ named “belongs\_to” that can be used:

```ruby
fetch dt.entity.process_group_instance
| fieldsAdd belongs_to
| fieldsFlatten belongs_to

```

 ![joeistyping_0-1717536984127.png](https://global.discourse-cdn.com/dynatrace/original/2X/7/7afce11ce54a6484a27944ccf2d6eb98f84b18ae.png)

---

_[View the full topic](https://community.dynatrace.com/t/dql-entities-have-less-infomation-than-api-entities/45822)._
