Skip to content

AgentSchedule

Example Usage

typescript
import { AgentSchedule } from "@meetkai/mka1/models/components";

let value: AgentSchedule = {
  object: "agent.schedule",
  id: "<id>",
  agentId: "<id>",
  name: "<value>",
  status: "paused",
  schedule: {
    type: "interval",
    intervalSeconds: 442240,
    timezone: "UTC",
  },
  input: 183633,
  conversation: 5105.45,
  previousResponseId: "<id>",
  metadata: {
    "key": "<value>",
  },
  temporalScheduleId: "<id>",
  lastRunAt: new Date("2024-11-20T08:14:50.296Z"),
  lastRunId: "<id>",
  runCount: 431734,
  createdAt: new Date("2026-08-24T02:03:48.662Z"),
  updatedAt: new Date("2024-12-12T19:24:33.815Z"),
  deletedAt: new Date("2024-05-06T20:34:22.775Z"),
};

Fields

FieldTypeRequiredDescription
objectcomponents.AgentScheduleObject✔️N/A
idstring✔️N/A
agentIdstring✔️N/A
namestring✔️N/A
statuscomponents.AgentScheduleStatus✔️N/A
schedulecomponents.AgentScheduleSpec✔️N/A
inputcomponents.JsonValue✔️N/A
conversationcomponents.JsonValue✔️N/A
previousResponseIdstring✔️N/A
metadataRecord<string, string>✔️N/A
temporalScheduleIdstring✔️N/A
lastRunAtDate✔️N/A
lastRunIdstring✔️N/A
runCountnumber✔️N/A
createdAtDate✔️N/A
updatedAtDate✔️N/A
deletedAtDate✔️N/A