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

Delete an assistant file.

Parameters

assistantID: string

The ID of the assistant that the file belongs to.

fileID: string

The ID of the file to delete.

Returns

Deletion status