add simple api functions to docs