BatchObject
Example Usage
typescript
import { BatchObject } from "@meetkai/mka1/models/components";
let value: BatchObject = {
id: "<id>",
object: "batch",
endpoint: "<value>",
inputFileId: "<id>",
completionWindow: "<value>",
status: "cancelled",
createdAt: 269309,
requestCounts: {
total: 284038,
completed: 113361,
failed: 969277,
},
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
id | string | ✔️ | N/A |
object | "batch" | ✔️ | N/A |
endpoint | string | ✔️ | N/A |
errors | components.BatchErrors | ➖ | N/A |
inputFileId | string | ✔️ | N/A |
completionWindow | string | ✔️ | N/A |
status | components.BatchObjectStatus | ✔️ | N/A |
outputFileId | string | ➖ | N/A |
errorFileId | string | ➖ | N/A |
createdAt | number | ✔️ | N/A |
inProgressAt | number | ➖ | N/A |
expiresAt | number | ➖ | N/A |
finalizingAt | number | ➖ | N/A |
completedAt | number | ➖ | N/A |
failedAt | number | ➖ | N/A |
expiredAt | number | ➖ | N/A |
cancellingAt | number | ➖ | N/A |
cancelledAt | number | ➖ | N/A |
requestCounts | components.RequestCounts | ✔️ | N/A |
metadata | Record<string, string> | ➖ | N/A |