[{"data":1,"prerenderedAt":273},["ShallowReactive",2],{"navigation_docs":3,"-features-guardrails":98,"-features-guardrails-surround":268},[4,26,77],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":25},"Getting Started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,15,20],{"title":11,"path":12,"stem":13,"icon":14},"Overview","\u002Fgetting-started\u002Foverview","1.getting-started\u002F1.overview","i-lucide-info",{"title":16,"path":17,"stem":18,"icon":19},"Platform Navigation","\u002Fgetting-started\u002Fplatform-navigation","1.getting-started\u002F2.platform-navigation","i-lucide-compass",{"title":21,"path":22,"stem":23,"icon":24},"Quickstart","\u002Fgetting-started\u002Fquickstart","1.getting-started\u002F3.quickstart","i-lucide-play-circle",false,{"title":27,"icon":28,"path":29,"stem":30,"children":31,"page":25},"Features","i-lucide-star","\u002Ffeatures","2.features",[32,37,42,47,52,57,62,67,72],{"title":33,"path":34,"stem":35,"icon":36},"Feature Overview","\u002Ffeatures\u002Foverview","2.features\u002F1.overview","i-lucide-list",{"title":38,"path":39,"stem":40,"icon":41},"Company Setup","\u002Ffeatures\u002Fcompany-setup","2.features\u002F2.company-setup","i-lucide-building-2",{"title":43,"path":44,"stem":45,"icon":46},"Applications","\u002Ffeatures\u002Fapplications","2.features\u002F3.applications","i-lucide-box",{"title":48,"path":49,"stem":50,"icon":51},"Observability","\u002Ffeatures\u002Fobservability","2.features\u002F4.observability","i-lucide-activity",{"title":53,"path":54,"stem":55,"icon":56},"Guardrails","\u002Ffeatures\u002Fguardrails","2.features\u002F5.guardrails","i-lucide-shield-alert",{"title":58,"path":59,"stem":60,"icon":61},"Data Integrations","\u002Ffeatures\u002Fdata-integrations","2.features\u002F6.data-integrations","i-lucide-database",{"title":63,"path":64,"stem":65,"icon":66},"Models and Routing","\u002Ffeatures\u002Fmodels-and-routing","2.features\u002F7.models-and-routing","i-lucide-git-branch",{"title":68,"path":69,"stem":70,"icon":71},"Governance","\u002Ffeatures\u002Fgovernance","2.features\u002F8.governance","i-lucide-shield-check",{"title":73,"path":74,"stem":75,"icon":76},"Tools","\u002Ffeatures\u002Ftools","2.features\u002F9.tools","i-lucide-globe",{"title":78,"icon":79,"path":80,"stem":81,"children":82,"page":25},"Integrations","i-lucide-plug","\u002Fintegrations","3.integrations",[83,88,93],{"title":84,"path":85,"stem":86,"icon":87},"Using the API","\u002Fintegrations\u002Fapi-usage","3.integrations\u002F3.api-usage","i-lucide-terminal-square",{"title":89,"path":90,"stem":91,"icon":92},"API Keys","\u002Fintegrations\u002Fapi-keys","3.integrations\u002Fapi-keys","i-lucide-key-round",{"title":94,"path":95,"stem":96,"icon":97},"Providers","\u002Fintegrations\u002Fproviders","3.integrations\u002Fproviders","i-lucide-cpu",{"id":99,"title":53,"body":100,"description":261,"extension":262,"links":263,"meta":264,"navigation":265,"path":54,"seo":266,"stem":55,"__hash__":267},"docs\u002F2.features\u002F5.guardrails.md",{"type":101,"value":102,"toc":253},"minimark",[103,112,115,118,123,126,129,155,166,170,173,175,200,209,213,216,233,236,239,242],[104,105,106,107,111],"p",{},"Guardrails let an application apply safety policies across AI traffic. They are configured per application in ",[108,109,110],"strong",{},"Applications -> your application -> Modules -> Guardrails",".",[104,113,114],{},"Guardrails are designed to be understandable from the UI: choose what to detect, how sensitive the policy should be, and what Optiak should do when something is detected.",[104,116,117],{},"Use guardrails to reduce the risk of unsafe prompts, prompt injection attempts, personal information exposure, and sensitive data leakage while keeping policy decisions visible in observability.",[119,120,122],"h2",{"id":121},"prompt-injection-detection","Prompt Injection Detection",[104,124,125],{},"Prompt Injection Detection identifies attempts to override system instructions or manipulate the model outside the intended task.",[104,127,128],{},"When enabled, configure:",[130,131,132,139,145],"ul",{},[133,134,135,138],"li",{},[108,136,137],{},"Sensitivity"," - Higher sensitivity catches more suspicious prompts but may increase false positives.",[133,140,141,144],{},[108,142,143],{},"Action"," - Block detections or only record them.",[133,146,147,150,151,111],{},[108,148,149],{},"Block response mode"," - Return an assistant refusal response or return HTTP ",[152,153,154],"code",{},"403",[104,156,157,158,161,162,165],{},"Use ",[108,159,160],{},"Detect (no action)"," when you want to measure impact before enforcing a blocking policy. Use ",[108,163,164],{},"Block"," when detected traffic should be rejected according to your application policy.",[119,167,169],{"id":168},"pii-detection","PII Detection",[104,171,172],{},"PII Detection identifies personal and sensitive information so it can be handled according to your application policy.",[104,174,128],{},[130,176,177,183,188,193],{},[133,178,179,182],{},[108,180,181],{},"Entity groups"," - General information such as names and contact details, financial data such\nas payment cards and bank identifiers, and IT data such as network addresses, URLs, and AWS\ncredentials.",[133,184,185,187],{},[108,186,137],{}," - Higher sensitivity catches more possible matches but may increase false positives.",[133,189,190,192],{},[108,191,143],{}," - Block detections, redact detected entities, or only record them.",[133,194,195,197,198,111],{},[108,196,149],{}," - When blocking, return an assistant refusal response or return HTTP ",[152,199,154],{},[104,201,157,202,205,206,208],{},[108,203,204],{},"Redact"," when the request can still be handled safely after masking detected entities. Use ",[108,207,164],{}," when the request should not continue.",[119,210,212],{"id":211},"block-response-modes","Block Response Modes",[104,214,215],{},"Guardrails can block in two ways:",[130,217,218,224],{},[133,219,220,223],{},[108,221,222],{},"Refusal"," - The API returns a normal model-shaped response with an assistant refusal. This is useful when the calling application expects a successful response shape.",[133,225,226,229,230,232],{},[108,227,228],{},"Forbidden"," - The API returns HTTP ",[152,231,154],{},". This is useful when the calling application should treat the request as rejected by policy.",[104,234,235],{},"Both modes enforce the same safety decision; choose the response shape that best matches how your application handles rejected traffic.",[119,237,48],{"id":238},"observability",[104,240,241],{},"Guardrail activity appears in observability views. Use those views to understand:",[130,243,244,247,250],{},[133,245,246],{},"Whether requests were blocked, redacted, or only audited.",[133,248,249],{},"Whether sensitivity settings are producing the expected behavior.",[133,251,252],{},"How guardrails affect application traffic over time.",{"title":254,"searchDepth":255,"depth":255,"links":256},"",2,[257,258,259,260],{"id":121,"depth":255,"text":122},{"id":168,"depth":255,"text":169},{"id":211,"depth":255,"text":212},{"id":238,"depth":255,"text":48},"Configure safety checks for application traffic.","md",null,{},{"icon":56},{"title":53,"description":261},"D0RQ8ScXN91YrSdh5G6Pk70bXZiXfcSZGf5dE0rlMlc",[269,271],{"title":48,"path":49,"stem":50,"description":270,"icon":51,"children":-1},"Understand platform visibility for AI traffic.",{"title":58,"path":59,"stem":60,"description":272,"icon":61,"children":-1},"Use organization data sources for vector search.",1789640937839]