Skip to main content
Host: https://api.memories.ai/datalake/v1 Auth: Authorization: sk-mai-...
This walks the full happy path: create a collection → upload a video → poll the operation → read results. You need an API key first — create one in the Developer Console, then set it here along with the base path:
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.