# CLI

> 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: API reference. URL: https://widar.com/docs/cli

Every action of the console from a terminal, a script or a pipeline: widar resource verb, answering the API's own JSON, with your key read from the environment or the keychain.

Updated December 3, 2026

## Get it

The CLI comes with a widar workspace: [widar's sales team](https://widar.com/contact) provides it. Every command is also a plain HTTP call to `https://api.widar.com`, shown as curl on each page, so a script needs nothing installed.

## Your key

The CLI reads the key from `WIDAR_API_KEY`, else from your system's keychain after `widar auth login`. A key is never a flag, so it stays out of your shell history. `widar auth status` shows which key is used, its workspace and its mode.

```bash
widar auth login
widar auth status
```

## Mark and check from a terminal

```bash
widar markings create output.png --system-id sys_4kT9qWm2RbXe --output marked.png
widar verifications create marked.png --wait 10 | jq '.findings[] | {kind, outcome}'
widar check shared-photo.jpg --verify-page lumen-image
```

## Commands

Every action and read is a command, named on its page beside its API call and MCP tool. `widar <resource> --help` lists a resource's commands; `widar <resource> <verb> --help` shows a command's arguments, flags and docs link.

How a call's parameters are written

| Parameter | On the command line |
| --- | --- |
| An id in the path | An argument, in order: `widar systems get <system_id>` |
| Any other parameter | A flag, its name with hyphens: `system_id` is `--system-id` |
| Yes or no | `--compromised`, or `--recovery=false` |
| A list | Comma-separated: `--content-types text,image` |
| An object | JSON: `--per-type '{"image":{"watermark":true}}'` |
| Everything at once | `--data '{...}'` or `--data @params.json`; a flag wins over it |
| A file | Its path: the CLI sends its bytes and media type |

## Output and errors

- The output is the API's JSON exactly as sent, so a script or an agent reads the API's own answer.
- A refusal prints the API's error with its `code`, `message` and `request_id`, and exits with `1`.
- A file answer (a marked file, a signed result, an evidence pack) is saved under its own name; `--output <path>` chooses where, `--output -` writes to stdout.
- Calls are retried after a `429`, any `5xx` or a lost connection, waiting as asked, with the same idempotency key, so a write never runs twice.
- `widar events tail` follows the workspace's events, one JSON line each. `widar api <METHOD> <path>` calls any route with your key.

## Command index

### Legal entity

Legal entity

| Command | Does |
| --- | --- |
| `widar legal-entity get` | [Read the legal entity](https://widar.com/docs/legal-entity#read-the-legal-entity) |
| `widar legal-entity update` | [Edit the legal entity](https://widar.com/docs/legal-entity#edit-the-legal-entity) |
| `widar legal-entity submit` | [Submit the legal entity](https://widar.com/docs/legal-entity#submit-the-legal-entity) |
| `widar legal-entity withdraw` | [Withdraw the legal entity](https://widar.com/docs/legal-entity#withdraw-the-legal-entity) |
| `widar legal-entity messages` | [List the messages with staff](https://widar.com/docs/legal-entity#list-the-messages-with-staff) |
| `widar legal-entity reply` | [Answer widar's staff](https://widar.com/docs/legal-entity#answer-the-validation-team) |

### Systems, policies and watermark keys

Systems, policies and watermark keys

| Command | Does |
| --- | --- |
| `widar systems create` | [Create a system](https://widar.com/docs/systems#create-a-system) |
| `widar systems list summary]` | [List systems](https://widar.com/docs/systems#list-systems) |
| `widar systems get summary]` | [Read a system](https://widar.com/docs/systems#read-a-system) |
| `widar systems update` | [Edit a system](https://widar.com/docs/systems#edit-a-system) |
| `widar systems submit-validation` | [Submit for product validation](https://widar.com/docs/systems#submit-for-product-validation) |
| `widar systems retire` | [Retire a system](https://widar.com/docs/systems#retire-a-system) |
| `widar policies list` | [List policy versions](https://widar.com/docs/policies#list-policy-versions) |
| `widar policies create` | [Start a policy draft](https://widar.com/docs/policies#start-a-policy-draft) |
| `widar policies publish` | [Publish a policy version](https://widar.com/docs/policies#publish-a-policy-version) |
| `widar policies compare` | [Compare two policy versions](https://widar.com/docs/policies#compare-two-policy-versions) |
| `widar watermark-keys list` | [List watermark keys](https://widar.com/docs/watermark-keys#list-watermark-keys) |
| `widar watermark-keys rotate` | [Rotate a watermark key](https://widar.com/docs/watermark-keys#rotate-a-watermark-key) |

### Installs and plugin keys

Installs and plugin keys

| Command | Does |
| --- | --- |
| `widar plugin-keys create` | [Create a plugin key](https://widar.com/docs/plugin-keys#create-a-plugin-key) |
| `widar plugin-keys list` | [List plugin keys](https://widar.com/docs/plugin-keys#list-plugin-keys) |
| `widar plugin-keys roll` | [Roll a plugin key](https://widar.com/docs/plugin-keys#roll-a-plugin-key) |
| `widar plugin-keys revoke` | [Revoke a plugin key](https://widar.com/docs/plugin-keys#revoke-a-plugin-key) |
| `widar enrolment-tokens create` | [Create an ACME or EST credential](https://widar.com/docs/certificates#create-an-acme-or-est-credential) |
| `widar installs list` | [List installs](https://widar.com/docs/installs#list-installs) |
| `widar installs register` | [Register an install](https://widar.com/docs/installs#register-an-install) |
| `widar installs report` | [Report usage](https://widar.com/docs/installs#report-usage) |
| `widar installs keys` | [Fetch the current keys](https://widar.com/docs/installs#fetch-the-current-keys) |
| `widar installs records` | [Send per-output records](https://widar.com/docs/installs#send-per-output-records) |

### Marking

Marking

| Command | Does |
| --- | --- |
| `widar markings create` | [Mark an output](https://widar.com/docs/marking#mark-an-output) |
| `widar mark-records list` | [Search mark records](https://widar.com/docs/mark-records#search-mark-records) |
| `widar mark-records get` | [Read a mark record](https://widar.com/docs/mark-records#read-a-mark-record) |
| `widar marking stats` | [Read marking volume](https://widar.com/docs/marking#read-marking-volume) |
| `widar marking-failures list` | [List marking failures](https://widar.com/docs/marking#list-marking-failures) |
| `widar marking-failures resolve` | [Resolve a marking failure](https://widar.com/docs/marking#resolve-a-marking-failure) |

### Signing

Signing

| Command | Does |
| --- | --- |
| `widar signatures create` | [Sign a claim](https://widar.com/docs/sign#sign-a-claim) |
| `widar manifests create` | [Send a finished manifest](https://widar.com/docs/sign#send-a-finished-manifest) |
| `widar manifests get` | [Read a manifest](https://widar.com/docs/mark-records#read-a-manifest) |

### Certificates

Certificates

| Command | Does |
| --- | --- |
| `widar certificates request` | [Request a certificate](https://widar.com/docs/certificates#request-a-certificate) |
| `widar certificates list` | [List certificates](https://widar.com/docs/certificates#list-certificates) |
| `widar certificates get` | [Read a certificate](https://widar.com/docs/certificates#read-a-certificate) |
| `widar certificates renew` | [Renew a certificate](https://widar.com/docs/certificates#renew-a-certificate) |
| `widar certificates revoke` | [Revoke a certificate](https://widar.com/docs/certificates#revoke-a-certificate) |

### Domains

Domains

| Command | Does |
| --- | --- |
| `widar domains create` | [Add a domain](https://widar.com/docs/certificates#add-a-domain) |
| `widar domains list` | [List domains](https://widar.com/docs/certificates#list-domains) |
| `widar domains get` | [Read a domain](https://widar.com/docs/certificates#read-a-domain) |
| `widar domains validate` | [Check a domain now](https://widar.com/docs/certificates#check-a-domain-now) |
| `widar domains delete` | [Remove a domain](https://widar.com/docs/certificates#remove-a-domain) |

### Certificate renewal

Certificate renewal

| Command | Does |
| --- | --- |
| `widar renewal-agents list` | [List renewal daemons](https://widar.com/docs/certificates#list-renewal-daemons) |

### Certificate transparency log, no key

Certificate transparency log, no key

| Command | Does |
| --- | --- |
| `widar certificate-log list` | [Search the transparency log](https://widar.com/docs/certificates#search-the-transparency-log) |
| `widar certificate-log get` | [Read a log entry](https://widar.com/docs/certificates#read-a-log-entry) |
| `widar certificate-log head` | [Read the signed tree head](https://widar.com/docs/certificates#read-the-signed-tree-head) |
| `widar certificate-log proof` | [Prove an entry is in the log](https://widar.com/docs/certificates#prove-an-entry-is-in-the-log) |
| `widar certificate-log proof` | [Prove the log only grew](https://widar.com/docs/certificates/transparency-log#prove-the-log-only-grew) |

### Documents

Documents

| Command | Does |
| --- | --- |
| `widar settings documents get` | [Read document signing](https://widar.com/docs/documents#read-document-signing) |
| `widar settings documents update` | [Change document signing](https://widar.com/docs/documents#change-document-signing) |
| `widar marking-batches create ...>` | [Sign many PDFs](https://widar.com/docs/documents#sign-many-pdfs) |
| `widar marking-batches get` | [Read a batch](https://widar.com/docs/documents#read-a-batch) |
| `widar marking-batches download` | [Download a batch](https://widar.com/docs/documents#download-a-batch) |
| `widar signing-log list` | [List the signing log](https://widar.com/docs/documents#list-the-signing-log) |

### Timestamps

Timestamps

| Command | Does |
| --- | --- |
| `widar tsa-credentials create` | [Create a timestamp credential](https://widar.com/docs/timestamps#create-a-timestamp-credential) |
| `widar tsa-credentials list` | [List timestamp credentials](https://widar.com/docs/timestamps#list-timestamp-credentials) |
| `widar tsa-credentials revoke` | [Revoke a timestamp credential](https://widar.com/docs/timestamps#revoke-a-timestamp-credential) |
| `widar timestamps list` | [List timestamps](https://widar.com/docs/timestamps#list-timestamps) |
| `widar timestamps get` | [Read a timestamp](https://widar.com/docs/timestamps#read-a-timestamp) |
| `widar tsa-certificates list` | [List the timestamp authority's certificates](https://widar.com/docs/timestamps#list-the-timestamp-authority-certificates) |

### Verifications

Verifications

| Command | Does |
| --- | --- |
| `widar verifications create` | [Check a file or a text](https://widar.com/docs/verifications#check-a-file-or-a-text) |
| `widar verifications list` | [List verifications](https://widar.com/docs/verifications#list-verifications) |
| `widar verifications get` | [Read a verification](https://widar.com/docs/verifications#read-a-verification) |
| `widar verifications update` | [Add a note or tags](https://widar.com/docs/verifications#add-a-note-or-tags) |
| `widar verifications result` | [Download the signed result](https://widar.com/docs/verifications#download-the-signed-result) |
| `widar verifications share` | [Share a result](https://widar.com/docs/verifications#share-a-result) |

### Verify pages

Verify pages

| Command | Does |
| --- | --- |
| `widar verify-pages list` | [List verify pages](https://widar.com/docs/verify-pages#list-verify-pages) |
| `widar verify-pages get` | [Read a verify page](https://widar.com/docs/verify-pages#read-a-verify-page) |
| `widar verify-pages update` | [Change the verify page](https://widar.com/docs/verify-pages#change-the-verify-page) |
| `widar verify-pages publish` | [Publish the verify page](https://widar.com/docs/verify-pages#publish-the-verify-page) |
| `widar verify-pages unpublish` | [Take the verify page offline](https://widar.com/docs/verify-pages#take-the-verify-page-offline) |
| `widar verify-page-feedback list` | [List reports of a wrong result](https://widar.com/docs/verify-pages#list-reports-of-a-wrong-result) |
| `widar verify-page-feedback review` | [Mark a report reviewed](https://widar.com/docs/verify-pages#mark-a-report-reviewed) |

### Public routes, no key

Public routes, no key

| Command | Does |
| --- | --- |
| `widar verify-pages check` | [Check content on a verify page](https://widar.com/docs/detect#check-on-a-verify-page) |
| `widar public check` | [Check content for marks](https://widar.com/docs/detect#check-a-file) |
| `widar public report` | [Report a wrong result](https://widar.com/docs/detect#report-a-wrong-result) |
| `widar public result` | [Download a signed result](https://widar.com/docs/detect#download-a-signed-result) |

### Interoperability

Interoperability

| Command | Does |
| --- | --- |
| `widar interop check` | [Check content for another detector](https://widar.com/docs/interoperability#interoperable-detection-endpoint) |

### External schemes

External schemes

| Command | Does |
| --- | --- |
| `widar external-schemes list` | [List the external schemes](https://widar.com/docs/detection/schemes#list-the-external-schemes) |
| `widar external-schemes list` | [List the external schemes](https://widar.com/docs/detection#list-the-external-schemes) |

### Registered and imported keys

Registered and imported keys

| Command | Does |
| --- | --- |
| `widar watermark-keys register` | [Register a key for detection](https://widar.com/docs/detection#register-a-key-for-detection) |
| `widar watermark-keys import` | [Import a key for attribution](https://widar.com/docs/detection#import-a-key-for-attribution) |
| `widar watermark-keys attribute` | [Move a registered key to attribution](https://widar.com/docs/detection#move-a-registered-key-to-attribution) |
| `widar watermark-keys send` | [Send the key](https://widar.com/docs/detection#send-the-key) |
| `widar watermark-keys get` | [Read a registered or imported key](https://widar.com/docs/detection#read-a-registered-or-imported-key) |
| `widar watermark-keys withdraw` | [Withdraw a key](https://widar.com/docs/detection#withdraw-a-key) |

### Shared detection

Shared detection

| Command | Does |
| --- | --- |
| `widar detection-membership join` | [Join shared detection](https://widar.com/docs/detection#join-shared-detection) |
| `widar detection-membership get coverage,daily]` | [Read the detection membership](https://widar.com/docs/detection#read-the-detection-membership) |
| `widar detection-membership update` | [Change the detection membership](https://widar.com/docs/detection#change-the-detection-membership) |
| `widar detection-membership leave` | [Leave shared detection](https://widar.com/docs/detection#leave-shared-detection) |

### Classify

Classify

| Command | Does |
| --- | --- |
| `widar classifications create` | [Classify a sample](https://widar.com/docs/classify#classify-a-sample) |

### Evidence

Evidence

| Command | Does |
| --- | --- |
| `widar evidence-packs list` | [List evidence packs](https://widar.com/docs/evidence#list-evidence-packs) |
| `widar evidence-packs generate` | [Generate a new version](https://widar.com/docs/evidence#generate-a-new-version) |
| `widar evidence-packs get` | [Read an evidence pack](https://widar.com/docs/evidence#read-an-evidence-pack) |
| `widar evidence-packs download` | [Download an evidence pack](https://widar.com/docs/evidence#download-an-evidence-pack) |
| `widar evidence-packs share` | [Share a version](https://widar.com/docs/evidence#share-a-version) |
| `widar evidence-packs compare` | [Compare two versions](https://widar.com/docs/evidence#compare-two-versions) |
| `widar test-runs create` | [Run the test set again](https://widar.com/docs/evidence#run-the-test-set-again) |
| `widar test-runs list` | [List test runs](https://widar.com/docs/evidence#list-test-runs) |
| `widar test-runs get` | [Read a test run](https://widar.com/docs/evidence#read-a-test-run) |

### Evidence record

Evidence record

| Command | Does |
| --- | --- |
| `widar evidence-record get` | [Read the basic evidence record](https://widar.com/docs/evidence#read-the-basic-evidence-record) |
| `widar evidence-record download` | [Download the basic evidence record](https://widar.com/docs/evidence#download-the-basic-evidence-record) |
| `widar evidence-record share` | [Share the basic evidence record](https://widar.com/docs/evidence#share-the-basic-evidence-record) |

### Compliance center

Compliance center

| Command | Does |
| --- | --- |
| `widar compliance get` | [Read the compliance center](https://widar.com/docs/compliance#read-the-compliance-center) |
| `widar compliance-checks list` | [List compliance checks](https://widar.com/docs/compliance#list-compliance-checks) |
| `widar compliance-checks get` | [Read a compliance check](https://widar.com/docs/compliance#read-a-compliance-check) |
| `widar compliance-checks update` | [Mark a check not applicable](https://widar.com/docs/compliance#mark-a-check-not-applicable) |
| `widar compliance-checks run` | [Run a check now](https://widar.com/docs/compliance#run-a-check-now) |
| `widar compliance-alerts list` | [List compliance alerts](https://widar.com/docs/compliance#list-compliance-alerts) |
| `widar compliance-alerts acknowledge` | [Acknowledge an alert](https://widar.com/docs/compliance#acknowledge-an-alert) |
| `widar compliance-tasks list` | [List compliance tasks](https://widar.com/docs/compliance#list-compliance-tasks) |
| `widar compliance-tasks update` | [Update a task](https://widar.com/docs/compliance#update-a-task) |
| `widar compliance-tasks close` | [Close a task](https://widar.com/docs/compliance#close-a-task) |

### Trust pages and access requests

Trust pages and access requests

| Command | Does |
| --- | --- |
| `widar trust-page get` | [Read your trust page](https://widar.com/docs/trust-pages#read-your-trust-page) |
| `widar trust-page update` | [Update your trust page](https://widar.com/docs/trust-pages#update-your-trust-page) |
| `widar trust-page publish` | [Publish your trust page](https://widar.com/docs/trust-pages#publish-your-trust-page) |
| `widar trust-page unpublish` | [Unpublish your trust page](https://widar.com/docs/trust-pages#unpublish-your-trust-page) |
| `widar access-requests create` | [Ask for a trust page's documents](https://widar.com/docs/trust-pages#ask-for-documents) |
| `widar access-requests grant-direct` | [Grant access directly](https://widar.com/docs/trust-pages#grant-access-directly) |
| `widar access-requests list` | [List access requests](https://widar.com/docs/trust-pages#list-access-requests) |
| `widar access-requests get` | [Read an access request](https://widar.com/docs/trust-pages#read-an-access-request) |
| `widar access-requests grant` | [Grant an access request](https://widar.com/docs/trust-pages#grant-an-access-request) |
| `widar access-requests deny` | [Deny an access request](https://widar.com/docs/trust-pages#deny-an-access-request) |
| `widar access-requests revoke` | [Revoke a grant](https://widar.com/docs/trust-pages#revoke-a-grant) |

### Member listing

Member listing

| Command | Does |
| --- | --- |
| `widar member-listing get` | [Read your listing](https://widar.com/docs/member-directory#read-your-listing) |
| `widar member-listing update` | [Edit your listing](https://widar.com/docs/member-directory#edit-your-listing) |
| `widar member-listing submit` | [Submit your listing for review](https://widar.com/docs/member-directory#submit-for-review) |
| `widar member-listing publish` | [Publish your listing again](https://widar.com/docs/member-directory#publish-your-listing-again) |
| `widar member-listing unpublish` | [Take your listing down](https://widar.com/docs/member-directory#take-your-listing-down) |

### Badge

Badge

| Command | Does |
| --- | --- |
| `widar badge get` | [Read your badge](https://widar.com/docs/badge#read-your-badge) |
| `widar badge update` | [Change your badge](https://widar.com/docs/badge#change-your-badge) |
| `widar badge status` | [Read a badge's live state](https://widar.com/docs/badge#a-badges-live-state) |

### Routes

Routes

| Command | Does |
| --- | --- |
| `widar routes create` | [Add a route](https://widar.com/docs/routes#add-a-route) |
| `widar routes list` | [List routes](https://widar.com/docs/routes#list-routes) |
| `widar routes get` | [Get a route](https://widar.com/docs/routes#get-a-route) |
| `widar routes update` | [Change a route](https://widar.com/docs/routes#change-a-route) |
| `widar routes delete` | [Retire a route](https://widar.com/docs/routes#retire-a-route) |
| `widar routes import` | [Import routes](https://widar.com/docs/routes#import-routes) |
| `widar routes export` | [Export routes](https://widar.com/docs/routes#export-routes) |
| `widar routes verify` | [Verify a route](https://widar.com/docs/routes#verify-a-route) |
| `widar routes eligible` | [Ask which routes may serve](https://widar.com/docs/routes#ask-which-routes-may-serve) |
| `widar routes report` | [Report a route's day](https://widar.com/docs/routes#report-a-route-s-day) |
| `widar routes public` | [Read a public capability record](https://widar.com/docs/routes#read-a-public-capability-record) |

### White label

White label

| Command | Does |
| --- | --- |
| `widar partner-workspaces create` | [Add an end customer](https://widar.com/docs/white-label#add-an-end-customer) |
| `widar partner-workspaces list` | [List your end customers](https://widar.com/docs/white-label#list-your-end-customers) |
| `widar partner-workspaces get` | [Read an end customer](https://widar.com/docs/white-label#read-an-end-customer) |
| `widar partner-workspaces suspend` | [Suspend an end customer](https://widar.com/docs/white-label#suspend-an-end-customer) |
| `widar partner-revenue-share get` | [Read your revenue share](https://widar.com/docs/white-label#read-your-revenue-share) |

### Disclose

Disclose

| Command | Does |
| --- | --- |
| `widar disclosure-kits get` | [Read the disclosure kit](https://widar.com/docs/disclose#read-the-disclosure-kit) |
| `widar disclosure-kits update` | [Change the labels](https://widar.com/docs/disclose#change-the-labels) |
| `widar disclosure-kits assets` | [Download the label assets](https://widar.com/docs/disclose#download-the-label-assets) |
| `widar disclosure labels` | [List the public labels](https://widar.com/docs/disclose#list-the-public-labels) |

### Fact checkers

Fact checkers

| Command | Does |
| --- | --- |
| `widar accreditations apply` | [Apply for accreditation](https://widar.com/docs/accreditation#apply-for-accreditation) |
| `widar accreditations list` | [List accreditations](https://widar.com/docs/accreditation#list-accreditations) |
| `widar accreditations get` | [Read an accreditation](https://widar.com/docs/accreditation#read-an-accreditation) |
| `widar accreditations answer` | [Answer widar's staff](https://widar.com/docs/accreditation#answer-widars-staff) |
| `widar accreditations renew` | [Renew the accreditation](https://widar.com/docs/accreditation#renew-the-accreditation) |

### Agent payments

Agent payments

| Command | Does |
| --- | --- |
| `widar checkout create compliance_pack` | [Create a checkout link](https://widar.com/docs/agents#create-a-checkout-link) |
| `widar payments create compliance_pack` | [Pay with a shared payment token](https://widar.com/docs/agents#pay-with-a-shared-payment-token) |
| `widar payments list` | [List payments by agents](https://widar.com/docs/billing#list-payments-by-agents) |
| `widar payments get` | [Read an agent payment](https://widar.com/docs/agents#read-an-agent-payment) |
| `widar credit buy` | [Buy prepaid credit](https://widar.com/docs/agents#buy-prepaid-credit) |

### Workspace and keys

Workspace and keys

| Command | Does |
| --- | --- |
| `widar overview get` | [Read the overview](https://widar.com/docs/overview#read-the-overview) |
| `widar auth status` | [Check a key](https://widar.com/docs/keys#check-a-key) |

### Settings

Settings

| Command | Does |
| --- | --- |
| `widar settings marking get` | [Read the marking defaults](https://widar.com/docs/settings#read-the-marking-defaults) |
| `widar settings marking set` | [Change the marking defaults](https://widar.com/docs/settings#change-the-marking-defaults) |
| `widar settings classify get` | [Read the classifier defaults](https://widar.com/docs/settings#read-the-classifier-defaults) |
| `widar settings classify set` | [Change the classifier defaults](https://widar.com/docs/settings#change-the-classifier-defaults) |
| `widar settings certificates get` | [Read the certificate settings](https://widar.com/docs/settings#read-the-certificate-settings) |
| `widar settings certificates set` | [Change the certificate settings](https://widar.com/docs/settings#change-the-certificate-settings) |
| `widar settings verify-pages get` | [Read the verify page defaults](https://widar.com/docs/settings#read-the-verify-page-defaults) |
| `widar settings verify-pages set name>]` | [Change the verify page defaults](https://widar.com/docs/settings#change-the-verify-page-defaults) |
| `widar settings disclose get` | [Read the label defaults](https://widar.com/docs/settings#read-the-label-defaults) |
| `widar settings disclose set` | [Change the label defaults](https://widar.com/docs/settings#change-the-label-defaults) |
