API.md: fix some documentation regarding metrics