---
canonical_url: "https://docs.composio.dev/toolkits/copyleaks"
markdown_url: "https://docs.composio.dev/toolkits/copyleaks.md"
product: "platform"
version: null
last_updated: null
---

# Copyleaks

Copyleaks provides plagiarism, AI content, image, video, moderation, and writing analysis APIs.

- **Category:** ai content generation
- **Auth:** API_KEY
- **Composio-managed OAuth available?** N/A
- **Tools:** 6
- **Triggers:** 0
- **Slug:** `COPYLEAKS`
- **Version:** 00000000_00

## Tools

### Check Writing

**Slug:** `COPYLEAKS_CHECK_WRITING`

Return grammar, mechanics, structure, word-choice, and readability feedback synchronously. By default this returns fixed sandbox mock output, not feedback on the submitted text; set sandbox=false for real feedback, which may consume credits.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `text` | string | Yes | Text to review, from 1 through 25,000 characters. |
| `sandbox` | boolean | No | Return fixed Copyleaks mock output for integration testing; it does not analyze the submitted text or consume credits. Set false only when real feedback is required; that may consume credits and can fail when Writing Assistant is not enabled. |
| `scan_id` | string | Yes | Caller-generated unique ID for this check (3-36 non-whitespace characters); use a new value to avoid a 409 duplicate. |
| `language` | string | No | Optional language code for writing feedback. Omit it to use Copyleaks' automatic language detection. |
| `score_weights` | object | No | Optional category weights used to calculate the writing score; every supplied weight must be between 0 and 1. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Detect AI Text

**Slug:** `COPYLEAKS_DETECT_AI_TEXT`

Classify text as human- or AI-written synchronously. By default this returns fixed sandbox mock output, not analysis of the submitted text; set sandbox=false for real analysis, which may consume AI detection credits.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `text` | string | Yes | Text to classify, from 255 through 100,000 characters. |
| `explain` | boolean | No | Whether to include AI Logic explanations for detected matches. |
| `sandbox` | boolean | No | Return fixed Copyleaks mock output for integration testing; it does not analyze the submitted text or consume credits. Set false only when real analysis is required; that may consume AI detection credits and can fail if the product is not enabled. |
| `scan_id` | string | Yes | Caller-generated unique ID for this check (3-36 non-whitespace characters). Use a new value to avoid a duplicate-ID conflict. |
| `language` | string ("en" | "es" | "fr" | "pt" | "de" | "it" | "ru" | "pl" | "ro" | "nl" | "sv" | "cs" | "no" | "ko" | "ja" | "zh-CN" | "zh-TW" | "ar" | "bn" | "bg" | "hr" | "el" | "he" | "hi" | "hu" | "sr" | "th" | "tr" | "uk" | "vi") | No | Optional Copyleaks-supported language code. Chinese uses zh-CN or zh-TW; omit the field to let Copyleaks detect the language. |
| `sensitivity` | integer | No | Detection sensitivity from 1 through 3; 2 is the provider default. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get AI Text Credit Balance

**Slug:** `COPYLEAKS_GET_AI_TEXT_CREDIT_BALANCE`

Return the connected account's separate AI Text Detector wallet balance.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Credit Balance

**Slug:** `COPYLEAKS_GET_CREDIT_BALANCE`

Return the connected Copyleaks account's general plagiarism and authenticity scan credit balance.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Supported Metadata

**Slug:** `COPYLEAKS_GET_SUPPORTED_METADATA`

Return one public Copyleaks capability catalog: OCR languages, AI text file types, cross-language options, plagiarism file types, or writing correction definitions.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `language_code` | string | No | Language code for writing_correction_types; ignored for other metadata types. English (en) is currently verified. |
| `metadata_type` | string ("ocr_languages" | "ai_text_file_types" | "cross_languages" | "plagiarism_file_types" | "writing_correction_types") | Yes | Capability catalog to return. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Moderate Text

**Slug:** `COPYLEAKS_MODERATE_TEXT`

Detect harmful-content labels in text synchronously. By default this returns fixed sandbox mock output, not moderation of the submitted text; set sandbox=false for real moderation, which may consume credits and requires Text Moderation enablement.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `text` | string | Yes | Text to moderate, from 1 through 25,000 characters. |
| `sandbox` | boolean | No | Return fixed Copyleaks mock output for integration testing; it does not analyze the submitted text or consume credits. Set false only when real moderation is required; that may consume credits and requires Text Moderation enablement. |
| `scan_id` | string | Yes | Caller-generated unique ID for this check (3-36 characters); use a new value to avoid a 409 duplicate. |
| `language` | string | No | Optional language code. Omit it to use Copyleaks' default language handling. |
| `label_ids` | array | No | Optional Copyleaks moderation label IDs to detect; omit to use the provider's default labels. Each ID must contain 1-32 characters. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
