How to get build information for non admin user by AQL query?

As documented in our Wiki page, users without admin privileges can only use item as the primary domain of the query.  Non admin user can use items query to get the build information as demonstrated by the following diagram:

 

The following query –

items.find({"artifact.module.build.name": "<BuildName>"})  

Is equivalent to traversing the “graph” in the above image:

Item → Artifact → Module → Build.

In order to retrieve all items belonging to a particular build name