api: list datasets (closes #293)