Skip to main content
GET
Subscribe to live derived data (Server-Sent Events)
Product: Video Datalake Host: https://api.memories.ai/datalake/v1 Auth: Authorization: sk-mai-...
Open an SSE long-connection that pushes a live video’s derived data in real time (caption / transcription / summary). Reconnect with last_event_id (or the Last-Event-ID header) for exactly-once replay.
Custom method :subscribe — this is an action on the resource, not standard CRUD. Call it exactly as GET /datalake/v1/videos/{id}:subscribe.
Pricing: Included with the live stream (no separate charge). · See Pricing for the full model.

Response Fields

string
caption | transcription | summary | end.
integer
Monotonic event id; replay resumes from here.
object
The derived payload for this event.

Notes

This is a streaming endpoint (no request/response playground). Test with curl -N. In dev without a gateway route, connect directly to the stream service. A polling alternative is Get Caption with ?since=.

Authorizations

Authorization
string
header
required

Send Authorization: sk-mai-...

Path Parameters

id
string
required

Live video ID.

Query Parameters

data
string

Comma list: caption, transcription, summary, entities, speakers, events (default all).

last_event_id
string

Resume point for reconnection.

Response

200 - text/event-stream

Server-Sent Events stream