# Check a file

> widar marks AI output for the EU AI Act and California's AI Transparency Act: an invisible watermark and a signed C2PA credential on text, images, audio and video, in one API, by Bynn Intelligence.

Documentation index: https://widar.com/llms.txt

The examples in these docs use invented companies, such as Lumen Labs B.V., and invented values: none is a real check, mark, signature or certificate.

Section: Check and recover. URL: https://widar.com/docs/detect

Check a file, a text or a link for a widar mark and a C2PA credential, with a key or with none. A check answers findings, never a guess: who a mark names and when.

Updated December 4, 2026

Ways to check

| Where | Who | Reads |
| --- | --- | --- |
| [The API](https://widar.com/docs/verifications#check-a-file-or-a-text), the CLI and the MCP server with a key | You and your agents | Your own systems' marks, or every widar mark and any C2PA credential with `scope=all` |
| A system's [verify page](https://widar.com/docs/verify-pages) | Anyone, free, no sign-up | That system's marks and credentials |
| The public detector at [widar.com/detect](https://widar.com/detect) and below | Anyone: 10 lookups a day without an account | Every widar mark, the marks of [shared detection](https://widar.com/docs/detection) members, and any C2PA credential |
| The MCP server's [public tools](https://widar.com/docs/mcp#public-tools): `check_file` for a file or a text, `check_url` for a link | Any agent, no account, counted with the public detector | As the public detector |
| `check_verify_page`, against one system | Any agent: free, never counted | That system's marks and credentials |

## What a check answers

A list of findings, one per kind of mark, never one verdict. A finding says what was found, who it names and when. Nothing in a result says how the check was made.

Findings

| Finding | Found means | Shown with |
| --- | --- | --- |
| `widar_watermark` | A watermark made with a widar watermark key | The system and the company that marked it, and when |
| `c2pa_credential` | A C2PA credential whose signature verifies | The signer, what the credential says, and its timestamp |
| `external_watermark` | A mark of an [external scheme](https://widar.com/docs/detection/schemes) made with a key a member registered | The scheme's public name, and the member and system whose key it matched |
| `pdf_signature` | On a PDF, a signature that verifies | The company it names, when, and whether the document changed since. See [Check a signed PDF](https://widar.com/docs/documents/verify) |

Outcomes

| Outcome | Means |
| --- | --- |
| `found` | Present and valid. |
| `not_found` | Not present. With nothing on any line, the result reads no mark found. |
| `invalid` | Present but failing, such as a credential whose signature does not verify. `details.problem` says what, in plain words. |
| `not_checked` | Could not be checked, such as an unreadable file, with the reason. |

> **No mark found.** No mark found. This does not mean a person made it. Content can be made by AI and carry no mark, and a mark says where content came from, not whether it is true.

## Recovered credentials

When a platform strips a file's credential but the watermark is still there, the result shows the credential widar kept for that output, with `source: recovered`. See [Recover](https://widar.com/docs/recover).

## Signed results

Every check, on every surface, can be downloaded as a signed result: the input's hash, the identifier of the tool that checked it, the findings and the time, signed by widar and timestamped. It holds no input and no personal information. See [the signed result](https://widar.com/docs/verifications#download-the-signed-result).

## Nothing is kept

The file, the text or the link's content is processed in memory and dropped when the answer ends; a verification keeps the input's hash and the findings. The free checks take images, video, audio and PDF files up to 100 MB, or a link; the API takes files up to 500 MB. No file is kept.

## With a key

API:

```bash
curl -X POST https://api.widar.com/v1/verifications \
  -H "Authorization: Bearer $WIDAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://media.example/shared/4521.png"
  }'
```

CLI:

```bash
widar verifications create \
  --url https://media.example/shared/4521.png
```

MCP tool `create_verification`:

```json
{
  "name": "create_verification",
  "arguments": {
    "url": "https://media.example/shared/4521.png"
  }
}
```

## With no key

The routes below need no key and no account, and the MCP server offers each as a tool at `https://widar.com/mcp`.

What counts toward the free lookups

| Check | Tool | Without an account |
| --- | --- | --- |
| A file or a text on the public detector | `check_file` | 10 lookups a day per visitor, shared |
| A link on the public detector: fetched once, never kept | `check_url` | Counted in the same 10 |
| Against one system's verify page | `check_verify_page` | Free, never counted |
| Another detector's call to the interoperable endpoint | `check_for_detector` | Free, never counted |
| The signed result of a check you made | `get_signed_result` | Free, with the one-time token from the check |

The eleventh public detector lookup of the day answers `402 plan_required`, with the link to a free account: with its key, checks of widar's marks through the API and the MCP server are free on every plan, and only checks that read other providers' marks are priced. Every other public route is limited per client address against misuse only, and a `429` says when to retry.

## Check content on a verify page

Checks a file, a link or a text against one system's marks, on that system's public verify page: the free disclosure verification tool its provider offers.

`POST /v1/public/verify_pages/{slug}/verifications`. Who may: Owner, Admin, Compliance, Developer, Viewer and Billing. CLI: `widar verify-pages check <slug> [<file>] [--url <url>] [--text <text>]`. MCP tool: `check_verify_page`.

**Parameters**
- `slug` (string, required): The verify page, such as `lumen-image`. In the path.
- `file` (string): The file to check: a path for the CLI, multipart for the API. Images, video, audio and PDF.
- `url` (string): A link to the file. It is fetched once and not kept.
- `text` (string): A text to check, up to 1 MiB of UTF-8.

**Returns** verification: That system's findings only, the input's SHA-256, and a token for the signed result.

API:

```bash
curl -X POST https://api.widar.com/v1/public/verify_pages/lumen-image/verifications \
  -H "Authorization: Bearer $WIDAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://media.example/shared/4521.png"
  }'
```

CLI:

```bash
widar verify-pages check lumen-image <file> \
  --url https://media.example/shared/4521.png
```

MCP tool `check_verify_page`:

```json
{
  "name": "check_verify_page",
  "arguments": {
    "slug": "lumen-image",
    "url": "https://media.example/shared/4521.png"
  }
}
```

Response, 201 Created:

```json
{
  "id": "vrf_3Ke8tYq6WmNc",
  "object": "verification",
  "mode": "live",
  "source": "verify_page",
  "asked_by": {
    "kind": "api_key",
    "id": "key_2Mx8cRw5TnLs",
    "name": "Moderation worker"
  },
  "input_hash": "092f83c970489a2ec844a5e997ae695be075247f5e0a06664330a88094daa466",
  "content_type": "image",
  "format": "image/png",
  "findings": [
    {
      "kind": "widar_watermark",
      "outcome": "found",
      "who": {
        "system_id": "sys_4kT9qWm2RbXe",
        "system_name": "Lumen Image 3.1",
        "customer": "Lumen Labs B.V."
      },
      "when": "2026-12-03T09:41:52Z",
      "details": {
        "mark_record_id": "mrk_2Xq9vBn4LsKe"
      }
    },
    {
      "kind": "c2pa_credential",
      "outcome": "found",
      "who": {
        "signer": "Lumen Labs B.V."
      },
      "when": "2026-12-03T09:41:52Z",
      "details": {
        "assertions": [
          "Created by generative AI",
          "Lumen Image 3.1"
        ],
        "timestamp": {
          "time": "2026-12-03T09:41:52.204Z",
          "tsa": "widar Timestamp Authority 1"
        },
        "history": [
          {
            "action": "Created",
            "by": "Lumen Image 3.1",
            "at": "2026-12-03T09:41:52Z"
          }
        ]
      }
    }
  ],
  "created_at": "2026-12-03T09:42:04Z",
  "notes": null,
  "tags": []
}
```

## Check content for marks

Checks a file or a text for a widar watermark and C2PA Content Credentials, with no key and no account: the free detector at widar.com/detect.

`POST /v1/public/verifications`. Who may: Owner, Admin, Compliance, Developer, Viewer and Billing. CLI: `widar public check [<file>] [--text <text>]`. MCP tool: `check_file`.

**Parameters**
- `file` (string): The file to check: a path for the CLI, multipart for the API. Images, video, audio and PDF.
- `text` (string): A text to check, up to 1 MiB of UTF-8.

**Returns** verification: The findings, the input's SHA-256, the tool that checked it, and a token for the signed result.

API:

```bash
curl -X POST https://api.widar.com/v1/public/verifications \
  -H "Authorization: Bearer $WIDAR_API_KEY"
```

CLI:

```bash
widar public check <file>
```

MCP tool `check_file`:

```json
{
  "name": "check_file",
  "arguments": {}
}
```

Response, 201 Created:

```json
{
  "id": "vrf_7Pq2nXs5KbWd",
  "object": "verification",
  "mode": "live",
  "source": "public",
  "asked_by": {
    "kind": "api_key",
    "id": "key_2Mx8cRw5TnLs",
    "name": "Moderation worker"
  },
  "input_hash": "32e33ee352d9a16516bb8b505308a414ab690424fc9629aab1c5b5e42f227576",
  "content_type": "image",
  "format": "image/jpeg",
  "findings": [
    {
      "kind": "widar_watermark",
      "outcome": "not_found",
      "who": null,
      "when": null,
      "details": {}
    },
    {
      "kind": "c2pa_credential",
      "outcome": "not_found",
      "who": null,
      "when": null,
      "details": {}
    }
  ],
  "created_at": "2026-12-03T09:42:04Z",
  "notes": null,
  "tags": []
}
```

## Report a wrong result

Tells a system's provider that a verify page's result looks wrong. Kept with the check for the provider, with no personal information.

`POST /v1/public/verifications/{id}/feedback`. Who may: Owner, Admin, Compliance, Developer, Viewer and Billing. CLI: `widar public report <vrf_...> --reason <expected_mark|unexpected_mark|other> [--message <text>]`. MCP tool: `report_wrong_result`.

**Parameters**
- `id` (id (vrf_), required): The id's id. In the path.
- `reason` (enum, required): expected_mark: made with the system, nothing found; unexpected_mark: not made with it, a mark found; other. One of `expected_mark`, `unexpected_mark`, `other`.
- `message` (string): What looks wrong, at most 2,000 characters.

**Returns** verification feedback: The report's id and when it was received.

API:

```bash
curl -X POST https://api.widar.com/v1/public/verifications/vrf_3Ke8tYq6WmNc/feedback \
  -H "Authorization: Bearer $WIDAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "reason": "superseded",
    "message": "This is a photo I took myself in Utrecht last spring."
  }'
```

CLI:

```bash
widar public report vrf_3Ke8tYq6WmNc \
  --reason superseded \
  --message 'This is a photo I took myself in Utrecht last spring.'
```

MCP tool `report_wrong_result`:

```json
{
  "name": "report_wrong_result",
  "arguments": {
    "id": "vrf_3Ke8tYq6WmNc",
    "reason": "superseded",
    "message": "This is a photo I took myself in Utrecht last spring."
  }
}
```

## Download a signed result

The signed result of a public check: the content's SHA-256, the tool, the findings and the time, signed by widar and timestamped.

`GET /v1/public/verifications/{id}/result`. Who may: Owner, Admin, Compliance, Developer and Viewer. CLI: `widar public result <vrf_...> --token <token> [--output <path>]`. MCP tool: `get_signed_result`.

**Parameters**
- `id` (id (vrf_), required): The id's id. In the path.
- `token` (string, required): The one-time token from the check's answer.

**Returns** signed result: The check's findings with the content's hash, the tool's address and version and the time, signed and timestamped.

API:

```bash
curl -X GET "https://api.widar.com/v1/public/verifications/vrf_3Ke8tYq6WmNc/result?token=rt_Qm4x9KcL2vWd" \
  -H "Authorization: Bearer $WIDAR_API_KEY"
```

CLI:

```bash
widar public result vrf_3Ke8tYq6WmNc --token rt_Qm4x9KcL2vWd
```

MCP tool `get_signed_result`:

```json
{
  "name": "get_signed_result",
  "arguments": {
    "id": "vrf_3Ke8tYq6WmNc",
    "token": "rt_Qm4x9KcL2vWd"
  }
}
```

## Check a link for marks

Checks the file at a link for a widar watermark and C2PA Content Credentials, with no key and no account: the free detector at widar.com/detect, given an address instead of a file.

`POST /v1/public/verifications/by_url`. Who may: Owner, Admin, Compliance, Developer, Viewer and Billing. CLI: `widar public check-url <url>`. MCP tool: `check_url`.

**Parameters**
- `url` (string, required): A link to the file. It is fetched once, checked and not kept.

**Returns** verification: The findings, the file's SHA-256, the tool that checked it, and a token for the signed result.

API:

```bash
curl -X POST https://api.widar.com/v1/public/verifications/by_url \
  -H "Authorization: Bearer $WIDAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "<url>"
  }'
```

CLI:

```bash
widar public check-url <url>
```

MCP tool `check_url`:

```json
{
  "name": "check_url",
  "arguments": {
    "url": "<url>"
  }
}
```

## Read a verify page

What one system's public verify page checks: the system and its version, the provider's validated name, the content types and the languages.

`GET /v1/public/verify_pages/{slug}`. Who may: Owner, Admin, Compliance, Developer and Viewer. CLI: `widar verify-pages show <slug>`. MCP tool: `get_public_verify_page`.

**Parameters**
- `slug` (string, required): The slug. In the path.

**Returns** public verify page: The system, the provider, what the page checks and the endpoint to call it without a browser.

API:

```bash
curl -X GET https://api.widar.com/v1/public/verify_pages/{slug} \
  -H "Authorization: Bearer $WIDAR_API_KEY"
```

CLI:

```bash
widar verify-pages show <slug>
```

MCP tool `get_public_verify_page`:

```json
{
  "name": "get_public_verify_page",
  "arguments": {
    "slug": "<slug>"
  }
}
```
