---
title: "Idempotently retry a failed weekly report run"
method: POST
path: "/patients/{patient_id}/weekly-report-runs/{run_id}/retry"
tags: ["weekly_reports"]
---

# Idempotently retry a failed weekly report run

`POST /patients/{patient_id}/weekly-report-runs/{run_id}/retry`

## Request

- Base URL: `https://api.rxfoodapp.com/api`
- URL: `https://api.rxfoodapp.com/api/patients/{patient_id}/weekly-report-runs/{run_id}/retry`
- Auth: HTTP bearer

## Path parameters

- `patient_id` integer, required
- `run_id` string, uuid, required

## Response `200`

successful operation

- WeeklyReportRetryResponse
  - `attempt_count` integer, required
  - `run_id` string, uuid, required
  - `started` boolean, required
  - `state` 'processing' | 'ready' | 'retry_available' | 'unavailable', required

## Other responses

- `404`: report run not found
- `409`: report run is not retryable

---

[API](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server.md) - [All operations](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server/llms.txt) - [OpenAPI document](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server/revisions/c3d8e22b22e8?raw)
