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
| Field | Type | Required | Description |
|---|---|---|---|
object | components.AgentScheduleObject | ✔️ | N/A |
id | string | ✔️ | N/A |
agentId | string | ✔️ | N/A |
name | string | ✔️ | N/A |
status | components.AgentScheduleStatus | ✔️ | N/A |
schedule | components.AgentScheduleSpec | ✔️ | N/A |
input | any | ✔️ | Arbitrary JSON value. |
conversation | any | ✔️ | N/A |
previousResponseId | string | ✔️ | N/A |
contextManagement | components.AgentCompactionContextManagement[] | ✔️ | N/A |
metadata | Record<string, string> | ✔️ | N/A |
temporalScheduleId | string | ✔️ | N/A |
lastRunAt | Date | ✔️ | N/A |
lastRunId | string | ✔️ | N/A |
runCount | number | ✔️ | N/A |
createdAt | Date | ✔️ | N/A |
updatedAt | Date | ✔️ | N/A |
deletedAt | Date | ✔️ | N/A |