You rather mean Dynatrace Managed, not OneAgent. What is the purpose of this knowledge? Nginx is part of whole solutions, so it’s cannot be used for any other purposes.
You can alway dig into installation files to find those related to nginx, there should be information about this. I didn’t see anywhere any informations related to version of core components. Only Java version is mentioned I suppose.