ResponseListObject
Paginated list object containing responses with cursor-based pagination metadata.
Example Usage
typescript
import { ResponseListObject } from "@meetkai/mka1/models/components";
let value: ResponseListObject = {
object: "list",
data: [],
firstId: "resp_abc123",
lastId: "resp_xyz789",
hasMore: true,
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
object | "list" | ✔️ | The object type, always 'list' for paginated list responses. |
data | components.ResponseObject[] | ✔️ | Array of response objects. Each response contains its status, model, input/output, tool usage logs, metadata, and completion information. |
firstId | string | ➖ | The ID of the first response in the current page. Used as a reference point for pagination. |
lastId | string | ➖ | The ID of the last response in the current page. Used as a cursor for fetching the next page. |
hasMore | boolean | ✔️ | Indicates whether there are more responses available beyond the current page. True if additional pages exist, false otherwise. |