Get Task Status
Library Management
Get Task Status
Track a batch upload task and retrieve the video IDs it produced.
GET
Get Task Status
Product: Visual Search
Use case: Upload videos and images, auto-index them, then search by natural language, image, or transcript phrase
Host:
https://api.memories.ai/serve/api/v1
Auth: Authorization: sk-mavi-... (no Bearer prefix)video_no of each video the task produced. This endpoint is for tasks that return a taskId, namely Upload from Social Media. Once the task downloads each video, it queues each one for indexing; this endpoint reports the per-video parse status as it progresses.
Prerequisites
- You have created a memories.ai API key.
- You have a
taskIdfrom a previous call to Upload from Social Media.
Endpoint
GET /serve/api/v1/get_video_ids_by_task_idRequest Example
The request parameter is named
task_id (snake_case), but the upload response returns taskId (camelCase). They refer to the same value — pass the string through as-is.Request Parameters
The
taskId returned by Upload from Social Media. Pass the string verbatim — the parameter name is snake_case here even though the upload response field is camelCase.Response Example
Response Fields
Business status code.
"0000" indicates success. Note that an unknown task_id also returns "0000".Human-readable status message.
Per-video status entries produced by the task. Empty until the task has finished downloading each source post.
Unique identifier of the derived video. Use this in subsequent operations (search, get_metadata, download, delete).
Best-effort name for the derived video — typically the source post’s title, hashtag, or caption.
Video duration in seconds, returned as a string.
Upload-into-library timestamp in milliseconds since epoch, returned as a string.
Processing status for this derived video. One of:
PARSE— Processing complete, video is searchable.UNPARSE— Queued or being processed.FAIL— Processing failed (e.g. source URL blocked, DRM-protected, or unsupported format). Common with media-channel YouTube content (NYT Cooking, Bon Appétit, etc.).
Hosted CDN URL of the stored video (on
mavi-resource.openinterx.com). Suitable as a file_uri for Gemini VLM once status is PARSE.GCS bucket of the original video file. Omitted when the storage location cannot be resolved.
GCS blob (object) path of the video file. Use it with
bucket at GET /serve/api/v2/download?bucket=&blob= to fetch the file directly.