X-Blindsight-App-Id header.
Why Apps
One workspace usually fronts several distinct LLM surfaces that warrant different security postures:- A healthcare chatbot needs strict PHI thresholds and may forbid certain providers.
- An internal code agent can tolerate looser injection thresholds but needs strict tool policy.
- A customer support bot wants standard thresholds and rich ticketing custom params.
Managing Apps
Apps are managed under Runtime Security → Apps in the dashboard, or via the REST API.Built‑in templates
Cloning a template is the fastest way to get a production‑shaped App. Each template ships with sensible thresholds, a starter custom‑phrase list, custom PII rules where appropriate, custom params, and dataset field picks.App resolution headers
Privacy modes
Set per‑App viaprivacy_mode on create or update.
Custom event params
Each App declares typed event params (string / number / boolean
/ date / enum). When you call /scan/input or /scan/output,
attach a custom_params object; values are validated against the
App’s schema and stored on the event row for downstream filtering and
dataset export.
Required params reject the scan with 400 CUSTOM_PARAM_REQUIRED if
missing.
Versioned config
Every config write creates a newconfig_version_number linked to
the event row that produced it.
GET …/apps/{id}/config-versionsreturns the change history.change_summarycaptures the operator’s reason for the change.- The drift dashboard reports on config‑version transitions, so a sudden change in verdict mix can be correlated to a config change.
Common workflows
Set up a staging clone of a production App
Set up a staging clone of a production App
POST .../apps/{id}/cloneon the production App.- Rename the clone
staging_<original>. - Lower its
max_events_per_hourso a misconfigured client can’t burn quota. - Point your staging environment at the clone’s
X-Blindsight-App-Id.
Roll out a tighter PII threshold safely
Roll out a tighter PII threshold safely
- Note the current config version on the App.
PUT …/apps/{id}/configwith the new thresholds and achange_summaryliketightening EU launch.- Watch the drift dashboard for verdict mix changes over the next 24 hours.
- If anything looks wrong,
PUTthe previous config version back; the history endpoint lets you roll back precisely.
Use signed tokens for hardened deployments
Use signed tokens for hardened deployments
- Set
require_signed_token=trueon the App. - Mint a token via
POST .../apps/{id}/tokens. - Distribute the token to your edge clients.
- Rotate tokens by minting a new one alongside the old, then deleting the old after the rotation window.

