# Dynatrace v2 API returns UNKNOWN for Software Components – Best practices?

**URL:** <https://community.dynatrace.com/t/dynatrace-v2-api-returns-unknown-for-software-components-best-practices/54908>\
**Category:** Dynatrace API\
**Tags:** deep-monitoring, oneagent, dynatrace-api\
**Created:** [February 6, 2026, 11:05am UTC](https://community.dynatrace.com/t/dynatrace-v2-api-returns-unknown-for-software-components-best-practices/54908 "2026-02-06T11:05:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NicolasDUMOUL1](https://avatars.discourse-cdn.com/v4/letter/n/4da419/32.png) [@NicolasDUMOUL1](https://community.dynatrace.com/u/NicolasDUMOUL1)\
**Post date:** [February 6, 2026, 11:05am UTC](https://community.dynatrace.com/t/dynatrace-v2-api-returns-unknown-for-software-components-best-practices/54908/1 "2026-02-06T11:05:28Z")

</div>

I’m encountering an issue when retrieving Software Components for a Process Group Instance via the Dynatrace v2 API. My goal is to identify the dependencies and libraries used by an application’s processes.

Here’s what I’ve observed:

1. When querying the **v2 API /entities/{PGI\_ID}** , I correctly get the list of Software Components linked to a PGI.
2. For some Software Components, the displayName field is returned as **UNKNOWN SOFTWARE\_COMPONENT-ID**.
3. Even after enabling all OneAgent features, enabling Deep Monitoring, and restarting the server, some PGIs still have 100% of their SCs marked as UNKNOWN.

Some technical observations:

- UNKNOWN SCs do not contain any information in properties or tags.
- The icon field shows primaryIconType: unknown.
- The toRelationships.isSoftwareComponentOfPGI link is present, so the relationship with the PGI is correct.

**Example:**

For a Spring Boot process, I enabled all OneAgent features, and Dynatrace returns 90 unknowns out of 90 Software Components found.

For another process, even without enabling the features, I get no unknowns.

What I’d like to ask the community:

1. Is it expected that some Software Components remain UNKNOWN even with OneAgent features and Deep Monitoring?
2. Are there recommended ways to automatically populate the displayName or the technology/version of these UNKNOWN SCs?
3. Do you have any experience or best practices for getting a complete inventory of dependencies/libraries via Dynatrace, especially for vulnerability analysis?

Thank you in advance for your feedback and advice!
