Skip to content

ItemListObject

Example Usage

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

let value: ItemListObject = {
  data: [
    {
      role: "user",
      content: "Hello, how are you?",
      id: "item_abc123",
    },
  ],
  hasMore: false,
  lastId: "item_abc123",
};

Fields

FieldTypeRequiredDescription
object"list"N/A
datacomponents.ItemWithId[]✔️A list of conversation items.
hasMoreboolean✔️Whether there are more items
lastIdstring✔️ID of the last item in the current page