Update docs/api.md

Fix typo