Skip to content

ListInputItemsResponseBody

Paginated list object containing input items for a response with cursor-based pagination metadata.

Example Usage

typescript
import { ListInputItemsResponseBody } from "@meetkai/mka1/models/operations";

let value: ListInputItemsResponseBody = {
  data: [
    {
      id: "<id>",
      arguments: "<value>",
      name: "<value>",
      serverLabel: "<value>",
    },
  ],
  hasMore: true,
};

Fields

FieldTypeRequiredDescription
objectstring✔️The object type, always 'list' for paginated list responses.
dataoperations.ListInputItemsData[]✔️Array of input items (messages, prompts, instructions) that were provided when creating the response. Each item contains its type, content, role, and metadata.
firstIdstringThe ID of the first item in the current page. Used as a reference point for pagination.
lastIdstringThe ID of the last item in the current page. Used as a cursor for fetching the next page.
hasMoreboolean✔️Indicates whether there are more items available beyond the current page. True if additional pages exist, false otherwise.