list_videos
Retrieve a paginated list of video jobs from your OpenAI account. Get details like status, progress, model, and size, with support for pagination to browse all videos.
Instructions
List all video jobs in your OpenAI account with pagination support.
Returns a paginated list of all videos (completed, in-progress, failed, etc.). Each video summary includes: id, status, progress, created_at, model, seconds, size.
Parameters:
limit: Max number of videos to return (default: 20, max: 100)
after: For pagination, pass the 'last' id from previous response (optional)
order: "desc" for newest first (default) or "asc" for oldest first
Returns:
data: Array of video summaries
has_more: Boolean indicating if more results exist
last: The ID of the last video (use this as 'after' for next page)
Pagination example:
page1 = list_videos(limit=20) -> get page1.last
page2 = list_videos(limit=20, after=page1.last)
Continue until has_more=false
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | ||
| limit | No | ||
| order | No | desc |