[doc] Start documenting the API [in-progress]