API call to return quality gate status for a given version

We use a quality gate that focuses on checking for leaks, especially to ensure that no new injuries are introduced (regardless of current debt). It would be great to get qualitiy gate status back for a particular version of a sonar scan. Such an API call would simply return the value of the quality gate for a given “project_version”. Required parameters for this would be project key and version.