Creates a template row by copying one source automation rule into automation_templates.template_config. Authentication uses x-api-key with optional x-tenant-id; RBAC requires automation:create. The controller validates createTemplateFromRuleSchema and service emits automation.template.created + audit log events. Missing source rules currently throw generic Error and surface as 500.
Content type: application/json · schema CreateAutomationTemplateRequest
stringnumberbooleandateselectmultiselectSuccess response 201 · schema AutomationTemplateResponse
stringnumberbooleandateselectmultiselect