Automation Rules

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

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

Required scopes: automation_rules:write

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

Path parameters

run_idstring required

Headers

Idempotency-Keystring

Supported for safe retry. Reuse the same key to receive the cached response without repeating the operation.

X-Request-Idstring

Optional caller-supplied request identifier. Values must match ^[A-Za-z0-9_-]{1,128}$; a valid value is echoed in the response X-Request-Id header, otherwise the API generates one.

Response

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

idstring required
object'automation_run' required
rule_idstring required
application_idstring required
trigger'stage_enter' | 'stage_exit' | 'step_ready' | 'booking_created' | 'booking_changed' | 'step_completed' | 'feedback_submitted' | 'all_scorecards_submitted' | 'interview_time' | 'booking_cancelled' | 'scorecard_due' | 'scorecard_overdue' | 'decision_brief_ready' | 'coaching_report_ready' | 'offer_approval_due' | 'offer_approval_escalation_due' required
action_typestring required
action_status'executed' | 'failed' | 'skipped' required
attempt_countinteger required
result_metadataobject nullable required
last_errorstring nullable required
executed_atstring nullable required
public_state'needs_review' | 'scheduled' | 'on_hold' | 'in_progress' | 'sent' | 'completed' | 'needs_attention' | 'skipped' | 'cancelled' required
reasonstring nullable required
next_actionstring nullable required
due_atstring nullable required
interview_session_idstring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.