Feature request: Access to queryable build database

Hi,

Would really love the ability to perform sql-like queries on the build information. For example: If some tests have started timing out (in our case a race condition in chromedriver) - tracking down when this started is very laborious - clicking each build in master until we don’t see them - 100’s of pages.

Something like select min(id) from builds where timeout == true and job_id == 'api' would help immensely.

I’m imagining something like New Relic - or even Kolide - it doesn’t need to be instant - can be queried and come back to later for the result: