widar reads with a registered or imported key and never marks with it. A registered key can move to attribution later, on Enterprise, with no second proof.
How it goes
- Start it from the console, the API, the CLI, an SDK or the MCP server. The key is answered
awaiting_key, with a one-time wrapping key that expires in 24 hours. - Send the key once, wrapped on your side: the console wraps it in your browser, the CLI and the SDKs on your machine. widar stores it as it stores its own keys and never answers it again.
- Review. widar’s staff check that the key is your company’s: samples you mark with it, and your validated legal entity. The key is
in_review, thenactiveordeclinedwith a reason, andkey.importedorkey.import_declinedis sent. - Active. Your marks under the scheme are read from then on. Withdraw the key at any time to stop reading it and delete it.
$ widar watermark-keys register --system-id sys_5Vh8qTn2LcWr \
--scheme vllm_watermark --key-file ./helsinki-watermark.key
Started wmk_1Bq5vYs9MtKe for Northwind Gateway (vLLM's built-in watermark, text).
Wrapped the key on this machine and sent it once.
State: in_review. widar's staff will ask for samples marked with the key.By API, CLI and MCP
Register a key for detection
Starts registering the key a system already marks with under an external scheme, so widar reads those marks for you. On every plan that includes shared detection. Answers the key awaiting_key with a one-time wrapping key that expires in 24 hours.
curl -X POST https://api.widar.com/v1/watermark_keys/register \
-H "Authorization: Bearer $WIDAR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"system_id": "sys_4kT9qWm2RbXe",
"scheme": "vllm_watermark",
"content_type": "text"
}'POST /v1/watermark_keys/register
Every parameter and the full answer: Register a key for detection.
Import a key for attribution
What a registration does, and content the system marked with the key before you joined widar is attributed to the system. Enterprise and higher; below it, 402 plan_required.
curl -X POST https://api.widar.com/v1/watermark_keys/import \
-H "Authorization: Bearer $WIDAR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"system_id": "sys_4kT9qWm2RbXe",
"scheme": "trustmark",
"content_type": "image",
"attributes_from": "2025-03-01"
}'POST /v1/watermark_keys/import
Every parameter and the full answer: Import a key for attribution.
Move a registered key to attribution
Turns a key registered for detection into one imported for attribution, on Enterprise and higher, with no second proof of control.
curl -X POST https://api.widar.com/v1/watermark_keys/wmk_1Bq5vYs9MtKe/import \
-H "Authorization: Bearer $WIDAR_API_KEY"POST /v1/watermark_keys/{watermark_key_id}/import
Every parameter and the full answer: Move a registered key to attribution.
Send the wrapped key
Sends the key once, wrapped on your side with the one-time wrapping key. The console wraps it in your browser; the CLI and the SDKs wrap it on your machine. No MCP tool carries key material, since a tool’s arguments pass through an AI client: an agent sends it with the CLI.
# Members only: a signed-in member makes this call, in the console or with the CLI signed in (widar auth login). An API key is refused with 403 key_scope_denied.
curl -X POST https://api.widar.com/v1/watermark_keys/wmk_1Bq5vYs9MtKe/material \
-H "Content-Type: application/json" \
-d '{
"encrypted_key": "<encrypted_key>",
"ciphertext": "<ciphertext>",
"iv": "<iv>",
"confirmation_code": "<confirmation_code>"
}'POST /v1/watermark_keys/{watermark_key_id}/material
Every parameter and the full answer: Send the key.
Read a key’s review
A registered or imported key’s state and its review: who at widar decided and when, and a reason if it was declined. Never the key.
curl -X GET https://api.widar.com/v1/watermark_keys/wmk_3Tr6pXz1HqLc \
-H "Authorization: Bearer $WIDAR_API_KEY"GET /v1/watermark_keys/{watermark_key_id}
Every parameter and the full answer: Read a registered or imported key.
Withdraw a key
Stops reading marks made with the key and deletes it. Verify pages, the public detector and the interoperable endpoint no longer find those marks.
curl -X POST https://api.widar.com/v1/watermark_keys/wmk_1Bq5vYs9MtKe/withdraw \
-H "Authorization: Bearer $WIDAR_API_KEY"POST /v1/watermark_keys/{watermark_key_id}/withdraw
Every parameter and the full answer: Withdraw a key.