Skip to navigation

Get automation

Beta

Read an automation whole: asset facts, its state (enabled, current version, fingerprint, principal, next fire), the draft definition (from its last saved snapshot when there is one, else the live document), the current published version with its definition, the version history, and every trigger row publish created, paused rows included with their reason.

Authentication

X-API-KEYstring
API Key authentication via header

Path parameters

asset_idstringRequired
Unique identifier of the automation asset

Headers

X-Athena-Session-CredentialstringOptional

Response

The automation
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

403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error