Automation

Set one automation's enabled state

Owner-only per-automation switch guarded by the exact current contract ETag.

patch/v1/projects/{project_id}/automation-contract/automations/{automation_id}

Request

  • Base URL: https://api.agentry.sh
  • URL: https://api.agentry.sh/v1/projects/{project_id}/automation-contract/automations/{automation_id}
  • Auth: HTTP bearer

Path parameters

project_idstring required
automation_idstring required

Headers

If-Matchstring required

Exact current automation-contract ETag. Re-read after any 412/428 conflict.

Request body

enabledboolean required
reasonstring required

Response

OK

project_idstring required
automation_idstring
enabledboolean required
paused_atinteger
pause_reasonstring
revisioninteger required
etagstring required
next_actionstring required

Changes

No recorded changes to this operation across all 1 revision of this API.