Create an automation from a preset
POST/plugin-api/ai/tasks/presets/:presetId/enable
Creates it through automations.access as the user: the preset's trigger with the user's changes and one ai_task step. The preset version is recorded so a newer one can be offered later.
Request
Responses
- 201
- 400
- 403
- 404
- 503
The automation was created.
Invalid changes, or Automations refused them.
Missing ai.ops.use, or the assistant is off.
Preset not found.
The Automations plugin is not running.