updated api to include valid type for indicies.stats:group