H2O.ai · Schema

PromptTemplate

CompanyArtificial IntelligenceMachine LearningMLOpsGenerative AILLMRAGData ScienceModel DeploymentAI AgentsEnterprise AI
View JSON Schema on GitHub

JSON Schema

h2o-ai-prompt-template-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-prompt-template-schema.json",
  "title": "PromptTemplate",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/h2o-ai-prompt-templates-api-openapi.yml#/components/schemas/PromptTemplate",
  "allOf": [
    {
      "$ref": "#/$defs/PromptTemplateBase"
    },
    {
      "type": "object",
      "required": [
        "id",
        "is_default",
        "is_public"
      ],
      "properties": {
        "id": {
          "description": "A unique identifier of the prompt template.",
          "type": "string"
        },
        "is_default": {
          "description": "A flag identifying if the prompt template is default or not.",
          "type": "boolean"
        },
        "user_count": {
          "description": "The number of users who have access to the prompt template.",
          "type": "integer"
        },
        "group_count": {
          "description": "The number of groups who have access to the prompt template.",
          "type": "integer"
        },
        "username": {
          "description": "Name of the user owning the prompt template.",
          "type": "string"
        },
        "user_id": {
          "description": "The unique identifier of the user owning the prompt template.",
          "type": "string"
        },
        "created_at": {
          "description": "The moment when the prompt template was created.",
          "type": "string",
          "format": "date-time"
        },
        "updated_at": {
          "description": "The Last time when the prompt template was modified.",
          "type": "string",
          "format": "date-time"
        },
        "is_public": {
          "description": "Whether the prompt template is public or private (only applies to custom templates).",
          "type": "boolean"
        },
        "visible": {
          "description": "A flag identifying if a default prompt template is visible to system users.",
          "type": "boolean"
        },
        "is_system_default": {
          "description": "A flag identifying if a default prompt template is the system default.",
          "type": "boolean"
        }
      }
    }
  ],
  "$defs": {
    "PromptTemplateBase": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "A name of the prompt template."
        },
        "description": {
          "type": "string",
          "description": "A description of the prompt template."
        },
        "lang": {
          "type": "string",
          "description": "A language code."
        },
        "system_prompt": {
          "type": "string",
          "description": "A system prompt."
        },
        "pre_prompt_query": {
          "type": "string",
          "description": "A text that is prepended before the contextual document chunks."
        },
        "prompt_query": {
          "type": "string",
          "description": "A text that is appended to the beginning of the user's message."
        },
        "hyde_no_rag_llm_prompt_extension": {
          "type": "string",
          "description": "An LLM prompt extension."
        },
        "pre_prompt_summary": {
          "type": "string",
          "description": "A prompt that goes before each large piece of text to summarize."
        },
        "prompt_summary": {
          "type": "string",
          "description": "A prompt that goes after each large piece of text to summarize."
        },
        "system_prompt_reflection": {
          "type": "string",
          "description": "A system prompt for self-reflection."
        },
        "prompt_reflection": {
          "type": "string",
          "description": "A template for self-reflection, must contain two occurrences of %s for full previous prompt (including system prompt, document related context and prompts if applicable, and user prompts) and answer"
        },
        "auto_gen_description_prompt": {
          "type": "string",
          "description": "A prompt to create a description of the collection."
        },
        "auto_gen_document_summary_pre_prompt_summary": {
          "type": "string",
          "description": "A `pre_prompt_summary` for summary of a freshly imported document (if enabled)."
        },
        "auto_gen_document_summary_prompt_summary": {
          "type": "string",
          "description": "A `prompt_summary` for summary of a freshly imported document (if enabled).`"
        },
        "auto_gen_document_sample_questions_prompt": {
          "type": "string",
          "description": "A prompt to create sample questions for a freshly imported document (if enabled)."
        },
        "default_sample_questions": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Default sample questions in case there are no auto-generated sample questions."
        },
        "image_batch_image_prompt": {
          "type": "string",
          "description": "A prompt for each image batch for vision models."
        },
        "image_batch_final_prompt": {
          "type": "string",
          "description": "A prompt for each image batch for vision models."
        }
      }
    }
  }
}

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-prompt-template"
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.