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
    • Read the marking defaults
    • Change the marking defaults
    • Read the classifier defaults
    • Change the classifier defaults
    • Read the certificate settings
    • Change the certificate settings
    • Read the verify page defaults
    • Change the verify page defaults
    • Read the label defaults
    • Change the label defaults
    • Read the general settings
    • Change the general settings
    • Upload the workspace logo
    • Remove the workspace logo
    • Transfer ownership
    • Delete the workspace
    • Cancel the deletion
    • Read the sign-in settings
    • Change the sign-in settings
    • Test single sign-on
    • List single sign-on attempts
    • Read the activity log
    • List the alert rules
    • Preview an alert's email
    • Add an alert rule
    • Change an alert rule
    • Delete an alert rule
    • Read the notice defaults
    • Change a notice default
    • Read the data settings
    • Change retention
    • List the alert connections
    • Connect Slack or Teams
    • Disconnect Slack or Teams
    • Read the detection 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. Settings

API referenceWorkspace

Settings

Every workspace setting, read and changed the same way by the console, the API, the CLI and the MCP server: general, security, notifications, data, marking, classifier, certificates, verify pages and disclosure.

Updated December 3, 2026

Ask about this pageRead this page as Markdown

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.

Read the marking defaults

Reads only

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

Change the marking defaults

Changes data

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_typeenum

    The content type. One of text, image, audio, video.

  • watermarkboolean

    The watermark.

  • credentialboolean

    The credential.

  • timestampboolean

    The timestamp.

  • assertionsarray of enum

    The assertions. One of ai_generated, system_name, system_version, created_time, unique_id.

  • text_recordsboolean

    Keep a record per text output, its hash and length only.

  • on_failureenum

    fail_closed or fail_open.

curl -X PATCH https://api.widar.com/v1/settings/marking \
  -H "Authorization: Bearer $WIDAR_API_KEY"

PATCH /v1/settings/marking

Read the classifier defaults

Reads only

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

Change the classifier defaults

Changes data

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_onboolean

    Classify on for new systems.

  • output_classenum

    The output class. One of source_code, machine_only, prose, media, unclear.

  • ruleenum

    The rule. One of mark, leave_unmarked.

  • record_skippedboolean

    Keep 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

Read the certificate settings

Reads only

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

Change the certificate settings

Changes data

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_locationenum

    widar_key_store (cloud signing, level 2) or customer_hsm (by a certificate request).

  • auto_renew_daysinteger

    Start a renewal this many days before expiry, 30 to 90, or null for off.

curl -X PATCH https://api.widar.com/v1/settings/certificates \
  -H "Authorization: Bearer $WIDAR_API_KEY"

PATCH /v1/settings/certificates

Read the verify page defaults

Reads only

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

Change the verify page defaults

Changes data

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

  • languagesarray of enum

    The visitor’s languages. One of en, de, fr, es, it, nl, sv, pl, pt.

  • show_recoveredboolean

    Show a credential recovered from the mark.

  • custom_domainstring

    A 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

Read the label defaults

Reads only

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

Change the label defaults

Changes data

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

  • languagesarray of enum

    The labels' languages. One of en, de, fr, es, it, nl, sv, pl, pt.

  • content_typeenum

    The content type. One of text, image, audio, video.

  • labelboolean

    The label.

  • iconenum

    The icon. One of basic, fully_ai_generated, partly_ai_modified.

  • colourenum

    The colour. One of black, white, black_50, white_50.

  • linkenum

    The 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

Read the general settings

Reads only

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

Change the general settings

Changes data

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

  • namestring

    The name. At most 80 characters.

  • time_zonestring

    The time zone. At most 64 characters.

  • currencyenum

    The currency. One of EUR, GBP, USD.

  • websitestring or null

    The website.

  • industryenum

    The 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. null clears it.

  • countrystring

    The country. null clears it.

curl -X PATCH https://api.widar.com/v1/settings/general \
  -H "Authorization: Bearer $WIDAR_API_KEY"

PATCH /v1/settings/general

Upload the workspace logo

Changes data

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_namestringRequired

    The file name. At most 200 characters.

  • content_typeenumRequired

    The content type. One of image/png, image/jpeg.

  • byte_sizeintegerRequired

    The byte size. At least 1, at most 524,288.

  • contentstringRequired

    The 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

Remove the workspace logo

Changes data

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

Transfer ownership

Changes data

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_idid (mem_)Required

    The 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 the workspace

Changes data

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_namestringRequired

    The 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

Cancel the deletion

Changes data

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

Read the sign-in settings

Reads only

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

Change the sign-in settings

Changes data

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

  • protocolenum

    The protocol. One of disabled, oidc, saml.

  • enforcedboolean

    The enforced.

  • oidc_authorization_urlstring

    The oidc authorization url. At most 2,048 characters.

  • oidc_token_urlstring

    The oidc token url. At most 2,048 characters.

  • oidc_client_idstring

    The oidc client id. At most 200 characters.

  • oidc_client_secretstring

    The oidc client secret. At most 500 characters.

  • oidc_domainstring

    The oidc domain. At most 253 characters.

  • oidc_jwks_urlstring

    The oidc jwks url. At most 2,048 characters.

  • saml_idp_entity_idstring

    The saml idp entity id. At most 500 characters.

  • saml_sso_urlstring

    The saml sso url. At most 2,048 characters.

  • saml_slo_urlstring

    The saml slo url. At most 2,048 characters.

  • saml_metadata_urlstring

    The saml metadata url. At most 2,048 characters.

  • saml_certificatestring

    The saml certificate. At most 10,000 characters.

  • saml_sp_entity_idstring

    The saml sp entity id. At most 500 characters.

  • default_roleenum

    The default role. One of admin, analyst, developer, viewer, billing.

  • role_mappingarray of string

    The role mapping. At most 50 items.

  • allowed_domainsarray of string

    The 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

Test single sign-on

Changes data

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

List single sign-on attempts

Reads only

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

  • resultenum

    The result. One of signed_in, provisioned, refused.

  • limitintegerDefault 50

    The 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

Read the activity log

Reads only

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

  • qstring

    The q. At most 120 characters.

  • areastring

    The area. At most 60 characters.

  • limitinteger

    The 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

List the alert rules

Reads only

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

Preview an alert's email

Reads only

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_idid (alr_)Required

    The 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

Add an alert rule

Changes data

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

  • presetenumRequired

    The 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.

  • destinationsarray of stringRequired

    The destinations. At most 20 items.

  • include_person_namebooleanDefault false

    The 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

Change an alert rule

Changes data

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_idid (alr_)Required

    The alert rule’s id. In the path.

  • statusenum

    The status. One of on, off.

  • destinationsarray of string

    The destinations. At most 20 items.

  • include_person_nameboolean

    The 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 an alert rule

Changes data

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_idid (alr_)Required

    The 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}

Read the notice defaults

Reads only

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

Change a notice default

Changes data

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

  • kindenum

    The kind. One of marking_failed, install_not_reporting, certificate_expiring, entity_question, test_run_failed, verify_page_report, evidence_ready, payment_failed.

  • emailboolean

    The email.

  • chatboolean

    The chat.

  • install_silence_hoursinteger

    The 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

Read the data settings

Reads only

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

Change retention

Changes 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_verificationsinteger

    The retention verifications. At least 30, at most 1,095.

  • retention_audit_loginteger

    The retention audit log. At least 365, at most 2,555.

  • retention_api_logsinteger

    The retention api logs. At least 1, at most 30.

  • retention_webhook_deliveriesinteger

    The 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

List the alert connections

Reads only

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

Connect Slack or Teams

Changes data

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

  • kindenumRequired

    The 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

Disconnect Slack or Teams

Changes data

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_idid (con_)Required

    The 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}

Read the detection settings

Reads only

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

PreviousAPI keysNextBilling and plan

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