Getting the size of each mapping type in an index

I can get the size of an index stored on disk with the '/index/_stats' endpoint, but is there any way to get the size each mapping type takes up on disk? If there is no API endpoint, can I figure this out by looking at the actual files on disk?