Automation
Record the draft PR created from one grant
Consumes the matching one-time action token and records the exact draft PR URL. It does not attest provider state; trusted CI proof remains mandatory.
post/v1/automation-runs/{run_id}/actions/draft-pr/consume
Request
- Base URL: https://api.agentry.sh
- URL: https://api.agentry.sh/v1/automation-runs/{run_id}/actions/draft-pr/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
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.