Analyzes the input text for toxicity and returns the result.
/toxicity-meter/
https://rai-prod.studio.lyzr.ai
x-api-key) must be included in the request header.
| Field | Type | Required | Description |
|---|---|---|---|
input_text | string | Yes | The text to analyze for toxicity. |
agent_id | string | Yes | The associated agent’s unique ID. |
session_id | string | Yes | The current session’s unique ID. |
run_id | string | No | Optional run ID for traceability. |