How to get organization LOC from Sonarcloud API?

We need to create and configure LOC monitoring for a Sonarcloud organization, but we can’t find any reference in the API documentation.

How can we retrieve the LOC value at the organization level?

Hey there.

There’s no public API available, but you’ll find the endpoint pretty quickly if you follow this guide: