combined search and read into the same stored query.  added history endpoint for same query