Skip to content

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

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