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

x/openai/resources/beta/threads/runs/steps.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.28.5/resources/beta/threads/runs/steps.ts";
class Steps
extends APIResource
import { Steps } from "https://deno.land/x/openai@v4.28.5/resources/beta/threads/runs/steps.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.