Getting devices for multiple apps via API

Hello,
How can I use the API to get device information for multiple applications in one request.
I’m currently using this to pull device information for a single application: https://api.balena-cloud.com/v4/device?$filter=belongs_to__application/app_name%20eq%20'my-app'

The OData interface is not very intuitive…

Thanks

Hello Raphael,
AFAIK, getting device information from multiple applications in a single request won’t be possible as I couldn’t find a reference for it in our API docs (https://www.balena.io/docs/reference/api/overview). More on this, applications in BalenaCloud group devices of one type together performing the same function with every application having its own environment variables, configuration, releases and user access hence pulling device information from multiple applications in a single request might not be feasible.

Thats unfortunate but thanks anyway.