Skip to main content
GET
Get a time-slice aggregate view
Product: Video Datalake Host: https://api.memories.ai/datalake/v1 Auth: Authorization: sk-mai-...
Aggregate any time-slice of a video. ref is vid_xxx@42.0-47.5 (omit @ for the whole video). Choose what to include with expand. Equivalent route: GET /videos/{id}/moments/{start}-{end}.
Pricing: 0.008/call(+0.008 / call (+ 0.005 clip slice, + $0.01/GB egress) · See Pricing for the full model.

Response Fields

array
[{start,end,text}] when expanded.
array
[{t,url}] sampled frames (signed).
string
Signed clip for the slice when clip expanded.
array
Detection events overlapping the slice when events expanded.

Notes

Prerequisite: the video must be ready (else 409 video_not_ready; retry per Retry-After).

Authorizations

Authorization
string
header
required

Send Authorization: sk-mai-...

Path Parameters

ref
string
required

vid_xxx@42.0-47.5, or vid_xxx for the whole video.

Query Parameters

expand
string

Comma list: caption, transcription, frame, clip, embedding, speakers, entities, events.

Response

200 - application/json

Success