Skip to main content
Go to Latest
method OpenAI.prototype.retrieveFile
import { OpenAI } from "https://deno.land/x/commit_genius@v0.4.0/deps.ts";

Returns information about a specific file.

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

Parameters

fileId: string

Returns

Promise<File>