Video Management
The Vision API provides comprehensive video management capabilities for uploading, retrieving, and organizing your video content.
Upload Videos
Upload videos using either a file upload or a URL:
Example with file upload
Bash
Python
Example with video url
Bash
Python
Python Bulk Upload Example
Upload Parameters
file(optional): Video file to upload (mutually exclusive withvideo_url)video_url(optional): URL of the video to upload (mutually exclusive withfile)video_name(required): Name for the videovideo_absolute_start_timestamp(optional): ISO 8601 timestampindex(required): Whether to index the video for search and Q&A
Get Videos
Retrieve specific videos by their IDs:
Bash
Python
List Videos
List all your videos with optional filtering:
Bash
Python
Delete Videos
Delete videos by their IDs:
Bash
Python
Video Response Format
Each video response includes:
video_id: Unique identifierurl: Presigned S3 URL for accessindexing_status: Current indexing status (pending,indexing,indexed,failed)metadata: Video metadata (dimensions, duration, timestamps, etc.)indexing_type: Type of indexing applied
Indexing Status
pending: Video uploaded, indexing not startedindexing: Video is currently being processedindexed: Video has been successfully indexed and is ready for search/Q&Afailed: Indexing failed, video may need to be re-uploaded