Add cluster API and index API