Analyze uploaded file
Local Files
Analyze Uploaded File
Analyze an uploaded file and return comprehensive analysis results with intelligent caching.
Behavior:
- If no query provided: Returns summary analysis (cached if available)
- If query provided: Returns both summary (from cache if available) and fresh question analysis
Optional: set transcript_text=true to return the transcript as a single text string instead of an array of segments.
POST
Analyze uploaded file
Run AI-powered analysis on a previously uploaded audio/video file.
Overview
Similar to Analyze Video, but operates on files in your library.Request Body
file_id(string, required): ID of the uploaded file to analyzequery(string, optional): Ask a specific question about the content
Billing
File analysis consumesanalysis_request units based on context size. One unit covers up to 15,000 total tokens, and longer contexts are billed with ceil(total_tokens / 15000). For example, an analysis that uses 17,000 total tokens consumes 2 analysis_request units.
Example Request
cURL
Authorizations
API key authentication. Include your VidNavigator API key in the X-API-Key header.
Body
application/json

