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

x/openai/resources/mod.ts>Batches#retrieve

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Latest
method Batches.prototype.retrieve
import { Batches } from "https://deno.land/x/openai@v4.66.1/resources/mod.ts";

Retrieves a batch.

Parameters

batchId: string
optional
options: Core.RequestOptions

Returns

Core.APIPromise<Batch>