Skip to main content
Module

x/openai/resources/files.ts>Files#retrieve

Deno build of the official Typescript library for the OpenAI API. Source: https://github.com/openai/openai-node
Extremely Popular
Go to Latest
method Files.prototype.retrieve
import { Files } from "https://deno.land/x/openai@v4.19.1/resources/files.ts";

Returns information about a specific file.

Parameters

fileId: string
optional
options: Core.RequestOptions

Returns

Core.APIPromise<FileObject>