UpdateRoutineRequest
@gravity-rail/sdk / UpdateRoutineRequest
Interface: UpdateRoutineRequest
Properties
agentId?
optionalagentId:number|null
cronString?
optionalcronString:string
description?
optionaldescription:string
eventRules?
optionaleventRules:EventRuleInput[]
Ordered event rules to attach. Server syncs by UUID: same-UUID rows update, new UUIDs create, UUIDs missing from the list are deleted. Omit the field to leave existing rules untouched.
intervalSeconds?
optionalintervalSeconds:number
limit?
optionallimit:number
memberFilterId?
optionalmemberFilterId:number|null
name?
optionalname:string
prompt?
optionalprompt:string|null
repeatCount?
optionalrepeatCount:number
rotateWebhookSecret?
optionalrotateWebhookSecret:boolean
Rotate the stored secret without toggling enabled. Ignored when webhookEnabled=false.
scheduledTime?
optionalscheduledTime:string
scheduleEnabled?
optionalscheduleEnabled:boolean
scheduleMode?
optionalscheduleMode:"NONE"|"ONCE"|"CRON"|"INTERVAL"|"MANUAL"
A retired mode may be re-sent unchanged on a disabled row; enabling one is rejected by the server.
skills?
optionalskills:string[] |null
startDate?
optionalstartDate:string
ISO 8601 datetime string for deferred start. Pass empty string "" to clear the start date.
targetMemberId?
optionaltargetMemberId:number|null
timezone?
optionaltimezone:string
IANA timezone the cronString is interpreted in. Pass empty string "" to reset it to the workspace timezone — the server stores that value explicitly rather than clearing the field. Omit to leave unchanged.
visibility?
optionalvisibility:"workspace"|"private"
webhookEnabled?
optionalwebhookEnabled:boolean
Toggle inbound webhook. Enabling without a stored secret generates one and surfaces plaintext in the response exactly once.
workflowId?
optionalworkflowId:number|null