Blekline
v0.3.0GitHub

API

POST /api/mask

Authoritative masking gateway.

View as Markdown

Auth: x-blekline-workspace-token (scope mask:write)

{ "text": "string", "platform": "optional" }

Response includes maskedText, tokenMap, entitiesMasked, decision, requestId, latencyMs, maskPath, region.

Response headers: x-blekline-latency-ms, x-blekline-mask-path, x-blekline-ingress-region, x-blekline-mask-phase.

Fast-path: set BLEKLINE_MASK_FAST_PATH=local_first on server or header x-blekline-mask-fast-path: local_first. See Latency SLO.

Optional headers: x-blekline-client-surface, x-blekline-model-provider, x-blekline-model-id


Next steps: AI Enablement Stack · OpenAPI · TypeScript SDK · Open workspace · Report issue