Skip to main content
POST
Open a live stream session
Product: Video Datalake Host: https://api.memories.ai/datalake/v1 Auth: Authorization: sk-mai-...
Attach a live pull-stream (rtsp/rtmp/http-flv) to a collection; the platform indexes it in real time and content becomes searchable while the stream is live. Current constraint: server-pull only (source_url required).
Pricing: $0.04 / minute streamed · See Pricing for the full model.

Response Fields

string
The live video (state processing while live); use it to search/subscribe.
string
Use to close the stream.
string
Raw m3u8 (signed/CDN in a later version).
string
Always null (pull-only).

Authorizations

Authorization
string
header
required

Send Authorization: sk-mai-...

Body

application/json
collection_id
string
required

Target collection (OmniRetriever).

source_url
string
required

rtsp:// / rtmp:// / http(s):// pull URL.

fps
number

Sampling rate 0.1–30 (default 1.0).

metadata
object

Response

200 - application/json

Success