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: "<value>",
  conversation: "<value>",
  previousResponseId: "<id>",
  contextManagement: [
    {
      type: "compaction",
      compactThreshold: 291374,
    },
  ],
  metadata: {
    "key": "<value>",
  },
  temporalScheduleId: "<id>",
  lastRunAt: new Date("2026-11-30T08:57:59.157Z"),
  lastRunId: "<id>",
  runCount: 295934,
  createdAt: new Date("2025-02-06T21:08:51.662Z"),
  updatedAt: new Date("2025-04-18T04:19:59.461Z"),
  deletedAt: new Date("2024-12-12T19:24:33.815Z"),
};

Fields

FieldTypeRequiredDescription
objectcomponents.AgentScheduleObject✔️N/A
idstring✔️N/A
agentIdstring✔️N/A
namestring✔️N/A
statuscomponents.AgentScheduleStatus✔️N/A
schedulecomponents.AgentScheduleSpec✔️N/A
inputany✔️Arbitrary JSON value.
conversationany✔️N/A
previousResponseIdstring✔️N/A
contextManagementcomponents.AgentCompactionContextManagement[]✔️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