Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/resources/beta/assistants/mod.ts>AssistantFile

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
interface AssistantFile
import { type AssistantFile } from "https://deno.land/x/openai@v4.24.3/resources/beta/assistants/mod.ts";

A list of Files attached to an assistant.

Properties

id: string

The identifier, which can be referenced in API endpoints.

assistant_id: string

The assistant ID that the file is attached to.

created_at: number

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

object: "assistant.file"

The object type, which is always assistant.file.