Skip to main content
POST
/
index
/
{index_name}
/
video
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

X-API-Key
string
header
required

Path Parameters

index_name
string
required

Query Parameters

video_url
string

Video URL to download video from. One of video_url / video_file must be provided.

Body

multipart/form-data
video_file
file

Video file upload. One of video_url / video_file must be provided.

transcript
file

(Optional) Transcript file upload. Must be a .vtt file.

metadata_str
string
default:{}

Metadata dict for the video. See documentation for structure.

Response

Successful Response