PUT
/
api
/
automations
/
{id}
This response does not have an example.

Headers

x-prefect-api-version
string

Path Parameters

id
string<uuid>
required

Body

application/json
name
string
required

The name of this automation

trigger
object
required

The criteria for which events this Automation covers and how it will respond to the presence or absence of those events A trigger that fires based on the presence or absence of events within a given period of time.

actions
Actions · array
required

The actions to perform when this Automation triggers

description
string
default:""

A longer description of this automation

enabled
boolean
default:true

Whether this automation will be evaluated

tags
string[]

A list of tags associated with this automation

actions_on_trigger
Actions On Trigger · array

The actions to perform when an Automation goes into a triggered state

actions_on_resolve
Actions On Resolve · array

The actions to perform when an Automation goes into a resolving state

Response

Successful Response