Skip to navigation

Pause automation triggers

Beta

Pause every live trigger of the automation by hand. Each trigger row is disabled with paused_reason {type: operator, by, at, message}; the draft, the versions and a row already paused for another reason are left as they are, and runs already started keep going. Resume with POST /automations/{asset_id}/triggers/resume or a publish. Returns the automation as GET /automations/{asset_id} reads it afterwards.

Authentication

X-API-KEYstring
API Key authentication via header

Path parameters

asset_idstringRequired
Unique identifier of the automation asset

Headers

X-Athena-Session-CredentialstringOptional

Request

This endpoint expects a nullable object.
notestring or nullOptional<=4000 characters

Why it is paused, recorded as the rows’ paused_reason.message

Response

Paused; the automation as it now reads

asset_idstring
created_atdatetime
created_bystring or null
current_versionobject or null
The current version, with the definition it was compiled from.
current_version_numberinteger or null

Version number of the current publish; null before the first

draftobject
The draft definition and where it was read from.
enabledboolean
Whether the published triggers may fire
fingerprintstring or null
home_project_asset_idstring or null
is_archivedboolean
next_fire_atdatetime or null
Earliest scheduled fire across the live schedule rows
parent_folder_idstring or null
principal_refstring

The automation’s own principal; every step runs as it

titlestring
trigger_summarylist of strings
One line per materialised trigger, for cards and search
triggerslist of objects
updated_atdatetime
versionslist of objects

Version history, newest first (at most the latest 20)

workspace_idstring or null

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error