Is there a way to get all connected portfolios for a project?

Right now, I have a workflow that manages portfolio memberships for our projects. It has a point where it needs to find all the portfolios a project is in. Right now to do this, I go through all our portfolios and check whether projects are in each of them, which is unwieldy.

Is there an api endpoint that would give me all the portfolios associated with a project?

2 posts were merged into an existing topic: How to retrieve Related Portfolios on a Project