# Content services | Chersus

## Content 1

```
curl -X POST https://api.chersus.com/v1/run \
  -H "Authorization: Bearer chrs_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "input": {
      "type": "text",
      "value": "In the realm of modern computational paradigms, this text exhibits patterns typical of machine generation."
    },
    "pipeline": [
      { "id": "detect", "service": "content.ai.detect" }
    ]
  }'
```

```
const res = await fetch("https://api.chersus.com/v1/run", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.CHERSUS_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    input: {
      type: "text",
      value:
        "In the realm of modern computational paradigms, this text exhibits patterns typical of machine generation.",
    },
    pipeline: [{ id: "detect", service: "content.ai.detect" }],
  }),
});

const data = await res.json();
```

```
import os

import requests

res = requests.post(
    "https://api.chersus.com/v1/run",
    headers={"Authorization": f"Bearer {os.environ['CHERSUS_KEY']}"},
    json={
        "input": {
            "type": "text",
            "value": "In the realm of modern computational paradigms, this text exhibits patterns typical of machine generation.",
        },
        "pipeline": [{"id": "detect", "service": "content.ai.detect"}],
    },
)

data = res.json()
```
200 · 34ms · 106 chars
```
{
  "trace_id": "chs_01J9X4Q7K2M8N3P5R6T7V8W9XA",
  "status": "completed",
  "output": {
    "type": "text",
    "value": "In the realm of modern computational paradigms, this text exhibits patterns typical of machine generation."
  },
  "results": {
    "detect": {
      "kind": "classify",
      "status": "ok",
      "verdict": "flag",
      "score": 0.81,
      "labels": []
    }
  },
  "usage": {
    "billed": [
      { "unit": "characters", "quantity": 106, "steps": ["detect"] }
    ]
  },
  "audit": { "region": "eu-nl-1", "retention": "none", "total_ms": 34 }
}
```

`content.ai.detect` answers one question about a text block: was this machine-written? A `flag` verdict means the service judges the text AI-generated, with `score` as the confidence from statistical classification.

When the text carries a provenance watermark from a supported generator, `labels` carries the definitive watermark verdict: `watermarked`, `not_watermarked`, or `uncertain`. Where no signal exists, `labels` is empty and the score is purely statistical. Treat the watermark verdict as evidence, and the score as a triage signal for review queues.
KINDclassifyMODELsub-1B RoBERTa-class classifier plus an open-source watermark detectorLICENSEApache 2.0 / open sourceLANGUAGESNot statedREGION26 EU cities
## Start redacting in minutes.

Create an account, copy your key, make your first run before your coffee cools.
[Request access](/en/signup/)[Read the chaining guide](/en/docs/chaining/)