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

x/openai_deno/mod.ts>OpenAI#retrieveRunStep

OpenAI API wrapper for deno.
Latest
method OpenAI.prototype.retrieveRunStep
import { OpenAI } from "https://deno.land/x/openai_deno@v0.9.8/mod.ts";

Retrieves a run step.

Parameters

threadID: string

The ID of the thread to which the run and run step belongs.

runID: string

The ID of the run to which the run step belongs.

stepID: string

The ID of the run step to retrieve.

Returns

Promise<RunStep>

The run step object matching the specified ID.