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

Was this page helpful?

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.

© 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