openapi: 3.0.2 info: title: Voyage API description: 'The VoyageAI REST API. Please see https://docs.voyageai.com/reference for more details. ' version: '1.1' contact: name: VoyageAI Support url: https://docs.voyageai.com/docs/faq email: contact@voyageai.com license: name: MIT url: https://github.com/voyage-ai/openapi/blob/main/LICENSE servers: - url: https://api.voyageai.com/v1 components: securitySchemes: ApiKeyAuth: type: apiKey in: header name: 'Authorization: Bearer' x-default: $VOYAGE_API_KEY security: - ApiKeyAuth: [] tags: - name: Endpoints paths: /embeddings: post: tags: - Endpoints summary: Text embedding models description: Voyage text embedding endpoint receives as input a string (or a list of strings) and other arguments such as the preferred model name, and returns a response containing a list of embeddings. operationId: embeddings-api requestBody: content: application/json: schema: type: object required: - input - model properties: input: type: object description: 'A single text string, or a list of texts as a list of strings, such as `["I like cats", "I also like dogs"]`. Currently, we have two constraints on the list: