Skip to content
Docs
Ask the assistant
Sign inCreate a free account
Get startedMark and signCertificatesDocumentsCheck and recoverComply and proveAPI referencePricing and data

The API

  • Introduction
  • Errors

Events

  • Webhooks
  • Events
  • Realtime

Tools

  • CLI
  • SDKs
  • Agent prompts
  • API logs

Workspace

  • Workspace overview
  • Workspace
  • Members
  • API keys
  • Settings
  • Billing and plan
  • Search
  • Assistant

Your account

  • Your account
  • Notifications
  • Inbox

For agents

  • agent-setup.md
  • llms.txt
  • llms-full.txt
  1. Home
  2. Docs
  3. CLI

API referenceTools

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

Ask about this pageRead this page as Markdown
On this page 6 sections
  1. Get it
  2. Your key
  3. Mark and check from a terminal
  4. Commands
  5. Output and errors
  6. Command index
  7. Legal entity
  8. Systems, policies and watermark keys
  9. Installs and plugin keys
  10. Marking
  11. Signing
  12. Certificates
  13. Domains
  14. Certificate renewal
  15. Certificate transparency log, no key
  16. Documents
  17. Timestamps
  18. Verifications
  19. Verify pages
  20. Public routes, no key
  21. Interoperability
  22. External schemes
  23. Registered and imported keys
  24. Shared detection
  25. Classify
  26. Evidence
  27. Evidence record
  28. Compliance center
  29. Trust pages and access requests
  30. Member listing
  31. Badge
  32. Routes
  33. White label
  34. Disclose
  35. Fact checkers
  36. Agent payments
  37. Workspace and keys
  38. Settings

Get it

The CLI comes with a widar workspace: widar’s sales team 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.

Sign in
widar auth login
widar auth status

Mark and check from a terminal

Shell
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
ParameterOn the command line
An id in the pathAn argument, in order: widar systems get <system_id>
Any other parameterA flag, its name with hyphens: system_id is --system-id
Yes or no--compromised, or --recovery=false
A listComma-separated: --content-types text,image
An objectJSON: --per-type '{"image":{"watermark":true}}'
Everything at once--data '{...}' or --data @params.json; a flag wins over it
A fileIts 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
CommandDoes
widar legal-entity getRead the legal entity
widar legal-entity updateEdit the legal entity
widar legal-entity submitSubmit the legal entity
widar legal-entity withdrawWithdraw the legal entity
widar legal-entity messagesList the messages with staff
widar legal-entity replyAnswer widar’s staff

Systems, policies and watermark keys

Systems, policies and watermark keys
CommandDoes
widar systems createCreate a system
widar systems list summary]List systems
widar systems get summary]Read a system
widar systems updateEdit a system
widar systems submit-validationSubmit for product validation
widar systems retireRetire a system
widar policies listList policy versions
widar policies createStart a policy draft
widar policies publishPublish a policy version
widar policies compareCompare two policy versions
widar watermark-keys listList watermark keys
widar watermark-keys rotateRotate a watermark key

Installs and plugin keys

Installs and plugin keys
CommandDoes
widar plugin-keys createCreate a plugin key
widar plugin-keys listList plugin keys
widar plugin-keys rollRoll a plugin key
widar plugin-keys revokeRevoke a plugin key
widar enrolment-tokens createCreate an ACME or EST credential
widar installs listList installs
widar installs registerRegister an install
widar installs reportReport usage
widar installs keysFetch the current keys
widar installs recordsSend per-output records

Marking

Marking
CommandDoes
widar markings createMark an output
widar mark-records listSearch mark records
widar mark-records getRead a mark record
widar marking statsRead marking volume
widar marking-failures listList marking failures
widar marking-failures resolveResolve a marking failure

Signing

Signing
CommandDoes
widar signatures createSign a claim
widar manifests createSend a finished manifest
widar manifests getRead a manifest

Certificates

Certificates
CommandDoes
widar certificates requestRequest a certificate
widar certificates listList certificates
widar certificates getRead a certificate
widar certificates renewRenew a certificate
widar certificates revokeRevoke a certificate

Domains

Domains
CommandDoes
widar domains createAdd a domain
widar domains listList domains
widar domains getRead a domain
widar domains validateCheck a domain now
widar domains deleteRemove a domain

Certificate renewal

Certificate renewal
CommandDoes
widar renewal-agents listList renewal daemons

Certificate transparency log, no key

Certificate transparency log, no key
CommandDoes
widar certificate-log listSearch the transparency log
widar certificate-log getRead a log entry
widar certificate-log headRead the signed tree head
widar certificate-log proofProve an entry is in the log
widar certificate-log proofProve the log only grew

Documents

Documents
CommandDoes
widar settings documents getRead document signing
widar settings documents updateChange document signing
widar marking-batches create ...>Sign many PDFs
widar marking-batches getRead a batch
widar marking-batches downloadDownload a batch
widar signing-log listList the signing log

Timestamps

Timestamps
CommandDoes
widar tsa-credentials createCreate a timestamp credential
widar tsa-credentials listList timestamp credentials
widar tsa-credentials revokeRevoke a timestamp credential
widar timestamps listList timestamps
widar timestamps getRead a timestamp
widar tsa-certificates listList the timestamp authority’s certificates

Verifications

Verifications
CommandDoes
widar verifications createCheck a file or a text
widar verifications listList verifications
widar verifications getRead a verification
widar verifications updateAdd a note or tags
widar verifications resultDownload the signed result
widar verifications shareShare a result

Verify pages

Verify pages
CommandDoes
widar verify-pages listList verify pages
widar verify-pages getRead a verify page
widar verify-pages updateChange the verify page
widar verify-pages publishPublish the verify page
widar verify-pages unpublishTake the verify page offline
widar verify-page-feedback listList reports of a wrong result
widar verify-page-feedback reviewMark a report reviewed

Public routes, no key

Public routes, no key
CommandDoes
widar verify-pages checkCheck content on a verify page
widar public checkCheck content for marks
widar public reportReport a wrong result
widar public resultDownload a signed result

Interoperability

Interoperability
CommandDoes
widar interop checkCheck content for another detector

External schemes

External schemes
CommandDoes
widar external-schemes listList the external schemes
widar external-schemes listList the external schemes

Registered and imported keys

Registered and imported keys
CommandDoes
widar watermark-keys registerRegister a key for detection
widar watermark-keys importImport a key for attribution
widar watermark-keys attributeMove a registered key to attribution
widar watermark-keys sendSend the key
widar watermark-keys getRead a registered or imported key
widar watermark-keys withdrawWithdraw a key

Shared detection

Shared detection
CommandDoes
widar detection-membership joinJoin shared detection
widar detection-membership get coverage,daily]Read the detection membership
widar detection-membership updateChange the detection membership
widar detection-membership leaveLeave shared detection

Classify

Classify
CommandDoes
widar classifications createClassify a sample

Evidence

Evidence
CommandDoes
widar evidence-packs listList evidence packs
widar evidence-packs generateGenerate a new version
widar evidence-packs getRead an evidence pack
widar evidence-packs downloadDownload an evidence pack
widar evidence-packs shareShare a version
widar evidence-packs compareCompare two versions
widar test-runs createRun the test set again
widar test-runs listList test runs
widar test-runs getRead a test run

Evidence record

Evidence record
CommandDoes
widar evidence-record getRead the basic evidence record
widar evidence-record downloadDownload the basic evidence record
widar evidence-record shareShare the basic evidence record

Compliance center

Compliance center
CommandDoes
widar compliance getRead the compliance center
widar compliance-checks listList compliance checks
widar compliance-checks getRead a compliance check
widar compliance-checks updateMark a check not applicable
widar compliance-checks runRun a check now
widar compliance-alerts listList compliance alerts
widar compliance-alerts acknowledgeAcknowledge an alert
widar compliance-tasks listList compliance tasks
widar compliance-tasks updateUpdate a task
widar compliance-tasks closeClose a task

Trust pages and access requests

Trust pages and access requests
CommandDoes
widar trust-page getRead your trust page
widar trust-page updateUpdate your trust page
widar trust-page publishPublish your trust page
widar trust-page unpublishUnpublish your trust page
widar access-requests createAsk for a trust page’s documents
widar access-requests grant-directGrant access directly
widar access-requests listList access requests
widar access-requests getRead an access request
widar access-requests grantGrant an access request
widar access-requests denyDeny an access request
widar access-requests revokeRevoke a grant

Member listing

Member listing
CommandDoes
widar member-listing getRead your listing
widar member-listing updateEdit your listing
widar member-listing submitSubmit your listing for review
widar member-listing publishPublish your listing again
widar member-listing unpublishTake your listing down

Badge

Badge
CommandDoes
widar badge getRead your badge
widar badge updateChange your badge
widar badge statusRead a badge’s live state

Routes

Routes
CommandDoes
widar routes createAdd a route
widar routes listList routes
widar routes getGet a route
widar routes updateChange a route
widar routes deleteRetire a route
widar routes importImport routes
widar routes exportExport routes
widar routes verifyVerify a route
widar routes eligibleAsk which routes may serve
widar routes reportReport a route’s day
widar routes publicRead a public capability record

White label

White label
CommandDoes
widar partner-workspaces createAdd an end customer
widar partner-workspaces listList your end customers
widar partner-workspaces getRead an end customer
widar partner-workspaces suspendSuspend an end customer
widar partner-revenue-share getRead your revenue share

Disclose

Disclose
CommandDoes
widar disclosure-kits getRead the disclosure kit
widar disclosure-kits updateChange the labels
widar disclosure-kits assetsDownload the label assets
widar disclosure labelsList the public labels

Fact checkers

Fact checkers
CommandDoes
widar accreditations applyApply for accreditation
widar accreditations listList accreditations
widar accreditations getRead an accreditation
widar accreditations answerAnswer widar’s staff
widar accreditations renewRenew the accreditation

Agent payments

Agent payments
CommandDoes
widar checkout create compliance_packCreate a checkout link
widar payments create compliance_packPay with a shared payment token
widar payments listList payments by agents
widar payments getRead an agent payment
widar credit buyBuy prepaid credit

Workspace and keys

Workspace and keys
CommandDoes
widar overview getRead the overview
widar auth statusCheck a key

Settings

Settings
CommandDoes
widar settings marking getRead the marking defaults
widar settings marking setChange the marking defaults
widar settings classify getRead the classifier defaults
widar settings classify setChange the classifier defaults
widar settings certificates getRead the certificate settings
widar settings certificates setChange the certificate settings
widar settings verify-pages getRead the verify page defaults
widar settings verify-pages set name>]Change the verify page defaults
widar settings disclose getRead the label defaults
widar settings disclose setChange the label defaults
PreviousRealtimeNextSDKs

For agents

  • Read this page as Markdown

Start without a browser: POST https://api.widar.com/v1/signups, then the emailed code; or sign in with the CLI, which comes with a widar workspace: widar auth login. The key is read from WIDAR_API_KEY.

  • Agent setup
  • MCP serverhttps://widar.com/mcp
  • Docs MCP serverhttps://widar.com/mcp
  • OpenAPI
  • 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.

A product of Bynn Intelligence, Inc.

  • llms.txt
  • agent-setup.md
  • Pricing

On this page

  1. Get it
  2. Your key
  3. Mark and check from a terminal
  4. Commands
  5. Output and errors
  6. Command index
  7. Legal entity
  8. Systems, policies and watermark keys
  9. Installs and plugin keys
  10. Marking
  11. Signing
  12. Certificates
  13. Domains
  14. Certificate renewal
  15. Certificate transparency log, no key
  16. Documents
  17. Timestamps
  18. Verifications
  19. Verify pages
  20. Public routes, no key
  21. Interoperability
  22. External schemes
  23. Registered and imported keys
  24. Shared detection
  25. Classify
  26. Evidence
  27. Evidence record
  28. Compliance center
  29. Trust pages and access requests
  30. Member listing
  31. Badge
  32. Routes
  33. White label
  34. Disclose
  35. Fact checkers
  36. Agent payments
  37. Workspace and keys
  38. Settings