knowledge store api