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

Retrieves a message file.

Parameters

threadID: string

The ID of the thread to which the message and File belong.

messageID: string

The ID of the message the file belongs to.

fileID: string

The ID of the file being retrieved.

Returns

Promise<MessageFile>

The message file object.