List Videos
Browse and filter your Private Video Library with pagination, status, and capture metadata filters.
https://api.memories.ai/serve/api/v1
Auth: Authorization: sk-mavi-... (no Bearer prefix)Prerequisites
- You have created a memories.ai API key.
- You have uploaded at least one video using the Upload API (metadata-based filters require the video to have finished parsing so that its summary/metadata row is populated).
Endpoint
POST /serve/api/v1/list_videosAuthentication
Pass your API key in theAuthorization request header. Requests without a valid API key are rejected.
Request Example
application/json — send the request body as JSON, not form data.Request Parameters
Basic filters
-1 is the Default folder. Must be a folder that belongs to your account.AND with any other filter. When used alongside metadata filters, the final result is the intersection of the two sets.PARSE, UNPARSE, FAIL. Note that the server rejects the legacy FAILED spelling with a JSON parse error referencing the live enum ([UNPARSE, PARSE, FAIL]).Metadata filters
All metadata filters are resolved against thesummary table that the upload pipeline populates after a video finishes parsing. A video whose summary is not yet available will not appear in the result when any metadata filter is applied.
camera_model supplied at upload time.capture_timestamp >= datetime_taken are returned.longitude; supplying only one returns “The latitude and longitude parameters must be provided together.”latitude. The server applies a ~20 km radius geo-within filter around the point.Notes & Limits
- Rate limiting: The endpoint is protected by a per-account rate limit. Exceeding the limit returns an error indicating the request has exceeded the limit.
- Metadata-filter resolution: When any of
camera_model,tag,datetime_taken,latitude+longitudeis supplied, the server first queries the summary table, then restricts the listing to matching videos. If nothing matches, an empty page is returned (the request still succeeds). - Legacy compatibility: Requests that only use the basic filters (
page / size / video_name / video_no / status) behave exactly as before; response adds the new metadata fields only for videos that have them.
Response Example
duration, size, create_time, total_count, datetime_taken) are returned as strings, even though they represent integers — convert with int(...) before doing arithmetic.Response Fields
0000 indicates success.Video item fields
int(duration) to use it).PARSE— ready for chat/search.UNPARSE— uploaded but not yet fully processed.FAIL— processing failed (seecause).
"null" when there is no failure.mavi-resource.openinterx.com. Suitable as a file_uri for Gemini VLM without re-uploading.null for older uploads.null for older uploads.null for older uploads.720p). May be null for older uploads.Metadata fields
These fields are only present when the corresponding value was supplied at upload time and the video’s summary row has been written.living_room, couch, cat). The server also appends an api tag on every API upload. There is no way to distinguish user vs auto tags in the response.Storage fields
bucket at GET /serve/api/v2/download?bucket=&blob= to fetch the file directly.Authorizations
Body
One-based page number. Must be > 0.
x >= 1Items per page. Must be > 0.
x >= 1Exact-match filter on the stored video name.
Exact-match filter on a single video identifier.
Restrict results to a specific set of video identifiers. Combined via AND with other filters; intersected with the metadata-filter result when both are used.
Filter by processing status.
PARSE, UNPARSE, FAILED Metadata filter: exact-match on the camera_model supplied at upload time.
"Canon EOS 5D"
Metadata filter: single tag that must be present on the video.
"holiday"
Metadata filter: minimum capture timestamp in milliseconds since epoch. Matches videos whose capture_timestamp >= this value.
1729388400000
Metadata filter: decimal latitude. Must be supplied together with longitude.
39.9042
Metadata filter: decimal longitude. Must be supplied together with latitude. ~20 km geo-within radius.
116.4074
Optional. Restrict results to a single folder. Omit to query across your entire account. -1 is the Default folder; a positive id must belong to your account.
671631448308117500
