> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tavus.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Content Verification

> Check whether an image or video was generated by Tavus by reading the invisible watermark Tavus embeds in conversation video.

Every frame of video a Tavus face renders in a conversation carries an invisible watermark. The Content Verification API looks for that watermark in a file you upload, so you can check whether an image or video was generated by Tavus.

Use it to:

* Confirm that a clip someone shared is (or isn't) a recording of a Tavus conversation.
* Back up a trust and safety review with evidence from the file itself.
* Show that the video your PALs generate is marked as AI-generated in a machine-readable way, as the [EU AI Act](https://docs.tavus.io/sections/onboarding-guide/eu-ai-act.md) expects.

> [!NOTE]
>
> The API looks only for the Tavus watermark. It is not a general detector of AI-generated content: video made by other tools, and video Tavus did not render, comes back as not detected. See [Read the result](#read-the-result).

## How it works

Verification runs in the background. You upload the file straight to storage, tell Tavus it's there, and poll for the result.

**1. Create a verification**

Send the file's MIME type and size. You get back a `verification_id` and a presigned upload URL.

**2. Upload the file**

`PUT` the file to the presigned URL with the same `Content-Type` and size you declared.

**3. Start the check**

Tell Tavus the upload is done. The verification moves to `processing`.

**4. Poll for the result**

`GET` the verification until its `status` is `completed` or `failed`.

Each step is also in the API Reference: [Create Verification](https://docs.tavus.io/api-reference/content-verification/create-verification.md), [Start Verification](https://docs.tavus.io/api-reference/content-verification/start-verification.md) and [Get Verification](https://docs.tavus.io/api-reference/content-verification/get-verification.md).

The API needs no authentication, and doesn't read API keys. Requests are rate limited per IP address: 10 new verifications an hour, and 300 status or `/uploaded` calls a minute. Anyone who has a `verification_id` can read that verification.

## Verify a file

### 1. Create a verification

```bash theme={null}
curl --request POST \
  --url https://tavusapi.com/v2/content/verification \
  --header 'Content-Type: application/json' \
  --data '{
    "content_type": "video/mp4",
    "content_length": 53114048
  }'
```

| Field | Type | Description |
| - | - | - |
| `content_type` | string | **Required.** The file's MIME type. Must start with `video/`, `image/` or `audio/`. |
| `content_length` | integer | **Required.** The file's size in bytes, from 1 to 104,857,600 (100 MB). |

Response (`201 Created`):

```json theme={null}
{
  "verification_id": "5b0f2c3e-7a1d-4c2e-9f3b-2d8e6a1c4b70",
  "s3_presigned_url": "https://...amazonaws.com/content-verification/5b0f2c3e-...?X-Amz-Signature=..."
}
```

The upload URL is valid for 15 minutes.

### 2. Upload the file

```bash theme={null}
curl --request PUT \
  --url '<s3_presigned_url>' \
  --header 'Content-Type: video/mp4' \
  --upload-file ./recording.mp4
```

The URL is signed for the exact `Content-Type` and size you declared. Storage rejects the upload (`403`) if either one differs, so send the same file you described in step 1.

### 3. Start the check

```bash theme={null}
curl --request POST \
  --url https://tavusapi.com/v2/content/verification/<verification_id>/uploaded
```

Response (`202 Accepted`):

```json theme={null}
{
  "verification_id": "5b0f2c3e-7a1d-4c2e-9f3b-2d8e6a1c4b70",
  "status": "processing",
  "created_at": "2026-11-20T10:15:02.183416+00:00"
}
```

If the file isn't in storage yet, this returns `409` and you can call it again once the upload finishes. Calling it again after the check has started is safe: it starts only one check and returns the current state.

### 4. Poll for the result

```bash theme={null}
curl --request GET \
  --url https://tavusapi.com/v2/content/verification/<verification_id>
```

Poll every few seconds until `status` is `completed` or `failed`. Most checks finish within seconds. When no checks have run for a while, the first one can take about two minutes to start.

A completed check that found the watermark:

```json theme={null}
{
  "verification_id": "5b0f2c3e-7a1d-4c2e-9f3b-2d8e6a1c4b70",
  "status": "completed",
  "created_at": "2026-11-20T10:15:02.183416+00:00",
  "result": {
    "watermark_detected": true
  }
}
```

A completed check that found no watermark:

```json theme={null}
{
  "verification_id": "5b0f2c3e-7a1d-4c2e-9f3b-2d8e6a1c4b70",
  "status": "completed",
  "created_at": "2026-11-20T10:15:02.183416+00:00",
  "result": {
    "watermark_detected": false
  }
}
```

## Read the result

### Status

| `status` | Meaning |
| - | - |
| `awaiting_upload` | Created. Waiting for the upload and the `/uploaded` call. |
| `processing` | The file is being checked. |
| `completed` | The check ran. Read `result`. |
| `failed` | The check could not run. Read `error`. |

### `watermark_detected`

`result` has one field, `watermark_detected`:

* **`true`** means the file carries a valid Tavus watermark, so it contains video Tavus rendered. The watermark is checked with a checksum, so a false match is very unlikely.
* **`false`** means no Tavus watermark was found. It does **not** prove the video wasn't made with Tavus. The watermark can be weakened or lost when a video is heavily re-encoded, scaled down, cropped, filmed off a screen, or edited. Video recorded before watermarking was enabled carries no watermark either. Treat a negative result as an absence of evidence, not as proof.

> [!WARNING]
>
> Pair automated decisions with human review, especially for a negative result. Don't use repeated checks to probe how to remove or evade the watermark.

## Supported files

| | |
| - | - |
| Video | Any `video/*` file ffmpeg can decode, such as MP4, MOV and WebM. The first 2 minutes are checked. |
| Image | Any `image/*` file, such as PNG, JPEG and WebP. A single frame grabbed from a conversation, such as a screenshot of the video, works. |
| Audio | Accepted, but the watermark is carried only in video frames, so an audio-only file comes back `failed` with "The file has no video or image to check". |
| Size | Up to 100 MB. |

## Errors

Errors return JSON with an `error` message.

| Code | When |
| - | - |
| `400` | `content_type` isn't an audio, image or video type, or `content_length` is missing or over 100 MB. |
| `404` | No verification with that ID, or it expired. |
| `409` | `/uploaded` was called before the file reached storage. Finish the upload and call it again. |
| `429` | Too many requests from your IP address. Wait for the number of seconds in the `Retry-After` header. |

A check that can't run ends with `status: "failed"` and one of these `error` messages:

| `error` | Meaning |
| - | - |
| `The file has no video or image to check` | The file is audio only, or isn't a readable image or video. |
| `The file is too large` | The file is over the size limit. |
| `The upload could not be read` | The uploaded file was missing or unreadable when the check started. |
| `Verification could not be completed` | Something else went wrong. Create a new verification to try again. |

## Limits

| Limit | Value |
| - | - |
| File size | 100 MB |
| Upload URL lifetime | 15 minutes |
| New verifications | 10 an hour per IP address |
| Status and `/uploaded` calls | 300 a minute per IP address |
| How long a verification can be read | 7 days |

## Data handling

* The uploaded file is used only for this check. It's deleted from storage as soon as the result is recorded.
* The verification record (its status and result) is kept for 7 days, then deleted. After that, `GET` returns `404`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.