# Application Quality Gate API

**URL:** <https://community.sonarsource.com/t/application-quality-gate-api/32975>\
**Category:** SonarQube Server / Community Build\
**Tags:** q\_gate, sonarqube\
**Created:** [October 15, 2020, 1:57pm UTC](https://community.sonarsource.com/t/application-quality-gate-api/32975 "2020-10-15T13:57:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Svetlana](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@Svetlana](https://community.sonarsource.com/u/Svetlana)\
**Post date:** [October 15, 2020, 1:57pm UTC](https://community.sonarsource.com/t/application-quality-gate-api/32975/1 "2020-10-15T13:57:28Z")

</div>

#Product details  
SonarQube EE, Version 8.3.1  
#Problem description  
I have an application in SonarQube consisting of 3 Projects. This application has a quality gate and some overall statisctics after any of the projects get rescanned. What I would like to achieve is to get the quality gate status and, ideally, the scanning report for the application via an API call.  
#What I’ve tried  
Well, looked through the official documentation, found nothing so far. Except for the API calls that return quality gate statuses for each of the 3 projects in my applications. But what I really need is the aggregated application quality gate status.

---

<div class="post-metadata">

**Author:** ![Cameron](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/cameron/32/37_2.png) [@Cameron](https://community.sonarsource.com/u/Cameron)\
**Post date:** [October 15, 2020, 3:16pm UTC](https://community.sonarsource.com/t/application-quality-gate-api/32975/3 "2020-10-15T15:16:13Z")

</div>

Hi @Svetlana,

Welcome to the Community! 😃

There’s an API call that is marked Internal (usually meaning “subject to change without notice”) that returns the Quality Gate of an Application. If you check the **Show Internal API** checkbox in the onboard Web API documentation, you should be able to find **api/qualitygates/application\_status**.

Hope this helps!

Regards,

Cameron.

---

<div class="post-metadata">

**Author:** ![Svetlana](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@Svetlana](https://community.sonarsource.com/u/Svetlana)\
**Post date:** [October 16, 2020, 7:14am UTC](https://community.sonarsource.com/t/application-quality-gate-api/32975/4 "2020-10-16T07:14:16Z")

</div>

Hi Cameron!

Well thank you 😉

Yes, found the api call I was looking for. Thanks a lot.

Kind regards,

Svetlana

---

<div class="post-metadata">

**Author:** ![Cameron](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/cameron/32/37_2.png) [@Cameron](https://community.sonarsource.com/u/Cameron)\
**Post date:** [October 16, 2020, 8:38am UTC](https://community.sonarsource.com/t/application-quality-gate-api/32975/5 "2020-10-16T08:38:18Z")

</div>

Hi Svetlana,

Glad you found it!

Regards,

Cameron.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/system/32/31083_2.png) [@system](https://community.sonarsource.com/u/system)\
**Post date:** [October 23, 2020, 8:38am UTC](https://community.sonarsource.com/t/application-quality-gate-api/32975/7 "2020-10-23T08:38:35Z")

</div>

Closed on October 23, 2020, 8:38am UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
