Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/openai_deno/mod.ts>AssistantFile

OpenAI API wrapper for deno.
Latest
interface AssistantFile
Re-export
import { type AssistantFile } from "https://deno.land/x/openai_deno@v0.9.8/mod.ts";

Properties

id: string

The identifier, which can be referenced in API endpoints.

object: "assistant.file"

The object type, which is always assistant.file.

createdAt: number

The Unix timestamp (in seconds) for when the assistant file was created.

assistantID: string

The assistant ID that the file is attached to.