add ping and search API definitions