Triggers

Register a trigger

post/v1/triggers

Request

  • Base URL: https://api.algenta.ai
  • URL: https://api.algenta.ai/v1/triggers
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Request body

namestring required
simulation_templateobject required

SimulateRequest-compatible payload to run when trigger fires.

webhook_urlstring nullable

HTTPS endpoint to POST notification results to.

execution_webhook_urlstring nullable

When set and auto_execute=true, the full DecisionPlan is POSTed here as an actionable execution payload (same format as POST /v1/decisions/{id}/execute).

auto_executeboolean

If true, automatically dispatch the decision to execution_webhook_url after every successful trigger fire.

descriptionstring nullable

Response

Successful Response

trigger_idstring required
org_idstring required
namestring required
status'active' | 'paused' required
descriptionstring nullable required
webhook_urlstring nullable required
execution_webhook_urlstring nullable
auto_executeboolean
created_atstring date-time required
last_checked_atstring date-time nullable required
last_fired_atstring date-time nullable required
last_result_summarystring nullable required

Changes

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