Skip to content

Commit 6c6e7f6

Browse files
authored
Merge pull request #1707 from silentoplayz/codex/docs-support-transcription-storage
docs: explain server-side transcription storage
2 parents d156ff5 + 47bb0e4 commit 6c6e7f6

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎docs/features/chat-conversations/audio/speech-to-text/stt-config.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ The following speech-to-text providers are supported:
2626

2727
**Web API** provides STT via the browser's built-in speech recognition (no API key needed, configured in user settings).
2828

29+
### Server-side recording storage
30+
31+
When a recording is uploaded to the Open WebUI transcription endpoint, the server writes the original audio to `DATA_DIR/cache/audio/transcriptions` before sending it to the selected engine. The endpoint keeps that original file after processing. Include this directory when deciding what audio to retain and how to protect the data volume and its backups. Browser speech recognition does not send a recording through this endpoint.
32+
2933
## Configuring Your STT Provider
3034

3135
To configure a speech to text provider:

‎docs/reference/api-endpoints.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ The Messages API previously always reported `input_tokens: 0` in the streaming `
349349

350350
### Speech-to-text transcription
351351

352-
Send recorded audio to `POST /api/v1/audio/transcriptions` with bearer authentication and a `multipart/form-data` body. Include the recording in the required `file` field. The optional `language` field supplies a language hint to transcription engines that use it. Non-admin callers need the speech-to-text permission (`chat.stt`).
352+
Send recorded audio to `POST /api/v1/audio/transcriptions` with bearer authentication and a `multipart/form-data` body. Include the recording in the required `file` field. The optional `language` field supplies a language hint to transcription engines that use it. Non-admin callers need the speech-to-text permission (`chat.stt`). The endpoint saves the original upload on the server. See [server-side recording storage](/features/chat-conversations/audio/speech-to-text/stt-config#server-side-recording-storage).
353353

354354
```bash
355355
curl https://open-webui.example.com/api/v1/audio/transcriptions \

0 commit comments

Comments
 (0)