v1
protected
triggers
Run Trigger Now
Changed onFire a trigger once, now, because a person asked for it.
Distinct from /execute, which replays a real event: this carries no event data and records the caller in fired_by, so the run is visibly a manual one and the task it creates belongs to the caller rather than to whoever created the trigger.
The run is otherwise faithful to a real one -- the trigger's conditions are still evaluated, and a run they reject comes back skipped with the reason rather than being forced through. A trigger that is switched off still runs: is_active governs the schedule, not a person asking for one run.
Returns: The execution, and the task id to watch when one was created.
post/v1/workspaces/{workspace}/triggers/{trigger_id}/run
Request
- The document declares no server URL.
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
trigger_idstring uuid required
workspacestring required
Slug of the workspace the request acts in
Response
Successful Response
Changes
- info
endpoint added
- info