How to List All Datasets Linked to a Dataverse (via API)?

61 views
Skip to first unread message

Tutasi

unread,
Jul 7, 2025, 3:27:57 AM7/7/25
to Dataverse Users Community
Hi Dataverse team,

I'm working with a Dataverse instance and trying to list all datasets that are linked to a specific Dataverse collection — not the datasets deposited in it, but those linked using the dataset linking feature. 

The API provides only the following related endpoints:
  • Link a Dataset to a Dataverse: curl -H "X-Dataverse-key: $API_TOKEN" -X PUT $SERVER/api/datasets/$linked-dataset-id/link/$dataverse-alias
  • List Dataverses Linked to a Dataset: curl -H "X-Dataverse-key: $API_TOKEN" $SERVER/api/datasets/$linked-dataset-id/links
How can I retrieve all datasets that are linked to a specific Dataverse collection?

Philip Durbin

unread,
Jul 7, 2025, 4:21:50 PM7/7/25
to dataverse...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-commu...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dataverse-community/8847d31b-d390-4d8e-a391-959734fb4384n%40googlegroups.com.


--
Message has been deleted

Tutasi

unread,
Jul 11, 2025, 10:00:32 AM7/11/25
to Dataverse Users Community
Hi Phillip,
Thank you , that helps a lot! But it only this command only shows the datasets titles, not the IDs or DOIs. Is there any way to get the IDs or DOIs?
Thanks in advanced!

El dia dilluns, 7 de juliol del 2025 a les 22:21:50 UTC+2, pdu...@g.harvard.edu va escriure:

Philip Durbin

unread,
Jul 14, 2025, 9:20:05 AM7/14/25
to dataverse...@googlegroups.com
Yes, showing database IDs and Persistent Identifiers (PIDs, such as DOIs), is a great idea. I just left a comment on this recently opened issue: https://github.com/IQSS/dataverse/issues/11633

Basically, the frontend team is also recognizing that a more detailed response from these APIs would be beneficial when developing the new frontend, which calls into these APIs.

Reply all
Reply to author
Forward
0 new messages