OpenAPI Specification
openapi: 3.1.0
info:
title: Reka Chat Search API
description: 'The Reka API exposes Reka''s multimodal foundation models through a REST
interface that includes chat completions, vision (video and image
management, search, Q&A, clip generation), speech transcription and
translation, and a Research API with web search capabilities. The chat
surface is OpenAI-compatible.
Only a representative subset of endpoints is modeled here, drawn from
the public Reka documentation at https://docs.reka.ai. See the
documentation for the full catalog.
'
version: 1.0.0
contact:
name: Reka Documentation
url: https://docs.reka.ai
license:
name: Reka Proprietary
servers:
- url: https://api.reka.ai
description: Reka API production server
security:
- bearerAuth: []
tags:
- name: Search
description: Search across uploaded video content.
paths:
/v1/search:
post:
tags:
- Search
summary: Search videos
description: Search across uploaded videos with a natural-language query.
operationId: searchVideos
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- query
properties:
query:
type: string
description: Natural-language search query.
video_group_id:
type: string
description: Optional video group to restrict the search to.
limit:
type: integer
default: 20
responses:
'200':
description: Search results.
content:
application/json:
schema:
type: object
properties:
results:
type: array
items:
type: object
properties:
video_id:
type: string
score:
type: number
timestamp:
type: number
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: REKA_API_KEY
description: 'Bearer token issued from the Reka Platform dashboard. Pass as
`Authorization: Bearer REKA_API_KEY`.
'
externalDocs:
description: Reka API documentation
url: https://docs.reka.ai