The Copyleaks AI Text Detection API returns a comprehensive response that includes classification results, per-section probability values, and detailed explanations of the AI detection analysis. This response structure provides both high-level insights and granular details about detected AI-generated content patterns.
Response Properties
The version of the AI detection model used (e.g., “v11.0”).
An array of all the classifications. The sections contain their position, classification and the probability for that classification. Show result item properties
Indicates the text classification. Available Options:
1 - Human
2 - AI Generated Text
The classification confidence. Deprecated - we plan to remove this value by July 2026.
Provides information about the match objects that have been found in the text. Describes the text positions for the result (textual version). Positions of the characters in that specific result. Character match start positions.
Positions of the words in that specific result. Words match start positions.
Describes the text positions for the result (html version). Default: null. Character match start positions.
Group identifiers associated with each word.
Words match start positions.
Group identifiers associated with each word.
Aggregated detection results. The share of the text’s words classified as human-written, from 0 to 1.
The AI score: the share of the text’s words classified as AI-generated, from 0 to 1.
Metadata about the scan. Show scannedDocument properties
The unique scan id provided by you.
Total number of words found in the scanned text.
Number of excluded words in the submitted content.
The number of credits consumed by the scan.
The number of credits the scan was expected to cost.
The creation time of the scan. Timezone: UTC+0.
Example Response
Classification Codes
Next Steps
AI Text Detection Guide Learn how to use the AI Text Detection API to identify AI-generated text.
AI Text Detection API Reference Explore the complete API reference for AI Text Detection.
AI Logic Feature Understand how AI Logic provides transparency in AI detection results.