Add API section to docs