admin-audio-qa

Verify

Transcribe an audio file with Whisper and scan for spoken PII.

Admin-token-gated. The audio is downloaded (URL) or read (path), transcribed with the smallest appropriate Whisper variant, and the transcript is matched against :data:app.audio_qa.whisper_check.SPOKEN_PII_PATTERNS.

Returns the verdict verbatim. The route does NOT publish, alert, or persist — it's a tuning / re-check surface, not a worker hook.

post/v1/admin/audio-qa/verify

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/audio-qa/verify
  • Auth: none declared

Headers

x-storyflo-email-tokenstring nullable

Request body

audio_urlstring required

Local file path OR https:// URL of the rendered MP3 to transcribe and scan. URLs are fetched through the project's SSRF guard.

languagestring

BCP-47 language hint. Selects the Whisper model variant (tiny.en for English, tiny multilingual otherwise).

Response

Successful Response

okboolean required
transcriptstring required
pii_hitsstring[] required
duration_snumber required
audio_bytesinteger required
modelstring required

Changes

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