Deploys
Automation

Record a trusted CI deploy

Record one deploy after a real successful deploy from CI, a provider deploy hook, or a release script using AGENTRY_CI_API_KEY. A deploy bound to an automation run must include both automation_run_id and source_commit_sha and must match the immutable CI PR proof. Do not call this from app startup, instrumentation/register/bootstrap hooks, cron routes, workers, request handlers, browser/client code, or product flows.

post/v1/deploys/

Request

  • Base URL: https://api.agentry.sh
  • URL: https://api.agentry.sh/v1/deploys/
  • Auth: HTTP bearer

Headers

Idempotency-Keystring required

Stable 8-500 character command key. Preserve it only when replaying the exact same request; use a new key for a distinct command.

Request body

shastring required
branchstring
environmentstring
messagestring
urlstring
actorstring
automation_run_idstring
source_commit_shastring

Response

OK

data_boundaryobject
content_inspectionobject
idstring required
project_idstring required
shastring required
automation_run_idstring nullable
source_commit_shastring nullable
received_atinteger required
idempotent_replayboolean required
next_actionstring

Changes

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