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
| Field | Type | Required | Description |
|---|---|---|---|
object | string | ✔️ | The object type, always 'list' for paginated list responses. |
data | operations.ListInputItemsData[] | ✔️ | Array of input items (messages, prompts, instructions) that were provided when creating the response. Each item contains its type, content, role, and metadata. |
firstId | string | ➖ | The ID of the first item in the current page. Used as a reference point for pagination. |
lastId | string | ➖ | The ID of the last item in the current page. Used as a cursor for fetching the next page. |
hasMore | boolean | ✔️ | Indicates whether there are more items available beyond the current page. True if additional pages exist, false otherwise. |