Videos
List Videos
Changed onList videos for the authenticated API key with optional pagination.
- Filters by the calling user's ID (and org if present)
- Ordered by creation time ascending or descending
- Supports cursor pagination using the after video ID
get/v1/videos
Request
- Base URLhttps://api.mirage.app (the document declares no server; this is the origin it was published from)
- Authnone declared. Required headers: x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
afterstring nullable
Return items strictly after this video ID
limitinteger
Max number of items to return
order'asc' | 'desc'
Sort order by creation time
Headers
x-api-keystring required
API Key for authentication
Response
Successful Response
Example response
[
{
"completed_at": 1730822520,
"created_at": 1730822400,
"model": "mirage-avatar-x",
"progress": 100,
"status": "COMPLETE",
"video_id": "video_abc123def456"
}
]Changes
- breaking
the
response property const valuemirage-video-1-latestwas removed for the status - warning
added the new
mirage-avatar-xenum value to the//response property for the response status - warning
added the new
mirage-video-1-latestenum value to the//response property for the response status
- breaking
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info