Skip to content

FileT

Example Usage

typescript
import { FileT } from "@meetkai/mka1/models/components";

let value: FileT = {
  id: "<id>",
  bytes: 784014,
  createdAt: 972051,
  filename: "example.file",
  purpose: "fine-tune",
};

Fields

FieldTypeRequiredDescription
idstring✔️The file identifier
object"file"N/A
bytesnumber✔️The size of the file in bytes
createdAtnumber✔️Unix timestamp when the file was created
expiresAtnumberUnix timestamp when the file expires
filenamestring✔️The name of the file
purposecomponents.Purpose✔️The intended purpose of the file
statuscomponents.FileStatusDEPRECATED: File processing status
statusDetailsstringDEPRECATED: Details about file status