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

x/openai/resources/beta/threads/runs/runs.ts

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
import * as openai from "https://deno.land/x/openai@v4.45.0/resources/beta/threads/runs/runs.ts";

Interfaces

Tool call objects

The function definition.

Represents an execution run on a thread.

Details on why the run is incomplete. Will be null if the run is not incomplete.

The last error associated with this run. Will be null if there are no errors.

Details on the action required to continue the run. Will be null if no action is required.

Details on the tool outputs needed for this run to continue.

Controls for how a thread will be truncated prior to the run. Use this to control the intial context window of the run.

Usage statistics related to the run. This value will be null if the run is not in a terminal state (i.e. in_progress, queued, etc.).

Controls for how a thread will be truncated prior to the run. Use this to control the intial context window of the run.

Controls for how a thread will be truncated prior to the run. Use this to control the intial context window of the run.

Controls for how a thread will be truncated prior to the run. Use this to control the intial context window of the run.

Controls for how a thread will be truncated prior to the run. Use this to control the intial context window of the run.

Type Aliases

The status of the run, which can be either queued, in_progress, requires_action, cancelling, cancelled, failed, completed, or expired.