Skip to main content
POST
Create a collection
Product: Video Datalake Host: https://api.memories.ai/datalake/v1 Auth: Authorization: sk-mai-...
Create a collection — the container that fixes the safety detectors and face-recognition switch that every video uploaded into it inherits. Indexing always uses OmniRetriever, our multilingual video-embedding model (3072-dim); there is no model to choose.
Pricing: Free — management / read (no charge). · See Pricing for the full model.

Response Fields

string
Collection ID (col_ prefix).
string
The embedding model used to index this collection — always OmniRetriever.
integer
Live count of videos in the collection.
boolean
Whether persons/entities are enabled.

Authorizations

Authorization
string
header
required

Send Authorization: sk-mai-...

Body

application/json
name
string
required

Display name, ≤255 chars

enabled_detectors
enum<string>[]

Detector allow-list. Currently only safety_detector.

Available options:
safety_detector
face_recognition_enabled
boolean

Master switch for persons/entities. Default false.

metadata
object

Free-form. Face-compliance docs can go under consent_document.

Response

200 - application/json

Success