Skip to content

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

FieldTypeRequiredDescription
object"list"✔️The object type, always 'list' for paginated list responses.
datacomponents.ResponseObject[]✔️Array of response objects. Each response contains its status, model, input/output, tool usage logs, metadata, and completion information.
firstIdstringThe ID of the first response in the current page. Used as a reference point for pagination.
lastIdstringThe ID of the last response in the current page. Used as a cursor for fetching the next page.
hasMoreboolean✔️Indicates whether there are more responses available beyond the current page. True if additional pages exist, false otherwise.