added elastic api