enable endpoint for index