docs: fix api example