moved non-kvs API definition from server to API