OOOIAIAPI reference
JSON over HTTPS. The search endpoint is live on the demo index today; indexing, ask and usage endpoints open with API keys.
/api/public/v1/searchLiveHybrid semantic + BM25 search over indexed moments. Returns ranked moments and a cited answer.
Request
{ "query": "giant robot battle", "top_k": 5, "filters": { "video_id": "vid_steel" } }Response
{
"query": "giant robot battle",
"mode": "hybrid",
"answer": "The battle happens in the old church [vid_steel_m4].",
"results": [{
"moment_id": "vid_steel_m4", "video_id": "vid_steel",
"title": "Tears of Steel — sci-fi short",
"start_time": 230, "end_time": 300,
"matched_text": "Battle in the old church…",
"visual_summary": "Explosions inside a ruined church…",
"confidence_score": 0.94, "source_url": "https://…"
}]
}/v1/videosBetaSubmit a file or URL for indexing; returns a job_id.
Request
{ "url": "https://youtube.com/watch?v=…" }Response
{ "job_id": "job_…", "status": "queued" }/v1/videos/{id}BetaIndexing status, metadata and moments.
Response
{ "id": "vid_…", "status": "ready", "moments": [ … ] }/v1/askBetaRAG answer with cited video moments.
Request
{ "question": "What did we decide about pricing?" }Response
{ "answer": "…", "citations": [ … ] }/v1/usageBetaQuota and metering for your API key.
Response
{ "minutes_indexed": 42, "quota": 60 }