Get Build Status vai commit hash

Hi,

I would like to get the build status of a diff via an API - “diffusion.commit.search”. How can I achieve it OR Is there any other API that I can make use of?

Screenshot 2020-01-02 at 3.53.37 PM