docs(api/index): fix typo

Closes #5738