Run a finished routine run again from the start
Start a new run from the beginning with the same inputs and trigger payload as a finished run, optionally with the current version or as a dry run. The new run references the original via retry_of.
Authorization
bearerApiKey Create a scoped API key in the Adlass settings.
In: header
Path Parameters
Resource identifier: run_id.
uuidHeader Parameters
Optional correlation identifier.
length <= 128A unique key for this intended write; the body field idempotency_key is accepted instead. One of the two is required. Reuse it only for an identical retry.
1 <= length <= 200Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/routine-runs/123e4567-e89b-42d3-a456-426614174000/replay" \ -H "Idempotency-Key: 123e4567-e89b-42d3-a456-426614174000" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "123e4567-e89b-42d3-a456-426614174000", "space_id": "123e4567-e89b-42d3-a456-426614174000", "installation_id": "123e4567-e89b-42d3-a456-426614174000", "skill_id": "123e4567-e89b-42d3-a456-426614174000", "skill_name": "Invoice extractor", "skill_deleted": false, "version_id": "123e4567-e89b-42d3-a456-426614174000", "version": 0, "sandbox": false, "requested_by_id": "123e4567-e89b-42d3-a456-426614174000", "requested_by": { "id": "123e4567-e89b-42d3-a456-426614174000", "email": "ada@example.com", "name": "Customer documents", "image_url": "example" }, "actor_type": "api", "origin": "manual", "entry": "example", "entry_script_run_id": "123e4567-e89b-42d3-a456-426614174000", "trigger": { "id": "123e4567-e89b-42d3-a456-426614174000", "kind": "schedule" }, "status": "ACTIVE", "model": "claude-sonnet-5", "reasoning_effort": "medium", "effective_max_turns": 0, "review_max_rounds": 0, "instruction": "example", "dry_run": false, "cost_micro_usd": 0, "micro_credits": 0, "turns_used": 0, "pages": [ { "key": "summary", "name": "Customer documents", "page_id": "123e4567-e89b-42d3-a456-426614174000", "url": "https://api.adlass.io/v1/workflows/hooks/example" } ], "error_code": "example", "error_message": "example", "retry_of_id": "123e4567-e89b-42d3-a456-426614174000", "retry_mode": "", "retry_success_id": "123e4567-e89b-42d3-a456-426614174000", "wake_at": "2026-09-04T12:00:00Z", "actions": { "retry": false, "replay": false }, "started_at": "2026-09-04T12:00:00Z", "completed_at": "2026-09-04T12:00:00Z", "created_at": "2026-09-04T12:00:00Z", "reversal": { "id": "123e4567-e89b-42d3-a456-426614174000", "status": "ACTIVE", "requested_by_id": "123e4567-e89b-42d3-a456-426614174000", "skip_conflicts": false, "summary": {}, "error_code": "example", "created_at": "2026-09-04T12:00:00Z", "started_at": "2026-09-04T12:00:00Z", "completed_at": "2026-09-04T12:00:00Z" }, "undo": { "available": false, "blocked_reason": "example" }}