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

x/openai/resources/beta/threads/runs/mod.ts>Steps

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
namespace Steps
import { Steps } from "https://deno.land/x/openai@v4.24.3/resources/beta/threads/runs/mod.ts";
class Steps
extends APIResource
import { Steps } from "https://deno.land/x/openai@v4.24.3/resources/beta/threads/runs/mod.ts";

Methods

list(
threadId: string,
runId: string,
options?: Core.RequestOptions,
): Core.PagePromise<RunStepsPage, RunStep>

Returns a list of run steps belonging to a run.

list(
threadId: string,
runId: string,
options?: Core.RequestOptions,
): Core.PagePromise<RunStepsPage, RunStep>
retrieve(
threadId: string,
runId: string,
stepId: string,
options?: Core.RequestOptions,
): Core.APIPromise<RunStep>

Retrieves a run step.