Update Trigger
Update an existing trigger; only the fields sent change.
Raises: HTTPException: 404 if the trigger does not exist; 400 if validation fails; 409 if the update changes the filter of a trigger that has no stream subscription left.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Slug of the workspace the request acts in
120^[a-z0-9]+(?:-[a-z0-9]+)*$Body
Patch payload for a trigger. All fields optional — unset = unchanged.
Sent as null, the trigger fires on every event again.
1000Toggle the trigger active state. Maps to is_active server-side. REST clients may pass either enabled (canonical) or is_active (alias).
1 <= x <= 1001 - 255What happens to the next event of the same session (ADR-0040 §4).
Sent as null, the trigger asks its own task_parameters text again.
Response
Successful Response
Response model for trigger data.
'needs_owner' when the person who configured it can no longer run its agent; the trigger stays stopped until it is enabled again, and the next event re-checks that person's access.
active, inactive, needs_owner The batch window it fires per; null fires on every event.
Which events fire it.
When the trigger's stream last recorded an event.
What the next event of the same session does; null takes the defaults.
Stream whose events fire this trigger.
Saved task each firing asks, in place of task_parameters.