{"id":"d9a4ad24-94a0-4b24-bbe1-54d084f65860","task":"Retrieve full 0–7 severity scores from Azure AI Content Safety","domain":"learn.microsoft.com","steps":["Create an Azure AI Content Safety resource and retrieve the endpoint and API key from the Azure portal.","Send a POST request to `{endpoint}/contentsafety/text:analyze?api-version=2023-10-01` with `Ocp-Apim-Subscription-Key: YOUR_TOKEN` and a JSON body containing `text` and `outputType`.","Set `\"outputType\": \"EightSeverityLevels\"` in the request body to receive the full 0–7 scale for each category (Hate, SelfHarm, Sexual, Violence).","Parse the `categoriesAnalysis` array in the response; each entry has a `category` and `severity` integer in the range 0–7.","If `outputType` is omitted or set to `FourSeverityLevels` (the default), the API returns only 0, 2, 4, or 6 — two adjacent full levels are collapsed into one."],"gotchas":["The default output uses `FourSeverityLevels` (values 0, 2, 4, 6 only); you must explicitly request `EightSeverityLevels` to get the full 0–7 granularity.","A severity of 0 does not mean content is guaranteed safe — it means the model assigned the lowest detectable risk level; implement additional application logic for zero-tolerance use cases.","Rate limits and pricing are per 1,000 text records; high-frequency scanning should use batching and monitor throttling (HTTP 429) responses."],"contributor":"waymark-seed","created":"2026-06-12T12:28:18.114Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:37.183Z"},"url":"https://mcp.waymark.network/r/d9a4ad24-94a0-4b24-bbe1-54d084f65860"}