H2O.ai · Schema

GuardrailsSettings

CompanyArtificial IntelligenceMachine LearningMLOpsGenerative AILLMRAGData ScienceModel DeploymentAI AgentsEnterprise AI

Properties

Name Type Description
exception_message string A message that will be returned in case some guardrails settings are violated.
show_violated_responses boolean Admin-only toggle to view the exact content of violated responses. When enabled, admins can see what triggered a guardrail violation. This is disabled by default for privacy and security. Only adminis
guardrails_on_transcriptions boolean When enabled, audio and video transcriptions are checked for content safety violations using the guardrails LLM, in addition to the existing PII detection.
vision_guardrails_enabled boolean When enabled, images and video frames are checked for content safety violations using a vision-capable guardrails LLM during document ingestion.
guardrails_vision_llm string Vision-capable LLM for image and video content safety checks. Defaults to auto which selects the best available vision model.
column_redaction_config array List of [column_pattern, redaction_label], both strings.
disallowed_regex_patterns array A list of regular expressions that match custom PII.
presidio_labels_to_flag array A list of entities to be flagged as PII by the built-in Presidio model.
pii_labels_to_flag array A list of entities to be flagged as PII by the built-in PII model.
pii_detection_parse_action string What to do when PII is detected during parsing of documents. The 'redact' option will replace disallowed content in the ingested documents with redaction bars.
pii_detection_llm_input_action string What to do when PII is detected in the input to the LLM (document content and user prompts). The 'redact' option will replace disallowed content with placeholders.
pii_detection_llm_output_action string What to do when PII is detected in the output of the LLM. The 'redact' option will replace disallowed content with placeholders.
prompt_guard_labels_to_flag array A list of entities to be flagged as safety violations in user prompts by the built-in prompt guard model.
guardrails_labels_to_flag array A list of entities to be flagged as safety violations in user prompts. Must be a subset of guardrails_entities, if provided.
guardrails_llm string LLM to use for Guardrails and PII detection
guardrails_safe_category string Name of the safe category for guardrails. Must be a key in guardrails_entities, if provided. Otherwise uses system defaults.
guardrails_entities object Dictionary of entities and their descriptions for the guardrails model to classify. The first entry is the "safe" class, the rest are "unsafe" classes.
column_redaction_custom_entities_to_flag array Deprecated - Use custom_pii_entities_to_flag. A list of entities to redact in tabular data files. Must be a subset of column_redaction_custom_entities, if provided.
column_redaction_custom_entities object (Optional) Deprecated - Use custom_pii_entities. A dictionary of entities and a short description for the LLM to check for and redact columns containing PII in tabular data files.
custom_pii_entities_to_flag array A list of entities to redact in tabular data files. Must be a subset of custom_pii_entities, if provided.
custom_pii_entities object (Optional) A dictionary of entities and a short description for the LLM to check for and redact columns containing PII in tabular data files.
View JSON Schema on GitHub

JSON Schema

h2o-ai-guardrails-settings-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-guardrails-settings-schema.json",
  "title": "GuardrailsSettings",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/h2o-ai-chat-api-openapi.yml#/components/schemas/GuardrailsSettings",
  "type": "object",
  "properties": {
    "exception_message": {
      "description": "A message that will be returned in case some guardrails settings are violated.",
      "type": "string"
    },
    "show_violated_responses": {
      "description": "Admin-only toggle to view the exact content of violated responses. When enabled, admins can see what triggered a guardrail violation. This is disabled by default for privacy and security. Only administrators can enable this setting and view violated content.",
      "type": "boolean",
      "default": false
    },
    "guardrails_on_transcriptions": {
      "description": "When enabled, audio and video transcriptions are checked for content safety violations using the guardrails LLM, in addition to the existing PII detection.",
      "type": "boolean",
      "default": false
    },
    "vision_guardrails_enabled": {
      "description": "When enabled, images and video frames are checked for content safety violations using a vision-capable guardrails LLM during document ingestion.",
      "type": "boolean",
      "default": false
    },
    "guardrails_vision_llm": {
      "description": "Vision-capable LLM for image and video content safety checks. Defaults to auto which selects the best available vision model.",
      "type": "string",
      "default": "auto"
    },
    "column_redaction_config": {
      "type": "array",
      "description": "List of [column_pattern, redaction_label], both strings.",
      "items": {
        "type": "array",
        "minItems": 2,
        "maxItems": 2,
        "items": {
          "type": "string"
        }
      }
    },
    "disallowed_regex_patterns": {
      "description": "A list of regular expressions that match custom PII.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "presidio_labels_to_flag": {
      "description": "A list of entities to be flagged as PII by the built-in Presidio model.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "pii_labels_to_flag": {
      "description": "A list of entities to be flagged as PII by the built-in PII model.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "pii_detection_parse_action": {
      "description": "What to do when PII is detected during parsing of documents. The 'redact' option will replace disallowed content in the ingested documents with redaction bars.",
      "type": "string",
      "enum": [
        "allow",
        "redact",
        "fail"
      ]
    },
    "pii_detection_llm_input_action": {
      "description": "What to do when PII is detected in the input to the LLM (document content and user prompts). The 'redact' option will replace disallowed content with placeholders.",
      "type": "string",
      "enum": [
        "allow",
        "redact",
        "fail"
      ]
    },
    "pii_detection_llm_output_action": {
      "description": "What to do when PII is detected in the output of the LLM. The 'redact' option will replace disallowed content with placeholders.",
      "type": "string",
      "enum": [
        "allow",
        "redact",
        "fail"
      ]
    },
    "prompt_guard_labels_to_flag": {
      "description": "A list of entities to be flagged as safety violations in user prompts by the built-in prompt guard model.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "guardrails_labels_to_flag": {
      "description": "A list of entities to be flagged as safety violations in user prompts. Must be a subset of guardrails_entities, if provided.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "guardrails_llm": {
      "description": "LLM to use for Guardrails and PII detection",
      "type": "string"
    },
    "guardrails_safe_category": {
      "description": "Name of the safe category for guardrails. Must be a key in guardrails_entities, if provided. Otherwise uses system defaults.",
      "type": "string"
    },
    "guardrails_entities": {
      "description": "Dictionary of entities and their descriptions for the guardrails model to classify. The first entry is the \"safe\" class, the rest are \"unsafe\" classes.",
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "column_redaction_custom_entities_to_flag": {
      "description": "Deprecated - Use custom_pii_entities_to_flag. A list of entities to redact in tabular data files. Must be a subset of column_redaction_custom_entities, if provided.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "column_redaction_custom_entities": {
      "description": "(Optional) Deprecated - Use custom_pii_entities. A dictionary of entities and a short description for the LLM to check for and redact columns containing PII in tabular data files.",
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "custom_pii_entities_to_flag": {
      "description": "A list of entities to redact in tabular data files. Must be a subset of custom_pii_entities, if provided.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "custom_pii_entities": {
      "description": "(Optional) A dictionary of entities and a short description for the LLM to check for and redact columns containing PII in tabular data files.",
      "type": "object",
      "additionalProperties": {
        "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/h2o-ai-guardrails-settings"
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.