Get relationships between collection-types through API

Hi everyone,

Is there any API command to get the relationships of a collection-type?

Thank you!