Publish automation
Compile the draft definition into an immutable, fingerprinted version and materialise its triggers. Idempotent: an unchanged fingerprint records no new version and reconciles the trigger rows in place; triggers that left the definition are paused, never deleted. A definition that does not compile is refused with 400 and every problem listed in detail.issues. When the workspace’s approval policy asks for a second person, nothing is published: 202 answers with the publish approval’s id, and the draft is published as the caller once that approval is approved.
Authentication
X-API-KEYstring
API Key authentication via header
Path parameters
asset_id
Unique identifier of the automation asset
Headers
X-Athena-Session-Credential
Response
Published; version and fingerprint returned
asset_id
created_version
False when the latest version already had this fingerprint
fingerprint
issues
Compile warnings and post-commit provisioning errors
trigger_rows
version
version_id
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
