AI Text Detector
AI Text Detector
Differentiate between human-written and AI-written text.
POST
Request
Path Parameters
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 charactersHeaders
Request Body
A text string.
>= 255 characters <= 100000 charactersUse sandbox mode to test your integration with the Copyleaks API for free.
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"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 Detection Response.
Control the behavior of the AI detection.
- Detecting content copied directly from an LLM, like ChatGPT or Gemini, without edits.
- Detecting content from an LLM with minor changes, like tense adjustments or added words.
- Detecting content from an LLM that has been heavily modified using tools or manual edits.
>= 1 <= 3Responses
- 200
- 400
- 401
- 429
200 OK - The command was executed.
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 Detection Webhook
Learn about the webhook that delivers AI detection results.

