CoderHelm Docs
APIRuns

Retry a run

POST
/api/runs/{run_id}/retry

Starts the run's ticket again as a new run. Only a run that is failed, needs_input, needs_outside_change, cancelled or closed can be retried; the old run becomes retried, so retrying it twice is refused with 400. Find the new run with GET /api/runs?q=<ticket id>.

Authorization

api_key runs
headerAuthorizationBearer <token>

A team API key, made by an admin under Settings, API keys. Send it as Authorization: Bearer chk_....

Scope: runs

Path Parameters

run_id*string

The run's id.

Response Body

The ticket is queued again.

application/json
  1. response

What a run action did.

status*string

retrying after a retry, cancelled after a cancel.

Example"retrying"
curl -X POST 'https://api.coderhelm.com/api/runs/01JB8X6F4M2C9QZ3T7V5W1K0HA/retry' \  -H "Authorization: Bearer $CODERHELM_API_KEY"
{  "status": "retrying"}
Edit on GitHub