⚠️ Experimental — Lists Guild schedules (sg_agent_schedule). Supports include_provisioned / include_app_only filters for app-managed schedules.
# When to use: List cron schedules for agents/workflows (including app-provisioned
# schedules when include_provisioned is true).
data "sg_agent_schedules" "agent_crons" {
target_type = "agent"
enabled_only = true
}
output "schedule_names" {
value = [for s in data.sg_agent_schedules.agent_crons.schedules : s.name]
}
enabled_only (Boolean) When true, return only enabled schedules.include_app_only (Boolean) When true, include user-created schedules that target an installed app.include_provisioned (Boolean) When true, include schedules provisioned by installed apps.target_name (String) Filter by target name.target_type (String) Filter by target type (agent, workflow, or app).schedules (Attributes List) Schedules matching the query. (see below for nested schema)schedulesRead-Only:
action (String) Prompt or instruction sent on each run.enabled (Boolean) Whether the schedule is active.endpoint_path (String) App endpoint path when target_type is app.expression (String) Cron expression.id (String) Schedule UUID.name (String) Human-readable schedule name.notification_channel_ids (List of String) Notification channel UUIDs.target_name (String) Name of the target resource.target_type (String) Target type (agent, workflow, or app).