ItemListObject
Example Usage
typescript
import { ItemListObject } from "@meetkai/mka1/models/components";
let value: ItemListObject = {
data: [
{
type: "code_interpreter_call",
id: "<id>",
code: "<value>",
containerId: "<id>",
outputs: [],
status: "interpreting",
},
],
hasMore: true,
lastId: "<id>",
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
object | "list" | ➖ | N/A |
data | components.ItemWithId[] | ✔️ | A list of conversation items. |
hasMore | boolean | ✔️ | Whether there are more items |
lastId | string | ✔️ | ID of the last item in the current page |