For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
DiscordGet API Key
  • Getting Started
    • Overview
    • Quickstart
    • Errors
    • Pricing
  • Chat
    • Overview
    • Chat with Image, Video, and Audio
    • Function Calling
    • Models
  • Vision
    • Overview
    • Rate Limits
    • Pricing
    • MCP Server
    • Video Management
    • Video Group Management
    • Video Search
    • Video QA
    • Clip Generation
    • Metadata Tagging
    • Image Management
    • Image Search
        • POSTChat with Video QA
  • Research
    • Overview
    • Streaming
    • Reasoning Steps
    • Web Search
    • Structured Output
    • Parallel Thinking
    • Best Practices
    • Errors
    • Examples
  • Speech
    • Overview
    • Audio Transcription
    • Speech Translation
    • Speech-to-Speech Translation
  • Resources
    • FAQs
    • Changelog
    • System Status
LogoLogo
DiscordGet API Key
VisionAPI ReferenceVideo QA

Chat with Video QA

POST
https://vision-agent.api.reka.ai/v1/qa/chat
POST
/v1/qa/chat
$curl -X POST https://vision-agent.api.reka.ai/v1/qa/chat \
> -H "X-Api-Key: <apiKey>" \
> -H "Content-Type: application/json" \
> -d '{
> "video_id": "string"
>}'
200Successful
1{
2 "chat_response": "The video shows a person walking on the beach during sunset.",
3 "status": "success"
4}

Chat with the video QA model.

Set stream=true to receive server-sent events (SSE) instead of a single response.

Was this page helpful?
Previous

Quick Tag Video

Next
Built with

Authentication

X-Api-Keystring

API key authentication via X-Api-Key header

OR
AuthorizationBearer
Bearer token authentication via Authorization header

Headers

X-Enable-Overwrite-Meteringstring or nullOptional

Request

This endpoint expects an object.
video_idstringRequired
The ID of the video to query.
user_idstring or nullOptional
Override user ID. Takes precedence over API key header when provided.
messageslist of objects or nullOptional
The conversation history. The last message must be from the user and contain the query.
streamboolean or nullOptionalDefaults to false

If true, stream the response using server-sent events (SSE).

apply_temporal_prefilteringboolean or nullOptionalDefaults to true

If true, apply temporal pre-filtering to narrow down the video timestamp search space.

include_demo_videosboolean or nullOptionalDefaults to false
If true, include demo videos in the QA flow.
use_map_reduce_summarizationboolean or nullOptionalDefaults to false

If true, use map-reduce summarization instead of one-shot summarization.

Response

Successful Response
chat_responsestring or map from strings to any or null
statusenumDefaults to pending
Allowed values: