GetFileByKey

Retrieves a file details by its unique key.

  • Arguments

    • key: The unique key of the file to retrieve.
  • Returns

    • A Promise<BreezeFileType> Promise that resolves to the file's details or null if the file cannot be found.
import { BreezeUploader } from "breeze-uploader-sdk";

const breeze = new BreezeUploader({
  apiKey: "YOUR_API_KEY",
  secretKey: "YOUR_SECRET_KEY",
});

await breeze.getFileByKey({ key: "YOUR_FILE_KEY" });
Docs and examples licensed under MIT