Create /api/speech/transcribe REST endpoint #392

Closed
opened 2026-02-15 07:33:45 +00:00 by jason.woltje · 1 comment
Owner

Description

Create REST endpoint for audio transcription via the SpeechService.

Endpoint

Implementation

  • File upload via
  • Validate audio MIME types (audio/wav, audio/mp3, audio/webm, audio/ogg, audio/flac)
  • Max file size configurable via (default: 25MB)
  • Requires authentication (workspace-scoped)

Acceptance Criteria

  • POST /api/speech/transcribe accepts multipart audio
  • MIME type validation
  • File size validation
  • Returns transcription result
  • Workspace-scoped authentication
  • Error handling for provider unavailability
  • Unit + integration tests
## Description Create REST endpoint for audio transcription via the SpeechService. ## Endpoint ## Implementation - - File upload via - Validate audio MIME types (audio/wav, audio/mp3, audio/webm, audio/ogg, audio/flac) - Max file size configurable via (default: 25MB) - Requires authentication (workspace-scoped) ## Acceptance Criteria - [ ] POST /api/speech/transcribe accepts multipart audio - [ ] MIME type validation - [ ] File size validation - [ ] Returns transcription result - [ ] Workspace-scoped authentication - [ ] Error handling for provider unavailability - [ ] Unit + integration tests
jason.woltje added this to the M13-SpeechServices (0.0.13) milestone 2026-02-15 07:33:45 +00:00
Author
Owner

Completed as part of M13-SpeechServices milestone on branch feature/m13-speech-services. SP-EP-001: /api/speech/transcribe REST endpoint (commit 527262a, 10 tests). All quality gates passed (lint, typecheck, tests, security).

Completed as part of M13-SpeechServices milestone on branch feature/m13-speech-services. SP-EP-001: /api/speech/transcribe REST endpoint (commit 527262a, 10 tests). All quality gates passed (lint, typecheck, tests, security).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaic/stack#392