Contact us
Join our Discord
Search...
/
Docs
API Reference
API Reference
GET
Check API Health
GET
List Chat Models
POST
Chat Completions
POST
Chat Completions Streaming
POST
Chat Completions Vision
GET
List Completions Models
POST
Completions
GET
List Embeddings Models
POST
Embeddings
POST
Factuality
POST
Injection
POST
Replace Personal Information
POST
Toxicity
POST
Translate
Contact us
Join our Discord
Toxicity
POST
https://
api.predictionguard.com
/
toxicity
Check the toxicity of a given text.
Request
This endpoint expects an object.
text
string
Required
The text to check for toxicity.
Response
This endpoint returns an object
id
string
Optional
Unique ID for the chat completion.
object
string
Optional
Type of object (chat completion).
created
integer
Optional
Timestamp of when the chat completion was created.
checks
list of objects
Optional
The set of vectorized data.
Show 3 properties
Errors
400
Bad Request
403
Forbidden
Built with