Filtering out linked datasets with Search/Native API

31 views
Skip to first unread message

KL

unread,
May 29, 2026, 9:41:58 AM (24 hours ago) May 29
to Dataverse Users Community
Hi all,

Is there an endpoint or a way to exclude linked datasets from a Search API response? 

Or alternatively, is there a way/endpoint to get a list of linked datasets within a collection, without super admin privileges?

Thanks,

Ken Lui
Data Curation Specialist
Map & Data Library, University of Toronto

KL

unread,
May 29, 2026, 10:11:29 AM (23 hours ago) May 29
to Dataverse Users Community
And also the harvested one?

Basically, I am trying to use API (without super admin privileges), to get a list of datasets that live directly within a specific collection.

KL

unread,
May 29, 2026, 10:41:02 AM (23 hours ago) May 29
to Dataverse Users Community
Hi all,

Seemingly, I found the way with the SearchAPI - especially for the harvested one (sorry for mixing up the concept of harvested vs. linked).

Simply just add this parameter to the search query : fq=metadataSource:{DV_INSTALLATION_NAME}. 

For example, in the Borealis installation: https://borealisdata.ca/api/search?q=*&show_facets=true&fq=metadataSource:Borealis. This will exlucde the harvested ones.

The DV_INSTALLATION_NAME differs across repositories.

Reply all
Reply to author
Forward
0 new messages