How to fetch all the dataset using API | Community
Skip to main content
Level 2
February 26, 2024
Solved

How to fetch all the dataset using API

  • February 26, 2024
  • 1 reply
  • 1940 views

Hi Team,

I've been using the below API to retrieve all the dataset name/id's but I've noticed that its not returning the complete list of datasets. Can you please help me with the API which will return all the dataset?

GET: https://platform.adobe.io/data/foundation/catalog/dataSets

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Tof_Jossic

@shubham10 I just ran a test and it works but I don't have a very high number of dataset in our Support sandbox, I would have thought the limit was 100 in any case. How many datasets are you trying to list out of curiosity?

 

Also tested using the pagination options listed in here:

GET https://platform.adobe.io/data/foundation/catalog/dataSets?start=0&limit=10 would give you the first 10 results

GET https://platform.adobe.io/data/foundation/catalog/dataSets?start=1&limit=10 would give you the next 10 .. and so on

 

Hope that helps.

1 reply

Tof_Jossic
Adobe Employee
Tof_JossicAdobe EmployeeAccepted solution
Adobe Employee
February 26, 2024

@shubham10 I just ran a test and it works but I don't have a very high number of dataset in our Support sandbox, I would have thought the limit was 100 in any case. How many datasets are you trying to list out of curiosity?

 

Also tested using the pagination options listed in here:

GET https://platform.adobe.io/data/foundation/catalog/dataSets?start=0&limit=10 would give you the first 10 results

GET https://platform.adobe.io/data/foundation/catalog/dataSets?start=1&limit=10 would give you the next 10 .. and so on

 

Hope that helps.

shubham10Author
Level 2
February 26, 2024

@tof_jossic Thank you. It works for me 🙂