add collect knowledge api