Github
  • Preparing search index...
  • The search index is not available
Trieve Typescript SDK - v0.0.97
  • Trieve Typescript SDK
  • File Methods
  • getFilesForDataset

Function getFilesForDataset

  • getFilesForDataset(data, signal?): Promise<FileData>
  • 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,
    });

    Parameters

    • data: Omit<Omit<GetDatasetFilesAndGroupIdsHandlerData, "datasetId">, "trDataset">
    • Optionalsignal: AbortSignal

    Returns Promise<FileData>

    • Defined in clients/ts-sdk/src/functions/file/index.ts:122

Settings

Member Visibility
Github
Trieve Typescript SDK - v0.0.97
  • Loading...

Generated using TypeDoc

Please reach out if you'd like assistance; we are responsive! Contact humans@trieve.ai or see trieve.ai for links to Discord and Matrix.