Vespa · JSON Structure

Vespa Ai Document Structure

Structural breakdown of a Vespa document for the /document/v1 API.

Type: Properties: 0
Artificial IntelligenceSearchVector DatabaseBig DataMachine-LearningSemantic SearchRetrieval Augmented GenerationOpen-SourceTensorRecommendations

Vespa Ai Document Structure is a JSON Structure definition published by Vespa.

Meta-schema:

JSON Structure

Raw ↑
{
  "title": "VespaDocumentStructure",
  "description": "Structural breakdown of a Vespa document for the /document/v1 API.",
  "structure": {
    "VespaDocument": {
      "pathId": "string — request URL path id",
      "id": "string — fully-qualified Vespa document id (id:namespace:documentType::documentId)",
      "fields": {
        "<fieldName>": "value — type defined by the schema (string, int, double, tensor, array, weightedset, map, struct, document reference)"
      }
    },
    "VespaUpdate": {
      "fields": {
        "<fieldName>": {
          "assign": "value — replace field value",
          "add": "value — add element to array/weightedset/map",
          "remove": "value — remove element from array/weightedset/map",
          "increment": "number — atomic add to numeric field",
          "decrement": "number — atomic subtract from numeric field",
          "multiply": "number — atomic multiply for numeric field",
          "divide": "number — atomic divide for numeric field"
        }
      }
    },
    "VespaVisitResponse": {
      "pathId": "string",
      "documents": "array of VespaDocument",
      "documentCount": "integer — number of documents in this batch",
      "continuation": "string — token to pass to the next visit request"
    }
  }
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/vespa-ai-document-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?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.