Skip to main content

Documentation Index

Fetch the complete documentation index at: https://concentrate.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Guardrails let you redact sensitive data automatically when using an API key.
  • Configure guardrails once on an API key.
  • Use that key normally with /v1/responses.
  • Redaction applies automatically based on that key’s settings.
Guardrails are key-level settings, not request-body parameters on /v1/responses.

Configure in Dashboard

  1. Go to Guardrails
  2. Select an API key
  3. Enable redaction
  4. Choose target: input, output, or both
  5. Select entity types
  6. Save changes

Settings in UI

  • Enabled / Disabled: turns redaction on or off for the selected key.
  • Target: choose whether redaction applies to input, output, or both.
  • Entity Types: choose which categories of sensitive data to redact.

Behavior You Can Expect

  • target: "input" redacts sensitive content before model processing.
  • target: "output" redacts model output before the response is returned.
  • target: "both" applies both.
Output redaction is not applied to streamed responses ("stream": true). Use non-streamed requests if you need output redaction.

Tips

  • Start with target: "input" if your main goal is protecting prompt data.
  • Use target: "both" for stricter protection on non-streamed calls.
  • Use entity_types to avoid over-redacting low-risk data.

Quickstart

Get started with API keys and first requests

Streaming

Streaming behavior and event format