api: get datasets by pipeline