Update workflow schedule
Edit a schedule. Omitted fields are preserved. Send expectedRevision from the editor to reject stale changes. New timing replans future unclaimed firings while retaining claimed and completed occurrences. Existing legacy timing and financial protections remain in place. The manual runs schedule only accepts limits, a strategy and pause changes.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Team (workspace) id (UUID). Discover ids via the list teams endpoint or the agent context.
Workflow schedule id (UUID), as returned by the list/create workflow-schedules endpoints.
Body
Optional changed account limits to save atomically with this configuration. Accounts must be distinct selected destinations of this workspace. A nonempty array additionally requires manage_integrations. Any invalid, stale or unsafe reduction rejects every change. Omit or send [] to leave all shared limits unchanged.
1000a non-negative number
x >= 0Display name for the workflow schedule, 1-120 characters.
1 - 120The instruction each run starts from: the prompt handed to the agent.
1 - 20000New fire plan. Today's instants that already fired stay; later ones are re-planned. Send null together with a cadence to switch to a cron. Omit to leave unchanged.
- Option 1
- Option 2
- Option 3
New legacy UTC cron, used only when firePlan is null. Omit to leave unchanged.
1 - 100"0 7 * * 1"
Which agent version each firing runs: fixed, or optimised across a campaign.
- Option 1
- Option 2
Managed agent a fixed schedule runs. Omit to leave unchanged.
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Campaign this schedule belongs to, for grouping and aggregate stats; required (and equal to selection.campaignId) for optimised selection. Null for none.
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Label copied onto each run. Send null to clear it; omit to leave unchanged.
1 - 64Per-run credit cap in decimillicents. A run spends at most min(this cap, the agent version's per-run ceiling).
Daily credit ceiling in decimillicents across all of this schedule's runs (UTC day). Firings are skipped once it is reached (optimised selection also skips agents whose per-run ceiling no longer fits); null means no daily ceiling.
x > 0Skip firings while this many (or more) of the schedule's runs are still in flight or unreviewed, 1-100 (default 10).
1 <= x <= 100Skip a firing while this many of the schedule's runs are queued, running or paused, 1-10 (default 1 for new schedules).
1 <= x <= 10Social accounts of this team the runs target, in priority order (the first account's platform is the optimiser's primary platform), up to 20. Omit or send [] to let the agent decide.
20a Universally Unique Identifier
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$true pauses the schedule, false resumes it from now (missed firings are never replayed); the same as the pause and resume operations. Omit to leave the pause state unchanged.
Response
Success
a Universally Unique Identifier
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$a Universally Unique Identifier
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$a Universally Unique Identifier
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Display name for the workflow schedule, 1-120 characters.
1 - 120The instruction each run starts from: the prompt handed to the agent.
1 - 20000schedule: fires from its plan; trigger: started by an inbound trigger (API only); manual: direct runs only.
schedule, trigger, manual user: created by a person. manual_implicit: the automatic owner of an agent's direct, API and review-queue runs (hidden from lists by default; it cannot be deleted).
user, manual_implicit When the schedule fires (daily UTC times or a random daily window). Null for legacy cron schedules and manual schedules.
- Option 1
- Option 2
- Option 3
Legacy five-field UTC cron expression, used when firePlan is null (for example weekly schedules). Null when firePlan drives the schedule.
1 - 100"0 7 * * 1"
Which agent version each firing runs: fixed, or optimised across a campaign.
- Option 1
- Option 2
Managed agent a fixed schedule runs; null for optimised selection (the campaign's agents are the pool).
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Campaign this schedule belongs to, for grouping and aggregate stats; required (and equal to selection.campaignId) for optimised selection. Null for none.
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Label copied onto each run this schedule starts, for comparing set-ups in analytics; null for none.
1 - 64When the schedule next fires (ISO-8601 UTC); null for manual and trigger schedules.
When the schedule last fired (ISO-8601 UTC); null before the first firing.
Per-run credit cap in decimillicents. A run spends at most min(this cap, the agent version's per-run ceiling).
Daily credit ceiling in decimillicents across all of this schedule's runs (UTC day). Firings are skipped once it is reached (optimised selection also skips agents whose per-run ceiling no longer fits); null means no daily ceiling.
x > 0Skip firings while this many (or more) of the schedule's runs are still in flight or unreviewed, 1-100 (default 10).
1 <= x <= 100Skip a firing while this many of the schedule's runs are queued, running or paused, 1-10 (default 1 for new schedules).
1 <= x <= 10Social accounts the runs target, in priority order; the first account's platform is the optimiser's primary platform. Empty lets the agent decide.
a Universally Unique Identifier
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$When the schedule was paused (ISO-8601 UTC); null while active. A paused schedule never fires.
a Universally Unique Identifier
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$a non-negative number
x >= 0Whether the selected managed agent owns the per-run ceiling. False preserves the legacy schedule ceiling as an additional cap.