In the DX NetOps Portal, there is a view that shows the subnets for interfaces:
..
..
How can I get that information from the API?
Release : 22.2
The subnet is actually calculated ‘on-demand’ by DA when the view is called.
subnet is not a data point in the DB, and so it is not exposed as an endpoint.