Voyage AI Contextualized API

Embed chunks conditioned on surrounding document context.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/voyage-ai-contextualized-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

voyage-ai-contextualized-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Voyage AI Contextualized API
  version: 1.0.0
  summary: Embeddings, multimodal embeddings, contextualized embeddings, and reranking from Voyage AI.
  description: 'OpenAI-compatible REST API for Voyage AI embedding and reranker models used in

    retrieval-augmented generation (RAG) and semantic search workflows.


    Documentation: https://docs.voyageai.com/reference/embeddings-api

    '
  contact:
    name: Voyage AI Docs
    url: https://docs.voyageai.com/
servers:
- url: https://api.voyageai.com/v1
  description: Voyage AI production API
security:
- bearerAuth: []
tags:
- name: Contextualized
  description: Embed chunks conditioned on surrounding document context.
paths:
  /contextualizedembeddings:
    post:
      tags:
      - Contextualized
      summary: Create contextualized chunk embeddings
      operationId: createContextualizedEmbeddings
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ContextualizedEmbeddingsRequest'
      responses:
        '200':
          description: Contextualized embeddings response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmbeddingsResponse'
components:
  schemas:
    ContextualizedEmbeddingsRequest:
      type: object
      required:
      - inputs
      - model
      properties:
        inputs:
          type: array
          description: List of lists; each inner list is a query, document, or set of chunks.
          items:
            type: array
            items:
              type: string
        model:
          type: string
          examples:
          - voyage-context-3
        input_type:
          type: string
          enum:
          - query
          - document
        output_dimension:
          type: integer
          enum:
          - 256
          - 512
          - 1024
          - 2048
        output_dtype:
          type: string
          enum:
          - float
          - int8
          - uint8
          - binary
          - ubinary
        encoding_format:
          type: string
          enum:
          - base64
    EmbeddingsResponse:
      type: object
      properties:
        object:
          type: string
          examples:
          - list
        data:
          type: array
          items:
            type: object
            properties:
              object:
                type: string
                examples:
                - embedding
              index:
                type: integer
              embedding:
                oneOf:
                - type: array
                  items:
                    type: number
                - type: string
                  description: Base64-encoded vector when `encoding_format=base64`.
        model:
          type: string
        usage:
          $ref: '#/components/schemas/Usage'
    Usage:
      type: object
      properties:
        total_tokens:
          type: integer
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: 'Voyage AI API key sent as `Authorization: Bearer <key>`.'