Automation

Record the provider auto-merge receipt for one grant

Consumes the matching one-time action token and records the exact provider receipt. The receipt must prove auto_merge_enabled=true and bypass_used=false and match the granted subject exactly.

post/v1/automation-runs/{run_id}/actions/auto-merge/consume

Request

  • Base URL: https://api.agentry.sh
  • URL: https://api.agentry.sh/v1/automation-runs/{run_id}/actions/auto-merge/consume
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

run_idstring required

Headers

X-Agentry-Action-Tokenstring required

One-time draft-PR action token returned by the matching authorization grant.

X-Agentry-Lease-Tokenstring required

One-time case lease token returned to the exact claimant. Keep it only in runner memory.

Request body

grant_idstring required

Response

OK

run_idstring required
grant_idstring required
statusstring required
receipt_hashstring required
idempotent_replayboolean
next_actionstring required

Changes

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