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

x/openai/resources/mod.ts>BatchRequestCounts

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
interface BatchRequestCounts
import { type BatchRequestCounts } from "https://deno.land/x/openai@v4.61.1/resources/mod.ts";

The request counts for different statuses within the batch.

Properties

completed: number

Number of requests that have been completed successfully.

failed: number

Number of requests that have failed.

total: number

Total number of requests in the batch.