CreateAgentRunRequest
Example Usage
typescript
import { CreateAgentRunRequest } from "@meetkai/mka1/models/components";
let value: CreateAgentRunRequest = {
input: "<value>",
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
input | components.CreateAgentRunRequestInput | ✔️ | N/A |
conversation | any | ➖ | Arbitrary JSON value. |
previousResponseId | string | ➖ | N/A |
contextManagement | components.AgentCompactionContextManagement[] | ➖ | Context management strategies to apply during agent-run response generation. Supports compaction, which summarizes older conversation history when the context exceeds a token threshold. |
stream | boolean | ➖ | When true, the gateway generates per-token delta events for this run, so the events endpoint streams incremental output instead of only item and lifecycle boundaries. The run still executes in the background and this endpoint still returns the queued run record. |
metadata | Record<string, string> | ➖ | N/A |