Skip to content
Results

AI Detection

modelVersion string

The version of the AI Content Detection used.


Example: v5

result array[object]

An array of all the classifications. The sections contain their position, classification and the probability for that classification.

classification integer

Indicates the text classification.

Available Options:

1 - Human 2 - AI Generated Text

probability number<float> deprecated

The classification confidence.

matches array[object]

Provides information about the match objects that have been found in the text.

text object

Describes the text positions for the result (textual version).

chars object

Positions of the characters in that sepcific result.

starts array[integer]

Character match start positions.

lengths array[integer]

Character match lengths.

words object

Positions of the words in that sepcific result.

starts array[integer]

Words match start positions.

length array[integer]

Words match lengths.

html object

Describes the text positions for the result (html version).

Default: null

chars object

Positions of the characters in that sepcific result.

starts array[integer]

Character match start positions.

length array[integer]

Character match lengths.

groupIds array[integer]

Group identifiers associated with each word.

words object

Positions of the words in that sepcific result.

starts array[integer]

Words match start positions.

length array[integer]

Words match lengths.

groupIds array[integer]

Group identifiers associated with each word.

summary object

Aggregated detection results.

human number<float>

Indicates the confidence in which this text was written by a human.

ai number<float>

Indicates the confidence in which this text was written by AI.

explain object beta

Example: {}

patterns object
statistics object
aiCount array[number]

The number of occurrences of AI-generated text patterns per 1 million texts.

humanCount array[number]

The number of occurrences of human-written text patterns per 1 million texts.

text object
chars object
starts array[number]

Start positions of character matches.

lengths array[number]

Lengths of the character matches.

words object
starts array[number]

Start positions of word matches.

lengths array[number]

Lengths of the word matches.

{
"modelVersion": "v5",
"results": [
{
"classification": 2,
"probability": 1,
"matches": [
{
"text": {
"chars": {
"starts": [
0
],
"lengths": [
1509
]
},
"words": {
"starts": [
0
],
"lengths": [
221
]
}
}
}
]
}
],
"summary": {
"human": 0,
"ai": 1
},
"explain": {
"patterns": {
"statistics": {
"aiCount": [
15.9636,
39.5495,
84.7079,
119.8710,
9.9233,
185.6670,
14.4536,
19.1995
],
"humanCount": [
0.8076,
1.5076,
3.8228,
8.5071,
0.3769,
4.2536,
0.3231,
1.1845
]
},
"text": {
"chars": {
"starts": [31, 55, 303, 909, 961, 987, 1129, 1775],
"lengths": [23, 32, 23, 33, 25, 30, 30, 19]
},
"words": {
"starts": [5, 9, 45, 135, 144, 148, 169, 257],
"lengths": [4, 6, 3, 6, 4, 5, 5, 3]
}
}
}
}
}