Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
method OpenAI.prototype.retrieveFile
import { OpenAI } from "https://deno.land/x/commit_genius@v0.2.0/deps.ts";

Returns information about a specific file.

https://platform.openai.com/docs/api-reference/files/retrieve

Parameters

fileId: string

Returns

Promise<File>