---
title: "Submit Analyze Output"
method: POST
path: "/analyze/output"
tags: ["Analyze"]
---

# Submit Analyze Output

`POST /analyze/output`

Analyze an output and return the sanitized output and the results of the scanners

## Request body

- AnalyzeOutputRequest
  - `prompt` string, required
  - `output` string, required
  - `scanners_suppress` string[]

## Response `200`

Successful Response

- AnalyzeOutputResponse
  - `is_valid` boolean, required
  - `scanners` object, required
  - `sanitized_output` string, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-07-17** `b8a920de13b4` — 1 info
  - the endpoint scheme security `HTTPBearer` was added to the API
- **2024-06-17** `b0c4be7063ec` — 1 info
  - added the new optional request property `scanners_suppress`
- **2024-04-16** `e3fbe394a2e7` — 2 info
  - api operation id `analyze_output_analyze_output_post` removed and replaced with `submit_analyze_output_analyze_output_post`
  - the endpoint scheme security `HTTPBearer` was removed from the API
- **2024-02-08** `010f3a1d576f` — 1 info
  - the endpoint scheme security `HTTPBearer` was added to the API
- **2023-11-09** `02b06bb8df9c` — 1 warning, 2 info
  - removed the request property `scanners_suppress`
  - api operation id `submit_analyze_output_analyze_output_post` removed and replaced with `analyze_output_analyze_output_post`
  - the endpoint scheme security `HTTPBearer` was removed from the API

[Change history](https://skmtc.dev/protectai/apis/llm-guard-api/changes/analyze/output/post.md)

---

[API](https://skmtc.dev/protectai/apis/llm-guard-api.md) · [All operations](https://skmtc.dev/protectai/apis/llm-guard-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/protectai/llm-guard-api/revisions/b8a920de13b4/schema)
