# Assess whether text may be AI generated

Return an AI-writing score and available segment observations. Needs input. Served by Eden AI.

Return an AI-writing score and available segment observations. The score is probabilistic evidence and does not establish authorship. Served by text/ai_detection/sapling. Text is limited to 10,000 characters. Billed from the returned USD cost, including cached zeroes. Missing or invalid cost requires reconciliation.

- Tool ID: `edenai/text-ai-detection`
- Provider: [Eden AI](/providers/edenai.md)
- Capability: [Knowledge & research](/tools/knowledge.md)
- Price: usage based, the maximum is shown before a run
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

Billed at the cost the provider reports for the call, never above $0.1. Your agent sees the maximum before running.


```json
{
  "model": "reported",
  "costPath": "cost",
  "requireCost": true,
  "maxUsdDefault": 0.1,
  "maxUsdCap": 0.1,
  "headroom": 1
}
```

Pricing source: [https://api.edenai.run/v3/info?include=schemas&format=json_schema](https://api.edenai.run/v3/info?include=schemas&format=json_schema). text/ai_detection/sapling USD 5 per 1000000 character; returned cost is billed without a customer markup. One pinned model; no automatic fallback or provider-parameter overrides..

Price verification date: 2026-11-03.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "input": {
      "description": "Input for text/ai_detection.",
      "properties": {
        "text": {
          "description": "Text to analyze for AI detection, at least 300 characters long. Shorter texts carry too little signal to be scored reliably.",
          "minLength": 300,
          "title": "Text",
          "type": "string",
          "maxLength": 10000
        }
      },
      "required": [
        "text"
      ],
      "title": "TextAiDetectionInput",
      "type": "object",
      "additionalProperties": false
    }
  },
  "required": [
    "input"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "edenai/text-ai-detection",
  "input": {
    "input": {
      "text": "This is a synthetic local test paragraph about how a team documents its research process. This is a synthetic local test paragraph about how a team documents its research process. This is a synthetic local test paragraph about how a team documents its research process. This is a synthetic local test paragraph about how a team documents its research process. This is a synthetic local test paragraph about how a team documents its research process. "
    }
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[Provider documentation](https://www.edenai.co/docs/v3/expert-models/features/text/ai-detection)

[REST inspection](https://api.agentik.cc/v1/tools/edenai/text-ai-detection) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/edenai/text-ai-detection) · [Agent index](/llms.txt)
