openapi: 3.1.0 info: title: Reka AI Platform Chat Research API description: 'Reka AI''s multimodal API surface: Chat (text + vision multimodal), Vision (video upload, search, Q&A, clip generation), Research (web search with reasoning and citations), and Speech (audio transcription and translation). OpenAI-compatible chat endpoint available at /v1/chat/completions. Only a representative subset of endpoints is modeled here, drawn from the public Reka documentation at https://docs.reka.ai. ' version: 1.0.0 contact: name: Reka AI Documentation url: https://docs.reka.ai/ license: name: Reka Proprietary servers: - url: https://api.reka.ai description: Reka AI production server security: - bearerAuth: [] tags: - name: Research description: OpenAI-compatible chat with optional web search and citations. paths: /v1/chat/completions: post: tags: - Research summary: OpenAI-compatible chat completions description: 'OpenAI-compatible chat completions endpoint, including Reka Research models capable of web search with citations. ' operationId: chatCompletions requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ChatRequest' responses: '200': description: Chat completion response. content: application/json: schema: $ref: '#/components/schemas/ChatResponse' components: schemas: ChatRequest: type: object required: - model - messages properties: model: type: string messages: type: array items: $ref: '#/components/schemas/Message' max_tokens: type: integer temperature: type: number top_p: type: number stream: type: boolean ChatResponse: type: object properties: id: type: string model: type: string choices: type: array items: type: object properties: index: type: integer message: $ref: '#/components/schemas/Message' finish_reason: type: string usage: type: object properties: prompt_tokens: type: integer completion_tokens: type: integer total_tokens: type: integer Message: type: object required: - role - content properties: role: type: string enum: - system - user - assistant - tool content: oneOf: - type: string - type: array items: type: object securitySchemes: bearerAuth: type: http scheme: bearer bearerFormat: REKA_API_KEY description: 'Bearer API key issued from the Reka Platform dashboard. ' externalDocs: description: Reka AI documentation url: https://docs.reka.ai/