chore(docs): improve api example