Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
method OpenAI.prototype.retrieveFileContent
import { OpenAI } from "https://deno.land/x/openai_deno@v0.9.8/mod.ts";

Returns the contents of the specified file

Parameters

fileID: string

The ID of the file to use for this request

Returns

Promise<Blob>

The file contents in Blob.