H2O.ai · Schema

Collection

CompanyArtificial IntelligenceMachine LearningMLOpsGenerative AILLMRAGData ScienceModel DeploymentAI AgentsEnterprise AI

Properties

Name Type Description
id string A unique identifier of the collection
name string Name of the collection
description string Description of the collection
embedding_model string
document_count integer A number of documents in the collection
document_size integer Total size in bytes of all documents in the collection
created_at string Time when the collection was created
updated_at string Last time when the collection was modified
user_count integer A number of users having access to the collection
is_public boolean Is publicly accessible
username string Name of the user owning the collection
sessions_count integer A number of chat sessions with the collection
status string Status of the collection
prompt_template_id string A unique identifier of a prompt template associated with the collection.
thumbnail string A file name of a thumbnail image.
size_limit integer Maximum size of data that could be contained in the collection.
expiry_date string An expiry date
inactivity_interval integer The inactivity interval as an integer number of days.
rag_type string RAG type options: * `auto` - Automatically select the best rag_type. * `llm_only` LLM Only - Answer the query without any supporting document contexts. Requires 1 LLM call. * `rag` RAG (Retrieval Augm
metadata_dict object
workspace string The workspace associated with the collection.
has_default_guardrails boolean Whether this collection was created with default guardrails enabled.
vex_encryption stringnull The per-collection vector encryption choice that was set at creation: `enabled`, `disabled`, or null when the collection follows the server default. Read-only — cannot be changed after creation.
View JSON Schema on GitHub

JSON Schema

h2o-ai-collection-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/h2o-ai/main/json-schema/h2o-ai-collection-schema.json",
  "title": "Collection",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/h2o-ai-collections-api-openapi.yml#/components/schemas/Collection",
  "required": [
    "id",
    "name",
    "description",
    "embedding_model",
    "document_count",
    "document_size",
    "created_at",
    "updated_at",
    "user_count",
    "is_public",
    "username",
    "sessions_count",
    "status"
  ],
  "type": "object",
  "properties": {
    "id": {
      "description": "A unique identifier of the collection",
      "type": "string"
    },
    "name": {
      "description": "Name of the collection",
      "type": "string"
    },
    "description": {
      "description": "Description of the collection",
      "type": "string"
    },
    "embedding_model": {
      "type": "string"
    },
    "document_count": {
      "description": "A number of documents in the collection",
      "type": "integer"
    },
    "document_size": {
      "description": "Total size in bytes of all documents in the collection",
      "type": "integer"
    },
    "created_at": {
      "description": "Time when the collection was created",
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "description": "Last time when the collection was modified",
      "type": "string",
      "format": "date-time"
    },
    "user_count": {
      "description": "A number of users having access to the collection",
      "type": "integer"
    },
    "is_public": {
      "description": "Is publicly accessible",
      "type": "boolean"
    },
    "username": {
      "description": "Name of the user owning the collection",
      "type": "string"
    },
    "sessions_count": {
      "description": "A number of chat sessions with the collection",
      "type": "integer"
    },
    "status": {
      "description": "Status of the collection",
      "type": "string"
    },
    "prompt_template_id": {
      "description": "A unique identifier of a prompt template associated with the collection.",
      "type": "string"
    },
    "thumbnail": {
      "description": "A file name of a thumbnail image.",
      "type": "string"
    },
    "size_limit": {
      "description": "Maximum size of data that could be contained in the collection.",
      "type": "integer"
    },
    "expiry_date": {
      "description": "An expiry date",
      "type": "string",
      "format": "date-time"
    },
    "inactivity_interval": {
      "description": "The inactivity interval as an integer number of days.",
      "type": "integer"
    },
    "rag_type": {
      "description": "RAG type options:\n  * `auto` - Automatically select the best rag_type.\n  * `llm_only` LLM Only - Answer the query without any supporting document contexts.\n  Requires 1 LLM call.\n  * `rag` RAG (Retrieval Augmented Generation) - Use supporting document contexts\n  to answer the query. Requires 1 LLM call.\n  * `hyde1` LLM Only + RAG composite - HyDE RAG (Hypothetical Document Embedding).\n  Use 'LLM Only' response to find relevant contexts from a collection for generating\n  a response. Requires 2 LLM calls.\n  * `hyde2` HyDE + RAG composite - Use the 'HyDE RAG' response to find relevant\n  contexts from a collection for generating a response. Requires 3 LLM calls.\n  * `rag+` Summary RAG - Like RAG, but uses more context and recursive\n  summarization to overcome LLM context limits. Keeps all retrieved chunks, puts\n  them in order, adds neighboring chunks, then uses the summary API to get the\n  answer. Can require several LLM calls.\n  * `all_data` All Data RAG - Like Summary RAG, but includes all document\n  chunks. Uses recursive summarization to overcome LLM context limits.\n  Can require several LLM calls.\n",
      "type": "string",
      "enum": [
        "auto",
        "llm_only",
        "rag",
        "hyde1",
        "hyde2",
        "rag+",
        "all_data"
      ]
    },
    "metadata_dict": {
      "$ref": "#/$defs/Metadata"
    },
    "workspace": {
      "description": "The workspace associated with the collection.",
      "type": "string"
    },
    "has_default_guardrails": {
      "description": "Whether this collection was created with default guardrails enabled.",
      "type": "boolean"
    },
    "vex_encryption": {
      "description": "The per-collection vector encryption choice that was set at creation: `enabled`, `disabled`, or null when the collection follows the server default. Read-only — cannot be changed after creation.\n",
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "enabled",
        "disabled"
      ]
    }
  },
  "$defs": {
    "Metadata": {
      "type": "object",
      "additionalProperties": true
    }
  }
}

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/h2o-ai-collection"
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.