Automation

Save an automation v2 contract disabled

Owner-only. Saving can never enable unattended execution. If-Match is optional only for the first save and required for replacement.

put/v1/projects/{project_id}/automation-contract

Request

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

Path parameters

project_idstring required

Headers

If-Matchstring

Required when replacing an existing contract; omit only for the first save. Use the exact ETag returned by the latest contract read.

Request body

schema_version'2'
revisioninteger
enabledfalse
summarystring required
notesstring[]

Response

OK

artifact'automation_contract' required
project_idstring required
schema_version'2' required
revisioninteger required
enabledboolean required
summarystring required
notesstring[] required
etagstring required
paused_atinteger nullable
pause_reasonstring nullable
created_atinteger
updated_atinteger
next_actionstring required

Changes

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