Skip to main content
GET
List Videos in Folder
Product: Visual Search Use case: Organize your indexed videos into folders and scope uploads/searches to a folder Host: https://api.memories.ai/serve/api/v1 Auth: Authorization: sk-mavi-... (no Bearer prefix)
List the videos inside a single folder, paginated. The response shape matches List Videos. To list across your entire account (all folders), use List Videos instead — or pass its optional folder_id.

Prerequisites

Request Example

cURL

Parameters

folder_id
integer
required
Folder to list. -1 is the Default folder, -2 the legacy API folder. Any other value must be a folder that belongs to your account.
page
integer
default:"1"
One-based page number. Must be > 0.
page_size
integer
default:"20"
Number of items per page. Must be > 0.

Response Example

Response Fields

code
string
Business status code. 0000 indicates success.
msg
string
Human-readable status message.
data.current_page
integer
The page number returned (one-based).
data.page_size
integer
Items per page.
data.total_count
integer
Total number of videos in the folder.
data.videos
array
Videos in this page. Each item has the same shape as List Videos (video_no, video_name, duration, size, create_time, status, video_url, cover_url, and any capture metadata).

Notes & Limits

  • A folder that does not belong to your account returns Folder does not exist or does not belong to the current user.
  • Rate limiting: Folder endpoints share a per-account rate limit. See Rate limits.

Authorizations

Authorization
string
header
required

Query Parameters

folder_id
integer
required

Folder to list. -1 Default folder, -2 legacy API folder, or a folder that belongs to your account.

page
integer
default:1

One-based page number.

page_size
integer
default:20

Items per page.

Response

200 - application/json

Successful response

code
string
Example:

"0000"

msg
string
Example:

"success"

data
object
success
boolean
Example:

true

failed
boolean
Example:

false