Skip to main content
POST
Stop Video Stream Moderation
Product: Visual Intelligence — Live Video Content Moderation Use case: Real-time NSFW / violence / logo detection on a live video stream (RTMP/RTSP), results pushed to your callback every 5s Mode: Server-Pull (you give us a stream URL → we pull → results to your callback) 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 video stream processing 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:

"550e8400-e29b-41d4-a716-446655440000"

Response

200 - application/json

Stream stopped successfully

code
string
Example:

200

message
string
Example:

"success"

data
object