---
title: "Audit R2 Integrity"
method: POST
path: "/v1/admin/render/audit-r2-integrity"
tags: ["admin-render-integrity"]
---

# Audit R2 Integrity

`POST /v1/admin/render/audit-r2-integrity`

## Request

- Base URL: `https://api.storyflo.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.storyflo.com/v1/admin/render/audit-r2-integrity`
- Auth: none declared

Batch-verify the N most-recent articles' uploads.

Designed for a cron loop: cheap-mode (HEAD only) scans every
night for partial uploads, full-verify-mode runs weekly on a
smaller sample to catch silent corruption.

## Query parameters

- `limit` integer
- `full_verify` boolean

## Headers

- `x-storyflo-email-token` string, nullable

## Response `200`

Successful Response

- BatchResponse
  - `checked` integer, required
  - `failed` integer, required
  - `full_verify` boolean, required
  - `failures` BatchRow[], required
    - `article_id` string, required
    - `audio_url` string, nullable
    - `ok` boolean, required
    - `issue` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/storyflo/apis/storyflo-inference-router.md) · [All operations](https://skmtc.dev/storyflo/apis/storyflo-inference-router/llms.txt) · [OpenAPI document](https://skmtc.dev/storyflo/apis/storyflo-inference-router/revisions/c3a1a735ac7a?raw)
