Need to download built in quality profiles via rest api

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • what are you trying to achieve
  • what have you tried so far to achieve this

we are using 7.9 version.
i need to extract the existing quality profiles which I am able to do for all except built in profiles as there is no option of backup available for built in profiles. I tried to search for rest api but did not worked. Please help.


Hey there.

You can use the GET api/qualityprofiles/export Web API (documentation linked in the footer of your instance).

Thanks Colin, byt what will be the full command to use with parameters. If i eed to specify the language and profile name then how to pass those parameters, please suggest.


Hi Colin,

I am able to download only default profiles using the API even I am providing the name of quality profile, it is only downloading the Deafult profiles. Can you please check if I am doing sometging wrong.