Upload Video
Upload a new video for search and Q&A.
Authentication
X-Api-Keystring
API key authentication via X-Api-Key header
OR
AuthorizationBearer
Bearer token authentication via Authorization header
Request
This endpoint expects a multipart form containing an optional file.
file
video_url
Video URL for Reka to download from before indexing, for e.g. https://sample-videos.com/video321/mp4/720/big_buck_bunny_720p_1mb.mp4
index
A boolean flag to indicate whether or not to index the provided video
enable_thumbnails
A boolean flag to indicate whether or not to index the enable thumbnails when indexing the video
video_name
A name to associate with your video. Required for file uploads, optional for URL uploads
video_absolute_start_timestamp
The real-world timestamp when the video recording started, in ISO 8601 format (e.g., ‘2024-01-01T00:00:00Z’)
config
JSON string containing VideoIndexingParams configuration for advanced indexing options
person_indexing
Whether to enable person/object detection and indexing for the video.
persist_frames
Whether to persist extracted video frames for later retrieval
caption_prompt
Custom prompt to use when generating captions for video segments
encode_chunks
Whether to encode video chunks during indexing
caption_mode
Predefined caption mode to use for generating captions
Allowed values:
group_id
ID of the video group to associate this video with
chunking_config
JSON string containing ChunkingConfig for custom video chunking behavior
Response
Successful Response
video_id
Unique identifier for the uploaded video
video_s3_url
S3 URL of the uploaded video (null for background processing)
status
Status of the upload