Vectara · Schema

Vectara Document

A Vectara document is either a structured (Core) document with explicit parts, or an unstructured file that Vectara parses into parts.

Artificial IntelligenceAgentsCorporaEmbeddingsEnterprise SearchGenerative AIGrounded GenerationHallucination DetectionLLMMCPRAGRetrievalSearchSemantic SearchVector Search

Properties

Name Type Description
id string Caller-assigned unique identifier within the corpus.
type string Whether the document was added via Core indexing or file upload.
metadata object Document-level metadata used for filtering and presentation.
document_parts array Ordered list of document parts (sections, chunks) indexed for retrieval.
View JSON Schema on GitHub

JSON Schema

vectara-document-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/vectara/main/json-schema/vectara-document-schema.json",
  "title": "Vectara Document",
  "description": "A Vectara document is either a structured (Core) document with explicit parts, or an unstructured file that Vectara parses into parts.",
  "type": "object",
  "required": ["id"],
  "properties": {
    "id": {
      "type": "string",
      "description": "Caller-assigned unique identifier within the corpus."
    },
    "type": {
      "type": "string",
      "enum": ["core", "structured"],
      "description": "Whether the document was added via Core indexing or file upload."
    },
    "metadata": {
      "type": "object",
      "additionalProperties": true,
      "description": "Document-level metadata used for filtering and presentation."
    },
    "document_parts": {
      "type": "array",
      "description": "Ordered list of document parts (sections, chunks) indexed for retrieval.",
      "items": {
        "type": "object",
        "required": ["text"],
        "properties": {
          "text": { "type": "string" },
          "metadata": {
            "type": "object",
            "additionalProperties": true
          },
          "context": { "type": "string" }
        }
      }
    }
  }
}

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/vectara-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.