Automations
Enable, disable, or reconfigure an automation template
PATCH /ai/automations/
PATCH
This endpoint requires authentication. Include your Bearer token in the Authorization header.
Description
PATCH /ai/automations/ One upsert against the unique(TenantId, template_id) index —
there is no separate enable/disable endpoint. Setting enabled: true on a template whose workflow has not shipped yet
(available: false) is refused with TEMPLATE_NOT_AVAILABLE (409).
Setting trigger.kind to schedule or event is available on
every plan tier, same as manual.
Authorization: any authenticated tenant member.
Code Examples
Authorizations
Path Parameters
Body
application/json