Each settings area is GET and PATCH /v1/settings/<area>, widar settings <area> get|set and the MCP tools get_<area>_settings and update_<area>_settings. Every change is in the activity log with who, when, before and after, never a secret.
GET/v1/settings/marking
The policy a new system starts from: per content type watermark, credential and timestamp, the credential’s assertions, text records and what happens to an output that cannot be marked.
- Who may
- Owner, Admin, Compliance, Developer and Viewer
- CLI
widar settings marking get- MCP tool
get_marking_settings- Returns
- The default policy of a new system.
No parameters.
curl -X GET https://api.widar.com/v1/settings/marking \
-H "Authorization: Bearer $WIDAR_API_KEY"GET /v1/settings/marking
PATCH/v1/settings/marking
Change the policy new systems start from. Systems already made keep their own policy.
- Who may
- Owner, Admin and Compliance
- CLI
widar settings marking set [--content-type <text|image|audio|video> [--watermark <true|false>] [--credential <true|false>] [--timestamp <true|false>]] [--assertions <ai_generated,system_name,...>] [--text-records <true|false>] [--on-failure <fail_closed|fail_open>]- MCP tool
update_marking_settings- Returns
- The marking defaults, changed.
Parameters
content_typeThe content type. One of
text,image,audio,video.watermarkThe watermark.
credentialThe credential.
timestampThe timestamp.
assertionsThe assertions. One of
ai_generated,system_name,system_version,created_time,unique_id.text_recordsKeep a record per text output, its hash and length only.
on_failurefail_closedorfail_open.
curl -X PATCH https://api.widar.com/v1/settings/marking \
-H "Authorization: Bearer $WIDAR_API_KEY"PATCH /v1/settings/marking
GET/v1/settings/classify
Whether a new system starts with the classifier on, what each output class gets, and whether skipped outputs are recorded.
- Who may
- Owner, Admin, Compliance, Developer and Viewer
- CLI
widar settings classify get- MCP tool
get_classify_settings- Returns
- The classifier’s defaults, and what it left unmarked in the last 7 days.
No parameters.
curl -X GET https://api.widar.com/v1/settings/classify \
-H "Authorization: Bearer $WIDAR_API_KEY"GET /v1/settings/classify
PATCH/v1/settings/classify
Change what new systems start with: the classifier on or off, what one output class gets, and whether skipped outputs are recorded.
- Who may
- Owner, Admin and Compliance
- CLI
widar settings classify set [--default-on <true|false>] [--output-class <source_code|machine_only|prose|media|unclear> --rule <mark|leave_unmarked>] [--record-skipped <true|false>]- MCP tool
update_classify_settings- Returns
- The classifier defaults, changed.
Parameters
default_onClassify on for new systems.
output_classThe output class. One of
source_code,machine_only,prose,media,unclear.ruleThe rule. One of
mark,leave_unmarked.record_skippedKeep a record, with the class and the reason, for each output left unmarked. Never its content.
curl -X PATCH https://api.widar.com/v1/settings/classify \
-H "Authorization: Bearer $WIDAR_API_KEY"PATCH /v1/settings/classify
GET/v1/settings/certificates
Where a new certificate’s private key lives, and how long before expiry a renewal starts.
- Who may
- Owner, Admin, Compliance, Developer and Viewer
- CLI
widar settings certificates get- MCP tool
get_certificate_settings- Returns
- Key location and renewal, with the workspace’s certificates counted.
No parameters.
curl -X GET https://api.widar.com/v1/settings/certificates \
-H "Authorization: Bearer $WIDAR_API_KEY"GET /v1/settings/certificates
PATCH/v1/settings/certificates
Where new certificates' keys live, and when renewal starts. Certificates already issued keep their key where it is.
- Who may
- Owner and Admin
- CLI
widar settings certificates set [--key-location <widar_key_store|customer_hsm>] [--auto-renew-days <0|30-90>]- MCP tool
update_certificate_settings- Returns
- The certificate settings, changed.
Parameters
key_locationwidar_key_store(cloud signing, level 2) orcustomer_hsm(by a certificate request).auto_renew_daysStart a renewal this many days before expiry, 30 to 90, or
nullfor off.
curl -X PATCH https://api.widar.com/v1/settings/certificates \
-H "Authorization: Bearer $WIDAR_API_KEY"PATCH /v1/settings/certificates
GET/v1/settings/verify_pages
The defaults every system’s verify page starts from, and the rules every verify page keeps.
- Who may
- Owner, Admin, Compliance, Developer and Viewer
- CLI
widar settings verify-pages get- MCP tool
get_verify_page_settings- Returns
- Brand, languages, recovered credentials, custom domain, and the fixed rules.
No parameters.
curl -X GET https://api.widar.com/v1/settings/verify_pages \
-H "Authorization: Bearer $WIDAR_API_KEY"GET /v1/settings/verify_pages
PATCH/v1/settings/verify_pages
Change the languages, whether recovered credentials show, and the custom domain. Each page can still override them.
- Who may
- Owner, Admin and Compliance
- CLI
widar settings verify-pages set [--languages <en,de,...>] [--show-recovered <true|false>] [--custom-domain <host name>]- MCP tool
update_verify_page_settings- Returns
- The verify page defaults, changed.
Parameters
languagesThe visitor’s languages. One of
en,de,fr,es,it,nl,sv,pl,pt.show_recoveredShow a credential recovered from the mark.
custom_domainA host name of yours, on plans that include one. At most 253 characters.
curl -X PATCH https://api.widar.com/v1/settings/verify_pages \
-H "Authorization: Bearer $WIDAR_API_KEY"PATCH /v1/settings/verify_pages
GET/v1/settings/disclose
The languages labels are made in, and the label set a new system’s disclosure kit starts from.
- Who may
- Owner, Admin, Compliance, Developer and Viewer
- CLI
widar settings disclose get- MCP tool
get_disclose_settings- Returns
- Label languages and the default label set.
No parameters.
curl -X GET https://api.widar.com/v1/settings/disclose \
-H "Authorization: Bearer $WIDAR_API_KEY"GET /v1/settings/disclose
PATCH/v1/settings/disclose
Change the label languages and the set a new system’s kit starts from. Labels never turn marking on or off.
- Who may
- Owner, Admin and Compliance
- CLI
widar settings disclose set [--languages <en,de,...>] [--content-type <text|image|audio|video> --label <true|false>] [--icon <basic|fully_ai_generated|partly_ai_modified>] [--colour <black|white|black_50|white_50>] [--link <output|system>]- MCP tool
update_disclose_settings- Returns
- The label defaults, changed.
Parameters
languagesThe labels' languages. One of
en,de,fr,es,it,nl,sv,pl,pt.content_typeThe content type. One of
text,image,audio,video.labelThe label.
iconThe icon. One of
basic,fully_ai_generated,partly_ai_modified.colourThe colour. One of
black,white,black_50,white_50.linkThe link. One of
output,system.
curl -X PATCH https://api.widar.com/v1/settings/disclose \
-H "Authorization: Bearer $WIDAR_API_KEY"PATCH /v1/settings/disclose
GET/v1/settings/general
The workspace’s name, slug, time zone, default currency and logo, where its files are stored, and a deletion if one is scheduled.
- Who may
- Owner, Admin, Compliance, Developer, Viewer and Billing
- CLI
widar settings general get- MCP tool
get_general_settings- Returns
- The workspace’s name, time zone, currency, logo and storage location.
No parameters.
curl -X GET https://api.widar.com/v1/settings/general \
-H "Authorization: Bearer $WIDAR_API_KEY"GET /v1/settings/general
PATCH/v1/settings/general
Rename the workspace, change the time zone its dates and summaries use or the currency members type amounts in, or say the company’s website, industry and country.
- Who may
- Owner and Admin
- CLI
widar settings general set [--name <text>] [--time-zone <IANA zone>] [--currency <EUR|GBP|USD>] [--website <https://...|none>] [--industry <industry|none>] [--country <NL|...|none>]- MCP tool
update_general_settings- Returns
- The general settings, changed.
Parameters
nameThe name. At most 80 characters.
time_zoneThe time zone. At most 64 characters.
currencyThe currency. One of
EUR,GBP,USD.websiteThe website.
industryThe industry. One of
model_lab,inference_provider,image_generator,video_generator,voice_and_music,chatbot_or_llm_app,model_router,platform,publisher,stock_media,agency,fact_checker,other.nullclears it.countryThe country.
nullclears it.
curl -X PATCH https://api.widar.com/v1/settings/general \
-H "Authorization: Bearer $WIDAR_API_KEY"PATCH /v1/settings/general
PUT/v1/settings/general/logo
A PNG or JPEG of at most 512 KB, shown to members in the console beside the workspace’s name.
- Who may
- Owner and Admin
- CLI
widar settings logo upload <file_name>- MCP tool
upload_workspace_logo- Returns
- The general settings, with the new logo.
Parameters
file_nameRequiredThe file name. At most 200 characters.
content_typeRequiredThe content type. One of
image/png,image/jpeg.byte_sizeRequiredThe byte size. At least 1, at most 524,288.
contentRequiredThe content. At most 720,000 characters.
curl -X PUT https://api.widar.com/v1/settings/general/logo \
-H "Authorization: Bearer $WIDAR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"file_name": "<file_name>",
"content_type": "image/png",
"byte_size": "<byte_size>",
"content": "<content>"
}'PUT /v1/settings/general/logo
DELETE/v1/settings/general/logo
The console shows the workspace’s initials again.
- Who may
- Owner and Admin
- CLI
widar settings logo remove- MCP tool
remove_workspace_logo- Returns
- The general settings, with no logo.
No parameters.
curl -X DELETE https://api.widar.com/v1/settings/general/logo \
-H "Authorization: Bearer $WIDAR_API_KEY"DELETE /v1/settings/general/logo
POST/v1/workspace/transfer_ownership
Hand the owner role to another member; you become an admin. Only the owner can do this.
- Who may
- Owner and Admin
- CLI
widar workspace transfer-ownership --member-id <mem_id>- MCP tool
transfer_workspace_ownership- Returns
- The general settings, with the new owner.
Parameters
member_idRequiredThe member’s id.
curl -X POST https://api.widar.com/v1/workspace/transfer_ownership \
-H "Authorization: Bearer $WIDAR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"member_id": "mem_7Kq2Xw9"
}'POST /v1/workspace/transfer_ownership
DELETE/v1/workspace
Schedules the workspace for deletion in 30 days: then its cases, people, documents and files are purged. Type its name to confirm.
- Who may
- Owner and Admin
- CLI
widar workspace delete --confirm-name <workspace name>- MCP tool
delete_workspace- Returns
- The general settings, with the deletion date.
Parameters
confirm_nameRequiredThe confirm name. At most 80 characters.
curl -X DELETE "https://api.widar.com/v1/workspace?confirm_name={confirm_name}" \
-H "Authorization: Bearer $WIDAR_API_KEY"DELETE /v1/workspace
POST/v1/workspace/cancel_deletion
The workspace stays, as it was.
- Who may
- Owner and Admin
- CLI
widar workspace cancel-deletion- MCP tool
cancel_workspace_deletion- Returns
- The general settings, with no deletion scheduled.
No parameters.
curl -X POST https://api.widar.com/v1/workspace/cancel_deletion \
-H "Authorization: Bearer $WIDAR_API_KEY"POST /v1/workspace/cancel_deletion
GET/v1/settings/security
Single sign-on: the protocol, its fields, whether it is enforced, and which identity-provider groups get which role. Secrets are never returned.
- Who may
- Owner and Admin
- CLI
widar settings security get- MCP tool
get_security_settings- Returns
- Single sign-on and its group-to-role mapping, with no secret.
No parameters.
curl -X GET https://api.widar.com/v1/settings/security \
-H "Authorization: Bearer $WIDAR_API_KEY"GET /v1/settings/security
PATCH/v1/settings/security
Set up single sign-on with OIDC or SAML, enforce it, map identity-provider groups to roles, and choose the role of a person it signs in for the first time. Every identity provider address uses https and may not point to a private network. A secret is stored encrypted and never shown again.
- Who may
- Owner and Admin
- CLI
widar settings security set [--protocol <disabled|oidc|saml>] [--enforced <true|false>] [--oidc-authorization-url <url>] [--oidc-token-url <url>] [--oidc-client-id <id>] [--oidc-client-secret <secret>] [--oidc-domain <domain>] [--oidc-jwks-url <url>] [--saml-idp-entity-id <id>] [--saml-sso-url <url>] [--saml-slo-url <url>] [--saml-metadata-url <url>] [--saml-certificate <pem>] [--saml-sp-entity-id <id>] [--role-mapping <group=role>,...] [--default-role <admin|analyst|developer|viewer|billing>] [--allowed-domains <domain>,...]- MCP tool
update_security_settings- Returns
- Single sign-on, changed; secrets only as set or not set.
Parameters
protocolThe protocol. One of
disabled,oidc,saml.enforcedThe enforced.
oidc_authorization_urlThe oidc authorization url. At most 2,048 characters.
oidc_token_urlThe oidc token url. At most 2,048 characters.
oidc_client_idThe oidc client id. At most 200 characters.
oidc_client_secretThe oidc client secret. At most 500 characters.
oidc_domainThe oidc domain. At most 253 characters.
oidc_jwks_urlThe oidc jwks url. At most 2,048 characters.
saml_idp_entity_idThe saml idp entity id. At most 500 characters.
saml_sso_urlThe saml sso url. At most 2,048 characters.
saml_slo_urlThe saml slo url. At most 2,048 characters.
saml_metadata_urlThe saml metadata url. At most 2,048 characters.
saml_certificateThe saml certificate. At most 10,000 characters.
saml_sp_entity_idThe saml sp entity id. At most 500 characters.
default_roleThe default role. One of
admin,analyst,developer,viewer,billing.role_mappingThe role mapping. At most 50 items.
allowed_domainsThe allowed domains. At most 20 items.
curl -X PATCH https://api.widar.com/v1/settings/security \
-H "Authorization: Bearer $WIDAR_API_KEY"PATCH /v1/settings/security
POST/v1/settings/security/test
Check the saved setup the way a sign-in will, before anyone depends on it: the identity provider’s addresses answer, its signing keys or certificate are there and in date, and widar can check who a response is from and for whom. Each check says what it found.
- Who may
- Owner and Admin
- CLI
widar settings security test- MCP tool
test_single_sign_on- Returns
- Each check with what it found, and whether sign-in is ready.
No parameters.
curl -X POST https://api.widar.com/v1/settings/security/test \
-H "Authorization: Bearer $WIDAR_API_KEY"POST /v1/settings/security/test
GET/v1/settings/security/sign_ins
The latest sign-ins through your identity provider, newest first: who, how each ended, the role it gave and why, the accounts it made for people signing in for the first time, and for each refusal what the response said beside what widar expected.
- Who may
- Owner and Admin
- CLI
widar settings security sign-ins [--result <signed_in|provisioned|refused>] [--limit <n>]- MCP tool
list_sso_sign_ins- Returns
- The sign-ins, newest first, refusals with their reason and what disagreed.
Parameters
resultThe result. One of
signed_in,provisioned,refused.limitThe limit. At least 1, at most 100.
curl -X GET https://api.widar.com/v1/settings/security/sign_ins \
-H "Authorization: Bearer $WIDAR_API_KEY"GET /v1/settings/security/sign_ins
GET/v1/audit_log
Every change to the workspace’s settings, members and keys, newest first, with who made it, when, and the value before and after. Never a secret.
- Who may
- Owner and Admin
- CLI
widar audit list [--q <words>] [--area <area>] [--limit <n>]- MCP tool
list_audit_log- Returns
- The changes, newest first.
Parameters
qThe q. At most 120 characters.
areaThe area. At most 60 characters.
limitThe limit. At least 1, at most 200.
curl -X GET https://api.widar.com/v1/audit_log \
-H "Authorization: Bearer $WIDAR_API_KEY"GET /v1/audit_log
GET/v1/alert_rules
When the workspace tells whom what: each rule’s kind, where it goes and whether it is on.
- Who may
- Owner, Admin, Compliance, Developer and Viewer
- CLI
widar alerts list- MCP tool
list_alert_rules- Returns
- The workspace’s alert rules.
No parameters.
curl -X GET https://api.widar.com/v1/alert_rules \
-H "Authorization: Bearer $WIDAR_API_KEY"GET /v1/alert_rules
GET/v1/alert_rules/{alert_rule_id}/preview
The email an alert rule sends, with its subject and its HTML and text parts, written from the newest event it tells about.
- Who may
- Owner, Admin, Compliance, Developer and Viewer
- CLI
widar alerts preview <alert_rule_id>- MCP tool
preview_alert_rule- Returns
- The message as it would go out, and the event it is about.
Parameters
alert_rule_idRequiredThe alert rule’s id. In the path.
curl -X GET https://api.widar.com/v1/alert_rules/alr_7Kq2Xw9/preview \
-H "Authorization: Bearer $WIDAR_API_KEY"GET /v1/alert_rules/{alert_rule_id}/preview
POST/v1/alert_rules
Send one kind of alert to more people: other emails, a channel of a connected chat, or every member who can see marking.
- Who may
- Owner and Admin
- CLI
widar alerts create --preset <preset> --destinations <email or #channel>,... [--include-person-name <true|false>]- MCP tool
create_alert_rule- Returns
- The alert rule, on.
Parameters
presetRequiredThe preset. One of
marking_failed,install_not_reporting,certificate_expiring,certificate_changed,entity_validation,system_validated,test_run_below_last,route_changed,key_rotated,integration_broken.destinationsRequiredThe destinations. At most 20 items.
include_person_nameThe include person name.
curl -X POST https://api.widar.com/v1/alert_rules \
-H "Authorization: Bearer $WIDAR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"preset": "marking_failed",
"destinations": "<destinations>"
}'POST /v1/alert_rules
PATCH/v1/alert_rules/{alert_rule_id}
Turn a rule on or off, change where it goes, or whether it names the member who made a change.
- Who may
- Owner and Admin
- CLI
widar alerts update <alert_rule_id> [--status <on|off>] [--destinations <email or #channel>,...] [--include-person-name <true|false>]- MCP tool
update_alert_rule- Returns
- The alert rule, changed.
Parameters
alert_rule_idRequiredThe alert rule’s id. In the path.
statusThe status. One of
on,off.destinationsThe destinations. At most 20 items.
include_person_nameThe include person name.
curl -X PATCH https://api.widar.com/v1/alert_rules/alr_7Kq2Xw9 \
-H "Authorization: Bearer $WIDAR_API_KEY"PATCH /v1/alert_rules/{alert_rule_id}
DELETE/v1/alert_rules/{alert_rule_id}
No more messages from a rule you added. Every workspace’s own rule of each kind stays: turn it off instead.
- Who may
- Owner and Admin
- CLI
widar alerts delete <alert_rule_id>- MCP tool
delete_alert_rule- Returns
- The alert rule sends nothing more.
Parameters
alert_rule_idRequiredThe alert rule’s id. In the path.
curl -X DELETE https://api.widar.com/v1/alert_rules/alr_7Kq2Xw9 \
-H "Authorization: Bearer $WIDAR_API_KEY"DELETE /v1/alert_rules/{alert_rule_id}
GET/v1/settings/notifications
For each kind of notice a member gets, whether it also goes by email and to chat by default, and how long an install may be silent.
- Who may
- Owner, Admin, Compliance, Developer and Viewer
- CLI
widar settings notifications get- MCP tool
get_notification_settings- Returns
- The workspace’s notice defaults, by kind, and the install silence period.
No parameters.
curl -X GET https://api.widar.com/v1/settings/notifications \
-H "Authorization: Bearer $WIDAR_API_KEY"GET /v1/settings/notifications
PATCH/v1/settings/notifications
Whether one kind of notice also goes by email or to chat, for every member who has not chosen for themselves; or how long an install may be silent.
- Who may
- Owner and Admin
- CLI
widar settings notifications set [--kind <kind>] [--email <true|false>] [--chat <true|false>] [--install-silence-hours <1-168>]- MCP tool
update_notification_settings- Returns
- The notice defaults, changed.
Parameters
kindThe kind. One of
marking_failed,install_not_reporting,certificate_expiring,entity_question,test_run_failed,verify_page_report,evidence_ready,payment_failed.emailThe email.
chatThe chat.
install_silence_hoursThe install silence hours. At least 1, at most 168.
curl -X PATCH https://api.widar.com/v1/settings/notifications \
-H "Authorization: Bearer $WIDAR_API_KEY"PATCH /v1/settings/notifications
GET/v1/settings/data
What widar keeps for this workspace and for how long, that it never keeps your content, and every place data goes outside widar’s EU plane.
- Who may
- Owner, Admin, Compliance, Developer, Viewer and Billing
- CLI
widar settings data get- MCP tool
get_data_settings- Returns
- What is kept, for how long, and where data goes.
No parameters.
curl -X GET https://api.widar.com/v1/settings/data \
-H "Authorization: Bearer $WIDAR_API_KEY"GET /v1/settings/data
PATCH/v1/settings/data
How long the workspace’s verifications, activity log, API request log and webhook deliveries are kept.
- Who may
- Owner and Admin
- CLI
widar settings data set [--retention-verifications <days>] [--retention-audit-log <days>] [--retention-api-logs <days>] [--retention-webhook-deliveries <days>]- MCP tool
update_data_settings- Returns
- The data settings, changed.
Parameters
retention_verificationsThe retention verifications. At least 30, at most 1,095.
retention_audit_logThe retention audit log. At least 365, at most 2,555.
retention_api_logsThe retention api logs. At least 1, at most 30.
retention_webhook_deliveriesThe retention webhook deliveries. At least 7, at most 90.
curl -X PATCH https://api.widar.com/v1/settings/data \
-H "Authorization: Bearer $WIDAR_API_KEY"PATCH /v1/settings/data
GET/v1/connections
Slack and Microsoft Teams: whether each is connected, to which account, and what in the workspace uses it.
- Who may
- Owner, Admin, Compliance, Developer and Viewer
- CLI
widar connections list- MCP tool
list_connections- Returns
- Each connection with its state and what uses it.
No parameters.
curl -X GET https://api.widar.com/v1/connections \
-H "Authorization: Bearer $WIDAR_API_KEY"GET /v1/connections
POST/v1/connections
Sign in to Slack or Microsoft Teams so alert rules and notices can go to its channels.
- Who may
- Owner and Admin
- CLI
widar connections connect <slack|teams>- MCP tool
connect_chat- Returns
- The connection, with where to sign in when the other side asks.
Parameters
kindRequiredThe kind. One of
slack,teams.
curl -X POST https://api.widar.com/v1/connections \
-H "Authorization: Bearer $WIDAR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"kind": "slack"
}'POST /v1/connections
DELETE/v1/connections/{connection_id}
Stop sending to that chat. Alert rules keep their email destinations; their channels there are dropped.
- Who may
- Owner and Admin
- CLI
widar connections disconnect <connection_id>- MCP tool
disconnect_chat- Returns
- The connection, not connected.
Parameters
connection_idRequiredThe connection’s id. In the path.
curl -X DELETE https://api.widar.com/v1/connections/con_7Kq2Xw9 \
-H "Authorization: Bearer $WIDAR_API_KEY"DELETE /v1/connections/{connection_id}
GET/v1/settings/detection
What a check in this workspace reads, who checks your marks for free, and the signed result.
- Who may
- Owner, Admin, Compliance, Developer and Viewer
- CLI
widar settings detection get- MCP tool
get_detection_settings- Returns
- What a check reads, the free checks of your marks, and the signed result.
No parameters.
curl -X GET https://api.widar.com/v1/settings/detection \
-H "Authorization: Bearer $WIDAR_API_KEY"GET /v1/settings/detection