AzureContentFilterResultForChoice

A content filter result for a single response item produced by a generative AI system.

Artificial IntelligenceEmbeddingsGPTGenerative AILLMOpenAI

Properties

Name Type Description
sexual object A content filter category for language related to anatomical organs and genitals, romantic relationships, acts portrayed in erotic or affectionate terms, pregnancy, physical sexual acts, including tho
hate object A content filter category that can refer to any content that attacks or uses pejorative or discriminatory language with reference to a person or identity group based on certain differentiating attribu
violence object A content filter category for language related to physical actions intended to hurt, injure, damage, or kill someone or something; describes weapons, guns and related entities, such as manufactures, a
self_harm object A content filter category that describes language related to physical actions intended to purposely hurt, injure, damage one's body or kill oneself.
profanity object A detection result that identifies whether crude, vulgar, or otherwise objection language is present in the content.
custom_blocklists object A collection of binary filtering outcomes for configured custom blocklists.
custom_topics object A collection of binary filtering outcomes for configured custom topics.
error object If present, details about an error that prevented content filtering from completing its evaluation.
protected_material_text object A detection result that describes a match against text protected under copyright or other status.
protected_material_code object A detection result that describes a match against licensed code or other protected source material.
ungrounded_material object
personally_identifiable_information object A detection result that describes matches against Personal Identifiable Information with configurable subcategories.
View JSON Schema on GitHub

JSON Schema

microsoft-azure-openai-azure-content-filter-result-for-choice-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-openai/json-schema/microsoft-azure-openai-azure-content-filter-result-for-choice-schema.json",
  "title": "AzureContentFilterResultForChoice",
  "description": "A content filter result for a single response item produced by a generative AI system.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-openai-v1-openapi.yml#/components/schemas/AzureContentFilterResultForChoice",
  "type": "object",
  "properties": {
    "sexual": {
      "allOf": [
        {
          "$ref": "#/$defs/AzureContentFilterSeverityResult"
        }
      ],
      "description": "A content filter category for language related to anatomical organs and genitals, romantic relationships, acts\nportrayed in erotic or affectionate terms, pregnancy, physical sexual acts, including those portrayed as an\nassault or a forced sexual violent act against one's will, prostitution, pornography, and abuse."
    },
    "hate": {
      "allOf": [
        {
          "$ref": "#/$defs/AzureContentFilterSeverityResult"
        }
      ],
      "description": "A content filter category that can refer to any content that attacks or uses pejorative or discriminatory\nlanguage with reference to a person or identity group based on certain differentiating attributes of these groups\nincluding but not limited to race, ethnicity, nationality, gender identity and expression, sexual orientation,\nreligion, immigration status, ability status, personal appearance, and body size."
    },
    "violence": {
      "allOf": [
        {
          "$ref": "#/$defs/AzureContentFilterSeverityResult"
        }
      ],
      "description": "A content filter category for language related to physical actions intended to hurt, injure, damage, or kill\nsomeone or something; describes weapons, guns and related entities, such as manufactures, associations,\nlegislation, and so on."
    },
    "self_harm": {
      "allOf": [
        {
          "$ref": "#/$defs/AzureContentFilterSeverityResult"
        }
      ],
      "description": "A content filter category that describes language related to physical actions intended to purposely hurt, injure,\ndamage one's body or kill oneself."
    },
    "profanity": {
      "allOf": [
        {
          "$ref": "#/$defs/AzureContentFilterDetectionResult"
        }
      ],
      "description": "A detection result that identifies whether crude, vulgar, or otherwise objection language is present in the\ncontent."
    },
    "custom_blocklists": {
      "allOf": [
        {
          "$ref": "#/$defs/AzureContentFilterBlocklistResult"
        }
      ],
      "description": "A collection of binary filtering outcomes for configured custom blocklists."
    },
    "custom_topics": {
      "allOf": [
        {
          "$ref": "#/$defs/AzureContentFilterCustomTopicResult"
        }
      ],
      "description": "A collection of binary filtering outcomes for configured custom topics."
    },
    "error": {
      "type": "object",
      "properties": {
        "code": {
          "type": "integer",
          "format": "int32",
          "description": "A distinct, machine-readable code associated with the error."
        },
        "message": {
          "type": "string",
          "description": "A human-readable message associated with the error."
        }
      },
      "required": [
        "code",
        "message"
      ],
      "description": "If present, details about an error that prevented content filtering from completing its evaluation."
    },
    "protected_material_text": {
      "allOf": [
        {
          "$ref": "#/$defs/AzureContentFilterDetectionResult"
        }
      ],
      "description": "A detection result that describes a match against text protected under copyright or other status."
    },
    "protected_material_code": {
      "type": "object",
      "properties": {
        "filtered": {
          "type": "boolean",
          "description": "Whether the content detection resulted in a content filtering action."
        },
        "detected": {
          "type": "boolean",
          "description": "Whether the labeled content category was detected in the content."
        },
        "citation": {
          "type": "object",
          "properties": {
            "license": {
              "type": "string",
              "description": "The name or identifier of the license associated with the detection."
            },
            "URL": {
              "type": "string",
              "format": "uri",
              "description": "The URL associated with the license."
            }
          },
          "description": "If available, the citation details describing the associated license and its location."
        }
      },
      "required": [
        "filtered",
        "detected"
      ],
      "description": "A detection result that describes a match against licensed code or other protected source material."
    },
    "ungrounded_material": {
      "$ref": "#/$defs/AzureContentFilterCompletionTextSpanDetectionResult"
    },
    "personally_identifiable_information": {
      "allOf": [
        {
          "$ref": "#/$defs/AzureContentFilterPersonallyIdentifiableInformationResult"
        }
      ],
      "description": "A detection result that describes matches against Personal Identifiable Information with configurable subcategories."
    }
  },
  "$defs": {
    "AzureContentFilterBlocklistResult": {
      "type": "object",
      "required": [
        "filtered"
      ],
      "properties": {
        "filtered": {
          "type": "boolean",
          "description": "A value indicating whether any of the detailed blocklists resulted in a filtering action."
        },
        "details": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "filtered": {
                "type": "boolean",
                "description": "A value indicating whether the blocklist produced a filtering action."
              },
              "id": {
                "type": "string",
                "description": "The ID of the custom blocklist evaluated."
              }
            },
            "required": [
              "filtered",
              "id"
            ]
          },
          "description": "The pairs of individual blocklist IDs and whether they resulted in a filtering action."
        }
      },
      "description": "A collection of true/false filtering results for configured custom blocklists."
    },
    "AzureContentFilterCompletionTextSpan": {
      "type": "object",
      "required": [
        "completion_start_offset",
        "completion_end_offset"
      ],
      "properties": {
        "completion_start_offset": {
          "type": "integer",
          "format": "int32",
          "description": "Offset of the UTF32 code point which begins the span."
        },
        "completion_end_offset": {
          "type": "integer",
          "format": "int32",
          "description": "Offset of the first UTF32 code point which is excluded from the span. This field is always equal to completion_start_offset for empty spans. This field is always larger than completion_start_offset for non-empty spans."
        }
      },
      "description": "A representation of a span of completion text as used by Azure OpenAI content filter results."
    },
    "AzureContentFilterCompletionTextSpanDetectionResult": {
      "type": "object",
      "required": [
        "filtered",
        "detected",
        "details"
      ],
      "properties": {
        "filtered": {
          "type": "boolean",
          "description": "Whether the content detection resulted in a content filtering action."
        },
        "detected": {
          "type": "boolean",
          "description": "Whether the labeled content category was detected in the content."
        },
        "details": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AzureContentFilterCompletionTextSpan"
          },
          "description": "Detailed information about the detected completion text spans."
        }
      }
    },
    "AzureContentFilterCustomTopicResult": {
      "type": "object",
      "required": [
        "filtered"
      ],
      "properties": {
        "filtered": {
          "type": "boolean",
          "description": "A value indicating whether any of the detailed topics resulted in a filtering action."
        },
        "details": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "detected": {
                "type": "boolean",
                "description": "A value indicating whether the topic is detected."
              },
              "id": {
                "type": "string",
                "description": "The ID of the custom topic evaluated."
              }
            },
            "required": [
              "detected",
              "id"
            ]
          },
          "description": "The pairs of individual topic IDs and whether they are detected."
        }
      },
      "description": "A collection of true/false filtering results for configured custom topics."
    },
    "AzureContentFilterDetectionResult": {
      "type": "object",
      "required": [
        "filtered",
        "detected"
      ],
      "properties": {
        "filtered": {
          "type": "boolean",
          "description": "Whether the content detection resulted in a content filtering action."
        },
        "detected": {
          "type": "boolean",
          "description": "Whether the labeled content category was detected in the content."
        }
      },
      "description": "A labeled content filter result item that indicates whether the content was detected and whether the content was\nfiltered."
    },
    "AzureContentFilterPersonallyIdentifiableInformationResult": {
      "type": "object",
      "properties": {
        "redacted_text": {
          "type": "string",
          "description": "The redacted text with PII information removed or masked."
        },
        "sub_categories": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AzurePiiSubCategoryResult"
          },
          "description": "Detailed results for individual PIIHarmSubCategory(s)."
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/AzureContentFilterDetectionResult"
        }
      ],
      "description": "A content filter detection result for Personally Identifiable Information that includes harm extensions."
    },
    "AzureContentFilterSeverityResult": {
      "type": "object",
      "required": [
        "filtered",
        "severity"
      ],
      "properties": {
        "filtered": {
          "type": "boolean",
          "description": "Whether the content severity resulted in a content filtering action."
        },
        "severity": {
          "type": "string",
          "enum": [
            "safe",
            "low",
            "medium",
            "high"
          ],
          "description": "The labeled severity of the content."
        }
      },
      "description": "A labeled content filter result item that indicates whether the content was filtered and what the qualitative\nseverity level of the content was, as evaluated against content filter configuration for the category."
    },
    "AzurePiiSubCategoryResult": {
      "type": "object",
      "required": [
        "sub_category",
        "filtered",
        "detected",
        "redacted"
      ],
      "properties": {
        "sub_category": {
          "type": "string",
          "description": "The PIIHarmSubCategory that was evaluated."
        },
        "filtered": {
          "type": "boolean",
          "description": "Whether the content detection resulted in a content filtering action for this subcategory."
        },
        "detected": {
          "type": "boolean",
          "description": "Whether the labeled content subcategory was detected in the content."
        },
        "redacted": {
          "type": "boolean",
          "description": "Whether the content was redacted for this subcategory."
        }
      },
      "description": "Result details for individual PIIHarmSubCategory(s)."
    }
  }
}

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/microsoft-azure-openai-azure-content-filter-result-for-choice"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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