---
title: "Enter the text and get its Hate Speech probability (0-1) across various categories"
method: POST
path: "/pred"
tags: ["Hate Speech Score"]
---

# Enter the text and get its Hate Speech probability (0-1) across various categories

`POST /pred`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/pred`
- Auth: none declared
- TypeScript: <https://skmtc.dev/aossie-org/apis/social-street-smart-hate-speech/docs/pred/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body `multipart/form-data`

- Text
  - `text` string, string

## Response `201`

OK

## Other responses

- `500`: Internal Server Error

---

[API](https://skmtc.dev/aossie-org/apis/social-street-smart-hate-speech.md) - [All operations](https://skmtc.dev/aossie-org/apis/social-street-smart-hate-speech/llms.txt) - [OpenAPI document](https://skmtc.dev/aossie-org/apis/social-street-smart-hate-speech/revisions/e78d8ea60d7c?raw)
