POST
/
text
{
  "status": 200,
  "score": 0.9,
  "sentences": [
    {
      "text": "This is a sample sentence.",
      "score": 0.95
    },
    {
      "text": "Another example sentence.",
      "score": 0.85
    }
  ],
  "input": "text"
}

Authorizations

x-api-key
string
header
required

A unique key used for authentication to access the API.

Body

application/json
Text to analyze along with optional parameters. Provide either `text`, `file`, or `website`. If multiple are provided, the priority is `website` > `file` > `text`.
text
string
required

The text content to analyze.

file
string

A file to scan. The file must be in plain .pdf, .doc, or .docx format. Has higher priority than text if both are provided.

website
string

A website URL to scan. Must be publicly accessible. Has the highest priority over text or file.

version
enum<string>
default:
2.0

The model version to use. "latest" always uses the latest version. Options: 3.0, 2.0, latest.

Available options:
3.0,
2.0,
latest
sentences
boolean
default:
true

Whether the response should include an array of sentences and their scores.

language
enum<string>
default:
en

2 letter language code. Supported: en, fr, es, pt, nl, de, zh.

Available options:
en,
fr,
es,
pt,
nl,
de,
zh

Response

200
application/json
AI-generated text analysis result.
status
integer

HTTP status code indicating success (200).

score
number

Confidence score that the text is AI-generated, ranging from 0 to 1. Confidence score that the image is AI-generated, ranging from 0 to 1. A higher score means our system believes that the text is written by AI, and a lower score means that the system believes that the text is written by a Human.

sentences
object[]

An array of sentence objects with their respective AI-generated confidence scores.

input
string

The type of input scanned: text, file, or website.