POST
/
v1
/
tools
/
ai-detect
curl --request POST \
  --url https://api.writer.com/v1/tools/ai-detect \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "input": "AI and ML continue to be at the forefront of technological advancements. In 2025, we can expect more sophisticated AI systems that can handle complex tasks with greater efficiency. AI will play a crucial role in various sectors, including healthcare, finance, and manufacturing. For instance, AI-powered diagnostic tools will become more accurate, helping doctors detect diseases at an early stage. In finance, AI algorithms will enhance fraud detection and risk management."
}'
{
  "label": "fake",
  "score": 0.6265060305595398
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your Writer API key.

Body

application/json
input
string
required

The content to determine if it is AI- or human-generated. Content must have at least 350 characters.

Example:

"AI and ML continue to be at the forefront of technological advancements. In 2025, we can expect more sophisticated AI systems that can handle complex tasks with greater efficiency. AI will play a crucial role in various sectors, including healthcare, finance, and manufacturing. For instance, AI-powered diagnostic tools will become more accurate, helping doctors detect diseases at an early stage. In finance, AI algorithms will enhance fraud detection and risk management."

Response

200 - application/json
Successful
label
enum<string>
required
Available options:
fake,
real
Example:

"fake"

score
number
required
Example:

0.6265060305595398

Was this page helpful?