import { Runs } from "https://deno.land/x/openai@v4.19.0/resources/beta/threads/runs/runs.ts";
class Runs
extends APIResource
import { Runs } from "https://deno.land/x/openai@v4.19.0/resources/beta/threads/runs/runs.ts";
Methods
Cancels a run that is in_progress
.
Retrieves a run.
submitToolOutputs(): Core.APIPromise<Run>
When a run has the status: "requires_action"
and required_action.type
is
submit_tool_outputs
, this endpoint can be used to submit the outputs from the
tool calls once they're all completed. All outputs must be submitted in a single
request.