New apis added for pathways