Vespa · Schema

VespaDocument

A Vespa document as returned by the /document/v1 API or referenced in put/update payloads.

Artificial IntelligenceSearchVector DatabaseBig DataMachine-LearningSemantic SearchRetrieval Augmented GenerationOpen-SourceTensorRecommendations

Properties

Name Type Description
pathId string Document path id, e.g. /document/v1/{namespace}/{documentType}/docid/{documentId}.
id string Fully-qualified Vespa document id, e.g. id:music:song::1.
fields object Field values keyed by schema field name.
View JSON Schema on GitHub

JSON Schema

vespa-ai-document-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/vespa-ai/main/json-schema/vespa-ai-document-schema.json",
  "title": "VespaDocument",
  "description": "A Vespa document as returned by the /document/v1 API or referenced in put/update payloads.",
  "type": "object",
  "properties": {
    "pathId": {
      "type": "string",
      "description": "Document path id, e.g. /document/v1/{namespace}/{documentType}/docid/{documentId}."
    },
    "id": {
      "type": "string",
      "description": "Fully-qualified Vespa document id, e.g. id:music:song::1."
    },
    "fields": {
      "type": "object",
      "description": "Field values keyed by schema field name.",
      "additionalProperties": true
    }
  },
  "required": ["fields"]
}

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/vespa-ai-document"
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 email required.

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