Host:
https://api.memories.ai/datalake/v1
Auth: Authorization: sk-mai-...1
Create a collection
Pick a vector model; optionally enable safety detection or face recognition.
2
Upload a video by URL
Returns
202 with a video_id and an operation.3
Poll the operation until done
Indexing runs
preprocess → index → derive.4
Read the results
Once
ready, pull details, summary, captions, safety events, or any time-slice.The same flow in Python
Next steps
Search
Query the collection and get moments back.
Live Stream
Attach an rtsp/rtmp source and search it live.
Webhooks
Get notified instead of polling.
Errors & Rate Limits
The full error envelope and retry guidance.
