triggers

Triggers · Update a trigger

Partial update. System-managed schedules are locked and reject edits with 403.

patch/api/v1/triggers/{trigger_id}

Request

  • Base URL
    https://kd-agents.simplified.com
  • Auth
    API key in header Authorization

Path parameters

trigger_idstring required

Request body

agentstring

Agent UUID this trigger fires.

namestring
descriptionstring
kind'scheduled' | 'webhook' | 'event' | 'slack' | 'whatsapp'

What causes a run. scheduled requires command; the chat kinds route inbound messages and are normally created by connecting the channel in the UI rather than here.

status'active' | 'paused' | 'inactive' | 'completed'
commandstring

The instruction sent to the agent when the trigger fires. Required for scheduled.

deliveryobject

Where the result goes. Interpreted by the agent, not the dispatcher.

extraobject

Kind-specific configuration, including the schedule itself for scheduled triggers. Read agents_listTriggerKinds for the shape.

Response

The updated trigger.

TriggersUpdateTriggerResponse200 required

Empty response body

Changes

No recorded changes to this operation across all 1 revision of this API.