Start Free
10.6 | User guide | Monitoring code metrics | Monitoring metrics through Web API

Monitoring the code metrics through the Web API

Through the SonarQube Web API’s, you can retrieve code metric values and histories by using the /api/measures endpoint. The metric keys are listed in the metric tables in Metric definitions or you can use the /api/metrics endpoint to retrieve them.


Was this page helpful?

© 2008-2024 SonarSource SA. All rights reserved. SONAR, SONARSOURCE, SONARLINT, SONARQUBE, SONARCLOUD, and CLEAN AS YOU CODE are trademarks of SonarSource SA.

Creative Commons License