Skip to main content
POST
/
v1
/
tools
/
ai-detect
cURL
curl --location --request POST https://api.writer.com/v1/tools/ai-detect \
 --header "Authorization: Bearer <token>" \
 --header "Content-Type: application/json" \
--data-raw '{"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
}
Deprecation notice: The AI detection API endpoint at /v1/tools/ai-detect is deprecated and will be removed on December 22, 2025.This endpoint will no longer be available after the removal date. Please plan to migrate any integrations that currently use this endpoint to alternative solutions.

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

I