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

# Linguin AI

Linguin AI detects languages and scores English text for profanity through its direct v2 API.

- **Category:** artificial intelligence
- **Auth:** API_KEY
- **Composio-managed OAuth available?** N/A
- **Tools:** 6
- **Triggers:** 0
- **Slug:** `LINGUIN_AI`
- **Version:** 00000000_00

## Tools

### Check Profanity

**Slug:** `LINGUIN_AI_CHECK_PROFANITY`

Score the likelihood of profanity in one English text. Linguin AI documents profanity detection as English-only, and each call consumes one daily detection.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `text` | string | Yes | Non-empty English text to score for profanity likelihood. Linguin AI documents this detector as English-only. |

#### 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 |

### Check Profanity in Batch

**Slug:** `LINGUIN_AI_CHECK_PROFANITY_BATCH`

Score profanity likelihood for multiple English texts in one request and return scores in input order. Profanity detection is English-only. Each text consumes one daily detection, and the request fails atomically if the account has insufficient quota.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `texts` | array | Yes | Non-empty English texts to score for profanity, in the order their scores should be returned. Profanity detection is English-only. |

#### 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 Language

**Slug:** `LINGUIN_AI_DETECT_LANGUAGE`

Identify probable languages for one text and return candidates with confidence scores. Consumes one daily detection.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `text` | string | Yes | Non-empty text whose probable language should be identified. |

#### 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 Languages in Batch

**Slug:** `LINGUIN_AI_DETECT_LANGUAGES_BATCH`

Identify probable languages for multiple texts in one request and return results in input order. Consumes one daily detection per text and fails atomically if quota is insufficient.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `texts` | array | Yes | Non-empty texts to identify, in the order their result arrays should be returned. |

#### 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 Account Status

**Slug:** `LINGUIN_AI_GET_ACCOUNT_STATUS`

Return today's detection usage, daily limit, and remaining detection quota for the connected account.

#### 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 |

### List Supported Languages

**Slug:** `LINGUIN_AI_LIST_SUPPORTED_LANGUAGES`

Return the complete map of language codes supported by language detection, including English and native names or aliases.

#### 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 |
