Confirm a run's acceptance criteria
POST
Ratifies the run's drafted acceptance criteria as the signed-in person, signs the reviewed spec, closes the spec review and lets the build start now. Pass the review round you are looking at as base_round; a stale round, a closed review or a cancelled run returns 409. Needs a signed-in person (an API key gets 401) who started the run, or an owner/admin for a run nobody started (otherwise 403). Returns the run's fresh status.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
coding_run_id*stringFormat
uuidbase_round*integercustomer_id?|nullRequest fulfilled, document follows
application/json- response
activity?array<>artifact_bundle?|nullbrief?string|nullbug_scan_stats?|nullcriteria?array<>criteria_agreement?stringDefault
"pending"delivered_diff_stats?|nullengineering_plan?|nullevidence?|nullfinal_response?|nullgoal?|nullhas_proposed_diff?booleanDefault
falselinked_runs?array<>|nullliveness?|nullpaid_by?|nullpause?|nullpending_facts?array<>pending_hitl_requests?array<>project*queued?|nullreview_gates?array<>run*session_approvals?array<>spec_review?spec_review_expires_at?stringspec_review_wait_until?stringsteer_messages?array<>stop_requested?booleanDefault
falsetools_used?array<>validations?array<>curl -X POST 'https://api.syndai.ai/api/v1/external/coding/runs/497f6eca-6276-4993-bfeb-53cbbbba6f08/criteria/ratify?base_round=0'Example Response
{ "has_proposed_diff": false, "pause": null, "pending_hitl_requests": [], "project": { "created_at": "2026-10-27T09:00:00Z", "default_branch": "main", "id": "c2e5f8a1-3b4d-4e6f-8a9b-1c2d3e4f5a6b", "large_repo_detected": false, "repo_name": "storefront", "repo_owner": "acme", "repo_url": "https://github.com/acme/storefront", "updated_at": "2026-10-27T09:00:00Z" }, "run": { "artifact_retention_profile": "standard", "autonomy_mode": "review", "base_branch": "main", "coding_project_id": "c2e5f8a1-3b4d-4e6f-8a9b-1c2d3e4f5a6b", "coding_repository_id": "8a1d4e2f-5b6c-4d7e-8f9a-0b1c2d3e4f50", "created_at": "2026-10-27T09:00:00Z", "current_phase": "execute", "egress_profile": "managed_default", "external_request_id": "ticket-4812", "id": "3f9c2b7a-6d1e-4c8b-9a2f-1b7e5d4c3a21", "pr_url": null, "title": "Add a dark mode toggle to the header", "updated_at": "2026-10-27T09:04:12Z", "validation_iteration": 0 }, "stop_requested": false}