Skip to main content

api.triggerTarget()

Schedules generic execution against a normalized target. Notes:
  • Use JOB_TEMPLATE for legacy template execution or AGENT for agent-native dispatch.
  • Pass { scheduleFor }; the maximum horizon is 30 days.
  • Retired positional date and relative-delay arguments are ignored.
  • Unavailable with readOnly: true (throws an error).
  • For JOB_TEMPLATE, targetId accepts an exact active template ID or unique name. The third argument is copied directly into the target job’s flat api.input().templateInputs. It is shallow-spread over template defaults, retaining non-colliding defaults and overwriting only matching keys; it is never nested below another input property.

Signature

Example

See all api methods or runtime basics.
Last modified on November 8, 2026