Skip to main content
GET
/
index
/
{index_name}
/
answer
Answer Query From Videos
curl --request GET \
  --url https://api.example.com/index/{index_name}/answer \
  --header 'X-API-Key: <api-key>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

X-API-Key
string
header
required

Path Parameters

index_name
string
required

Query Parameters

query
string
required

The query to answer

video_ids
string | null
mode
string | null
default:rag
system_prompt
string | null

Optional system prompt

use_markdown
boolean | null
default:true

Use markdown for response

Response

Successful Response