added level and lang agg to library endpoint