I apologize, I figured it was a typo from your end.
But you want to use the device-side API to query the inventory for the server?
Why not just use the management API? It is still available.
And, the request should be able to give you every device, I would be more suspicious of the
jq filter I wrote up tbh.
You can also filter directly using the parameters listed here:
I hope this is the question you’re really asking, if not feel free to correct me again.