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

Function getFile

  • getFile(data, signal?): Promise<FileDTO>
  • Get a signed s3 url corresponding to the file_id requested such that you can download the file.

    Example:

    const data = await trieve.getFile({
    fileId: "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    });

    Parameters

    • data: Omit<GetFileHandlerData, "trDataset">
    • Optionalsignal: AbortSignal

    Returns Promise<FileDTO>

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

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.