- One active key per system and content type, issued when the system or the content type is added.
- The key itself never appears in an answer, a log or the console. Installs receive it wrapped for them and hold it in memory only.
- Rotating makes a new key active and retires the old one: never used to mark again, still read, so every mark made with it keeps checking. Installs pick up the new key within 15 minutes.
key.rotatedfollows. - A key reported compromised is retired at once, and findings it produces carry a warning with the date.
- A key your system already marks with under another scheme, such as vLLM’s built-in watermark, can be registered for detection or imported. widar reads with it and never marks with it.
{
"id": "wmk_5Dj8sLq1VnRt",
"object": "watermark_key",
"system_id": "sys_4kT9qWm2RbXe",
"content_type": "image",
"state": "active",
"created_at": "2026-09-30T07:00:00Z",
"rotated_at": "2026-09-30T07:00:00Z",
"retired_at": null,
"compromised": false
}GET/v1/systems/{system_id}/watermark_keys
A system’s watermark keys by content type, with their state and when each was created and rotated. Never the key itself.
- Who may
- Owner, Admin, Compliance, Developer and Viewer
- CLI
widar watermark-keys list <system_id>- MCP tool
list_watermark_keys- Returns
- The keys' ids, content types, states (active, retired) and dates; the keys themselves are never answered.
Parameters
system_idRequiredThe system. In the path.
curl -X GET https://api.widar.com/v1/systems/sys_4kT9qWm2RbXe/watermark_keys \
-H "Authorization: Bearer $WIDAR_API_KEY"GET /v1/systems/{system_id}/watermark_keys
{
"items": [
{
"id": "wmk_5Dj8sLq1VnRt",
"object": "watermark_key",
"system_id": "sys_4kT9qWm2RbXe",
"content_type": "image",
"state": "active",
"created_at": "2026-09-30T07:00:00Z",
"rotated_at": "2026-09-30T07:00:00Z",
"retired_at": null,
"compromised": false
},
{
"id": "wmk_9Kp2fHz7XcWm",
"object": "watermark_key",
"system_id": "sys_4kT9qWm2RbXe",
"content_type": "image",
"state": "retired",
"created_at": "2025-11-26T09:22:00Z",
"rotated_at": null,
"retired_at": "2026-09-30T07:00:00Z",
"compromised": false
}
],
"next_cursor": null
}POST/v1/watermark_keys/{watermark_key_id}/rotate
Replace a content type’s active watermark key. The old key is retired: never used to mark again, and still read.
- Who may
- Owner and Admin
- CLI
widar watermark-keys rotate <watermark_key_id>- MCP tool
rotate_watermark_key- Returns
- The retired key and the new active one, by id; the key itself is never answered.
Parameters
watermark_key_idRequiredThe active key to replace. In the path.
curl -X POST https://api.widar.com/v1/watermark_keys/wmk_5Dj8sLq1VnRt/rotate \
-H "Authorization: Bearer $WIDAR_API_KEY"POST /v1/watermark_keys/{watermark_key_id}/rotate
{
"id": "wmk_5Dj8sLq1VnRt",
"object": "watermark_key",
"system_id": "sys_4kT9qWm2RbXe",
"content_type": "image",
"state": "active",
"created_at": "2026-09-30T07:00:00Z",
"rotated_at": "2026-09-30T07:00:00Z",
"retired_at": null,
"compromised": false
}