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

x/openai_deno/mod.ts>RunStepRaw

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

Properties

id: string
object: "thread.run.step"
created_at: number
assistant_id: string
thread_id: string
run_id: string
type: "message_creation" | "tool_calls" | string
status:
| "in_progress"
| "cancelled"
| "failed"
| "completed"
| "expired"
step_details: { type: "message_creation"; message_creation: { message_id: string; }; } | { type: "tool_calls"; tool_calls: ({ id: string; type: "code_interpreter"; code_interpreter: { input: string; outputs: ({ type: "logs"; logs: string; } | { type: "image"; image: { file_id: string; }; })[]; }; } | { id: string; type: "retrieval"; retrieval: never; } | { id: string; type: "function"; function: { name: string; arguments: string; output?: string | null; }; })[]; }
optional
last_error: { code: "server_error" | "rate_limit_exceeded" | string; message: string; } | null
optional
expires_at: number | null
optional
cancelled_at: number | null
optional
failed_at: number | null
optional
completed_at: number | null