add index for API pages