Hi, as far as I know there is no API to directly query, but the data is there, for example: by tweaking the parameters of [0] I believe a client could crawl all derivations for all architectures that are built from that commit.
It would be awesome if there was an API that could tell only the build result of a package-architecture-commit tuple. In general I discovered that appending .json to many URLs of the Data Service web UI results in JSON data being returned, I'm not sure if this is documented somewhere, I didn't look very hard but I was not able to find it. A couple of years ago I started experimenting with making a Guix extension to query the data service with this use case in mind, but I never got anything out of it [1], maybe it can be of inspiration to someone. cheers, giacomo [0]: https://data.qa.guix.gnu.org/revision/0ca814a5b0ad1c9d566d92c50797250acef52cef/package-derivations.json [1]: https://codeberg.org/fishinthecalculator/quix-query
