Since iOS16 introduced the shared albumn, is there an API for developers to access the assets inside that shared albumn?
There is not any new API around the iCloud Shared Photo Library. Your app will see assets that are in the users personal library and shared library with no way to distinguish between the two. If you have a use case in mind for utilizing this kind of information please file a Feedback detailing the API enhancement.