We’ve built a code ownership API to allow you to query the code owners for any given path in your repository.

You can utilize our API to build tools and enhance your existing tool chain with up-to-date code ownership data. Our API takes a data-backed approach to code ownership and takes into account any changes that you have made by changing your CODEOWNERS file or by using our /co PR comment commands.