Search history API not returning all of the data

I’m using this API with parameters:

  • component
  • metrics

to retrieve historical data for some projects we have.

And what I notice is that it doesn’t return all of the historical data. For example, for one metric in a particular project, it only returns data prior to mid February, while in the SonarCloud web app, all of the data is there for that same metric, same project with data visualization and stuff.

My question is, is this a bug or is there some extra parameters that I need to pass to it to get all the data?



I would assume you need to page through the data

1 Like

It works! Thanks a lot!

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