---
title: "POST /v1/automation-runs/{run_id}/retry"
method: POST
path: "/v1/automation-runs/{run_id}/retry"
tags: ["Automation Rules"]
---

# POST /v1/automation-runs/{run_id}/retry

`POST /v1/automation-runs/{run_id}/retry`

## Request

- Base URL: `https://api.yardstick.team`
- URL: `https://api.yardstick.team/v1/automation-runs/{run_id}/retry`
- Auth: HTTP bearer

POST /v1/automation-runs/{run_id}/retry

**Required scopes:** `automation_rules:write`

## Path parameters

- `run_id` string, required

## Headers

- `Idempotency-Key` string
- `X-Request-Id` string

## Response `200`

The original run is scheduled to try again. Only clean refusals are retryable; the rule must be active.

- AutomationRun
  - `id` string, required
  - `object` 'automation_run', required
  - `rule_id` string, required
  - `application_id` string, required
  - `trigger` 'stage_enter' | 'stage_exit' | 'step_ready' | 'booking_created' | 'booking_changed' | 'step_completed' | 'feedback_submitted' | 'all_scorecards_submitted' | 'hiring_manager_advanced' | 'hiring_manager_held' | 'interview_time' | 'booking_cancelled' | 'scorecard_due' | 'scorecard_overdue' | 'decision_brief_ready' | 'coaching_report_ready' | 'offer_approval_due' | 'offer_approval_escalation_due', required
  - `action_type` string, required
  - `action_status` 'executed' | 'failed' | 'skipped', required
  - `attempt_count` integer, required
  - `result_metadata` object, nullable, required
  - `last_error` string, nullable, required
  - `executed_at` string, nullable, required
  - `public_state` 'needs_review' | 'scheduled' | 'on_hold' | 'in_progress' | 'sent' | 'completed' | 'needs_attention' | 'skipped' | 'cancelled', required
  - `reason` string, nullable, required
  - `next_action` string, nullable, required
  - `due_at` string, nullable, required
  - `interview_session_id` string, nullable, required

## Other responses

- `400`: Invalid request
- `401`: Authentication failure
- `403`: Permission denied (scope or feature flag)
- `404`: Resource not found. The error uses the resource-specific code and param names the exact body field or path parameter that referenced it.
- `409`: Conflict (e.g. idempotency key reuse with different body)
- `429`: Rate limited
- `500`: Internal error

## Changes

- **2026-10-20** `bef1d2eaaaa1`: 2 warning
  - added the new `hiring_manager_advanced` enum value to the `trigger` response property for the response status `200`
  - added the new `hiring_manager_held` enum value to the `trigger` response property for the response status `200`

[Operation history](https://skmtc.dev/yardstick/apis/yardstick-public-api/changes/v1/automation-runs/:run_id/retry/post.md)

---

[API](https://skmtc.dev/yardstick/apis/yardstick-public-api.md) · [All operations](https://skmtc.dev/yardstick/apis/yardstick-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/yardstick/apis/yardstick-public-api/revisions/bef1d2eaaaa1?raw)
