Skip to main content
POST
Get Toxicity

Endpoint

POST /toxicity-meter/

Base URL

https://rai-prod.studio.lyzr.ai

Authentication

API Key (x-api-key) must be included in the request header.

Request Body

Example Request Body

Authorizations

x-api-key
string
header
required

Body

application/json
input_text
string
required
Example:

"What the fuck!"

agent_id
string
required
Example:

"67e3aff94c4db47d2999cdef"

session_id
string
required
Example:

"67e3aff94c4db47d2999cdef-g6bayx8ijn"

run_id
string
Example:

"string"

Response

Successful toxicity check

message
string
Example:

"TOXIC"

details
object
status_code
integer
Example:

200