Create an automation
Save a new automation. It is created switched off unless enabled is true. The response
carries warnings for steps that look incomplete; they don’t block the save.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
name
agent_id
The agent it belongs to (yours)
trigger
What starts it: {type, …}
enabled
Created switched off unless true: switching on lets it act
steps
delay_seconds
dedup
approval
limits
success_metric
stop_conditions
Response
Successful Response
Errors
422
Unprocessable Entity Error
