Measures API returns no new code metrics

Hey there.

You’re right on the money – GET api/measures/search_history retreives historical metrics, of which new_ metrics will not be included. This is what you would see when browsing, say, the Activity tab of your project.

GET api/measures/component retrieves the present values – what you would see when browsing the project dashboard or the Activity tab.

If you ever have any doubt, this guide is useful:

:warning: Your version is past EOL. You should upgrade to either the latest version or the current LTA (long-term active version) at your earliest convenience. Your upgrade path is:

10.8.1 → 2025.1.1-> 2025.2 (last step optional)

You may find these resources helpful: