Skip to main content
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

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

templateId
enum<string>
required
Available options:
statement-notify-artists,
royalty-file-anomaly-hold,
catalog-hygiene,
release-delivery

Body

application/json

Every field optional — send only what changed. At least one is required.

enabled
boolean
trigger
object
Example:
config
object

Response

Automation updated

status
string
Example:

"success"

message
string
data
object