POST
Use Copyleaks AI Text Detection to differentiate between human-written and AI-written text. This endpoint will receive submitted text to be checked. At the end of the processing stage, the result will be shown as classifications. Text classification is divided into sections. Each section may have a different classification.

Request

Path Parameters

string
required
A unique scan id provided by you. We recommend you use the same id in your database to represent the scan in the Copyleaks database. Learn more about the criteria for creating a Scan ID.>= 3 characters <= 36 characters

Headers

Request Body

string
required
A text string. >= 255 characters <= 100000 characters
boolean
default:"false"
Use sandbox mode to test your integration with the Copyleaks API for free.
string
The language code of your content in ISO-639-1 format. See the full list of supported languages. If the language field is not supplied, our system will automatically detect the language of the content. Example: "en"
boolean
default:"false"
Enable AI Logic feature for AI detection. For further information, please check the AI Logic for a detailed breakdown of its structure and usage, and for full AI Detection response please check the AI Text Detection Response. AI Logic explanations are returned for six languages only; for any other language the response contains the detection result without explanations.
integer
default:"2"
Sets how strong the AI signal in a passage must be before the passage is flagged as AI-generated. The same levels apply to aiGeneratedText.sensitivity when you submit a scan.
  • 1 - Most conservative. Generally only passages with the strongest AI signal are flagged. Fewer human-written passages are flagged by mistake, and more AI-generated text can go unflagged.
  • 2 - Balanced. The default.
  • 3 - Most sensitive. Passages with a weaker AI signal are flagged too. More AI-generated text is caught, and more human-written text can be flagged by mistake.
With the current model version, the level changes results for English text. For other languages, all three levels return the same result.>= 1 <= 3

Responses

Next Steps

Detect AI-Generated Text

Learn how to use the AI Detection API to check if content was written by a human or generated by an AI.

AI Logic

Understand how AI Logic can help you interpret the results of AI text detection.

AI Text Detection in Authenticity Scans

Learn about the AI Text Detection result that Authenticity scans deliver.