Skip to main content
POST
Stop Audio Stream Transcription
Product: Visual Intelligence — Live Audio Transcription Use case: Real-time speech-to-text on a live audio stream. For one-off file transcription, see Audio File Transcription. Mode: Server-Pull (you give us an RTMP/RTSP stream URL → we pull → results to your callback). For client-controlled streaming, see the WebSocket variant. Host: https://mavi-backend.memories.ai/serve/api/v2 Auth: Authorization: sk-mavi-... (no Bearer prefix)
Access Required: To use this API endpoint, please contact us at contact@memories.ai to enable stream processing features for your account.
This endpoint stops an active audio stream transcription task. Once stopped, no further callbacks will be sent, and resources will be released.

Code Example

Response

Returns the confirmation of the stopped stream.

Request Parameters

Response Parameters

Callback Response Parameters

A final callback is sent to your webhook URL after the stream is stopped.

Important Notes

  • Immediate stop: The stream stops immediately after this call
  • Final callback: A callback with status 14 is sent after stopping
  • Resource cleanup: All resources are automatically released
  • No further charges: No charges occur after the stream is stopped
  • Safe to call: Safe to call even if the stream has already ended

Error Responses

Authorizations

Authorization
string
header
required

Body

application/json
task_id
string
required

The task ID returned when starting the stream

Example:

"660e8400-e29b-41d4-a716-446655440001"

Response

200 - application/json

Audio stream stopped successfully

code
string
Example:

200

message
string
Example:

"success"

data
object