Skip to main content
POST
Close and finalize a stream
Product: Video Datalake Host: https://api.memories.ai/datalake/v1 Auth: Authorization: sk-mai-...
Close a live session and finalize its video. The video transitions to ready (duration fixed to indexed content) and behaves exactly like an uploaded video thereafter.
Custom method :close — this is an action on the resource, not standard CRUD. Call it exactly as POST /datalake/v1/streams/{session_id}:close.
Pricing: $0.04 / minute streamed · See Pricing for the full model.

Response Fields

string
ready after finalize.
string
Finalize Operation handle.

Authorizations

Authorization
string
header
required

Send Authorization: sk-mai-...

Path Parameters

session_id
string
required

Session ID from Open Stream.

Response

200 - application/json

Success