Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
tlamont
Partner Ambassador Affiliate
Partner Ambassador Affiliate

Getting List of Data Files in a space.

Hoping to get a little insights for the community.  We are utilizing an API call to get a list of the data files within a space: 

https://<Tenant>/api/v1/data-files?connectionId=<SPACEID>

This works in providing the list, but some files are missing.  There doesn't seem to be anything different about the files that are missing.  They are QVD's that are created in the same app as some other QVD's that are showing up in the list.  They are not significantly larger.  There is no real difference between some of the files that show up and some of the files that don't show up.  Has anyone else seen this or has anyone used a better method for getting a list of data file within a space?  Any insights would be appreciated.  

Labels (2)
5 Replies
Marc
Employee
Employee

The Data-Files API has a Query Parameter for "limit" that defaults to 20 records, above this you need to page through the results.

Based on the api example you provided you may need to consider increasing the limit value or add paging to your API Calls.

"limit" allows a maximum of 1000 per page, so if you have more than 1000 QVDs in the space you will need to handle paging anyway.

https://<Tenant>/api/v1/data-files?connectionId=<SPACEID>&limit=1000

Raju_6952
Creator III
Creator III

Hi @Marc ,

I need to fetch the complete list of data files in my qlik cloud tenant as a admin.

which api i need to use to get the same.

 

Thanks in advance,

Raju

GTiscareno
Employee
Employee

I was looking for that and to get all the data files use this call

 

https://<Tenant>/api/v1/data-files?includeAllSpaces=TRUE&limit=1000

michealjam
Contributor
Contributor

Thanks for raising this — we've seen similar inconsistencies before. If your API call is returning only a partial list, it might be due to indexing delays or permission issues within the space, especially if the missing QVDs were recently generated. One workaround we've found useful is to re-trigger metadata refreshes or check if those files are tagged or stored slightly differently (e.g., nested folders or special characters in names).

It’s a bit puzzling when there's no clear pattern to what’s excluded. Hopefully someone else in the community has seen this exact case. As Angel Francheska Manhilot might say — sometimes it takes a second look to spot what’s quietly out of sync.

Raju_6952
Creator III
Creator III

Hi @GTiscareno ,

Thanks for your inputs here.

Its working pretty much fine,

 

Regards,

Raju