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

x/openai_deno/mod.ts>RunRaw

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

Properties

id: string
object: "thread.run"
created_at: number
thread_id: string
assistant_id: string
status:
| "queued"
| "in_progress"
| "requires_action"
| "cancelling"
| "cancelled"
| "failed"
| "completed"
| "expired"
optional
required_action: { type: "submit_tool_outputs" | string; submit_tool_outputs: { tool_calls: { id: string; type: "function"; function: { name: string; arguments: string; }; }[]; }; } | null
optional
last_error: { code: "server_error" | "rate_limit_exceeded" | string; message: string; } | null
expires_at: number
optional
started_at: number | null
optional
cancelled_at: number | null
optional
failed_at: number | null
optional
completed_at: number | null
model: string
instructions: string
tools: ({ type: "code_interpreter"; } | { type: "retrieval"; } | { type: "function"; function: FunctionRaw; })[]
file_ids: string[]