Mixedbread · Schema

Mixedbread Embedding

Schema for the Mixedbread Embeddings API request and response objects. Covers POST /v1/embeddings.

Artificial IntelligenceEmbeddingsRerankingSearchRetrievalRAGVector DatabaseMulti-ModalParsingOpen Weights
View JSON Schema on GitHub

JSON Schema

mixedbread-embedding-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.com/schemas/mixedbread-ai/mixedbread-embedding-schema.json",
  "title": "Mixedbread Embedding",
  "description": "Schema for the Mixedbread Embeddings API request and response objects. Covers POST /v1/embeddings.",
  "type": "object",
  "definitions": {
    "EmbeddingRequest": {
      "type": "object",
      "description": "Request body for creating embeddings.",
      "required": ["model", "input"],
      "properties": {
        "model": {
          "type": "string",
          "description": "Embedding model identifier (e.g. mixedbread-ai/mxbai-embed-large-v1, mixedbread-ai/deepset-mxbai-embed-de-large-v1, mixedbread-ai/mxbai-embed-xsmall-v1, mixedbread-ai/wholembed-v3)."
        },
        "input": {
          "description": "Single string, array of strings, or array of image/text objects to embed.",
          "oneOf": [
            {"type": "string"},
            {"type": "array", "items": {"type": "string"}},
            {"type": "array", "items": {"type": "object"}}
          ]
        },
        "dimensions": {
          "type": "integer",
          "description": "Matryoshka truncation dimension. Optional."
        },
        "prompt": {
          "type": "string",
          "description": "Instruction prefix applied to inputs (e.g. 'Represent this sentence for searching relevant passages')."
        },
        "encoding_format": {
          "description": "Encoding(s) requested.",
          "oneOf": [
            {"type": "string", "enum": ["float", "float32", "int8", "uint8", "binary", "ubinary", "base64"]},
            {"type": "array", "items": {"type": "string"}}
          ]
        },
        "normalized": {
          "type": "boolean",
          "description": "Whether to L2-normalize vectors."
        }
      }
    },
    "Embedding": {
      "type": "object",
      "required": ["object", "embedding", "index"],
      "properties": {
        "object": {"type": "string", "const": "embedding"},
        "index": {"type": "integer"},
        "embedding": {
          "description": "Dense vector (or encoded representation).",
          "oneOf": [
            {"type": "array", "items": {"type": "number"}},
            {"type": "string", "description": "Base64-encoded vector"},
            {"type": "object", "description": "Multi-encoding embedding keyed by encoding format"}
          ]
        }
      }
    },
    "EmbeddingResponse": {
      "type": "object",
      "required": ["model", "data", "usage"],
      "properties": {
        "object": {"type": "string", "const": "list"},
        "model": {"type": "string"},
        "data": {"type": "array", "items": {"$ref": "#/definitions/Embedding"}},
        "usage": {
          "type": "object",
          "properties": {
            "prompt_tokens": {"type": "integer"},
            "total_tokens": {"type": "integer"}
          }
        },
        "normalized": {"type": "boolean"},
        "encoding_format": {
          "oneOf": [
            {"type": "string"},
            {"type": "array", "items": {"type": "string"}}
          ]
        },
        "dimensions": {"type": "integer"}
      }
    }
  },
  "oneOf": [
    {"$ref": "#/definitions/EmbeddingRequest"},
    {"$ref": "#/definitions/EmbeddingResponse"}
  ]
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/mixedbread-embedding"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

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

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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