Document API basics