pub struct Schedule {Show 13 fields
pub agent_id: String,
pub cron: String,
pub enabled: bool,
pub timezone: String,
pub input: Map<String, Value>,
pub max_concurrent_scheduled: i64,
pub on_failure: AgentScheduleConfigOnFailure,
pub autonomous_mode: Option<bool>,
pub reflection_prompt: Option<String>,
pub status: ScheduleEntryStatus,
pub next_fire_at: Option<String>,
pub last_fired_at: Option<String>,
pub consecutive_failures: i64,
}Expand description
What GET /agents/{agentId}/schedule returns: agent_id, the config fields flattened, and
the runtime state. Keys as served 2026-09-10; last_fired_at, autonomous_mode and
reflection_prompt appear only when set.
Fields§
§agent_id: String§cron: String§enabled: bool§timezone: String§input: Map<String, Value>§max_concurrent_scheduled: i64§on_failure: AgentScheduleConfigOnFailure§autonomous_mode: Option<bool>§reflection_prompt: Option<String>§status: ScheduleEntryStatusState of the scheduler ENTRY (ScheduleEntry.status in @uarp/scheduler), not whether the
schedule is switched on: measured 2026-09-10, active on every live entry, including two
with enabled: false. The human-facing on/off is enabled.
next_fire_at: Option<String>The next fire when enabled is true. On a disabled schedule the server keeps the last
computed instant, so it can lie in the past (measured 2026-09-10 on two disabled entries).
last_fired_at: Option<String>§consecutive_failures: i64Trait Implementations§
Source§impl<'de> Deserialize<'de> for Schedule
impl<'de> Deserialize<'de> for Schedule
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Schedule
Auto Trait Implementations§
impl Freeze for Schedule
impl RefUnwindSafe for Schedule
impl Send for Schedule
impl Sync for Schedule
impl Unpin for Schedule
impl UnsafeUnpin for Schedule
impl UnwindSafe for Schedule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more