Get all files and their group ids which belong to a given dataset specified by the dataset_id parameter. 10 files and group ids are returned per page. This route may return the same file multiple times if the file is associated with multiple groups.
Example:
*const data = await trieve.getFilesForDataset({ page:1, }); Copy
*const data = await trieve.getFilesForDataset({ page:1, });
Optional
Get all files and their group ids which belong to a given dataset specified by the dataset_id parameter. 10 files and group ids are returned per page. This route may return the same file multiple times if the file is associated with multiple groups.
Example: