---
title: "Enter the headline and get its clickbait probability (0-1)"
method: POST
path: "/pred"
tags: ["Click-Bait Score"]
---

# Enter the headline and get its clickbait probability (0-1)

`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-clickbait/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-clickbait.md) - [All operations](https://skmtc.dev/aossie-org/apis/social-street-smart-clickbait/llms.txt) - [OpenAPI document](https://skmtc.dev/aossie-org/apis/social-street-smart-clickbait/revisions/68148cf472bc?raw)
