AgentRun
Example Usage
typescript
import { AgentRun } from "@meetkai/mka1/models/components";
let value: AgentRun = {
object: "agent.run",
id: "<id>",
agentId: "<id>",
status: "failed",
input: 953307,
conversation: [],
previousResponseId: "<id>",
metadata: {
"key": "<value>",
},
gatewayResponseId: "<id>",
gatewayResponse: "<value>",
error: true,
createdAt: new Date("2026-06-02T03:31:29.132Z"),
completedAt: new Date("2026-03-20T12:44:19.596Z"),
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
object | components.AgentRunObject | ✔️ | N/A |
id | string | ✔️ | N/A |
agentId | string | ✔️ | N/A |
status | components.AgentRunStatus | ✔️ | N/A |
input | components.JsonValue | ✔️ | N/A |
conversation | components.JsonValue | ✔️ | N/A |
previousResponseId | string | ✔️ | N/A |
metadata | Record<string, string> | ✔️ | N/A |
gatewayResponseId | string | ✔️ | N/A |
gatewayResponse | components.JsonValue | ✔️ | N/A |
error | components.JsonValue | ✔️ | N/A |
createdAt | Date | ✔️ | N/A |
completedAt | Date | ✔️ | N/A |