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
| Field | Type | Required | Description |
|---|---|---|---|
id | string | ✔️ | The file identifier |
object | "file" | ➖ | N/A |
bytes | number | ✔️ | The size of the file in bytes |
createdAt | number | ✔️ | Unix timestamp when the file was created |
expiresAt | number | ➖ | Unix timestamp when the file expires |
filename | string | ✔️ | The name of the file |
purpose | components.Purpose | ✔️ | The intended purpose of the file |
status | components.FileStatus | ➖ | DEPRECATED: File processing status |
statusDetails | string | ➖ | DEPRECATED: Details about file status |