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).
Plan gate: setting trigger.kind to anything other than
manual requires the automationsTriggers entitlement (PLUS and
above) — refused with FEATURE_REQUIRED (403) on FREE and STARTER.
enabled and config changes (and a trigger patch that keeps
kind: manual) are ungated and available on every tier. The gate is
enforced both here (route middleware, conditional on the body) and
again inside AutomationService.configure, since agent/tool callers
reach the service without passing through this route.
Authorization: any authenticated tenant member.
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
Available options:
statement-notify-artists, royalty-file-anomaly-hold, catalog-hygiene, release-delivery Body
application/json