# Installs

> 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: Mark and sign. URL: https://widar.com/docs/installs

An install is one running text plugin, sidecar or self-hosted install. A plugin key lets it fetch its system's keys and report usage, nothing else; an enrolment token enrols a new one once.

Updated December 3, 2026

A text plugin starts with its system's plugin key; a sidecar or a self-hosted install enrols once with an enrolment token and receives its plugin key. Every install reports usage each minute, never content, and is marked not reporting after 24 hours of silence.

Who calls what

| Call | Made by |
| --- | --- |
| Plugin keys, enrolment tokens, listing installs | You, in the console, the API, the CLI or the MCP server. |
| Register, report, fetch keys, send records | The install itself, with its plugin key. Listed here so you can see what it sends. |

**An install**

```json
{
  "id": "ins_6Tm3pVz8KwQd",
  "object": "install",
  "system_id": "sys_8Hn3vLp6YdQa",
  "kind": "vllm",
  "host_label": "lumen-chat-pod-1.ams1",
  "runtime": "vLLM 0.10.2",
  "version": "0.1.0",
  "latest_version": "0.1.0",
  "state": "reporting",
  "first_seen_at": "2026-11-19T10:31:00Z",
  "last_seen_at": "2026-12-03T09:41:00Z",
  "usage_24h": {
    "outputs_marked": 48213,
    "tokens_marked": 13547853,
    "skipped": 2216
  },
  "plugin_key_id": "key_5Lr8wNc2QxTj"
}
```

## List installs

The running text plugins and sidecars of the workspace, or of one system, with their versions and when each last reported.

`GET /v1/installs`. Who may: Owner, Admin, Compliance, Developer and Viewer. CLI: `widar installs list [--system-id <sys_...>]`. MCP tool: `list_installs`.

**Parameters**
- `system_id` (id (sys_)): Only this system's installs.

**Returns** list of installs: The installs, each with its kind, host label, version, state (reporting, not reporting), when it was last seen and its usage in the last 24 hours.

API:

```bash
curl -X GET "https://api.widar.com/v1/installs?system_id=sys_8Hn3vLp6YdQa" \
  -H "Authorization: Bearer $WIDAR_API_KEY"
```

CLI:

```bash
widar installs list --system-id sys_8Hn3vLp6YdQa
```

MCP tool `list_installs`:

```json
{
  "name": "list_installs",
  "arguments": {
    "system_id": "sys_8Hn3vLp6YdQa"
  }
}
```

Response, 200 OK:

```json
{
  "items": [
    {
      "id": "ins_6Tm3pVz8KwQd",
      "object": "install",
      "system_id": "sys_8Hn3vLp6YdQa",
      "kind": "vllm",
      "host_label": "lumen-chat-pod-1.ams1",
      "runtime": "vLLM 0.10.2",
      "version": "0.1.0",
      "latest_version": "0.1.0",
      "state": "reporting",
      "first_seen_at": "2026-11-19T10:31:00Z",
      "last_seen_at": "2026-12-03T09:41:00Z",
      "usage_24h": {
        "outputs_marked": 48213,
        "tokens_marked": 13547853,
        "skipped": 2216
      },
      "plugin_key_id": "key_5Lr8wNc2QxTj"
    }
  ],
  "next_cursor": null
}
```

## Register an install

`POST /v1/installs`

What a plugin or a sidecar calls when it starts: it names itself and receives the policy version, the classifier rules and the system's active watermark keys, wrapped for that install and held in its memory only. You never call it yourself.

Register an install

- Who may: An install, with its plugin key
- CLI: `widar installs register --kind <vllm|sglang|hf_transformers|sidecar|self_hosted> --host-label <label> --version <version>`
- MCP tool: `register_install`
- Returns: The install, the policy version and its rules.

**Parameters**
- `kind` (enum, required): `vllm`, `sglang`, `hf_transformers`, `sidecar` or `self_hosted`.
- `host_label` (string, required): The host's own name, as you want to see it in the console.
- `version` (string, required): The plugin's or sidecar's version.
- `runtime` (string): The inference software and its version, for a plugin.

**Register an install**

API:

```bash
curl -X POST https://api.widar.com/v1/installs \
  -H "Authorization: Bearer $WIDAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "kind": "vllm",
    "host_label": "lumen-chat-pod-1.ams1",
    "version": "0.1.0",
    "runtime": "vLLM 0.10.2"
  }'
```

CLI:

```bash
widar installs register \
  --kind vllm \
  --host-label lumen-chat-pod-1.ams1 \
  --version 0.1.0 \
  --runtime 'vLLM 0.10.2'
```

MCP tool:

```json
{
  "name": "register_install",
  "arguments": {
    "kind": "vllm",
    "host_label": "lumen-chat-pod-1.ams1",
    "version": "0.1.0",
    "runtime": "vLLM 0.10.2"
  }
}
```

**Response, 201 Created**

```json
{
  "id": "ins_6Tm3pVz8KwQd",
  "object": "install",
  "system_id": "sys_8Hn3vLp6YdQa",
  "kind": "vllm",
  "host_label": "lumen-chat-pod-1.ams1",
  "runtime": "vLLM 0.10.2",
  "version": "0.1.0",
  "latest_version": "0.1.0",
  "state": "reporting",
  "first_seen_at": "2026-11-19T10:31:00Z",
  "last_seen_at": "2026-12-03T09:41:00Z",
  "usage_24h": {
    "outputs_marked": 48213,
    "tokens_marked": 13547853,
    "skipped": 2216
  },
  "plugin_key_id": "key_5Lr8wNc2QxTj"
}
```

## Report usage

`POST /v1/installs/{install_id}/reports`

An install's report, every minute: outputs and tokens marked, outputs skipped by reason, and its health. Never a prompt or an output. The answer says when the keys or the policy changed. An install silent for 24 hours sends `install.not_reporting`.

Report usage

- Who may: An install, with its plugin key
- CLI: `widar installs report <install_id> --data <json>`
- MCP tool: `report_install_usage`
- Returns: Whether the keys or the policy changed since the last report.

**Parameters**
- `install_id` (id (ins_), required): The install.
- `outputs_marked` (integer, required): Outputs marked since the last report.
- `tokens_marked` (integer): Text tokens marked since the last report.
- `skipped` (object): Outputs left unmarked since the last report, by reason: `source_code`, `machine_only`, `declared`, `fail_open`.

**Report usage**

API:

```bash
curl -X POST https://api.widar.com/v1/installs/ins_6Tm3pVz8KwQd/reports \
  -H "Authorization: Bearer $WIDAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "outputs_marked": 412,
    "tokens_marked": 117940,
    "skipped": {
      "source_code": 19
    }
  }'
```

CLI:

```bash
widar installs report ins_6Tm3pVz8KwQd \
  --outputs-marked 412 \
  --tokens-marked 117940 \
  --skipped '{"source_code":19}'
```

MCP tool:

```json
{
  "name": "report_install_usage",
  "arguments": {
    "install_id": "ins_6Tm3pVz8KwQd",
    "outputs_marked": 412,
    "tokens_marked": 117940,
    "skipped": {
      "source_code": 19
    }
  }
}
```

**Response, 200 OK**

```json
{
  "keys_changed": false,
  "policy_version": 1,
  "next_report_in_seconds": 60
}
```

## Fetch the current keys

`GET /v1/installs/{install_id}/keys`

What an install calls when a report says its keys changed: the system's active watermark keys, wrapped for that install. A refused fetch (a revoked key, a plan ended) answers the plain error, and the install fails closed or open as the policy says.

Fetch the current keys

- Who may: An install, with its plugin key
- CLI: `widar installs keys <install_id>`
- MCP tool: `fetch_install_keys`
- Returns: The wrapped keys, with their ids and content types.

**Parameters**
- `install_id` (id (ins_), required): The install.

**Fetch the current keys**

API:

```bash
curl -X GET https://api.widar.com/v1/installs/ins_6Tm3pVz8KwQd/keys \
  -H "Authorization: Bearer $WIDAR_API_KEY"
```

CLI:

```bash
widar installs keys ins_6Tm3pVz8KwQd
```

MCP tool:

```json
{
  "name": "fetch_install_keys",
  "arguments": {
    "install_id": "ins_6Tm3pVz8KwQd"
  }
}
```

## Send per-output records

`POST /v1/installs/{install_id}/records`

Where a policy keeps a record per text output, the install sends them in batches: each output's hash and length, never its text.

Send per-output records

- Who may: An install, with its plugin key
- CLI: `widar installs records <install_id> --data <json>`
- MCP tool: `send_install_records`
- Returns: How many records were kept.

**Parameters**
- `install_id` (id (ins_), required): The install.
- `records` (array of object, required): Each `{content_hash, length, created_at}`.

**Send per-output records**

API:

```bash
curl -X POST https://api.widar.com/v1/installs/ins_6Tm3pVz8KwQd/records \
  -H "Authorization: Bearer $WIDAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "records": [
      {
        "content_hash": "29e1afaa2924adba4146dbeeae485c9cb10b71c13d2d2c99b15577300c9fe9b4",
        "length": 412,
        "created_at": "2026-12-03T09:41:30Z"
      }
    ]
  }'
```

CLI:

```bash
widar installs records ins_6Tm3pVz8KwQd \
  --records '[object Object]'
```

MCP tool:

```json
{
  "name": "send_install_records",
  "arguments": {
    "install_id": "ins_6Tm3pVz8KwQd",
    "records": [
      {
        "content_hash": "29e1afaa2924adba4146dbeeae485c9cb10b71c13d2d2c99b15577300c9fe9b4",
        "length": 412,
        "created_at": "2026-12-03T09:41:30Z"
      }
    ]
  }
}
```
