Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.
SOLVED

How to fetch all the dataset using API

Avatar

Level 3

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

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@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.

View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

@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.

Avatar

Level 3

@Tof_Jossic Thank you. It works for me