AI Detection
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.
Indicates the text classification.
Available Options:
1
- Human
2
- AI Generated Text
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.
Character match start positions.
Character match lengths.
words object
Positions of the words in that sepcific result.
Words match start positions.
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.
Character match start positions.
Character match lengths.
Group identifiers associated with each word.
words object
Positions of the words in that sepcific result.
Words match start positions.
Words match lengths.
Group identifiers associated with each word.
summary object
Aggregated detection results.
Indicates the confidence in which this text was written by a human.
Indicates the confidence in which this text was written by AI.
explain object beta
Example: {}
patterns object
statistics object
The number of occurrences of AI-generated text patterns per 1 million texts.
The number of occurrences of human-written text patterns per 1 million texts.
text object
chars object
Start positions of character matches.
Lengths of the character matches.
words object
Start positions of word matches.
Lengths of the word matches.
Example
Section titled “Example”{ "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] } } } }}