Automation

Record immutable provider-observed draft PR proof

Trusted CI only. The proof must match the exact repository, branch, commit, diff, tests, and consumed pre-action grant.

post/v1/automation-runs/{run_id}/pr-proof

Request

  • Base URL: https://api.agentry.sh
  • URL: https://api.agentry.sh/v1/automation-runs/{run_id}/pr-proof
  • Auth: HTTP bearer

Path parameters

run_idstring required

Request body

vcs_provider'github' | 'gitlab' | 'bitbucket' required
repositorystring uri required

Absolute HTTPS URL without embedded username or password credentials.

pr_urlstring uri required

Absolute HTTPS URL without embedded username or password credentials.

pr_numberinteger required
drafttrue required
head_shastring required
head_branchstring required
base_branchstring required
change_typesstring[] required
changed_filesstring[] required
ci_urlstring uri

Absolute HTTPS URL without embedded username or password credentials.

Response

OK

run_idstring required
proof_hashstring required
recorded_atinteger required
idempotent_replayboolean required
next_actionstring

Changes

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