What API to use to view current Project privileges

I can get privileges via API for catalogs and data sources.

However, I’m missing what API to use to get privileges for a project.

The only way I have found to find what the current grants are for a project is via a query:

select
*
from sys.organization.privileges
;

Am I understanding this correctly, or have I simply missed something in the docs?