Search...
/
Contact us
Join our Discord
Home
Guides and concepts
API Reference
SDK Docs
Home
Guides and concepts
API Reference
SDK Docs
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
SDK Reference
Chat
Chat SSE (Streaming)
Chat Vision
Completions
Embeddings
Factuality
Injection
PII
Toxicity
Translate
Contact us
Join our Discord
API Reference
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 2 properties
Errors
400
Bad Request
403
Forbidden
Built with