Mixedbread · Schema

Mixedbread Rerank

Schema for the Mixedbread Reranking API request and response objects. Covers POST /v1/reranking.

Artificial IntelligenceEmbeddingsRerankingSearchRetrievalRAGVector DatabaseMulti-ModalParsingOpen Weights
View JSON Schema on GitHub

JSON Schema

mixedbread-rerank-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.com/schemas/mixedbread-ai/mixedbread-rerank-schema.json",
  "title": "Mixedbread Rerank",
  "description": "Schema for the Mixedbread Reranking API request and response objects. Covers POST /v1/reranking.",
  "type": "object",
  "definitions": {
    "RerankRequest": {
      "type": "object",
      "required": ["model", "query", "input"],
      "properties": {
        "model": {
          "type": "string",
          "description": "Reranking model identifier (e.g. mixedbread-ai/mxbai-rerank-large-v2, mixedbread-ai/mxbai-rerank-base-v2, mixedbread-ai/mxbai-rerank-large-v1, mixedbread-ai/mxbai-rerank-base-v1, mixedbread-ai/mxbai-rerank-xsmall-v1, plus v3-listwise)."
        },
        "query": {"type": "string", "description": "The query string to rerank against."},
        "input": {
          "type": "array",
          "description": "Candidate documents — raw strings or structured objects.",
          "items": {
            "oneOf": [
              {"type": "string"},
              {"type": "object"}
            ]
          }
        },
        "top_k": {"type": "integer", "description": "Number of top documents to return."},
        "return_input": {"type": "boolean", "description": "Echo the original document content in the response."},
        "rank_fields": {
          "type": "array",
          "items": {"type": "string"},
          "description": "Object keys to consider for ranking when input items are structured objects."
        },
        "instruction": {
          "type": "string",
          "description": "Optional instruction guiding the v3-listwise reranker."
        }
      }
    },
    "RerankResult": {
      "type": "object",
      "required": ["index", "score"],
      "properties": {
        "index": {"type": "integer"},
        "score": {"type": "number"},
        "input": {
          "description": "Original document content, only when return_input is true.",
          "oneOf": [
            {"type": "string"},
            {"type": "object"}
          ]
        }
      }
    },
    "RerankResponse": {
      "type": "object",
      "required": ["model", "data", "usage"],
      "properties": {
        "object": {"type": "string", "const": "list"},
        "model": {"type": "string"},
        "data": {"type": "array", "items": {"$ref": "#/definitions/RerankResult"}},
        "usage": {
          "type": "object",
          "properties": {
            "prompt_tokens": {"type": "integer"},
            "total_tokens": {"type": "integer"}
          }
        },
        "top_k": {"type": "integer"},
        "return_input": {"type": "boolean"}
      }
    }
  },
  "oneOf": [
    {"$ref": "#/definitions/RerankRequest"},
    {"$ref": "#/definitions/RerankResponse"}
  ]
}

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-rerank"
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.