Skip to main content
PUT
Update workspace settings

Authorizations

X-API-Key
string
header
required

Blindsight workspace API key (ak_live_…). Use this header for the scan API and the OpenAI proxy routes. The required permission scope is runtime_security.scan for scan endpoints, runtime_security.view for read-only analytics, and runtime_security.manage for configuration changes.

Body

application/json
enabled
boolean
default:true
block_threshold
number
default:0.85
Required range: 0 <= x <= 1
redact_threshold
number
default:0.55
Required range: 0 <= x <= 1
max_text_length
integer
default:32000
Required range: 256 <= x <= 200000
log_events
boolean
default:true
pre_prompt
string | null
Maximum string length: 20000
pre_prompt_placement
enum<string>
default:prepend
Available options:
prepend,
append,
sandwich
agentic
object
file_scanning_enabled
boolean
default:true

Scan file uploads as well as prompt text.

file_unredactable_action
enum<string>
default:block

What happens when a file contains PII or secrets and its format has no in-file redactor.

Available options:
block,
allow
pseudonymize_enabled
boolean
default:false

Replace detected values with reversible surrogates instead of a placeholder, so the reply can be restored on the way back.

pseudonymize_labels
object

Per-label overrides for which categories are pseudonymized.

pseudonymize_retention_days
integer
default:30

How long a surrogate stays resolvable back to its value.

dlp_fail_mode
enum<string>
default:open

What the endpoint agent does when it cannot reach this API. closed stops the traffic it cannot get a verdict for.

Available options:
open,
closed
dlp_fail_mode_locked
boolean
default:false

Prevents a device changing its own fail mode.

dlp_protect_unsanctioned
boolean
default:false

Inspect and pseudonymize traffic to AI services nobody has approved, rather than blocking them.

dlp_host_rule_overrides
object[]

Per-host rules that override the built-in AI host list, each naming a host pattern, how to match it, and what to do.

Response

New settings (after persistence)

enabled
boolean
default:true
block_threshold
number
default:0.85
Required range: 0 <= x <= 1
redact_threshold
number
default:0.55
Required range: 0 <= x <= 1
max_text_length
integer
default:32000
Required range: 256 <= x <= 200000
log_events
boolean
default:true
pre_prompt
string | null
Maximum string length: 20000
pre_prompt_placement
enum<string>
default:prepend
Available options:
prepend,
append,
sandwich
agentic
object
file_scanning_enabled
boolean
default:true

Scan file uploads as well as prompt text.

file_unredactable_action
enum<string>
default:block

What happens when a file contains PII or secrets and its format has no in-file redactor.

Available options:
block,
allow
pseudonymize_enabled
boolean
default:false

Replace detected values with reversible surrogates instead of a placeholder, so the reply can be restored on the way back.

pseudonymize_labels
object

Per-label overrides for which categories are pseudonymized.

pseudonymize_retention_days
integer
default:30

How long a surrogate stays resolvable back to its value.

dlp_fail_mode
enum<string>
default:open

What the endpoint agent does when it cannot reach this API. closed stops the traffic it cannot get a verdict for.

Available options:
open,
closed
dlp_fail_mode_locked
boolean
default:false

Prevents a device changing its own fail mode.

dlp_protect_unsanctioned
boolean
default:false

Inspect and pseudonymize traffic to AI services nobody has approved, rather than blocking them.

dlp_host_rule_overrides
object[]

Per-host rules that override the built-in AI host list, each naming a host pattern, how to match it, and what to do.