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

x/openai/resources/uploads/parts.ts>UploadPart

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

The upload Part represents a chunk of bytes we can add to an Upload object.

Properties

id: string

The upload Part unique identifier, which can be referenced in API endpoints.

created_at: number

The Unix timestamp (in seconds) for when the Part was created.

object: "upload.part"

The object type, which is always upload.part.

upload_id: string

The ID of the Upload object that this Part was added to.