Skip to navigation

Resume automation triggers

Beta

Re-enable the trigger rows paused for the named reasons: operator (a pause by hand), error (the failure breaker) or budget_exceeded (a budget breach). Rows paused for any other reason are left alone, and a schedule whose instant has passed stays paused with its paired rule. Resuming a budget pause leaves every budget as set: a new run is still refused while a daily cap it pays into is spent. 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 an object.
reasonslist of enumsRequired

The paused_reason types to lift: operator (a pause by hand), error (the failure breaker) or budget_exceeded (a budget breach; the budget stays as set)

Allowed values:

Response

Resumed; 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