POST /api/v1/runs/{run_guid}/retry
Retry Run
create a new run; from_step resumes from a step snapshot.
Auth: Authorization: Bearer <token> required
Request
Section titled “Request”curl -sS -X POST "https://entherium.duckdns.org:8443/api/v1/runs/<run_guid>/retry" \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ -d '{"from_step":"step_15_make_layout"}'Response 201
Section titled “Response 201”{ "createtime": "2026-09-03T02:14:04Z", "current_step": "make_article_structure", "entity_guid": 31567, "entity_name": "generated_articles", "guid": 1842, "metrics": { "llm_calls": 11 }, "mode": "live", "pipeline_id": "generate", "started_at": "2026-09-03T02:14:05Z", "started_by": "agent@entherium.dev", "status": "running", "steps_done": 7, "steps_total": 18, "trigger": "api", "updatetime": "2026-09-03T02:19:40Z"}Returns
Section titled “Returns”PipelineRunRead — Successful Response
| Field | Type | Description |
|---|---|---|
createtime | string | |
current_step | string | null (opt.) | |
entity_guid | integer | |
entity_name | string | |
error | string | null (opt.) | |
error_step | string | null (opt.) | |
finished_at | string | null (opt.) | |
guid | integer | |
metrics | object (opt.) | |
mode | string | |
pipeline_id | string | |
started_at | string | null (opt.) | |
started_by | string | null (opt.) | |
status | string | |
steps_done | integer | |
steps_total | integer | |
trigger | string | |
updatetime | string |
Parameters
Section titled “Parameters”| Parameter | In | Required | Type | Default | Constraints | Description |
|---|---|---|---|---|---|---|
run_guid | path | yes | integer | — | — | |
Idempotency-Key | header | no | string | — | uuid | Optional. |
Request body
Section titled “Request body”| Field | Type | Required | Description |
|---|---|---|---|
from_step | string | null | no |
Example:
{ "from_step": "step_15_make_layout"}Errors
Section titled “Errors”| Code | Meaning | Body |
|---|---|---|
401 | Missing or invalid authentication credentials | ErrorResponse |
409 | The run cannot be retried from its current state | ErrorResponse |
422 | Validation Error | HTTPValidationError |
429 | Agent token: the concurrent-run cap for this token is reached | ErrorResponse |
Every error body is {detail, code?, request_id, doc_url} — request_id is the value to quote, doc_url points at the Errors reference.