Skip to content

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

FieldTypeRequiredDescription
objectcomponents.AgentRunObject✔️N/A
idstring✔️N/A
agentIdstring✔️N/A
statuscomponents.AgentRunStatus✔️N/A
inputcomponents.JsonValue✔️N/A
conversationcomponents.JsonValue✔️N/A
previousResponseIdstring✔️N/A
metadataRecord<string, string>✔️N/A
gatewayResponseIdstring✔️N/A
gatewayResponsecomponents.JsonValue✔️N/A
errorcomponents.JsonValue✔️N/A
createdAtDate✔️N/A
completedAtDate✔️N/A