API doc draft