PageSourceSearch

https://portkey.ai/docs/product/guardrails/pii-redaction

html portkey.ai collected 2026-10-02 04:46:10 UTC 462,053 bytes, 342 lines download raw bytes

1<!DOCTYPE html><html lang="en" class="inter_1d81deff-module__CYM0aG__variable papermono_89c757f2-module__6aS5zq__variable dark" data-banner-state="visible" data-assistant-state="closed" data-page-mode="none" data-current-path="/"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/><link rel="preload" href="/docs/_next/static/media/83afe278b6a6bb3c.p.3a6ba036.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/docs/_next/static/media/PaperMono_Variable.p.aa32f7a0.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/docs/_next/static/media/f67ad414ed34149c.p.84166d94.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" as="image" href="https://mintcdn.com/portkey-docs/tHk-hgNjLbEj4dhh/images/portkey-PANW-company-logo-positive.png?fit=max&amp;auto=format&amp;n=tHk-hgNjLbEj4dhh&amp;q=85&amp;s=c5fb09014ff79616583b1d3bffe27450"/><link rel="preload" as="image" href="https://mintcdn.com/portkey-docs/tHk-hgNjLbEj4dhh/images/portkey-PANW-company-logo-negative.png?fit=max&amp;auto=format&amp;n=tHk-hgNjLbEj4dhh&amp;q=85&amp;s=6025ca49ef544522f58ff471b7f75f8f"/><link rel="stylesheet" href="/docs/_next/static/chunks/462bacc63bed9960.css?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" data-precedence="next"/><link rel="stylesheet" href="/docs/_next/static/chunks/cbc8615ac0de59e9.css?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" data-precedence="next"/><style data-precedence="base-ui:low" data-href="base-ui-disable-scrollbar">.base-ui-disable-scrollbar{scrollbar-width:none}.base-ui-disable-scrollbar::-webkit-scrollbar{display:none}</style><link rel="preload" as="script" fetchPriority="low" href="/docs/_next/static/chunks/6d55b684068fd47e.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM"/>
1<script src="/docs/_next/static/chunks/44795504c795ca32.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/9389e3263b5cd009.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/b730549587248be7.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/f6b63147e67d2c3a.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/turbopack-c8982dfcce4a79e8.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/d056c4dd204a2da3.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/187844b452a731d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/2f355e1cfcb656a3.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/e8ae17d17545aec9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/68d6e5104243ae2b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/1274e7453c808eec.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/a95b6b45d1dc4487.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/65712ea96ab292b5.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/935cd929aff6bb51.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/e07381c7469ca6d6.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<script src="/docs/_next/static/chunks/baaa22a26eddc070.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" async=""></script>
1<link rel="preload" href="https://www.googletagmanager.com/gtag/js?id=G-JJMXYE4DRL" as="script"/><link rel="preload" href="/docs/_next/static/chunks/2d20cf573392ba7a.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" as="script" fetchPriority="low"/><link rel="preload" href="/docs/_next/static/chunks/5917258e888b4dff.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" as="script" fetchPriority="low"/><link rel="preload" href="/docs/_next/static/chunks/58dd45b95f6030ba.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" as="script" fetchPriority="low"/><title>PII Redaction - Portkey (Prisma AIRS AI Gateway) Docs</title><meta name="description" content="Replace any sensitive data in requests with standard identifiers"/><meta name="application-name" content="Portkey (Prisma AIRS AI Gateway) Docs"/><meta name="generator" content="Mintlify"/><meta name="msapplication-config" content="/docs/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon/browserconfig.xml"/><meta name="apple-mobile-web-app-title" content="Portkey (Prisma AIRS AI Gateway) Docs"/><meta name="msapplication-TileColor" content="#0891B2"/><link rel="canonical" href="https://docs.portkey.ai/docs/product/guardrails/pii-redaction"/><link rel="alternate" type="application/xml" href="/docs/sitemap.xml"/><link rel="alternate" type="text/markdown" href="/docs/product/guardrails/pii-redaction.md"/><meta property="og:title" content="PII Redaction - Portkey (Prisma AIRS AI Gateway) Docs"/><meta property="og:description" content="Replace any sensitive data in requests with standard identifiers"/><meta property="og:url" content="https://docs.portkey.ai/docs/product/guardrails/pii-redaction"/><meta property="og:site_name" content="Portkey AI Gateway Docs"/><meta property="og:image" content="https://portkey-docs.mintlify.app/_next/image?url=%2F_mintlify%2Fapi%2Fog%3Fdivision%3DGuardrails%26title%3DPII%2BRedaction%26description%3DReplace%2Bany%2Bsensitive%2Bdata%2Bin%2Brequests%2Bwith%2Bstandard%2Bidentifiers%26theme%3Db6e475a7823c35bcc5a58fce&amp;w=1200&amp;q=100"/><meta property="og:image:width" content="1200"/><meta property="og:image:height" content="630"/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:title" content="PII Redaction - Portkey (Prisma AIRS AI Gateway) Docs"/><meta name="twitter:description" content="Replace any sensitive data in requests with standard identifiers"/><meta name="twitter:image" content="https://portkey-docs.mintlify.app/_next/image?url=%2F_mintlify%2Fapi%2Fog%3Fdivision%3DGuardrails%26title%3DPII%2BRedaction%26description%3DReplace%2Bany%2Bsensitive%2Bdata%2Bin%2Brequests%2Bwith%2Bstandard%2Bidentifiers%26theme%3Db6e475a7823c35bcc5a58fce&amp;w=1200&amp;q=100"/><meta name="twitter:image:width" content="1200"/><meta name="twitter:image:height" content="630"/><link rel="icon" href="/docs/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon/android-chrome-192x192.png" type="image/png" sizes="192x192" media="(prefers-color-scheme: light)"/><link rel="apple-touch-icon" href="/docs/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon/apple-touch-icon.png" type="image/png" sizes="180x180"/><link rel="icon" href="/docs/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon/favicon-16x16.png" type="image/png" sizes="16x16" media="(prefers-color-scheme: light)"/><link rel="icon" href="/docs/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon/favicon-32x32.png" type="image/png" sizes="32x32" media="(prefers-color-scheme: light)"/><link rel="shortcut icon" href="/docs/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon/favicon.ico" type="image/x-icon" media="(prefers-color-scheme: light)"/><link rel="icon" href="/docs/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon-dark/android-chrome-192x192.png" type="image/png" sizes="192x192" media="(prefers-color-scheme: dark)"/><link rel="icon" href="/docs/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon-dark/favicon-16x16.png" type="image/png" sizes="16x16" media="(prefers-color-scheme: dark)"/><link rel="icon" href="/docs/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon-dark/favicon-32x32.png" type="image/png" sizes="32x32" media="(prefers-color-scheme: dark)"/><link rel="shortcut icon" href="/docs/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon-dark/favicon.ico" type="image/x-icon" media="(prefers-color-scheme: dark)"/><link rel="preload" href="https://d4tuoctqmanu0.cloudfront.net/katex.min.css" as="style"/>
1<script type="text/javascript">!function(){var b="/docs";
2function a(p){if(p==null)return"/";p=""+p;if(""===p)return"/";return"/"===p.charAt(0)?p:"/"+p}
3function u(p){if(p==null)return p;p=""+p;if(!p||p.charAt(p.length-1)==="/")return p.slice(0,-1);return p}
4function i(p){if(p==null)return p;p=""+p;if(6<=p.length&&p.substring(p.length-6)==="/index")return p.substring(0,p.length-6);if("index"===p)return"";return p}
5var p=(location.pathname||"").split("?")[0].split("#")[0]||"";
6if(b)if(p===b)p="";else if(0===p.indexOf(b+"/"))p=p.substring(b.length);
7p=a(p);p=u(p);p=i(p);p=""===p||"index"===p?"/":a(p);
8document.documentElement.setAttribute("data-current-path",p);
9}();</script>
9<script type="text/javascript">(() => {
10  const isIOS =
11    /iP(hone|ad|od)/.test(navigator.userAgent) ||
12    (/Macintosh/.test(navigator.userAgent) && navigator.maxTouchPoints > 1);
13  if (!isIOS) return;
14  const apply = () => {
15    for (const meta of document.querySelectorAll('meta[name="viewport"]')) {
16      const content = meta.getAttribute('content') || '';
17      if (!content.includes('maximum-scale')) {
18        meta.setAttribute('content', content + ', maximum-scale=1');
19      }
20    }
21  };
22  apply();
23  new MutationObserver(apply).observe(document.head, {
24    childList: true,
25    subtree: true,
26    attributes: true,
27    attributeFilter: ['content'],
28  });
29})();</script>
29<script type="text/javascript">!function(){
30function read(){try{
31var e=performance.getEntriesByType?performance.getEntriesByType("navigation"):[];
32var st=(e[0]&&e[0].serverTiming)||[];
33var g={};
34for(var i=0;i<st.length;i++){var n=st[i].name,d=st[i].description;if(!d)continue;try{d=decodeURIComponent(d)}catch(x){}
35if(n==="country")g.country=d;else if(n==="region")g.region=d;else if(n==="continent")g.continent=d;}
36var w=window;w.mintlify=w.mintlify||{};w.mintlify.geo=g;
37}catch(x){}}
38read();document.addEventListener("DOMContentLoaded",read);
39}();</script>
39<script type="text/javascript">!function(){try{
40var w=window;w.mintlify=w.mintlify||{};
41var q=w.mintlify.__apiPlaygroundInputsQueue;
42if(!Array.isArray(q)){q=[];w.mintlify.__apiPlaygroundInputsQueue=q;}
43w.mintlify.api=w.mintlify.api||{};
44w.mintlify.api.playground=w.mintlify.api.playground||{};
45if(typeof w.mintlify.api.playground.setServerVariables!=="function"){
46w.mintlify.api.playground.setServerVariables=function(v){q.push({type:"set",variables:v});};
47}
48if(typeof w.mintlify.api.playground.clearServerVariables!=="function"){
49w.mintlify.api.playground.clearServerVariables=function(){q.push({type:"clear"});};
50}
51}catch(e){}}();</script>
51<script type="text/javascript">(function(){
52if(typeof CSS==="undefined"||!("registerProperty" in CSS))return;
53if(CSS.supports&&CSS.supports("-webkit-backdrop-filter:none"))return;
54var n=["--scroll-area-overflow-x-start","--scroll-area-overflow-x-end","--scroll-area-overflow-y-start","--scroll-area-overflow-y-end"];
55var d={"syntax":"<length>","inherits":false,"initialValue":"0px"};
56for(var i=0;i<n.length;i++){try{CSS.registerProperty({name:n[i],syntax:d.syntax,inherits:d.inherits,initialValue:d.initialValue})}catch(e){}}
57})();</script>
57<script type="text/javascript">(function(a,b){try{let c=document.getElementById("banner")?.innerText;if(c){for(let d=0;d<localStorage.length;d++){let e=localStorage.key(d);if(e?.endsWith(a)&&localStorage.getItem(e)===c)return void document.documentElement.setAttribute(b,"hidden")}document.documentElement.setAttribute(b,"visible");return}for(let c=0;c<localStorage.length;c++){let d=localStorage.key(c);if(d?.endsWith(a)&&localStorage.getItem(d))return void document.documentElement.setAttribute(b,"hidden")}document.documentElement.setAttribute(b,"visible")}catch(a){document.documentElement.setAttribute(b,"hidden")}})(
58  "bannerDismissed",
59  "data-banner-state",
60)</script>
60<script src="/docs/_next/static/chunks/a6dad97d9634a72d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" noModule=""></script>
60</head><body class="antialiased"><div hidden=""><!--$--><!--/$--></div>
60<script type="application/ld+json">{"@context":"https://schema.org","@type":"WebSite","name":"Portkey (Prisma AIRS AI Gateway) Docs","creator":{"@type":"Organization","name":"Mintlify","url":"https://mintlify.com"}}</script>
60<script>((a,b,c,d,e,f,g,h)=>{let i=document.documentElement,j=["light","dark"];function k(b){var c;(Array.isArray(a)?a:[a]).forEach(a=>{let c="class"===a,d=c&&f?e.map(a=>f[a]||a):e;c?(i.classList.remove(...d),i.classList.add(f&&f[b]?f[b]:b)):i.setAttribute(a,b)}),c=b,h&&j.includes(c)&&(i.style.colorScheme=c)}if(d)k(d);else try{let a=localStorage.getItem(b)||c,d=g&&"system"===a?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":a;k(d)}catch(a){}})("class","isDarkMode","system",null,["dark","light","true","false","system"],{"true":"dark","false":"light","dark":"dark","light":"light"},true,false)</script>
60<script>(function(){try{var f=null;var v=f||localStorage.getItem("isDarkMode");if(v==='true')v='dark';else if(v==='false')v='light';if(v!=='light'&&v!=='dark'&&v!=='system')v="system";document.documentElement.setAttribute("data-theme-preference",v)}catch(e){}})();</script>
60<blockquote class="sr-only" data-agent-docs-index="true" aria-hidden="true"><h2>Documentation Index</h2><p>Fetch the complete documentation index at:<!-- --> <a href="/docs/llms.txt" tabindex="-1">/docs/llms.txt</a></p><p>Use this file to discover all available pages before exploring further.</p></blockquote><style>:root{--banner-height:0px!important}</style>
60<script id="_mintlify-banner-script">(function i(a,b,c,d,e){try{let f,g,h=[];try{h=window.location.pathname.split("/").filter(a=>""!==a&&"global"!==a).slice(0,2)}catch{h=[]}let i=h.find(a=>c.includes(a)),j=[];for(let c of(i?j.push(i):j.push(b),j.push("global"),j)){if(!c)continue;let b=a[c];if(b?.content){f=b.content,g=c;break}}if(!f)return void document.documentElement.setAttribute(d,"hidden");let k=!0,l=0;for(;l<localStorage.length;){let a=localStorage.key(l);if(l++,!a?.endsWith(e))continue;let b=localStorage.getItem(a);if(b&&b===f){k=!1;break}g&&(a.startsWith(`lang:${g}_`)||!a.startsWith("lang:"))&&(localStorage.removeItem(a),l--)}document.documentElement.setAttribute(d,k?"visible":"hidden")}catch(a){console.error(a),document.documentElement.setAttribute(d,"hidden")}})(
61  {},
62  "en",
63  [],
64  "data-banner-state",
65  "bannerDismissed",
66)</script>
66<style>:root {
67    --primary: 8 145 178;
68    --primary-light: 8 145 178;
69    --primary-dark: 8 145 178;
70    --tooltip-foreground: 255 255 255;
71    --background-light: 255 255 255;
72    --background-dark: 9 12 14;
73    --gray-50: 243 247 248;
74    --gray-100: 238 242 243;
75    --gray-200: 222 226 227;
76    --gray-300: 206 210 211;
77    --gray-400: 158 162 163;
78    --gray-500: 112 116 117;
79    --gray-600: 80 84 85;
80    --gray-700: 62 66 67;
81    --gray-800: 37 41 42;
82    --gray-900: 23 27 28;
83    --gray-950: 10 14 15;
84  }</style>
84<script type="text/javascript">
85          (function() {
86            function loadKatex() {
87              const link = document.querySelector('link[href="https://d4tuoctqmanu0.cloudfront.net/katex.min.css"]');
88              if (link) link.rel = 'stylesheet';
89            }
90            if (document.readyState === 'loading') {
91              document.addEventListener('DOMContentLoaded', loadKatex);
92            } else {
93              loadKatex();
94            }
95          })();
96        </script>
96<div class="relative antialiased text-gray-500 dark:text-gray-400">
96<script id="_mintlify-navbar-transition-script">(function(a){let b,c=(b="navbar-transition","maple"===a&&(b+="-maple"),b);function d(){let a=!1;a=window.scrollY>50;let b=document.getElementById(c);b&&b.hasAttribute("data-is-opaque")&&b.setAttribute("data-is-opaque",`${!!a}`)}let e=function(){let a=document.createElement("style"),b=`#${c}`;return a.appendChild(document.createTextNode(`${b},${b} *,${b} *::before,${b} *::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}`)),document.head.appendChild(a),function(){window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(a)},1)}}();function f(){window.removeEventListener("scroll",d),document.removeEventListener("DOMContentLoaded",d),d(),e()}window.addEventListener("scroll",d,{passive:!0}),document.addEventListener("DOMContentLoaded",d),("requestAnimationFrame"in globalThis?requestAnimationFrame:setTimeout)(d),"complete"===document.readyState?f():window.addEventListener("load",f,{once:!0})})("mint")</script>
96<script id="_mintlify-scroll-margin-script">(function () {
97  var measure = function(){let a=document.querySelectorAll("[id='navbar'], [data-top-chrome]"),b=0;a.forEach(a=>{let c=a.getBoundingClientRect();c.height>0&&(b=Math.max(b,c.bottom))});let c=0,d=document.getElementById("content-container");if(d){let{overflowY:a}=getComputedStyle(d);("auto"===a||"scroll"===a)&&(c=Math.max(0,d.getBoundingClientRect().top))}let e=`${Math.round(Math.max(0,b-c))+40}px`,f=document.documentElement.style;f.getPropertyValue("--scroll-mt")!==e&&f.setProperty("--scroll-mt",e)};
98  (function(a){let b=[],c=0,d="undefined"==typeof ResizeObserver?null:new ResizeObserver(f);function e(){let c=Array.from(document.querySelectorAll("[id='navbar'], [data-top-chrome]"));(c.length!==b.length||c.some((a,c)=>a!==b[c]))&&d&&(d.disconnect(),c.forEach(a=>d.observe(a))),b=c,a()}function f(){c||(c=requestAnimationFrame(()=>{c=0,e()}))}let g="[id='navbar'], [data-top-chrome]";function h(a){let b=a.target;if(b instanceof Element&&b.closest(g))return!0;for(let b of a.addedNodes)if(b instanceof Element&&(b.matches(g)||b.querySelector(g)))return!0;for(let b of a.removedNodes)if(b instanceof Element&&(b.matches(g)||b.querySelector(g)))return!0;return!1}new MutationObserver(a=>{a.some(h)&&f()}).observe(document.documentElement,{childList:!0,subtree:!0}),window.addEventListener("resize",f),"loading"===document.readyState&&document.addEventListener("DOMContentLoaded",e),e()})(measure);
99  (function(a){let b=window.location.hash.slice(1);if(!b)return;function c(){return"smooth"===getComputedStyle(document.documentElement).scrollBehavior}function d(c){let d=document.getElementById(b);return!!d&&(a(),d.scrollIntoView(c?{behavior:c}:void 0),!0)}if("complete"===document.readyState)return void d();let e=new MutationObserver(()=>{!c()&&d("instant")&&f()});function f(){e.disconnect(),window.removeEventListener("load",g)}function g(){let a=c();f(),a&&requestAnimationFrame(()=>{d(),function(){let a=["wheel","touchstart","keydown","pointerdown"],c=0,e=window.scrollY,f=setInterval(()=>{c+=1;let a=document.getElementById(b);if(!a||c>=6)return g();let f=Math.abs(window.scrollY-e)>1;if(e=window.scrollY,f)return;let h=parseFloat(getComputedStyle(a).scrollMarginTop)||0;Math.abs(a.getBoundingClientRect().top-h)>4&&d()},350);function g(){clearInterval(f),a.forEach(a=>window.removeEventListener(a,g))}a.forEach(a=>window.addEventListener(a,g,{passive:!0}))}()})}window.addEventListener("load",g),e.observe(document.documentElement,{childList:!0,subtree:!0}),!c()&&d("instant")&&f()})(measure);
100})();</script>
100<a href="#content-area" class="sr-only focus:not-sr-only focus:fixed focus:top-2 focus:left-2 focus:z-50 focus:p-2 focus:text-sm focus:bg-background-light dark:focus:bg-background-dark focus:rounded-md focus:outline-primary dark:focus:outline-primary-light">Skip to main content</a>
100<script>(function e(a,b,c,d,e){try{let f=window.matchMedia("(max-width: 1024px)").matches;if(e){document.documentElement.style.setProperty(c,"0px"),document.documentElement.setAttribute("data-assistant-state","closed");return}if(f||!d){document.documentElement.style.setProperty(c,"0px"),document.documentElement.setAttribute("data-assistant-state","closed"),d||localStorage.setItem(a,"false");return}let g=localStorage.getItem(a);if(null===g){document.documentElement.style.setProperty(c,"0px"),document.documentElement.setAttribute("data-assistant-state","closed");return}let h=JSON.parse(g),i=localStorage.getItem(b),j=null!==i?JSON.parse(i):368;document.documentElement.style.setProperty(c,h?j+"px":"0px"),document.documentElement.setAttribute("data-assistant-state",h?"open":"closed")}catch(a){document.documentElement.style.setProperty(c,"0px"),document.documentElement.setAttribute("data-assistant-state","closed")}})(
101    "chat-assistant-sheet-open",
102    "chat-assistant-sheet-width",
103    "--assistant-sheet-width",
104    true,
105    false
106  )</script>
106<div class="max-lg:contents lg:flex lg:w-full" data-docs-theme="mint" data-assistant-layout="legacy"><div class="max-lg:contents lg:flex-1 lg:min-w-0 lg:overflow-x-clip"><header id="navbar" class="z-30 fixed lg:sticky top-0 w-full peer is-not-custom peer is-not-center peer is-not-wide peer is-not-frame"><div id="navbar-transition" class="absolute w-full h-full flex-none transition-colors duration-500 border-b border-gray-500/5 dark:border-gray-300/[0.06] bg-background-light dark:bg-background-dark" data-is-opaque="false"></div><div class="max-w-8xl mx-auto relative"><div><div class="relative"><div class="flex items-center lg:px-12 h-16 min-w-0 mx-4 lg:mx-0"><div class="h-full relative flex-1 flex items-center gap-x-4 min-w-0 border-b border-gray-500/5 dark:border-gray-300/[0.06]"><div class="flex-1 flex items-center gap-x-4"><a class="select-none" style="-webkit-touch-callout:none" href="/docs"><span class="sr-only">Portkey (Prisma AIRS AI Gateway) Docs<!-- --> home page</span><img class="nav-logo w-auto h-7 relative object-contain shrink-0 block dark:hidden" src="https://mintcdn.com/portkey-docs/tHk-hgNjLbEj4dhh/images/portkey-PANW-company-logo-positive.png?fit=max&amp;auto=format&amp;n=tHk-hgNjLbEj4dhh&amp;q=85&amp;s=c5fb09014ff79616583b1d3bffe27450" alt="light logo"/><img class="nav-logo w-auto h-7 relative object-contain shrink-0 hidden dark:block" src="https://mintcdn.com/portkey-docs/tHk-hgNjLbEj4dhh/images/portkey-PANW-company-logo-negative.png?fit=max&amp;auto=format&amp;n=tHk-hgNjLbEj4dhh&amp;q=85&amp;s=6025ca49ef544522f58ff471b7f75f8f" alt="dark logo"/></a><div class="hidden lg:flex items-center gap-x-2"><button type="button" tabindex="0" aria-haspopup="menu" aria-expanded="false" id="base-ui-_R_6m5binpfb39p7b9snpfiutb_" data-component-part="version-select-trigger" class="group disabled:pointer-events-none [&amp;&gt;span]:line-clamp-1 overflow-hidden group focus-visible:outline-2 focus-visible:-outline-offset-2 group-hover:text-gray-950/70 dark:group-hover:text-white/70 py-1.5 px-2.5 rounded-xl hover:bg-gray-600/5! dark:hover:bg-gray-200/5! aria-[expanded=true]:bg-gray-600/5 dark:aria-[expanded=true]:bg-gray-200/5 text-sm font-medium text-gray-900 h-8 focus-visible:outline-primary dark:focus-visible:outline-primary-light dark:text-gray-300 group/trigger flex items-center gap-2 whitespace-nowrap"><span class="truncate max-w-[12.5rem]">Latest</span><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="size-3 transition-transform text-gray-400 group-hover:text-gray-600 dark:text-gray-600 dark:group-hover:text-gray-400 shrink-0 rotate-90 group-aria-[expanded=true]/trigger:rotate-[270deg] ml-auto"><path d="M6.5 2.75L12.75 9L6.5 15.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button></div></div><div class="relative hidden lg:flex items-center flex-1 z-20 gap-2.5"><button type="button" class="group/search flex pointer-events-auto rounded-xl w-full items-center text-sm leading-6 h-9 pl-3.5 pr-3 text-gray-500 dark:text-white/50 bg-background-light dark:bg-background-dark dark:brightness-[1.1] dark:ring-1 dark:hover:brightness-[1.25] ring-1 ring-gray-400/30 hover:ring-gray-600/30 dark:ring-gray-600/30 dark:hover:ring-gray-500/30 justify-between truncate gap-2" id="search-bar-entry" aria-label="Open search"><div class="flex items-center gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="size-4 min-w-4 flex-none text-gray-700 group-hover/search:text-gray-800 dark:text-gray-400 dark:group-hover/search:text-gray-200"><path d="M15.25 15.25L11.285 11.285" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M7.75 12.75C10.5114 12.75 12.75 10.5114 12.75 7.75C12.75 4.98858 10.5114 2.75 7.75 2.75C4.98858 2.75 2.75 4.98858 2.75 7.75C2.75 10.5114 4.98858 12.75 7.75 12.75Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg><div class="truncate min-w-0">Search...</div></div><span class="flex-none text-xs font-semibold">⌘<!-- -->K</span></button><button type="button" class="group/ai flex-none hidden lg:flex items-center justify-center gap-1.5 pl-3 pr-3.5 h-9 rounded-xl bg-background-light dark:bg-background-dark dark:brightness-[1.1] dark:ring-1 dark:hover:brightness-[1.25] ring-1 ring-gray-400/30 hover:ring-gray-600/30 dark:ring-gray-600/30 dark:hover:ring-gray-500/30" id="assistant-entry" aria-label="Toggle assistant panel"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="size-4 shrink-0 text-gray-700 group-hover/ai:text-gray-800 dark:text-gray-400 dark:group-hover/ai:text-gray-200"><path d="M5.65799 2.99L4.39499 2.569L3.97399 1.306C3.83699 0.898 3.16199 0.898 3.02499 1.306L2.60399 2.569L1.34099 2.99C1.13699 3.058 0.998993 3.249 0.998993 3.464C0.998993 3.679 1.13699 3.87 1.34099 3.938L2.60399 4.359L3.02499 5.622C3.09299 5.826 3.28499 5.964 3.49999 5.964C3.71499 5.964 3.90599 5.826 3.97499 5.622L4.39599 4.359L5.65899 3.938C5.86299 3.87 6.00099 3.679 6.00099 3.464C6.00099 3.249 5.86199 3.058 5.65799 2.99Z" fill="currentColor" stroke="none"></path><path d="M9.5 2.75L11.412 7.587L16.25 9.5L11.412 11.413L9.5 16.25L7.587 11.413L2.75 9.5L7.587 7.587L9.5 2.75Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg><span class="text-sm text-gray-500 dark:text-white/50 whitespace-nowrap">Ask Assistant</span><span class="flex-none text-xs font-semibold">⌘<!-- -->I</span></button></div><div class="flex-1 relative hidden lg:flex items-center ml-auto justify-end space-x-4"><nav aria-label="Main" class="text-sm"><ul class="flex space-x-6 items-center"><li class="navbar-link"><a href="https://portkey.ai/models" class="flex items-center gap-1.5 whitespace-nowrap font-medium text-gray-600 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" target="_blank" rel="noopener noreferrer"><span class="min-w-0 truncate">Models</span></a></li><li class="navbar-link"><a href="https://support.portkey.ai/forms/customer-portal-ticket-form" class="flex items-center gap-1.5 whitespace-nowrap font-medium text-gray-600 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" target="_blank" rel="noopener noreferrer"><span class="min-w-0 truncate">Support</span></a></li><li class="navbar-link"><a href="https://www.paloaltonetworks.in/ai-security/ai-gateway?utm_source=portkey&amp;utm_medium=referral&amp;utm_campaign=prisma_airs&amp;utm_content=docs_nav#contact" class="flex items-center gap-1.5 whitespace-nowrap font-medium text-gray-600 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" target="_blank" rel="noopener noreferrer"><span class="min-w-0 truncate">Contact Us</span></a></li><li class="block lg:hidden"><a class="flex items-center gap-1.5 whitespace-nowrap font-medium text-gray-600 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" href="https://stratacloudmanager.paloaltonetworks.com/"><span class="min-w-0 truncate">Sign in</span></a></li><li class="whitespace-nowrap hidden lg:flex" id="topbar-cta-button"><a target="_blank" rel="noopener noreferrer" class="group pl-3 pr-2 py-2 relative inline-flex items-center text-sm font-medium" href="https://stratacloudmanager.paloaltonetworks.com/"><span class="absolute inset-0 bg-primary-dark rounded-xl group-hover:opacity-[0.9]"></span><div class="z-10 gap-1 flex items-center"><span class="text-white">Sign in</span><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3 shrink-0 text-white/90"><path d="M6.5 2.75L12.75 9L6.5 15.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></a></li></ul></nav><div class="flex items-center"><button type="button" tabindex="0" aria-haspopup="menu" aria-expanded="false" id="theme-preference-menu-trigger" aria-label="Change theme preference" data-component-name="theme-preference-menu" data-component-part="theme-preference-menu-trigger" data-testid="theme-preference-menu-trigger" class="group disabled:pointer-events-none rounded-lg overflow-hidden gap-1 text-sm text-gray-950/50 dark:text-white/50 group-hover:text-gray-950/70 dark:group-hover:text-white/70 theme-preference-menu-trigger group p-2 flex items-center justify-center"><span data-theme-preference-icon="system"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="size-4 text-gray-500 dark:text-gray-400 group-hover:text-gray-700 dark:group-hover:text-gray-200"><path d="M4.5 15.5L9 14.5L13.5 15.5" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9 11.75V14.5" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M14.25 2.75H3.75C2.64543 2.75 1.75 3.64543 1.75 4.75V9.75C1.75 10.8546 2.64543 11.75 3.75 11.75H14.25C15.3546 11.75 16.25 10.8546 16.25 9.75V4.75C16.25 3.64543 15.3546 2.75 14.25 2.75Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></span><span data-theme-preference-icon="light"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="size-4 text-gray-500 dark:text-gray-400 group-hover:text-gray-700 dark:group-hover:text-gray-200"><path d="M9 1.25V2.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M14.48 3.52002L13.773 4.22702" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M16.75 9H15.75" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path>
106<path d="M14.48 14.4799L13.773 13.7729" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9 16.75V15.75" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M3.52 14.4799L4.227 13.7729" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M1.25 9H2.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M3.52 3.52002L4.227 4.22702" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9 13.25C11.3472 13.25 13.25 11.3472 13.25 9C13.25 6.65279 11.3472 4.75 9 4.75C6.65279 4.75 4.75 6.65279 4.75 9C4.75 11.3472 6.65279 13.25 9 13.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></span><span data-theme-preference-icon="dark"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="size-4 text-gray-500 dark:text-gray-400 group-hover:text-gray-700 dark:group-hover:text-gray-200"><path d="M13 11.75C9.548 11.75 6.75 8.95201 6.75 5.50001C6.75 4.14801 7.183 2.90101 7.912 1.87801C4.548 2.50601 2 5.45301 2 9.00001C2 13.004 5.246 16.25 9.25 16.25C12.622 16.25 15.448 13.944 16.259 10.826C15.309 11.409 14.196 11.75 13 11.75Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></span></button></div></div><div class="flex lg:hidden items-center gap-3"><button type="button" class="text-gray-500 w-8 h-8 flex items-center justify-center hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-300" id="search-bar-entry-mobile" aria-label="Open search"><span class="sr-only">Search...</span><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! h-4 w-4 bg-gray-500 dark:bg-gray-400 hover:bg-gray-600 dark:hover:bg-gray-300" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/solid/magnifying-glass.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/solid/magnifying-glass.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></button><button id="assistant-entry-mobile" aria-label="Toggle assistant panel"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="size-4.5 text-gray-500 dark:text-gray-400 hover:text-gray-600 dark:hover:text-gray-300"><path d="M5.65799 2.99L4.39499 2.569L3.97399 1.306C3.83699 0.898 3.16199 0.898 3.02499 1.306L2.60399 2.569L1.34099 2.99C1.13699 3.058 0.998993 3.249 0.998993 3.464C0.998993 3.679 1.13699 3.87 1.34099 3.938L2.60399 4.359L3.02499 5.622C3.09299 5.826 3.28499 5.964 3.49999 5.964C3.71499 5.964 3.90599 5.826 3.97499 5.622L4.39599 4.359L5.65899 3.938C5.86299 3.87 6.00099 3.679 6.00099 3.464C6.00099 3.249 5.86199 3.058 5.65799 2.99Z" fill="currentColor" stroke="none"></path><path d="M9.5 2.75L11.412 7.587L16.25 9.5L11.412 11.413L9.5 16.25L7.587 11.413L2.75 9.5L7.587 7.587L9.5 2.75Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button><button type="button" aria-label="More actions" class="h-7 w-5 flex items-center justify-center relative after:content-[&#x27;&#x27;] after:absolute after:-inset-y-2 after:-left-1 after:-right-4"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! size-4 shrink-0 bg-gray-500 dark:bg-gray-400 hover:bg-gray-600 dark:hover:bg-gray-300" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/solid/ellipsis-vertical.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/solid/ellipsis-vertical.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></button></div></div></div><button type="button" class="flex items-center h-14 py-4 px-5 lg:hidden focu
106s:outline-0 w-full text-left"><div class="text-gray-500 hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-300"><span class="sr-only">Navigation</span><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0"><path d="M2.25 9H15.75" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.25 3.75H15.75" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.25 14.25H15.75" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div><div class="ml-4 flex text-sm leading-6 whitespace-nowrap min-w-0 space-x-3 overflow-hidden"><div class="flex items-center space-x-3 shrink-0"><span>Guardrails</span><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3 text-gray-400 shrink-0"><path d="M6.5 2.75L12.75 9L6.5 15.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div><div class="font-semibold text-gray-900 truncate dark:text-gray-200 min-w-0 flex-1">PII Redaction</div></div></button></div><div class="hidden lg:flex px-12 h-12"><div class="nav-tabs h-full flex text-sm gap-x-6"><a class="link nav-tabs-item group relative h-full gap-2 flex items-center font-medium hover:text-gray-800 dark:hover:text-gray-300 text-gray-800 dark:text-gray-200 [text-shadow:-0.2px_0_0_currentColor,0.2px_0_0_currentColor]" data-active="true" aria-current="location" href="/docs/introduction/what-is-portkey">Docs<div class="absolute bottom-0 h-[1.5px] w-full left-0 bg-primary dark:bg-primary-light"></div></a><a class="link nav-tabs-item group relative h-full gap-2 flex items-center font-medium text-gray-600 dark:text-gray-400 hover:text-gray-800 dark:hover:text-gray-300" href="/docs/integrations/ecosystem">Integrations<div class="absolute bottom-0 h-[1.5px] w-full left-0 group-hover:bg-gray-200 dark:group-hover:bg-gray-700"></div></a><a class="link nav-tabs-item group relative h-full gap-2 flex items-center font-medium text-gray-600 dark:text-gray-400 hover:text-gray-800 dark:hover:text-gray-300" href="/docs/api-reference/inference-api/introduction">Gateway APIs<div class="absolute bottom-0 h-[1.5px] w-full left-0 group-hover:bg-gray-200 dark:group-hover:bg-gray-700"></div></a><a class="link nav-tabs-item group relative h-full gap-2 flex items-center font-medium text-gray-600 dark:text-gray-400 hover:text-gray-800 dark:hover:text-gray-300" href="/docs/api-reference/admin-api/introduction">Admin APIs<div class="absolute bottom-0 h-[1.5px] w-full left-0 group-hover:bg-gray-200 dark:group-hover:bg-gray-700"></div></a><a class="link nav-tabs-item group relative h-full gap-2 flex items-center font-medium text-gray-600 dark:text-gray-400 hover:text-gray-800 dark:hover:text-gray-300" href="/docs/guides/use-cases/run-batch-evals">Cookbooks<div class="absolute bottom-0 h-[1.5px] w-full left-0 group-hover:bg-gray-200 dark:group-hover:bg-gray-700"></div></a><a class="link nav-tabs-item group relative h-full gap-2 flex items-center font-medium text-gray-600 dark:text-gray-400 hover:text-gray-800 dark:hover:text-gray-300" href="/docs/changelog/2026/march">Changelog<div class="absolute bottom-0 h-[1.5px] w-full left-0 group-hover:bg-gray-200 dark:group-hover:bg-gray-700"></div></a><a class="link nav-tabs-item group relative h-full gap-2 flex items-center font-medium text-gray-600 dark:text-gray-400 hover:text-gray-800 dark:hover:text-gray-300" href="/docs/help-center/you-do-not-have-enough-permissions">Help Center<div class="absolute bottom-0 h-[1.5px] w-full left-0 group-hover:bg-gray-200 dark:group-hover:bg-gray-700"></div></a></div></div><style>:root{--topbar-tabs-height:3rem}</style></div></div></header><div class="scroll-mt-(--scroll-mt) peer-[.is-custom]:max-w-none peer-[.is-center]:max-w-3xl peer-[.is-not-custom]:peer-[.is-not-center]:max-w-8xl peer-[.is-not-custom]:px-4 peer-[.is-not-custom]:mx-auto peer-[.is-not-custom]:lg:px-8 peer-[.is-wide]:lg:*:last:max-w-216 peer-[.is-not-custom]:peer-[.is-not-center]:lg:flex peer-[.is-cu
106stom]:[&amp;&gt;:first-child]:hidden! peer-[.is-custom]:[&amp;&gt;:first-child]:sm:hidden! peer-[.is-custom]:[&amp;&gt;:first-child]:md:hidden! peer-[.is-custom]:[&amp;&gt;:first-child]:lg:hidden! peer-[.is-custom]:[&amp;&gt;:first-child]:xl:hidden! peer-[.is-center]:[&amp;&gt;:first-child]:hidden! peer-[.is-center]:[&amp;&gt;:first-child]:sm:hidden! peer-[.is-center]:[&amp;&gt;:first-child]:md:hidden! peer-[.is-center]:[&amp;&gt;:first-child]:lg:hidden! peer-[.is-center]:[&amp;&gt;:first-child]:xl:hidden!"><nav aria-label="Pages" class="z-20 hidden lg:block sticky self-start shrink-0 w-[18rem] top-[calc(var(--mintlify-slot-header-height,calc(4rem+var(--topbar-tabs-height,0rem)))+var(--banner-height,0px))] h-[calc(100dvh-var(--mintlify-slot-header-height,calc(4rem+var(--topbar-tabs-height,0rem)))-var(--banner-height,0px))]" id="sidebar"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px" data-component-part="scroll-area" id="sidebar-content" class="min-w-0 absolute! inset-0 z-10"><div role="presentation" data-id="base-ui-_R_5qnpfb39p7b9snpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] pr-8 pb-10 base-ui-disable-scrollbar" style="overflow:scroll" data-component-part="scroll-area-viewport"><div role="presentation" style="min-width:fit-content" data-component-part="scroll-area-content" class="min-w-0! w-full"><div class="relative lg:text-sm lg:leading-6"><div class="sticky top-0 h-8 pointer-events-none z-10 bg-linear-to-b from-background-light dark:from-background-dark"></div><div id="navigation-items"><div><div class="sidebar-group-header flex items-center gap-2.5 pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! sidebar-group-icon h-3.5 w-3.5 bg-current" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/rocket.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/rocket.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg><h3 class="sidebar-title text-[length:inherit] font-[inherit] leading-[inherit]"><span>Introduction</span></h3></div><ul class="sidebar-group space-y-px"><li id="/introduction/what-is-portkey" class="relative scroll-m-4 first:scroll-m-20" data-title="What is Portkey?"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/introduction/what-is-portkey"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">What is Portkey?</span></div></div></a></li><li id="/introduction/make-your-first-request" class="relative scroll-m-4 first:scroll-m-20" data-title="Make Your First Request"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/introduction/make-your-first-request"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Make Your First Request</span></div></div></a></li><li id="/introduction/feature-overview" class="relative scroll-m-4 first:scroll-m-20" data-title="Portkey Features"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/introduction/feature-overview"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Portkey Features</span></div></div></a></li></ul></div><div class="mt-6 lg:mt-8"><div class="sidebar-group-header flex items-center gap-2.5 pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! sidebar-group-icon h-3.5 w-3.5 bg-current" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/cube.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/cube.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg><h3 class="sidebar-title text-[length:inherit] font-[inherit] leading-[inherit]"><span>Product</span></h3></div><ul class="sidebar-group space-y-px"><li data-title="Observability" data-group-tag="" class="space-y-px"><button class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 break-words hyphens-auto rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" data-nav-href="/product/observability" aria-expanded="false"><div class=""><span>Observability</span></div><div class="h-[1lh] flex items-center shrink-0"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="size-3 transition-transform text-gray-400 group-hover:text-gray-600 dark:text-gray-600 dark:group-hover:text-gray-400 shrink-0 w-2 h-[1lh] -mr-0.5"><path d="M6.5 2.75L12.75 9L6.5 15.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></button></li><li data-title="AI Gateway" data-group-tag="" class="space-y-px"><button class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" data-nav-href="/product/ai-gateway" aria-expanded="false"><div class=""><span>AI Gateway</span></div><div class="h-[1lh] flex items-center shrink-0"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="size-3 transition-transform text-gray-400 group-hover:text-gray-600 dark:text-gray-600 dark:group-hover:text-gray-400 shrink-0 w-2 h-[1lh] -mr-0.5"><path d="M6.5 2.75L12.75 9L6.5 15.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></button></li><li data-title="Model Catalog" data-group-tag="" class="space-y-px"><button class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" data-nav-href="/product/model-catalog" aria-expanded="false"><div class=""><span>Model Catalog</span></div><div class="h-[1lh] flex items-center shrink-0"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="size-3 transition-transform text-gray-400 group-hover:text-gray-600 dark:text-gray-600 dark:group-hover:text-gray-400 shrink-0 w-2 h-[1lh] -mr-0.5"><path d="M6.5 2.75L12.75 9L6.5 15.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></button></li><li data-title="MCP Gateway" data-group-tag="" class="space-y-px"><button class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" data-nav-href="/product/mcp-gateway" aria-expanded="false"><div class=""><span>MCP Gateway</span></div><div class="h-[1lh] flex items-center shrink-0"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="size-3 transition-transform text-gray-400 group-hover:text-gray-600 dark:text-gray-600 dark:group-hover:text-gray-400 shrink-0 w-2 h-[1lh] -mr-0.5"><path d="M6.5 2.75L12.75 9L6.5 15.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></button></li><li data-title="Agent Gateway" data-group-tag="" class="space-y-px"><button class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" data-nav-href="/product/agent-gateway" aria-expanded="false"><div class=""><span>Agent Gateway</span></div><div class="h-[1lh] flex items-center shrink-0"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="size-3 transition-transform text-gray-400 group-hover:text-gray-600 dark:text-gray-600 dark:group-hover:text-gray-400 shrink-0 w-2 h-[1lh] -mr-0.5"><path d="M6.5 2.75L12.75 9L6.5 15.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></button></li><li id="/product/coding-agent" class="relative scroll-m-4 first:scroll-m
106-20" data-title="Coding Agents"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/product/coding-agent"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Coding Agents</span></div></div></a></li><li data-title="Prompt Studio" data-group-tag="" class="space-y-px"><button class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" data-nav-href="/product/prompt-engineering-studio" aria-expanded="false"><div class=""><span>Prompt Studio</span></div><div class="h-[1lh] flex items-center shrink-0"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="size-3 transition-transform text-gray-400 group-hover:text-gray-600 dark:text-gray-600 dark:group-hover:text-gray-400 shrink-0 w-2 h-[1lh] -mr-0.5"><path d="M6.5 2.75L12.75 9L6.5 15.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></button></li><li data-title="Guardrails" data-group-tag="" data-active="true" class="space-y-px"><button class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 break-words hyphens-auto rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" aria-expanded="true" aria-controls="_R_254rmlqnpfb39p7b9snpfiutb_"><div class=""><span>Guardrails</span></div><div class="h-[1lh] flex items-center shrink-0"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="size-3 transition-transform text-gray-400 group-hover:text-gray-600 dark:text-gray-600 dark:group-hover:text-gray-400 shrink-0 w-2 h-[1lh] -mr-0.5 duration-75 rotate-90"><path d="M6.5 2.75L12.75 9L6.5 15.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></button><ul id="_R_254rmlqnpfb39p7b9snpfiutb_" class="space-y-px"><li id="/product/guardrails" class="relative scroll-m-4 first:scroll-m-20" data-title="Guardrails"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 break-words hyphens-auto rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1.75rem" href="/docs/product/guardrails"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Guardrails</span></div></div></a></li><li id="/product/guardrails/capabilities" class="relative scroll-m-4 first:scroll-m-20" data-title="Supported Endpoints &amp; Capabilities"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1.75rem" href="/docs/product/guardrails/capabilities"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Supported Endpoints &amp; Capabilities</span></div></div></a></li><li id="/product/guardrails/list-of-guardrail-checks" class="relative scroll-m-4 first:scroll-m
106-20" data-title="List of Guardrail Checks"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1.75rem" href="/docs/product/guardrails/list-of-guardrail-checks"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">List of Guardrail Checks</span></div></div></a></li><li id="/product/guardrails/embedding-guardrails" class="relative scroll-m-4 first:scroll-m-20" data-title="Guardrails for Embedding Requests"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1.75rem" href="/docs/product/guardrails/embedding-guardrails"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Guardrails for Embedding Requests</span></div></div></a></li><li id="/product/guardrails/decisions-guardrails" class="relative scroll-m-4 first:scroll-m-20" data-title="Guardrails for Decisions Requests"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1.75rem" href="/docs/product/guardrails/decisions-guardrails"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Guardrails for Decisions Requests</span></div></div></a></li><li id="/product/guardrails/creating-raw-guardrails-in-json" class="relative scroll-m-4 first:scroll-m-20" data-title="Creating Raw Guardrails (in JSON)"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1.75rem" href="/docs/product/guardrails/creating-raw-guardrails-in-json"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Creating Raw Guardrails (in JSON)</span></div></div></a></li><li id="/product/guardrails/forwarding-headers" class="relative scroll-m-4 first:scroll-m-20" data-title="Forwarding Headers"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1.75rem" href="/docs/product/guardrails/forwarding-headers"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Forwarding Headers</span></div></div></a></li><li id="/product/guardrails/pii-redaction" class="relative scroll-m-4 first:scroll-m-20" data-title="PII Redaction" data-active="true" data-active-nav-item="true"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] bg-primary/10 text-primary [text-shadow:-0.2px_0_0_currentColor,0.2px_0_0_currentColor] dark:text-primary-light dark:bg-primary-light/10" style="padding-left:1.75rem" aria-current="page" href="/docs/product/guardrails/pii-redaction"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">PII Redaction</span></div></div></a></li><li id="/product/guardrails/guardrails-for-batches" class="relative scroll-m-4 first:scroll-m
106-20" data-title="Guardrails for Batches"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1.75rem" href="/docs/product/guardrails/guardrails-for-batches"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Guardrails for Batches</span></div></div></a></li><li id="/integrations/guardrails/bring-your-own-guardrails" class="relative scroll-m-4 first:scroll-m-20" data-title="Bring Your Own Guardrails"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1.75rem" href="/docs/integrations/guardrails/bring-your-own-guardrails"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Bring Your Own Guardrails</span></div></div></a></li></ul></li><li data-title="Administration" data-group-tag="" class="space-y-px"><button class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 break-words hyphens-auto rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" data-nav-href="/product/administration/enforcing-request-metadata" aria-expanded="false"><div class=""><span>Administration</span></div><div class="h-[1lh] flex items-center shrink-0"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="size-3 transition-transform text-gray-400 group-hover:text-gray-600 dark:text-gray-600 dark:group-hover:text-gray-400 shrink-0 w-2 h-[1lh] -mr-0.5"><path d="M6.5 2.75L12.75 9L6.5 15.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></button></li><li data-title="Enterprise Offering" data-group-tag="" class="space-y-px"><button class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" data-nav-href="/product/enterprise-offering" aria-expanded="false"><div class=""><span>Enterprise Offering</span></div><div class="h-[1lh] flex items-center shrink-0"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="size-3 transition-transform text-gray-400 group-hover:text-gray-600 dark:text-gray-600 dark:group-hover:text-gray-400 shrink-0 w-2 h-[1lh] -mr-0.5"><path d="M6.5 2.75L12.75 9L6.5 15.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></button></li><li id="/product/open-source" class="relative scroll-m-4 first:scroll-m-20" data-title="Open Source"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/product/open-source"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Open Source</span></div></div></a></li><li id="/product/product-feature-comparison" class="relative scroll-m-4 first:scroll-m
106-20" data-title="Feature Comparison"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/product/product-feature-comparison"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Feature Comparison</span></div></div></a></li></ul></div><div class="mt-6 lg:mt-8"><div class="sidebar-group-header flex items-center gap-2.5 pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! sidebar-group-icon h-3.5 w-3.5 bg-current" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/server.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/server.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg><h3 class="sidebar-title text-[length:inherit] font-[inherit] leading-[inherit]"><span>Self-Hosting</span></h3></div><ul class="sidebar-group space-y-px"><li data-title="Hybrid Deployments" data-group-tag="" class="space-y-px"><button class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" data-nav-href="/self-hosting/hybrid-deployments/architecture" aria-expanded="false"><div class=""><span>Hybrid Deployments</span></div><div class="h-[1lh] flex items-center shrink-0"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="size-3 transition-transform text-gray-400 group-hover:text-gray-600 dark:text-gray-600 dark:group-hover:text-gray-400 shrink-0 w-2 h-[1lh] -mr-0.5"><path d="M6.5 2.75L12.75 9L6.5 15.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></button></li><li id="/self-hosting/cache-behavior" class="relative scroll-m-4 first:scroll-m-20" data-title="Cache Behavior"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/self-hosting/cache-behavior"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Cache Behavior</span></div></div></a></li><li id="/self-hosting/prometheus-metrics" class="relative scroll-m-4 first:scroll-m-20" data-title="Prometheus Metrics"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/self-hosting/prometheus-metrics"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Prometheus Metrics</span></div></div></a></li><li id="/self-hosting/fips-compliant-images" class="relative scroll-m-4 first:scroll-m-20" data-title="FIPS-Compliant Images"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/self-hosting/fips-compliant-images"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">
106FIPS-Compliant Images</span></div></div></a></li><li data-title="Air-Gapped Deployments (Legacy)" data-group-tag="" class="space-y-px"><button class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" data-nav-href="/self-hosting/airgapped/model-pricing" aria-expanded="false"><div class=""><span>Air-Gapped Deployments (Legacy)</span></div><div class="h-[1lh] flex items-center shrink-0"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="size-3 transition-transform text-gray-400 group-hover:text-gray-600 dark:text-gray-600 dark:group-hover:text-gray-400 shrink-0 w-2 h-[1lh] -mr-0.5"><path d="M6.5 2.75L12.75 9L6.5 15.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></button></li></ul></div><div class="mt-6 lg:mt-8"><div class="sidebar-group-header flex items-center gap-2.5 pl-4 mb-3.5 lg:mb-2.5 font-semibold text-gray-900 dark:text-gray-200"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! sidebar-group-icon h-3.5 w-3.5 bg-current" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/life-ring.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/life-ring.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg><h3 class="sidebar-title text-[length:inherit] font-[inherit] leading-[inherit]"><span>Support</span></h3></div><ul class="sidebar-group space-y-px"><li id="/support/upgrade-to-model-catalog" class="relative scroll-m-4 first:scroll-m-20" data-title="Upgrade to Model Catalog"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/support/upgrade-to-model-catalog"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Upgrade to Model Catalog</span><div class="h-[1lh] flex items-center shrink-0 leading-[inherit]"><span class="nav-tag-pill flex items-center w-fit"><span class="nav-tag-pill-text px-1 py-0.5 rounded-md text-[0.65rem] leading-tight font-bold text-primary dark:text-primary-light bg-primary/10" data-nav-tag="New">New</span></span></div></div></div></a></li><li id="/README" class="relative scroll-m-4 first:scroll-m-20" data-title="How to Contribute"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/README"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">
106How to Contribute</span></div></div></a></li><li id="/support/contact-us" class="relative scroll-m-4 first:scroll-m-20" data-title="Contact Us"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/support/contact-us"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Contact Us</span></div></div></a></li><li id="/support/developer-forum" class="relative scroll-m-4 first:scroll-m-20" data-title="Developer Forum"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/support/developer-forum"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Developer Forum</span></div></div></a></li><li id="/support/common-errors-and-resolutions" class="relative scroll-m-4 first:scroll-m-20" data-title="Common Errors &amp; Resolutions"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/support/common-errors-and-resolutions"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">Common Errors &amp; Resolutions</span></div></div></a></li><li id="/support/portkeys-december-migration" class="relative scroll-m-4 first:scroll-m-20" data-title="December &#x27;23 Migration"><a class="group flex items-start pr-3 py-1.5 cursor-pointer gap-x-3 text-left focus-visible:-outline-offset-2 rounded-xl w-full outline-offset-[-1px] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300" style="padding-left:1rem" href="/docs/support/portkeys-december-migration"><div class="flex-1 flex min-w-0 items-start gap-x-2.5"><div class="flex min-w-0 flex-1 flex-wrap items-center gap-1.5 [word-break:break-word]"><span class="min-w-0 max-w-full break-words hyphens-auto">December &#x27;23 Migration</span></div></div></a></li></ul></div>
106<script>(function () {
107  try {
108    if (window.__mintlifyInitialSidebarScrollDone) return;
109    window.__mintlifyInitialSidebarScrollDone = true;
110
111    var path = (window.location.pathname || '/').split('#')[0].split('?')[0];
112    if (path.endsWith('/index')) path = path.slice(0, -6);
113    else if (path === 'index') path = '';
114
115    var candidates = [];
116    if (path) candidates.push(path);
117    if (path.startsWith('/')) candidates.push(path.slice(1));
118    else candidates.push('/' + path);
119
120    var item = null;
121    for (var i = 0; i < candidates.length && !item; i++) {
122      var matches = document.querySelectorAll('[id="' + candidates[i].replace(/"/g, '\\"') + '"]');
123      for (var j = 0; j < matches.length; j++) {
124        if (matches[j].closest('#sidebar, #sidebar-content')) {
125          item = matches[j];
126          break;
127        }
128      }
129    }
130    if (!item) return;
131
132    var parent = item.closest('[data-component-part="scroll-area-viewport"]');
133    if (!parent) {
134      parent = item.parentElement;
135      while (parent) {
136        var style = getComputedStyle(parent);
137        if (style.overflowY === 'auto' || style.overflowY === 'scroll') break;
138        parent = parent.parentElement;
139      }
140    }
141    if (!parent) return;
142
143    var parentRect = parent.getBoundingClientRect();
144    var itemRect = item.getBoundingClientRect();
145    if (itemRect.top >= parentRect.top && itemRect.bottom <= parentRect.bottom) return;
146
147    var itemTopRelative = itemRect.top - parentRect.top + parent.scrollTop;
148    parent.scrollTop = itemTopRelative - parentRect.height / 2 + itemRect.height / 2;
149  } catch (e) {}
150})();</script>
150</div></div></div></div></div></nav><main id="content-container" class="lg:flex-1 lg:min-w-0">
150<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://docs.portkey.ai/#organization","name":"Portkey (Prisma AIRS AI Gateway) Docs","url":"https://docs.portkey.ai","logo":{"@type":"ImageObject","url":"https://mintcdn.com/portkey-docs/tHk-hgNjLbEj4dhh/images/portkey-PANW-company-logo-positive.png?fit=max&auto=format&n=tHk-hgNjLbEj4dhh&q=85&s=c5fb09014ff79616583b1d3bffe27450"}},{"@type":"WebSite","@id":"https://docs.portkey.ai/docs#website","name":"Portkey (Prisma AIRS AI Gateway) Docs","url":"https://docs.portkey.ai/docs","publisher":{"@id":"https://docs.portkey.ai/#organization"}},{"@type":"WebPage","@id":"https://docs.portkey.ai/docs/product/guardrails/pii-redaction#webpage","url":"https://docs.portkey.ai/docs/product/guardrails/pii-redaction","name":"PII Redaction","description":"Replace any sensitive data in requests with standard identifiers","dateModified":"2026-09-22T14:59:55.000Z","isPartOf":{"@id":"https://docs.portkey.ai/docs#website"},"breadcrumb":{"@id":"https://docs.portkey.ai/docs/product/guardrails/pii-redaction#breadcrumb"}},{"@type":"BreadcrumbList","@id":"https://docs.portkey.ai/docs/product/guardrails/pii-redaction#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Product","item":"https://docs.portkey.ai/docs/product/observability"},{"@type":"ListItem","position":2,"name":"Guardrails","item":"https://docs.portkey.ai/docs/product/guardrails"},{"@type":"ListItem","position":3,"name":"PII Redaction","item":"https://docs.portkey.ai/docs/product/guardrails/pii-redaction"}]},{"@type":["Article","TechArticle"],"@id":"https://docs.portkey.ai/docs/product/guardrails/pii-redaction#article","headline":"PII Redaction","name":"PII Redaction","description":"Replace any sensitive data in requests with standard identifiers","url":"https://docs.portkey.ai/docs/product/guardrails/pii-redaction","mainEntityOfPage":{"@id":"https://docs.portkey.ai/docs/product/guardrails/pii-redaction#webpage"},"dateModified":"2026-09-22T14:59:55.000Z","publisher":{"@id":"https://docs.portkey.ai/#organization"},"isPartOf":{"@id":"https://docs.portkey.ai/docs#website"}}]}</script>
150<script>document.documentElement.setAttribute('data-page-mode', "none");</script>
150<span class="fixed inset-0 bg-background-light dark:bg-background-dark -z-10 pointer-events-none" id="background-color"></span><style data-custom-css-index="0" data-custom-css-path="style.css">#banner {
151  background: linear-gradient(90deg, #0d1b2e 0%, #1a1040 40%, #2d0f22 100%);
152  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
153}
154
155#banner a {
156  color: #f0f0f0;
157  text-decoration: none;
158  font-weight: 600;
159  border-bottom: 1px solid rgba(240, 240, 240, 0.5);
160  padding-bottom: 1px;
161  transition: border-color 0.2s ease;
162}
163
164#banner a:hover {
165  border-bottom-color: #ffffff;
166}</style><!--$--><!--/$--><div class="flex flex-row-reverse gap-12 box-border w-full pt-[calc(10rem+var(--banner-height,2.5rem))] lg:pt-10"><div class="hidden xl:flex self-start sticky xl:flex-col max-w-[28rem] z-21 h-[calc(100vh-9.5rem)] top-[9.5rem] [[data-banner-state=visible]_&amp;]:h-[calc(100vh-12rem)] [[data-banner-state=visible]_&amp;]:top-[12rem]" id="content-side-layout"><div class="z-10 hidden xl:flex box-border max-h-full pl-10 w-[19rem]" id="table-of-contents-layout"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px" data-component-part="scroll-area" id="table-of-contents" class="min-w-0 text-gray-600 text-sm leading-6 w-[16.5rem] -mt-10"><div role="presentation" data-id="base-ui-_R_2r9qnpfb39p7b9snpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] pt-10 pb-4 base-ui-disable-scrollbar" style="overflow:scroll" data-component-part="scroll-area-viewport"><div role="presentation" style="min-width:fit-content" data-component-part="scroll-area-content" class="min-w-0! w-full space-y-2"><nav aria-labelledby="_R_r9qnpfb39p7b9snpfiutb_"><h2 id="_R_r9qnpfb39p7b9snpfiutb_" class="m-0 font-normal"><button type="button" class="text-gray-700 dark:text-gray-300 font-medium flex items-center space-x-2 hover:text-gray-900 dark:hover:text-gray-100 transition-colors cursor-pointer"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3 shrink-0"><path d="M2.75 14.25H15.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.75 3.75H15.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.75 9H8.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg><span>On this page</span></button></h2><div><ul id="table-of-contents-content" class="toc"><li class="toc-item relative" data-depth="0"><a style="--toc-padding-left:0rem" href="#enabling-pii-redaction" class="break-words py-1 block pl-[calc(var(--toc-padding-left)+var(--toc-focus-padding,0rem))] focus-visible:[--toc-focus-padding:0.25rem] focus-visible:-ml-1 focus-visible:-outline-offset-2 font-medium dark:text-gray-400 [li:not([data-active])&gt;&amp;:hover]:text-gray-900 dark:[li:not([data-active])&gt;&amp;:hover]:text-gray-300 [[data-active]&gt;&amp;]:text-primary dark:[[data-active]&gt;&amp;]:text-primary-light [[data-active]&gt;&amp;]:[text-shadow:-0.15px_0_0_currentColor,0.15px_0_0_currentColor]">Enabling PII Redaction</a></li><li class="toc-item relative" data-depth="0"><a style="--toc-padding-left:0rem" href="#guardrails-support" class="break-words py-1 block pl-[calc(var(--toc-padding-left)+var(--toc-focus-padding,0rem))] focus-visible:[--toc-focus-padding:0.25rem] focus-visible:-ml-1 focus-visible:-outline-offset-2 font-medium dark:text-gray-400 [li:not([data-active])&gt;&amp;:hover]:text-gray-900 dark:[li:not([data-active])&gt;&amp;:hover]:text-gray-300 [[data-active]&gt;&amp;]:text-primary dark:[[data-active]&gt;&amp;]:text-primary-light [[data-active]&gt;&amp;]:[text-shadow:-0.15px_0_0_currentColor,0.15px_0_0_currentColor]">Guardrails Support</a></li><li class="toc-item relative" data-depth="0"><a style="--toc-padding-left:0rem" href="#custom-pii-redaction-with-regex" class="break-words py-1 block pl-[calc(var(--toc-padding-left)+var(--toc-focus-padding,0rem))] focus-visible:[--toc-focus-padding:0.25rem] focus-visible:-ml-1 focus-visible:-outline-offset-2 font-medium dark:text-gray-400 [li:not([data-active])&gt;&amp;:hover]:text-gray-900 dark:[li:not([data-active])&gt;&amp;:hover]:text-gray-300 [[data-active]&gt;&amp;]:text-primary dark:[[data-active]&gt;&amp;]:text-primary-light [[data-active]&gt;&amp;]:[text-shadow:-0.15px_0_0_currentColor,0.15px_0_0_currentColor]">Custom PII Redaction with Regex</a><ul class=""><li class="toc-item relative" data-depth="1"><a style="--toc-padding-left:1rem" href="#setting-up-custom-pii-patterns" class="group flex items-start break-words py-1 pl-[calc(var(--toc-padding-left)+var(--toc-focus-padding,0rem))] whitespace-pre-wrap focu
166s-visible:[--toc-focus-padding:0.25rem] focus-visible:-ml-1 focus-visible:-outline-offset-2 text-gray-500 [li:not([data-active])&gt;&amp;:hover]:text-gray-900 dark:text-gray-400 dark:[li:not([data-active])&gt;&amp;:hover]:text-gray-300 [[data-active]&gt;&amp;]:text-primary dark:[[data-active]&gt;&amp;]:text-primary-light">Setting Up Custom PII Patterns</a></li><li class="toc-item relative" data-depth="1"><a style="--toc-padding-left:1rem" href="#common-regex-patterns-for-pii" class="group flex items-start break-words py-1 pl-[calc(var(--toc-padding-left)+var(--toc-focus-padding,0rem))] whitespace-pre-wrap focus-visible:[--toc-focus-padding:0.25rem] focus-visible:-ml-1 focus-visible:-outline-offset-2 text-gray-500 [li:not([data-active])&gt;&amp;:hover]:text-gray-900 dark:text-gray-400 dark:[li:not([data-active])&gt;&amp;:hover]:text-gray-300 [[data-active]&gt;&amp;]:text-primary dark:[[data-active]&gt;&amp;]:text-primary-light">Common Regex Patterns for PII</a></li><li class="toc-item relative" data-depth="1"><a style="--toc-padding-left:1rem" href="#adding-to-your-config" class="group flex items-start break-words py-1 pl-[calc(var(--toc-padding-left)+var(--toc-focus-padding,0rem))] whitespace-pre-wrap focus-visible:[--toc-focus-padding:0.25rem] focus-visible:-ml-1 focus-visible:-outline-offset-2 text-gray-500 [li:not([data-active])&gt;&amp;:hover]:text-gray-900 dark:text-gray-400 dark:[li:not([data-active])&gt;&amp;:hover]:text-gray-300 [[data-active]&gt;&amp;]:text-primary dark:[[data-active]&gt;&amp;]:text-primary-light">Adding to Your Config</a></li><li class="toc-item relative" data-depth="1"><a style="--toc-padding-left:1rem" href="#example-implementation" class="group flex items-start break-words py-1 pl-[calc(var(--toc-padding-left)+var(--toc-focus-padding,0rem))] whitespace-pre-wrap focus-visible:[--toc-focus-padding:0.25rem] focus-visible:-ml-1 focus-visible:-outline-offset-2 text-gray-500 [li:not([data-active])&gt;&amp;:hover]:text-gray-900 dark:text-gray-400 dark:[li:not([data-active])&gt;&amp;:hover]:text-gray-300 [[data-active]&gt;&amp;]:text-primary dark:[[data-active]&gt;&amp;]:text-primary-light">Example Implementation</a></li></ul></li><li class="toc-item relative" data-depth="0"><a style="--toc-padding-left:0rem" href="#how-it-works" class="break-words py-1 block pl-[calc(var(--toc-padding-left)+var(--toc-focus-padding,0rem))] focus-visible:[--toc-focus-padding:0.25rem] focus-visible:-ml-1 focus-visible:-outline-offset-2 font-medium dark:text-gray-400 [li:not([data-active])&gt;&amp;:hover]:text-gray-900 dark:[li:not([data-active])&gt;&amp;:hover]:text-gray-300 [[data-active]&gt;&amp;]:text-primary dark:[[data-active]&gt;&amp;]:text-primary-light [[data-active]&gt;&amp;]:[text-shadow:-0.15px_0_0_currentColor,0.15px_0_0_currentColor]">How It Works</a></li><li class="toc-item relative" data-depth="0"><a style="--toc-padding-left:0rem" href="#monitoring-pii-redaction" class="break-words py-1 block pl-[calc(var(--toc-padding-left)+var(--toc-focus-padding,0rem))] focus-visible:[--toc-focus-padding:0.25rem] focus-visible:-ml-1 focus-visible:-outline-offset-2 font-medium dark:text-gray-400 [li:not([data-active])&gt;&amp;:hover]:text-gray-900 dark:[li:not([data-active])&gt;&amp;:hover]:text-gray-300 [[data-active]&gt;&amp;]:text-primary dark:[[data-active]&gt;&amp;]:text-primary-light [[data-active]&gt;&amp;]:[text-shadow:-0.15px_0_0_currentColor,0.15px_0_0_currentColor]">Monitoring PII Redaction</a></li><li class="toc-item relative" data-depth="0"><a style="--toc-padding-left:0rem" href="#best-practices" class="break-words py-1 block pl-[calc(var(--toc-padding-left)+var(--toc-focus-padding,0rem))] focus-visible:[--toc-focus-padding:0.25rem] focus-visible:-ml-1 focus-visible:-outline-offset-2 font-medium dark:text-gray-400 [li:not([data-active])&gt;&amp;:hover]:text-gray-900 dark:[li:not([data-active])&gt;&amp;:hover]:text-gray-300 [[data-active]&gt;&amp;]:text-primary dark:[[data-active]&gt;&amp;]:text-primary-light [[data-active]&gt;&amp;]:[text-shadow:-0.15px_0_0_currentColor,0.15px_0_0_currentColor]">Best Practices</a></li><li class="toc-item relative" data-depth="0"><a style="--toc-padding-left:0rem" href="#security-considerations" class="break-words py-1 block pl-[calc(var(--toc-padding-left)+var(--toc-focus-padding,0rem))] focus-visible:[--toc-focus-padding:0.25rem] focus-visible:-ml-1 focus-visible:-outline-offset-2 font-medium dark:text-gray-400 [li:not([data-active])&gt;&amp;:hover]:text-gray-900 dark:[li:not([data-active])&gt;&amp;:hover]:text-gray-300 [[data-active]&gt;&amp;]:text-primary dark:[[data-active]&gt;&amp;]:text-primary-light [[data-active]&gt;&amp;]:[text-shadow:-0.15px_0_0_currentColor,0.15px_0_0_currentColor]">Security Considerations</a></li><li class="toc-item relative" data-depth="0"><a style="--toc-padding-left:0rem" href="#limitations" class="break-words py-1 block pl-[calc(var(--toc-padding-left)+var(--toc-focus-padding,0rem))] focus-visible:[--toc-focus-padding:0.25rem] focus-visible:-ml-1 focus-visible:-outline-offset-2 font-medium dark:text-gray-400 [li:not([data-active])&gt;&amp;:hover]:text-gray-900 dark:[li:not([data-active])&gt;&amp;:hover]:text-gray-300 [[data-active]&gt;&amp;]:text-primary dark:[[data-active]&gt;&amp;]:text-primary-light [[data-active]&gt;&amp;]:[text-shadow:-0.15px_0_0_currentColor,0.15px_0_0_currentColor]">Limitations</a></li><li class="toc-item relative" data-depth="0"><a style="--toc-padding-left:0rem" href="#troubleshooting" class="break-words py-1 block pl-[calc(var(--toc-padding-left)+var(--toc-focus-padding,0rem))] focus-visible:[--toc-focus-padding:0.25rem] focus-visible:-ml-1 focus-visible:-outline-offset-2 font-medium dark:text-gray-400 [li:not([data-active])&gt;&amp;:hover]:text-gray-900 dark:[li:not([data-active])&gt;&amp;:hover]:text-gray-300 [[data-active]&gt;&amp;]:text-primary dark:[[data-active]&gt;&amp;]:text-primary-light [[data-active]&gt;&amp;]:[text-shadow:-0.15px_0_0_currentColor,0.15px_0_0_currentColor]">Troubleshooting</a></li><li class="toc-item relative" data-depth="0"><a style="--toc-padding-left:0rem" href="#faqs" class="break-words py-1 block pl-[calc(var(--toc-padding-left)+var(--toc-focus-padding,0rem))] focus-visible:[--toc-focus-padding:0.25rem] focus-visible:-ml-1 focus-visible:-outline-offset-2 font-medium dark:text-gray-400 [li:not([data-active])&gt;&amp;:hover]:text-gray-900 dark:[li:not([data-active])&gt;&amp;:hover]:text-gray-300 [[data-active]&gt;&amp;]:text-primary dark:[[data-active]&gt;&amp;]:text-primary-light [[data-active]&gt;&amp;]:[text-shadow:-0.15px_0_0_currentColor,0.15px_0_0_currentColor]">FAQs</a></li></ul></div></nav><div class="h-px w-full bg-gray-200 dark:bg-white/10 my-3"></div><div class="space-y-1"><button class="flex items-center gap-2 w-full py-1.5 text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-200 transition-colors text-left disabled:opacity-70"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="size-3.5 shrink-0"><path d="M14.25 5.25H7.25C6.14543 5.25 5.25 6.14543 5.25 7.25V14.25C5.25 15.3546 6.14543 16.25 7.25 16.25H14.25C15.3546 16.25 16.25 15.3546 16.25 14.25V7.25C16.25 6.14543 15.3546 5.25 14.25 5.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.80103 11.998L1.77203 5.07397C1.61003 3.98097 2.36403 2.96397 3.45603 2.80197L10.38 1.77297C11.313 
1661.63397 12.19 2.16297 12.528 3.00097" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg><span class="flex items-center gap-1">Copy page</span></button><button class="flex items-center gap-2 w-full py-1.5 text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-200 transition-colors text-left disabled:opacity-70"><svg aria-hidden="true" focusable="false" width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" class="size-3.5 shrink-0"><path d="M15.25 3.75H2.75C1.64543 3.75 0.75 4.64543 0.75 5.75V12.25C0.75 13.3546 1.64543 14.25 2.75 14.25H15.25C16.3546 14.25 17.25 13.3546 17.25 12.25V5.75C17.25 4.64543 16.3546 3.75 15.25 3.75Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8.75 11.25V6.75H8.356L6.25 9.5L4.144 6.75H3.75V11.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M11.5 9.5L13.25 11.25L15 9.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M13.25 11.25V6.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg><span class="flex items-center gap-1">View as Markdown<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3 text-gray-400 dark:text-gray-500 shrink-0"><path d="M14.25 3.75L3.75525 14.2446" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M4.71301 3.75H14.2499V13.2869" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></span></button><button class="flex items-center gap-2 w-full py-1.5 text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-200 transition-colors text-left disabled:opacity-70"><svg aria-hidden="true" focusable="false" fill="currentColor" fill-rule="evenodd" height="1em" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" class="size-3.5 shrink-0"><title>OpenAI</title><path d="M21.55 10.004a5.416 5.416 0 00-.478-4.501c-1.217-2.09-3.662-3.166-6.05-2.66A5.59 5.59 0 0010.831 1C8.39.995 6.224 2.546 5.473 4.838A5.553 5.553 0 001.76 7.496a5.487 5.487 0 00.691 6.5 5.416 5.416 0 00.477 4.502c1.217 2.09 3.662 3.165 6.05 2.66A5.586 5.586 0 0013.168 23c2.443.006 4.61-1.546 5.361-3.84a5.553 5.553 0 003.715-2.66 5.488 5.488 0 00-.693-6.497v.001zm-8.381 11.558a4.199 4.199 0 01-2.675-.954c.034-.018.093-.05.132-.074l4.44-2.53a.71.71 0 00.364-.623v-6.176l1.877 1.069c.02.01.033.029.036.05v5.115c-.003 2.274-1.87 4.118-4.174 4.123zM4.192 17.78a4.059 4.059 0 01-.498-2.763c.032.02.09.055.131.078l4.44 2.53c.225.13.504.13.73 0l5.42-3.088v2.138a.068.068 0 01-.027.057L9.9 19.288c-1.999 1.136-4.552.46-5.707-1.51h-.001zM3.023 8.216A4.15 4.15 0 015.198 6.41l-.002.151v5.06a.711.711 0 00.364.624l5.42 3.087-1.876 1.07a.067.067 0 01-.063.005l-4.489-2.559c-1.995-1.14-2.679-3.658-1.53-5.63h.001zm15.417 3.54l-5.42-3.088L14.896 7.6a.067.067 0 01.063-.006l4.489 2.557c1.998 1.14 2.683 3.662 1.529 5.633a4.163 4.163 0 01-2.174 1.807V12.38a.71.71 0 00-.363-.623zm1.867-2.773a6.04 6.04 0 00-.132-.078l-4.44-2.53a.731.731 0 00-.729 0l-5.42 3.088V7.325a.068.068 0 01.027-.057L14.1 4.713c2-1.137 4.555-.46 5.707 1.513.487.833.664 1.809.499 2.757h.001zm-11.741 3.81l-1.877-1.068a.065.065 0 01-.036-.051V6.559c.001-2.277 1.873-4.122 4.181-4.12.976 0 1.92.338 2.671.954-.034.018-.092.05-.131.073l-4.44 2.53a.71.71 0 00-.365.623l-.003 6.173v.002zm1.02-2.168L12 9.25l2.414 1.375v2.75L12 14.75l-2.415-1.375v-2.75z"></path></svg><span class="flex items-center gap-1">Open in ChatGPT<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3 text-gray-400 dark:text-gray-500 shrink-0"><path d="M14.25 3.75L3.75525 14.2446" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M4.71301 3.75H14.2499V13.2869" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></span></button><button class="flex items-center gap-2 w-full py-1.5 text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-200 transition-colors text-left disabled:opacity-70"><svg aria-hidden="true" focusable="false" fill="currentColor" fill-rule="evenodd" height="1em" viewBox="0 0 256 257" width="1em" xmlns="http://www.w3.org/2000/svg" class="size-3.5 shrink-0" preserveAspectRatio="xMidYMid"><title>Anthropic</title><path d="m50.228 170.321 50.357-28.257.843-2.463-.843-1.361h-2.462l-8.426-.518-28.775-.778-24.952-1.037-24.175-1.296-6.092-1.297L0 125.796l.583-3.759 5.12-3.434 7.324.648 16.202 1.101 24.304 1.685 17.629 1.037 26.118 2.722h4.148l.583-1.685-1.426-1.037-1.101-1.037-25.
166147-17.045-27.22-18.017-14.258-10.37-7.713-5.25-3.888-4.925-1.685-10.758 7-7.713 9.397.649 2.398.648 9.527 7.323 20.35 15.75L94.817 91.9l3.889 3.24 1.555-1.102.195-.777-1.75-2.917-14.453-26.118-15.425-26.572-6.87-11.018-1.814-6.61c-.648-2.723-1.102-4.991-1.102-7.778l7.972-10.823L71.42 0 82.05 1.426l4.472 3.888 6.61 15.101 10.694 23.786 16.591 32.34 4.861 9.592 2.592 8.879.973 2.722h1.685v-1.556l1.36-18.211 2.528-22.36 2.463-28.776.843-8.1 4.018-9.722 7.971-5.25 6.222 2.981 5.12 7.324-.713 4.73-3.046 19.768-5.962 30.98-3.889 20.739h2.268l2.593-2.593 10.499-13.934 17.628-22.036 7.778-8.749 9.073-9.657 5.833-4.601h11.018l8.1 12.055-3.628 12.443-11.342 14.388-9.398 12.184-13.48 18.147-8.426 14.518.778 1.166 2.01-.194 30.46-6.481 16.462-2.982 19.637-3.37 8.88 4.148.971 4.213-3.5 8.62-20.998 5.184-24.628 4.926-36.682 8.685-.454.324.519.648 16.526 1.555 7.065.389h17.304l32.21 2.398 8.426 5.574 5.055 6.805-.843 5.184-12.962 6.611-17.498-4.148-40.83-9.721-14-3.5h-1.944v1.167l11.666 11.406 21.387 19.314 26.767 24.887 1.36 6.157-3.434 4.86-3.63-.518-23.526-17.693-9.073-7.972-20.545-17.304h-1.36v1.814l4.73 6.935 25.017 37.59 1.296 11.536-1.814 3.76-6.481 2.268-7.13-1.297-14.647-20.544-15.1-23.138-12.185-20.739-1.49.843-7.194 77.448-3.37 3.953-7.778 2.981-6.48-4.925-3.436-7.972 3.435-15.749 4.148-20.544 3.37-16.333 3.046-20.285 1.815-6.74-.13-.454-1.49.194-15.295 20.999-23.267 31.433-18.406 19.702-4.407 1.75-7.648-3.954.713-7.064 4.277-6.286 25.47-32.405 15.36-20.092 9.917-11.6-.065-1.686h-.583L44.07 198.125l-12.055 1.555-5.185-4.86.648-7.972 2.463-2.593 20.35-13.999-.064.065Z"></path></svg><span class="flex items-center gap-1">Open in Claude<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3 text-gray-400 dark:text-gray-500 shrink-0"><path d="M14.25 3.75L3.75525 14.2446" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M4.71301 3.75H14.2499V13.2869" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></span></button><button class="flex items-center gap-2 w-full py-1.5 text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-200 transition-colors text-left disabled:opacity-70"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="size-3.5 shrink-0"><path d="M11.75 6.25H12.335C13.3 6.25 14.127 6.939 14.302 7.888L15.315 13.388C15.541 14.617 14.598 15.75 13.348 15.75H4.65196C3.40196 15.75 2.45896 14.617 2.68496 13.388L3.69796 7.888C3.87296 6.939 4.69996 6.25 5.66496 6.25H6.24996" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M12 9.5L9 12.5L6 9.5" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9 12.5V1.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg><span class="flex items-center gap-1">Download PDF</span></button></div></div></div></div></div></div><div class="relative grow box-border flex-col w-full mx-auto px-1 lg:pl-[5.7rem] lg:-ml-12 xl:w-[calc(100%-28rem)]" data-empty-page-layout="" id="content-area"><header id="header" class="relative leading-none @container/page-header"><div class="mt-0.5 space-y-2.5"><nav aria-label="Breadcrumb"><ol class="breadcrumb-list flex flex-row items-center gap-1.5 list-none m-0 p-0"><li class="breadcrumb-item inline-flex items-center gap-1.5 text-sm text-gray-500 dark:text-gray-400" data-breadcrumb-title="Product">Product<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3 text-gray-400 dark:text-gray-500 shrink-0"><path d="M6.5 2.75L12.75 9L6.5 15.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></li><li class="breadcrumb-item inline-flex items-center gap-1.5 text-sm text-gray-500 dark:text-gray-400" data-breadcrumb-title="Guardrails">Guardrails</li></ol></nav><div class="flex flex-col sm:flex-row items-start sm:items-center relative gap-2 min-w-0"><h1 id="page-title" class="text-3xl sm:text-4xl text-gray-900 tracking-tight dark:text-gray-200 [overflow-wrap:anywhere] font-semibold">PII Redaction</h1></div></div><div class="mt-2 text-lg prose prose-gray dark:prose-invert [&amp;&gt;*]:[overflow-wrap:anywhere]"><p>Replace any sensitive data in requests with standard identifiers</p></div></header><div class="mdx-content @container/columns-container relative mt-8 prose prose-gray dark:prose-invert [contain:inline-size] isolate empty:hidden mb-14" data-page-title="PII Redaction" data-page-href="/product/guardrails/pii-redaction" id="content"><span data-as="p">Advanced PII Redaction feature automatically detects and redacts sensitive information from requests before they reach the LLM. This feature works seamlessly with our entire guardrails ecosystem, providing an additional layer of security for your AI interactions.</span>
167<h2 class="flex whitespace-pre-wrap group font-semibold" id="enabling-pii-redaction"><div class="absolute" tabindex="-1"><a href="#enabling-pii-redaction" class="-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100 focus:opacity-100 focus:outline-0 group/link" aria-label="Navigate to header">​<div class="size-6 rounded-md flex items-center justify-center shadow-xs text-gray-400 dark:text-white/50 dark:bg-background-dark dark:brightness-[1.35] dark:ring-1 dark:hover:brightness-150 bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20 group-focus/link:border-2 group-focus/link:border-primary dark:group-focus/link:border-primary-light"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3 shrink-0"><path d="M8.50001 6.827C8.14801 6.995 7.81801 7.225 7.52701 7.517L7.51701 7.527C6.13601 8.908 6.13601 11.146 7.51701 12.527L9.69201 14.702C11.073 16.
167083 13.311 16.083 14.692 14.702L14.702 14.692C16.083 13.311 16.083 11.073 14.702 9.692L13.771 8.761" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9.50002 11.173C9.85202 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.30802 3.298C6.92702 1.917 4.68902 1.917 3.30802 3.298L3.29802 3.308C1.91702 4.689 1.91702 6.927 3.29802 8.308L4.22902 9.239" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></a></div><span class="cursor-pointer">Enabling PII Redaction</span></h2>
168<span data-as="p">On the Guardrail creation page, for select PII guardrails, you will see a <strong>Redact PII</strong> toggle. Just enable it to start redacting PII in your requests.</span>
169<div><div data-name="frame" class="frame p-2 not-prose relative bg-gray-50/50 rounded-2xl overflow-hidden dark:bg-gray-800/25 print:print-color-exact"><div style="background-position:10px 10px" class="absolute inset-0 bg-grid-neutral-200/20 [mask-image:linear-gradient(0deg,#fff,rgba(255,255,255,0.6))] dark:bg-grid-white/5 dark:[mask-image:linear-gradient(0deg,rgba(255,255,255,0.1),rgba(255,255,255,0.5))] print:print-color-exact"></div><div class="relative rounded-xl overflow-hidden flex justify-center [&amp;_:where(img:not([class*=rounded-]))]:rounded-xl"><span data-ramka-trigger="" class="zoom-image-trigger contents cursor-zoom-in"><span class="contents"><picture class="contents"><img data-path="images/product/Guardrails/pii-redaction.png" src="https://mintcdn.com/portkey-docs/VWP2Y8zxPP5N4jE6/images/product/Guardrails/pii-redaction.png?fit=max&amp;auto=format&amp;n=VWP2Y8zxPP5N4jE6&amp;q=85&amp;s=719a6b5ef96f6f4809163bc75ae4edb0" class="object-contain" width="1108" height="604" decoding="async" sizes="(max-width: 1024px) 100vw, 1024px" srcSet="https://mintcdn.com/portkey-docs/VWP2Y8zxPP5N4jE6/images/product/Guardrails/pii-redaction.png?w=280&amp;fit=max&amp;auto=format&amp;n=VWP2Y8zxPP5N4jE6&amp;q=85&amp;s=7d0d0fd6066ccbc4a93b7f0712e305c9 280w, https://mintcdn.com/portkey-docs/VWP2Y8zxPP5N4jE6/images/product/Guardrails/pii-redaction.png?w=560&amp;fit=max&amp;auto=format&amp;n=VWP2Y8zxPP5N4jE6&amp;q=85&amp;s=e3e8c966591aaf2e681ca9faabb85d0a 560w, https://mintcdn.com/portkey-docs/VWP2Y8zxPP5N4jE6/images/product/Guardrails/pii-redaction.png?w=840&amp;fit=max&amp;auto=format&amp;n=VWP2Y8zxPP5N4jE6&amp;q=85&amp;s=6ff91a9bd6e50e770ced227599b0c962 840w, https://mintcdn.com/portkey-docs/VWP2Y8zxPP5N4jE6/images/product/Guardrails/pii-redaction.png?w=1100&amp;fit=max&amp;auto=format&amp;n=VWP2Y8zxPP5N4jE6&amp;q=85&amp;s=b5b962687498f3579480d5e31c0163f5 1100w, https://mintcdn.com/portkey-docs/VWP2Y8zxPP5N4jE6/images/product/Guardrails/pii-redaction.png?w=1650&amp;fit=max&amp;auto=format&amp;n=VWP2Y8zxPP5N4jE6&amp;q=85&amp;s=5b3cb5f359c72e2e87e001d784935c63 1650w, https://mintcdn.com/portkey-docs/VWP2Y8zxPP5N4jE6/images/product/Guardrails/pii-redaction.png?w=2500&amp;fit=max&amp;auto=format&amp;n=VWP2Y8zxPP5N4jE6&amp;q=85&amp;s=bf52e968641cdc047f92ab5642b9a450 2500w" data-optimize="true" style="aspect-ratio:1108 / 604"/></picture></span></span><button type="button" aria-haspopup="dialog" aria-expanded="false" data-ramka-trigger="" aria-label="Expand image" class="inline-flex shrink-0 cursor-pointer items-center justify-center rounded-full border border-black/20 bg-white/55 text-neutral-900 shadow-[0_0.5px_1px_rgb(0_0_0/0.12),0_1px_2px_rgb(0_0_0/0.08),inset_0_0.5px_0_rgb(255_255_255/0.65)] backdrop-blur-[40px] backdrop-saturate-150 transition-[background-color,box-shadow,scale,opacity,color] duration-150 ease-out hover:bg-white/65 active:scale-[0.96] active:bg-white/75 focus:outline-hidden focus-visible:shadow-[0_0_0_2px_rgb(0_0_0/0.25),0_0.5px_1px_rgb(0_0_0/0.12),0_1px_2px_rgb(0_0_0/0.08),inset_0_0.5px_0_rgb(255_255_255/0.65)] disabled:cursor-not-allowed disabled:opacity-30 disabled:active:scale-100 dark:border-white/25 dark:bg-neutral-900/45 dark:text-white dark:shadow-[0_0_0_0.5px_#000,0_0.5px_1px_rgb(0_0_0/0.45),0_1px_2px_rgb(0_0_0/0.35),inset_0_0.5px_0_rgb(255_255_255/0.14)] dark:hover:bg-neutral-900/55 dark:active:bg-neutral-900/65 dark:focus-visible:shadow-[0_0_0_2px_rgb(255_255_255/0.4),0_0_0_0.5px_#000,0_0.5px_1px_rgb(0_0_0/0.45),0_1px_2px_rgb(0_0_0/0.35),inset_0_0.5px_0_rgb(255_255_255/0.14)] absolute z-10 size-px overflow-hidden whitespace-nowrap [clip-path:inset(50%)] pointer-events-none focus-visible:size-9 focus-visible:overflow-visible focus-visible:[clip-path:none] focus-visible:pointer-events-auto in-[a]:hidden"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0"><path d="M10.75 2.75H15.25V7.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M15.25 2.75L10.75 7.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.75 10.75V15.25H7.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.75 15.25L7.25 10.75" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button></div><div class="absolute inset-0 pointer-events-none border border-black/5 rounded-2xl dark:border-white/5"></div></div></div>
170<h2 class="flex whitespace-pre-wrap group font-semibold" id="guardrails-support"><div class="absolute" tabindex="-1"><a href="#guardrails-support" class="-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100 focus:opacity-100 focus:outline-0 group/link" aria-label="Navigate to header">​<div class="size-6 rounded-md flex items-center justify-center shadow-xs text-gray-400 dark:text-white/50 dark:bg-background-dark dark:brightness-[1.35] dark:ring-1 dark:hover:brightness-150 bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20 group-focus/link:border-2 group-focus/link:border-primary dark:group-focus/link:border-primary-light"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3 shrink-0"><path d="M8.50001 6.827C8.14801 6.995 7.81801 7.225 7.52701 7.517L7.51701 7.527C6.13601 8.908 6.13601 11.146 7.51701 12.527L9.69201 14.702C11.073 16.
170083 13.311 16.083 14.692 14.702L14.702 14.692C16.083 13.311 16.083 11.073 14.702 9.692L13.771 8.761" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9.50002 11.173C9.85202 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.30802 3.298C6.92702 1.917 4.68902 1.917 3.30802 3.298L3.29802 3.308C1.91702 4.689 1.91702 6.927 3.29802 8.308L4.22902 9.239" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></a></div><span class="cursor-pointer">Guardrails Support</span></h2>
171<span data-as="p">PII redaction is supported across 5 guardrail providers:</span>
172<div class="columns prose dark:prose-invert grid max-w-none gap-4 sm:grid-cols-[repeat(var(--cols),minmax(0,1fr))] @2xl/columns-container:grid-cols-[repeat(var(--cols),minmax(0,1fr))] @[0px]/columns-container:grid-cols-1 card-group dark:prose-dark gap-y-0 sm:grid-cols-[repeat(var(--cols),minmax(0,1fr))]!" style="--cols:2"><div class="card block font-normal group relative my-2 ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full"><div class="px-6 py-5 relative" data-component-part="card-content-container"><div class="w-full"><h2 id="_R_139bb9qnpfb39p7b9snpfiutb_" class="not-prose font-semibold text-base text-gray-800 dark:text-white" contentEditable="false" data-component-part="card-title">Portkey Pro PII</h2><div id="_R_139bb9qnpfb39p7b9snpfiutbH1_" class="prose mt-1 font-normal text-base leading-6 text-gray-600 dark:text-gray-400" data-component-part="card-content"><span data-as="p">Redact <code>Phone number</code>, <code>Email addresses</code>, <code>Location information</code>, <code>IP addresses</code>, <code>Social Security Numbers (SSN)</code>, <code>Names</code>, <code>Credit card information</code> from requests</span></div></div></div></div><div class="card block font-normal group relative my-2 ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full cursor-pointer hover:border-primary! dark:hover:border-primary-light!" aria-labelledby="_R_239bb9qnpfb39p7b9snpfiutb_" tabindex="0" role="link"><div class="px-6 py-5 relative" data-component-part="card-content-container"><div class="absolute text-gray-400 dark:text-gray-500 group-hover:text-primary dark:group-hover:text-primary-light top-5 right-5 hidden"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="m-0.5 size-3 shrink-0"><path d="M14.25 3.75L3.75525 14.2446" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M4.71301 3.75H14.2499V13.2869" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div><div class="w-full"><h2 id="_R_239bb9qnpfb39p7b9snpfiutb_" class="not-prose font-semibold text-base text-gray-800 dark:text-white" contentEditable="false" data-component-part="card-title">Patronus AI</h2><div id="_R_239bb9qnpfb39p7b9snpfiutbH1_" class="prose mt-1 font-normal text-base leading-6 text-gray-600 dark:text-gray-400" data-component-part="card-content"><span data-as="p">Based on Patronus’s EnterprisePII dataset, this guardrail can detect and redact confidential information typically found in business documents like meeting notes, commercial contracts, marketing emails, performance reviews, and more</span></div></div></div></div><div class="card block font-normal group relative my-2 ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full cursor-pointer hover:border-primary! dark:hover:border-primary-light!" aria-labelledby="_R_339bb9qnpfb39p7b9snpfiutb_" tabindex="0" role="link"><div class="px-6 py-5 relative" data-component-part="card-content-container"><div class="absolute text-gray-400 dark:text-gray-500 group-hover:text-primary dark:group-hover:text-primary-light top-5 right-5 hidden"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="m-0.5 size-3 shrink-0"><path d="M14.25 3.75L3.75525 14.2446" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M4.71301 3.75H14.2499V13.2869" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div><div class="w-full"><h2 id="_R_339bb9qnpfb39p7b9snpfiutb_" class="not-prose font-semibold text-base text-gray-800 dark:text-white" contentEditable="false" data-component-part="card-title">Pangea</h2><div id="_R_339bb9qnpfb39p7b9snpfiutbH1_" class="prose mt-1 font-normal text-base leading-6 text-gray-600 dark:text-gray-400" data-component-part="card-content"><span data-as="p">Pangea’s redact feature can redact PII like geographic locations, payment card industry (PCI) data, and many other types of sensitive information, with support for rule customization</span></div></div></div></div><div class="card block font-normal group relative my-2 ring-2 ring-transparent roun
172ded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full"><div class="px-6 py-5 relative" data-component-part="card-content-container"><div class="w-full"><h2 id="_R_439bb9qnpfb39p7b9snpfiutb_" class="not-prose font-semibold text-base text-gray-800 dark:text-white" contentEditable="false" data-component-part="card-title">AWS Bedrock Guardrails</h2><div id="_R_439bb9qnpfb39p7b9snpfiutbH1_" class="prose mt-1 font-normal text-base leading-6 text-gray-600 dark:text-gray-400" data-component-part="card-content"><span data-as="p">You can select from a list of predefined PII or define a custom sensitive-information type using regular expressions (RegEx) and redact PII.</span></div></div></div></div><div class="card block font-normal group relative my-2 ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full"><div class="px-6 py-5 relative" data-component-part="card-content-container"><div class="w-full"><h2 id="_R_539bb9qnpfb39p7b9snpfiutb_" class="not-prose font-semibold text-base text-gray-800 dark:text-white" contentEditable="false" data-component-part="card-title">Promptfoo</h2><div id="_R_539bb9qnpfb39p7b9snpfiutbH1_" class="prose mt-1 font-normal text-base leading-6 text-gray-600 dark:text-gray-400" data-component-part="card-content"><span data-as="p">Promptfoo helps detect multiple PII exposures - in session data, via social engineering, or a direct exposure.</span></div></div></div></div></div>
173<h2 class="flex whitespace-pre-wrap group font-semibold" id="custom-pii-redaction-with-regex"><div class="absolute" tabindex="-1"><a href="#custom-pii-redaction-with-regex" class="-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100 focus:opacity-100 focus:outline-0 group/link" aria-label="Navigate to header">​<div class="size-6 rounded-md flex items-center justify-center shadow-xs text-gray-400 dark:text-white/50 dark:bg-background-dark dark:brightness-[1.35] dark:ring-1 dark:hover:brightness-150 bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20 group-focus/link:border-2 group-focus/link:border-primary dark:group-focus/link:border-primary-light"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3 shrink-0"><path d="M8.50001 6.827C8.14801 6.995 7.81801 7.225 7.52701 7.517L7.51701 7.527C6.13601 8.908 6.13601 11.146 7.51701 12.527L9.69201 14.702C11.073 16.083 13.3
17311 16.083 14.692 14.702L14.702 14.692C16.083 13.311 16.083 11.073 14.702 9.692L13.771 8.761" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9.50002 11.173C9.85202 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.30802 3.298C6.92702 1.917 4.68902 1.917 3.30802 3.298L3.29802 3.308C1.91702 4.689 1.91702 6.927 3.29802 8.308L4.22902 9.239" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></a></div><span class="cursor-pointer">Custom PII Redaction with Regex</span></h2>
174<span data-as="p">For more granular control over PII redaction, you can create custom patterns using Portkey’s <strong>Regex Match</strong> guardrail with redaction capabilities. This allows you to define specific patterns for sensitive information unique to your use case.</span>
175<h3 class="flex whitespace-pre-wrap group font-semibold" id="setting-up-custom-pii-patterns"><div class="absolute" tabindex="-1"><a href="#setting-up-custom-pii-patterns" class="-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100 focus:opacity-100 focus:outline-0 group/link" aria-label="Navigate to header">​<div class="size-6 rounded-md flex items-center justify-center shadow-xs text-gray-400 dark:text-white/50 dark:bg-background-dark dark:brightness-[1.35] dark:ring-1 dark:hover:brightness-150 bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20 group-focus/link:border-2 group-focus/link:border-primary dark:group-focus/link:border-primary-light"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3 shrink-0"><path d="M8.50001 6.827C8.14801 6.995 7.81801 7.225 7.52701 7.517L7.51701 7.527C6.13601 8.908 6.13601 11.146 7.51701 12.527L9.69201 14.702C11.073 16.083 13.3
17511 16.083 14.692 14.702L14.702 14.692C16.083 13.311 16.083 11.073 14.702 9.692L13.771 8.761" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9.50002 11.173C9.85202 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.30802 3.298C6.92702 1.917 4.68902 1.917 3.30802 3.298L3.29802 3.308C1.91702 4.689 1.91702 6.927 3.29802 8.308L4.22902 9.239" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></a></div><span class="cursor-pointer">Setting Up Custom PII Patterns</span></h3>
176<div><div data-name="frame" class="frame p-2 not-prose relative bg-gray-50/50 rounded-2xl overflow-hidden dark:bg-gray-800/25 print:print-color-exact"><div style="background-position:10px 10px" class="absolute inset-0 bg-grid-neutral-200/20 [mask-image:linear-gradient(0deg,#fff,rgba(255,255,255,0.6))] dark:bg-grid-white/5 dark:[mask-image:linear-gradient(0deg,rgba(255,255,255,0.1),rgba(255,255,255,0.5))] print:print-color-exact"></div><div class="relative rounded-xl overflow-hidden flex justify-center [&amp;_:where(img:not([class*=rounded-]))]:rounded-xl"><span data-ramka-trigger="" class="zoom-image-trigger contents cursor-zoom-in"><span class="contents"><picture class="contents"><img data-path="images/guardrails/regex.png" src="https://mintcdn.com/portkey-docs/QKXLB-54q6gEhIad/images/guardrails/regex.png?fit=max&amp;auto=format&amp;n=QKXLB-54q6gEhIad&amp;q=85&amp;s=5557c90d78352ee9295bf1e18030fd92" class="object-contain" width="1078" height="484" decoding="async" sizes="(max-width: 1024px) 100vw, 1024px" srcSet="https://mintcdn.com/portkey-docs/QKXLB-54q6gEhIad/images/guardrails/regex.png?w=280&amp;fit=max&amp;auto=format&amp;n=QKXLB-54q6gEhIad&amp;q=85&amp;s=826608436c3eeabe7acc9dd73602a9be 280w, https://mintcdn.com/portkey-docs/QKXLB-54q6gEhIad/images/guardrails/regex.png?w=560&amp;fit=max&amp;auto=format&amp;n=QKXLB-54q6gEhIad&amp;q=85&amp;s=a185d66e2894e514ea6bc7ec185ac8ab 560w, https://mintcdn.com/portkey-docs/QKXLB-54q6gEhIad/images/guardrails/regex.png?w=840&amp;fit=max&amp;auto=format&amp;n=QKXLB-54q6gEhIad&amp;q=85&amp;s=61f398410f5ed1594b43a2233af3faf5 840w, https://mintcdn.com/portkey-docs/QKXLB-54q6gEhIad/images/guardrails/regex.png?w=1100&amp;fit=max&amp;auto=format&amp;n=QKXLB-54q6gEhIad&amp;q=85&amp;s=d3828de0c650b473fce5e5777a004385 1100w, https://mintcdn.com/portkey-docs/QKXLB-54q6gEhIad/images/guardrails/regex.png?w=1650&amp;fit=max&amp;auto=format&amp;n=QKXLB-54q6gEhIad&amp;q=85&amp;s=dd9f5a56065f2235d27192ad3699d168 1650w, https://mintcdn.com/portkey-docs/QKXLB-54q6gEhIad/images/guardrails/regex.png?w=2500&amp;fit=max&amp;auto=format&amp;n=QKXLB-54q6gEhIad&amp;q=85&amp;s=9af16702c9e511ab2e2e4ba076471d3d 2500w" data-optimize="true" style="aspect-ratio:1078 / 484"/></picture></span></span><button type="button" aria-haspopup="dialog" aria-expanded="false" data-ramka-trigger="" aria-label="Expand image" class="inline-flex shrink-0 cursor-pointer items-center justify-center rounded-full border border-black/20 bg-white/55 text-neutral-900 shadow-[0_0.5px_1px_rgb(0_0_0/0.12),0_1px_2px_rgb(0_0_0/0.08),inset_0_0.5px_0_rgb(255_255_255/0.65)] backdrop-blur-[40px] backdrop-saturate-150 transition-[background-color,box-shadow,scale,opacity,color] duration-150 ease-out hover:bg-white/65 active:scale-[0.96] active:bg-white/75 focus:outline-hidden focus-visible:shadow-[0_0_0_2px_rgb(0_0_0/0.25),0_0.5px_1px_rgb(0_0_0/0.12),0_1px_2px_rgb(0_0_0/0.08),inset_0_0.5px_0_rgb(255_255_255/0.65)] disabled:cursor-not-allowed disabled:opacity-30 disabled:active:scale-100 dark:border-white/25 dark:bg-neutral-900/45 dark:text-white dark:shadow-[0_0_0_0.5px_#000,0_0.5px_1px_rgb(0_0_0/0.45),0_1px_2px_rgb(0_0_0/0.35),inset_0_0.5px_0_rgb(255_255_255/0.14)] dark:hover:bg-neutral-900/55 dark:active:bg-neutral-900/65 dark:focus-visible:shadow-[0_0_0_2px_rgb(255_255_255/0.4),0_0_0_0.5px_#000,0_0.5px_1px_rgb(0_0_0/0.45),0_1px_2px_rgb(0_0_0/0.35),inset_0_0.5px_0_rgb(255_255_255/0.14)] absolute z-10 size-px overflow-hidden whitespace-nowrap [clip-path:inset(50%)] pointer-events-none focus-visible:size-9 focus-visible:overflow-visible focus-visible:[clip-path:none] focus-visible:pointer-events-auto in-[a]:hidden"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0"><path d="M10.75 2.75H15.25V7.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M15.25 2.75L10.75 7.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.75 10.75V15.25H7.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.75 15.25L7.25 10.75" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button></div><div class="absolute inset-0 pointer-events-none border border-black/5 rounded-2xl dark:border-white/5"></div></div></div>
177<ol>
178<li>
179<span data-as="p"><strong>Navigate to Guardrails</strong>: Go to the <code>Guardrails</code> page and click <code>Create</code></span>
180</li>
181<li>
182<span data-as="p"><strong>Select Regex Match</strong>: Choose the “Regex Match” guardrail from the BASIC category</span>
183</li>
184<li>
185<span data-as="p"><strong>Configure the Pattern</strong>:</span>
186<ul>
187<li><strong>Regex Rule</strong>: Enter your regex pattern to match specific PII (e.g., <code>\b\d{3}-\d{2}-\d{4}\b</code> for SSN patterns)</li>
188<li><strong>Replacement Text</strong>: Define what to replace matches with (e.g., <code>[REDACTED]</code>, <code>*****</code>, <code>[SSN_HIDDEN]</code>)</li>
189<li><strong>Enable Redact</strong>: Toggle the “Redact” option to <code>ON</code></li>
190<li><strong>Inverse</strong>: Keep this <code>OFF</code> unless you want to redact everything except the pattern</li>
191</ul>
192</li>
193<li>
194<span data-as="p"><strong>Save the Guardrail</strong>: Name your guardrail and save it to get the associated Guardrail ID</span>
195</li>
196</ol>
197<h3 class="flex whitespace-pre-wrap group font-semibold" id="common-regex-patterns-for-pii"><div class="absolute" tabindex="-1"><a href="#common-regex-patterns-for-pii" class="-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100 focus:opacity-100 focus:outline-0 group/link" aria-label="Navigate to header">​<div class="size-6 rounded-md flex items-center justify-center shadow-xs text-gray-400 dark:text-white/50 dark:bg-background-dark dark:brightness-[1.35] dark:ring-1 dark:hover:brightness-150 bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20 group-focus/link:border-2 group-focus/link:border-primary dark:group-focus/link:border-primary-light"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3 shrink-0"><path d="M8.50001 6.827C8.14801 6.995 7.81801 7.225 7.52701 7.517L7.51701 7.527C6.13601 8.908 6.13601 11.146 7.51701 12.527L9.69201 14.702C11.073 16.
197083 13.311 16.083 14.692 14.702L14.702 14.692C16.083 13.311 16.083 11.073 14.702 9.692L13.771 8.761" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9.50002 11.173C9.85202 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.30802 3.298C6.92702 1.917 4.68902 1.917 3.30802 3.298L3.29802 3.308C1.91702 4.689 1.91702 6.927 3.29802 8.308L4.22902 9.239" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></a></div><span class="cursor-pointer">Common Regex Patterns for PII</span></h3>
198<div class="code-block mt-5 mb-8 not-prose rounded-2xl relative group min-w-0 print:print-color-exact text-gray-950 dark:text-gray-50 codeblock-light border border-gray-950/10 dark:border-white/10 dark:twoslash-dark bg-transparent dark:bg-transparent" data-has-floating-buttons="" numberOfLines="8" language="text"><div data-floating-buttons="true" class="absolute top-3 right-4 flex items-center gap-1.5 print:hidden"><div class="code-block-copy-button z-10 select-none" id="base-ui-_R_7p6pbb9qnpfb39p7b9snpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/copy-button [.code-block:not(:has([data-fade-overlay]))_[data-floating-buttons]_&amp;]:bg-gray-100 dark:[.code-block:not(:has([data-fade-overlay]))_[data-floating-buttons]_&amp;]:bg-gray-800" data-testid="copy-code-button" aria-label="Copy the contents from the code block"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-gray-400 group-hover/copy-button:text-gray-500 dark:text-white/40 dark:group-hover/copy-button:text-white/60"><path d="M14.25 5.25H7.25C6.14543 5.25 5.25 6.14543 5.25 7.25V14.25C5.25 15.3546 6.14543 16.25 7.25 16.25H14.25C15.3546 16.25 16.25 15.3546 16.25 14.25V7.25C16.25 6.14543 15.3546 5.25 14.25 5.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.80103 11.998L1.77203 5.07397C1.61003 3.98097 2.36403 2.96397 3.45603 2.80197L10.38 1.77297C11.313 1.63397 12.19 2.16297 12.528 3.00097" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button><span role="status" class="sr-only"></span></div><div class="z-10 select-none" id="base-ui-_R_7t6pbb9qnpfb39p7b9snpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/ask-assistant-button [.code-block:not(:has([data-fade-overlay]))_[data-floating-buttons]_&amp;]:bg-gray-100 dark:[.code-block:not(:has([data-fade-overlay]))_[data-floating-buttons]_&amp;]:bg-gray-800" id="ask-assistant-code-block-button" aria-label="Ask Assistant" data-chat-payload-element-id="lang-text-code-__PII_Type___Regex_P"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-gray-400 group-hover/ask-assistant-button:text-gray-500 dark:text-white/40 dark:group-hover/ask-assistant-button:text-white/60"><path d="M5.65799 2.99L4.39499 2.569L3.97399 1.306C3.83699 0.898 3.16199 0.898 3.02499 1.306L2.60399 2.569L1.34099 2.99C1.13699 3.058 0.998993 3.249 0.998993 3.464C0.998993 3.679 1.13699 3.87 1.34099 3.938L2.60399 4.359L3.02499 5.622C3.09299 5.826 3.28499 5.964 3.49999 5.964C3.71499 5.964 3.90599 5.826 3.97499 5.622L4.39599 4.359L5.65899 3.938C5.86299 3.87 6.00099 3.679 6.00099 3.464C6.00099 3.249 5.86199 3.058 5.65799 2.99Z" fill="currentColor" stroke="none"></path><path d="M9.5 2.75L11.412 7.587L16.25 9.5L11.412 11.413L9.5 16.25L7.587 11.413L2.75 9.5L7.587 7.587L9.5 2.75Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button></div></div><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:auto;background-color:#ffffff;--shiki-dark-bg:#0B0C0E" data-component-part="code-block-root" class="w-0 min-w-full max-w-full h-full dark:bg-codeblock text-sm leading-6 transition-[height] duration-300 ease-in-out code-block-background **:ring-0 **:outline-0 **:focus:ring-0 **:focus:outline-0 rounded-2xl bg-white"><div role="presentation" data-id="base-ui-_R_66pbb9qnpfb39p7b9snpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-4 overflow-y-hidden! base-ui-disable-scrollbar" style="overflow:scroll" data-component-part="scroll-area-viewport"><div role="presentation" style="min-width:fit-content" data-component-part="scroll-area-content" 
198class="min-w-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre leading-6"><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="text"><code language="text" numberOfLines="8"><span class="line"><span>| PII Type | Regex Pattern | Replacement Example |</span></span>
199<span class="line"><span>|----------|---------------|-------------------|</span></span>
200<span class="line"><span>| Credit Card | `\b\d{4}[- ]?\d{4}[- ]?\d{4}[- ]?\d{4}\b` | `[CREDIT_CARD]` |</span></span>
201<span class="line"><span>| Social Security Number | `\b\d{3}-\d{2}-\d{4}\b` | `[SSN_REDACTED]` |</span></span>
202<span class="line"><span>| Phone Numbers | `\b\d{3}[-.]\d{3}[-.]\d{4}\b` | `[PHONE_HIDDEN]` |</span></span>
203<span class="line"><span>| Email Addresses | `\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b` | `[EMAIL_REDACTED]` |</span></span>
204<span class="line"><span>| Custom Employee IDs | `EMP-\d{6}` | `[EMPLOYEE_ID]` |</span></span>
205<span class="line"><span></span></span></code></pre></div></div></div></div><div class="code-block-fade-overlay print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#ffffff;--fade-color-dark:#0B0C0E"></div></div>
206<h3 class="flex whitespace-pre-wrap group font-semibold" id="adding-to-your-config"><div class="absolute" tabindex="-1"><a href="#adding-to-your-config" class="-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100 focus:opacity-100 focus:outline-0 group/link" aria-label="Navigate to header">​<div class="size-6 rounded-md flex items-center justify-center shadow-xs text-gray-400 dark:text-white/50 dark:bg-background-dark dark:brightness-[1.35] dark:ring-1 dark:hover:brightness-150 bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20 group-focus/link:border-2 group-focus/link:border-primary dark:group-focus/link:border-primary-light"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3 shrink-0"><path d="M8.50001 6.827C8.14801 6.995 7.81801 7.225 7.52701 7.517L7.51701 7.527C6.13601 8.908 6.13601 11.146 7.51701 12.527L9.69201 14.702C11.073 16.083 13.3
20611 16.083 14.692 14.702L14.702 14.692C16.083 13.311 16.083 11.073 14.702 9.692L13.771 8.761" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9.50002 11.173C9.85202 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.30802 3.298C6.92702 1.917 4.68902 1.917 3.30802 3.298L3.29802 3.308C1.91702 4.689 1.91702 6.927 3.29802 8.308L4.22902 9.239" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></a></div><span class="cursor-pointer">Adding to Your Config</span></h3>
207<span data-as="p">Once you’ve created your custom PII regex guardrail, add it to your Portkey config:</span>
208<div class="code-block mt-5 mb-8 not-prose rounded-2xl relative group min-w-0 print:print-color-exact text-gray-950 dark:text-gray-50 codeblock-light border border-gray-950/10 dark:border-white/10 dark:twoslash-dark bg-transparent dark:bg-transparent" data-has-floating-buttons="" numberOfLines="8" language="json"><div data-floating-buttons="true" class="absolute top-3 right-4 flex items-center gap-1.5 print:hidden"><div class="code-block-copy-button z-10 select-none" id="base-ui-_R_7p89bb9qnpfb39p7b9snpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/copy-button [.code-block:not(:has([data-fade-overlay]))_[data-floating-buttons]_&amp;]:bg-gray-100 dark:[.code-block:not(:has([data-fade-overlay]))_[data-floating-buttons]_&amp;]:bg-gray-800" data-testid="copy-code-button" aria-label="Copy the contents from the code block"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-gray-400 group-hover/copy-button:text-gray-500 dark:text-white/40 dark:group-hover/copy-button:text-white/60"><path d="M14.25 5.25H7.25C6.14543 5.25 5.25 6.14543 5.25 7.25V14.25C5.25 15.3546 6.14543 16.25 7.25 16.25H14.25C15.3546 16.25 16.25 15.3546 16.25 14.25V7.25C16.25 6.14543 15.3546 5.25 14.25 5.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.80103 11.998L1.77203 5.07397C1.61003 3.98097 2.36403 2.96397 3.45603 2.80197L10.38 1.77297C11.313 1.63397 12.19 2.16297 12.528 3.00097" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button><span role="status" class="sr-only"></span></div><div class="z-10 select-none" id="base-ui-_R_7t89bb9qnpfb39p7b9snpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/ask-assistant-button [.code-block:not(:has([data-fade-overlay]))_[data-floating-buttons]_&amp;]:bg-gray-100 dark:[.code-block:not(:has([data-fade-overlay]))_[data-floating-buttons]_&amp;]:bg-gray-800" id="ask-assistant-code-block-button" aria-label="Ask Assistant" data-chat-payload-element-id="lang-json-code-_____before_request_"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-gray-400 group-hover/ask-assistant-button:text-gray-500 dark:text-white/40 dark:group-hover/ask-assistant-button:text-white/60"><path d="M5.65799 2.99L4.39499 2.569L3.97399 1.306C3.83699 0.898 3.16199 0.898 3.02499 1.306L2.60399 2.569L1.34099 2.99C1.13699 3.058 0.998993 3.249 0.998993 3.464C0.998993 3.679 1.13699 3.87 1.34099 3.938L2.60399 4.359L3.02499 5.622C3.09299 5.826 3.28499 5.964 3.49999 5.964C3.71499 5.964 3.90599 5.826 3.97499 5.622L4.39599 4.359L5.65899 3.938C5.86299 3.87 6.00099 3.679 6.00099 3.464C6.00099 3.249 5.86199 3.058 5.65799 2.99Z" fill="currentColor" stroke="none"></path><path d="M9.5 2.75L11.412 7.587L16.25 9.5L11.412 11.413L9.5 16.25L7.587 11.413L2.75 9.5L7.587 7.587L9.5 2.75Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button></div></div><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:auto;background-color:#ffffff;--shiki-dark-bg:#0B0C0E" data-component-part="code-block-root" class="w-0 min-w-full max-w-full h-full dark:bg-codeblock text-sm leading-6 transition-[height] duration-300 ease-in-out code-block-background **:ring-0 **:outline-0 **:focus:ring-0 **:focus:outline-0 rounded-2xl bg-white"><div role="presentation" data-id="base-ui-_R_689bb9qnpfb39p7b9snpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-4 overflow-y-hidden! base-ui-disable-scrollbar" style="overflow:scroll" data-component-part="scroll-area-viewport"><div role="presentation" style="min-width:fit-content" data-component-part="scroll-area-content" 
208class="min-w-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre leading-6"><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="json"><code language="json" numberOfLines="8"><span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">{</span></span>
209<span class="line"><span style="color:#116329;--shiki-dark:#9CDCFE">  &quot;before_request_hooks&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: [</span></span>
210<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    {</span><span style="color:#116329;--shiki-dark:#9CDCFE">&quot;id&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;your-custom-pii-guardrail-id&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">}</span></span>
211<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">  ],</span></span>
212<span class="line"><span style="color:#116329;--shiki-dark:#9CDCFE">  &quot;after_request_hooks&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: [</span></span>
213<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    {</span><span style="color:#116329;--shiki-dark:#9CDCFE">&quot;id&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;your-custom-pii-guardrail-id&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">}</span></span>
214<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">  ]</span></span>
215<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">}</span></span>
216</code></pre></div></div></div></div><div class="code-block-fade-overlay print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#ffffff;--fade-color-dark:#0B0C0E"></div></div>
217<div role="note" aria-label="Note" class="callout my-4 px-5 py-4 overflow-hidden rounded-2xl flex gap-3 border border-blue-200 bg-blue-50 dark:border-blue-900 dark:bg-blue-600/20" data-callout-type="note"><div class="mt-0.5 w-4" data-component-part="callout-icon"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 text-blue-800 dark:text-blue-300"><path d="M 9 1.6714 C 13.0371 1.6714 16.3286 4.9629 16.3286 9 C 16.3286 13.0371 13.0371 16.3286 9 16.3286 C 7.0574 16.3252 5.1953 15.552 3.8217 14.1783 C 2.448 12.8047 1.6748 10.9426 1.6714 9 C 1.6714 4.9629 4.9629 1.6714 9 1.6714 Z M 9 0 C 4.0371 0 0 4.0371 0 9 C 0 13.9629 4.0371 18 9 18 C 13.9629 18 18 13.9629 18 9 C 18 4.0371 13.9629 0 9 0 Z M 10.2857 3.8571 H 7.7143 V 10.2857 H 10.2857 V 3.8571 Z M 10.2857 11.5714 H 7.7143 V 14.1429 H 10.2857 V 11.5714 Z" fill="currentColor" stroke="none" fill-rule="evenodd" clip-rule="evenodd"></path></svg></div><div class="text-sm prose dark:prose-invert min-w-0 w-full [&amp;_kbd]:bg-background-light dark:[&amp;_kbd]:bg-background-dark [&amp;_code]:text-current! [&amp;_kbd]:text-current! [&amp;_a]:text-current! [&amp;_a]:border-current [&amp;_strong]:text-current! text-blue-800 dark:text-blue-300" data-component-part="callout-content"><span data-as="p">You can add the same guardrail to both <code>before_request_hooks</code> (input guardrails) and <code>after_request_hooks</code> (output guardrails) to scan and redact PII in both user inputs and LLM responses.</span></div></div>
218<h3 class="flex whitespace-pre-wrap group font-semibold" id="example-implementation"><div class="absolute" tabindex="-1"><a href="#example-implementation" class="-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100 focus:opacity-100 focus:outline-0 group/link" aria-label="Navigate to header">​<div class="size-6 rounded-md flex items-center justify-center shadow-xs text-gray-400 dark:text-white/50 dark:bg-background-dark dark:brightness-[1.35] dark:ring-1 dark:hover:brightness-150 bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20 group-focus/link:border-2 group-focus/link:border-primary dark:group-focus/link:border-primary-light"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3 shrink-0"><path d="M8.50001 6.827C8.14801 6.995 7.81801 7.225 7.52701 7.517L7.51701 7.527C6.13601 8.908 6.13601 11.146 7.51701 12.527L9.69201 14.702C11.073 16.
218083 13.311 16.083 14.692 14.702L14.702 14.692C16.083 13.311 16.083 11.073 14.702 9.692L13.771 8.761" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9.50002 11.173C9.85202 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.30802 3.298C6.92702 1.917 4.68902 1.917 3.30802 3.298L3.29802 3.308C1.91702 4.689 1.91702 6.927 3.29802 8.308L4.22902 9.239" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></a></div><span class="cursor-pointer">Example Implementation</span></h3>
219<div class="tabs tabs tab-container"><ul role="tablist" class="not-prose mb-6 pb-[1px] flex-none min-w-full overflow-auto border-b border-gray-200 gap-x-6 flex dark:border-gray-200/10" data-component-part="tabs-list"><li id="nodejs" role="tab" aria-selected="true" aria-controls="panel-nodejs-0" tabindex="0" class="cursor-pointer"><div class="flex text-sm items-center gap-1.5 leading-6 font-semibold whitespace-nowrap pt-3 pb-2.5 -mb-px max-w-max border-b text-primary dark:text-primary-light border-current" data-component-part="tab-button" data-active="true" data-testid="tab-NodeJS"> <!-- -->NodeJS</div></li><li id="python" role="tab" aria-selected="false" aria-controls="panel-python-1" tabindex="-1" class="cursor-pointer"><div class="flex text-sm items-center gap-1.5 leading-6 font-semibold whitespace-nowrap pt-3 pb-2.5 -mb-px max-w-max border-b text-gray-900 border-transparent hover:border-gray-300 dark:text-gray-200 dark:hover:border-gray-700" data-component-part="tab-button" data-active="false" data-testid="tab-Python"> <!-- -->Python</div></li></ul><div><div id="panel-nodejs-0" role="tabpanel" aria-labelledby="nodejs" tabindex="0" class="prose dark:prose-invert overflow-x-auto [&amp;_[data-table-wrapper]]:![--page-padding:0px] [&amp;_[role=&quot;listitem&quot;]]:pl-4 [&amp;&gt;:first-child:not(p)]:mt-0 [&amp;&gt;:first-child:not(p)_img]:mt-0 [&amp;&gt;:first-child[data-table-wrapper]]:pt-0!" data-component-part="tab-content"><div class="code-block mt-5 mb-8 not-prose rounded-2xl relative group min-w-0 print:print-color-exact text-gray-950 dark:text-gray-50 codeblock-light border border-gray-950/10 dark:border-white/10 dark:twoslash-dark bg-transparent dark:bg-transparent" data-has-floating-buttons="" numberOfLines="14" language="javascript"><div data-floating-buttons="true" class="absolute top-3 right-4 flex items-center gap-1.5 print:hidden"><div class="code-block-copy-button z-10 select-none" id="base-ui-_R_3sm9pbb9qnpfb39p7b9snpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/copy-button [.code-block:not(:has([data-fade-overlay]))_[data-floating-buttons]_&amp;]:bg-gray-100 dark:[.code-block:not(:has([data-fade-overlay]))_[data-floating-buttons]_&amp;]:bg-gray-800" data-testid="copy-code-button" aria-label="Copy the contents from the code block"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-gray-400 group-hover/copy-button:text-gray-500 dark:text-white/40 dark:group-hover/copy-button:text-white/60"><path d="M14.25 5.25H7.25C6.14543 5.25 5.25 6.14543 5.25 7.25V14.25C5.25 15.3546 6.14543 16.25 7.25 16.25H14.25C15.3546 16.25 16.25 15.3546 16.25 14.25V7.25C16.25 6.14543 15.3546 5.25 14.25 5.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.80103 11.998L1.77203 5.07397C1.61003 3.98097 2.36403 2.96397 3.45603 2.80197L10.38 1.77297C11.313 1.63397 12.19 2.16297 12.528 3.00097" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button><span role="status" class="sr-only"></span></div><div class="z-10 select-none" id="base-ui-_R_3um9pbb9qnpfb39p7b9snpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/ask-assistant-button [.code-block:not(:has([data-fade-overlay]))_[data-floating-buttons]_&amp;]:bg-gray-100 dark:[.code-block:not(:has([data-fade-overlay]))_[data-floating-buttons]_&amp;]:bg-gray-800" id="ask-assistant-code-block-button" aria-label="Ask Assistant" data-chat-payload-element-id="lang-javascript-code-const_portkey___new_"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-gray-400 group-hover/ask-assistant-button:text-gray-500 dark:text-white/40 dark:group-hover/ask-assistant-button:text-white/60"><path d="M5.65799 2.99L4.39499 2.569L3.97399 1.306C3.83699 0.898 3.16199 0.898 3.02499 1.306L2.60399 2.569L1.34099 2.99C1.13699 3.058 0.998993 3.249 0.998993 3.464C0.998993 3.679 1.13699 3.87 1.34099 3.938L2.60399 4.359L3.02499 5.622C3.09299 5.826 3.28499 5.964 3.49999 5.964C3.71499 5.964 3.90599 5.826 3.97499 5.622L4.39599 4.359L5.65899 3.938C5.86299 3.87 6.00099 3.679 6.00099 3.464C6.00099 3.249 5.86199 3.058 5.65799 2.99Z" fill="currentColor" stroke="none"></path><path d="M9.5 2.75L11.412 7.587L16.25 9.5L11.412 11.413L9.5 16.25L7.587 11.413L2.75 9.5L7.587 7.587L9.5 2.75Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button></div></div><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:auto;background-color:#ffffff;--shiki-dark-bg:#0B0C0E" data-component-part="code-block-root" class="w-0 min-w-full max-w-full h-full dark:bg-codeblock text-sm leading-6 transition-[height] duration-300 ease-in-out code-block-background **:ring-0 **:outline-0 **:focus:ring-0 **:focus:outline-0 rounded-2xl bg-white"><div role="presentation" data-id="base-ui-_R_369pbb9qnpfb39p7b9snpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-4 overflow-y-hidden! base-ui-disable-scrollbar" style="overflow:scroll" data-component-part="scroll-area-viewport"><div role="presentation" style="min-width:fit-content" data-component-part="scroll-area-content" 
219class="min-w-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre leading-6"><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="javascript"><code language="javascript" numberOfLines="14"><span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">const</span><span style="color:#0550AE;--shiki-dark:#4FC1FF"> portkey</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#CF222E;--shiki-dark:#569CD6"> new</span><span style="color:#8250DF;--shiki-dark:#DCDCAA"> Portkey</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">({</span></span>
220<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    apiKey:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;PORTKEY_API_KEY&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
221<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    config:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;pc-***&quot;</span><span style="color:#6E7781;--shiki-dark:#6A9955"> // Config with custom PII redaction</span></span>
222<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">});</span></span>
223<span class="line"></span>
224<span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">const</span><span style="color:#0550AE;--shiki-dark:#4FC1FF"> response</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#CF222E;--shiki-dark:#C586C0"> await</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> portkey</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">chat</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">completions</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">create</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">({</span></span>
225<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    model:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;@your-model-slug&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
226<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    messages:</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> [</span></span>
227<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">        {</span></span>
228<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">            role:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;user&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
229<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">            content:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;My SSN is 123-45-6789 and credit card is 4532-1234-5678-9012&quot;</span></span>
230<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">        }</span></span>
231<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    ]</span></span>
232<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">});</span></span>
233</code></pre></div></div></div></div><div class="code-block-fade-overlay print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#ffffff;--fade-color-dark:#0B0C0E"></div></div></div><div id="panel-python-1" role="tabpanel" aria-labelledby="python" tabindex="0" class="prose dark:prose-invert overflow-x-auto [&amp;_[data-table-wrapper]]:![--page-padding:0px] [&amp;_[role=&quot;listitem&quot;]]:pl-4 [&amp;&gt;:first-child:not(p)]:mt-0 [&amp;&gt;:first-child:not(p)_img]:mt-0 [&amp;&gt;:first-child[data-table-wrapper]]:pt-0! hidden" data-component-part="tab-content"><div class="code-block mt-5 mb-8 not-prose rounded-2xl relative group min-w-0 print:print-color-exact text-gray-950 dark:text-gray-50 codeblock-light border border-gray-950/10 dark:border-white/10 dark:twoslash-dark bg-transparent dark:bg-transparent" data-has-floating-buttons="" numberOfLines="14" language="python"><div data-floating-buttons="true" class="absolute top-3 right-4 flex items-center gap-1.5 print:hidden"><div class="code-block-copy-button z-10 select-none" id="base-ui-_R_3sq9pbb9qnpfb39p7b9snpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/copy-button [.code-block:not(:has([data-fade-overlay]))_[data-floating-buttons]_&amp;]:bg-gray-100 dark:[.code-block:not(:has([data-fade-overlay]))_[data-floating-buttons]_&amp;]:bg-gray-800" data-testid="copy-code-button" aria-label="Copy the contents from the code block"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-gray-400 group-hover/copy-button:text-gray-500 dark:text-white/40 dark:group-hover/copy-button:text-white/60"><path d="M14.25 5.25H7.25C6.14543 5.25 5.25 6.14543 5.25 7.25V14.25C5.25 15.3546 6.14543 16.25 7.25 16.25H14.25C15.3546 16.25 16.25 15.3546 16.25 14.25V7.25C16.25 6.14543 15.3546 5.25 14.25 5.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.80103 11.998L1.77203 5.07397C1.61003 3.98097 2.36403 2.96397 3.45603 2.80197L10.38 1.77297C11.313 
2331.63397 12.19 2.16297 12.528 3.00097" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button><span role="status" class="sr-only"></span></div><div class="z-10 select-none" id="base-ui-_R_3uq9pbb9qnpfb39p7b9snpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/ask-assistant-button [.code-block:not(:has([data-fade-overlay]))_[data-floating-buttons]_&amp;]:bg-gray-100 dark:[.code-block:not(:has([data-fade-overlay]))_[data-floating-buttons]_&amp;]:bg-gray-800" id="ask-assistant-code-block-button" aria-label="Ask Assistant" data-chat-payload-element-id="lang-python-code-portkey___Portkey___"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-gray-400 group-hover/ask-assistant-button:text-gray-500 dark:text-white/40 dark:group-hover/ask-assistant-button:text-white/60"><path d="M5.65799 2.99L4.39499 2.569L3.97399 1.306C3.83699 0.898 3.16199 0.898 3.02499 1.306L2.60399 2.569L1.34099 2.99C1.13699 3.058 0.998993 3.249 0.998993 3.464C0.998993 3.679 1.13699 3.87 1.34099 3.938L2.60399 4.359L3.02499 5.622C3.09299 5.826 3.28499 5.964 3.49999 5.964C3.71499 5.964 3.90599 5.826 3.97499 5.622L4.39599 4.359L5.65899 3.938C5.86299 3.87 6.00099 3.679 6.00099 3.464C6.00099 3.249 5.86199 3.058 5.65799 2.99Z" fill="currentColor" stroke="none"></path><path d="M9.5 2.75L11.412 7.587L16.25 9.5L11.412 11.413L9.5 16.25L7.587 11.413L2.75 9.5L7.587 7.587L9.5 2.75Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button></div></div><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:auto;background-color:#ffffff;--shiki-dark-bg:#0B0C0E" data-component-part="code-block-root" class="w-0 min-w-full max-w-full h-full dark:bg-codeblock text-sm leading-6 transition-[height] duration-300 ease-in-out code-block-background **:ring-0 **:outline-0 **:focus:ring-0 **:focus:outline-0 rounded-2xl bg-white"><div role="presentation" data-id="base-ui-_R_3a9pbb9qnpfb39p7b9snpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-4 overflow-y-hidden! base-ui-disable-scrollbar" style="overflow:scroll" data-component-part="scroll-area-viewport"><div role="presentation" style="min-width:fit-content" data-component-part="scroll-area-content" class="min-w-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre leading-6"><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="python"><code language="python" numberOfLines="14"><span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">
233portkey </span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> Portkey(</span></span>
234<span class="line"><span style="color:#953800;--shiki-dark:#9CDCFE">    api_key</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;PORTKEY_API_KEY&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
235<span class="line"><span style="color:#953800;--shiki-dark:#9CDCFE">    config</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;pc-***&quot;</span><span style="color:#6E7781;--shiki-dark:#6A9955"> # Config with custom PII redaction</span></span>
236<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">)</span></span>
237<span class="line"></span>
238<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">response </span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> portkey.chat.completions.create(</span></span>
239<span class="line"><span style="color:#953800;--shiki-dark:#9CDCFE">    model</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;@your-model-slug&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
240<span class="line"><span style="color:#953800;--shiki-dark:#9CDCFE">    messages</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">[</span></span>
241<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">        {</span></span>
242<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">            &quot;role&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;user&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
243<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">            &quot;content&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;My SSN is 123-45-6789 and credit card is 4532-1234-5678-9012&quot;</span></span>
244<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">        }</span></span>
245<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    ]</span></span>
246<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">)</span></span>
247</code></pre></div></div></div></div><div class="code-block-fade-overlay print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#ffffff;--fade-color-dark:#0B0C0E"></div></div></div></div></div>
248<span data-as="p">With the custom regex guardrail configured, the input would be automatically transformed to:</span>
249<div class="code-block mt-5 mb-8 not-prose rounded-2xl relative group min-w-0 print:print-color-exact text-gray-950 dark:text-gray-50 codeblock-light border border-gray-950/10 dark:border-white/10 dark:twoslash-dark bg-transparent dark:bg-transparent" data-has-floating-buttons="" numberOfLines="2" language="text"><div data-floating-buttons="true" class="absolute top-3 right-4 flex items-center gap-1.5 print:hidden"><div class="code-block-copy-button z-10 select-none" id="base-ui-_R_7papbb9qnpfb39p7b9snpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/copy-button [.code-block:not(:has([data-fade-overlay]))_[data-floating-buttons]_&amp;]:bg-gray-100 dark:[.code-block:not(:has([data-fade-overlay]))_[data-floating-buttons]_&amp;]:bg-gray-800" data-testid="copy-code-button" aria-label="Copy the contents from the code block"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-gray-400 group-hover/copy-button:text-gray-500 dark:text-white/40 dark:group-hover/copy-button:text-white/60"><path d="M14.25 5.25H7.25C6.14543 5.25 5.25 6.14543 5.25 7.25V14.25C5.25 15.3546 6.14543 16.25 7.25 16.25H14.25C15.3546 16.25 16.25 15.3546 16.25 14.25V7.25C16.25 6.14543 15.3546 5.25 14.25 5.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.80103 11.998L1.77203 5.07397C1.61003 3.98097 2.36403 2.96397 3.45603 2.80197L10.38 1.77297C11.313 
2491.63397 12.19 2.16297 12.528 3.00097" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button><span role="status" class="sr-only"></span></div><div class="z-10 select-none" id="base-ui-_R_7tapbb9qnpfb39p7b9snpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/ask-assistant-button [.code-block:not(:has([data-fade-overlay]))_[data-floating-buttons]_&amp;]:bg-gray-100 dark:[.code-block:not(:has([data-fade-overlay]))_[data-floating-buttons]_&amp;]:bg-gray-800" id="ask-assistant-code-block-button" aria-label="Ask Assistant" data-chat-payload-element-id="lang-text-code-_My_SSN_is__SSN_REDA"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-gray-400 group-hover/ask-assistant-button:text-gray-500 dark:text-white/40 dark:group-hover/ask-assistant-button:text-white/60"><path d="M5.65799 2.99L4.39499 2.569L3.97399 1.306C3.83699 0.898 3.16199 0.898 3.02499 1.306L2.60399 2.569L1.34099 2.99C1.13699 3.058 0.998993 3.249 0.998993 3.464C0.998993 3.679 1.13699 3.87 1.34099 3.938L2.60399 4.359L3.02499 5.622C3.09299 5.826 3.28499 5.964 3.49999 5.964C3.71499 5.964 3.90599 5.826 3.97499 5.622L4.39599 4.359L5.65899 3.938C5.86299 3.87 6.00099 3.679 6.00099 3.464C6.00099 3.249 5.86199 3.058 5.65799 2.99Z" fill="currentColor" stroke="none"></path><path d="M9.5 2.75L11.412 7.587L16.25 9.5L11.412 11.413L9.5 16.25L7.587 11.413L2.75 9.5L7.587 7.587L9.5 2.75Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button></div></div><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:auto;background-color:#ffffff;--shiki-dark-bg:#0B0C0E" data-component-part="code-block-root" class="w-0 min-w-full max-w-full h-full dark:bg-codeblock text-sm leading-6 transition-[height] duration-300 ease-in-out code-block-background **:ring-0 **:outline-0 **:focus:ring-0 **:focus:outline-0 rounded-2xl bg-white"><div role="presentation" data-id="base-ui-_R_6apbb9qnpfb39p7b9snpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-4 overflow-y-hidden! base-ui-disable-scrollbar" style="overflow:scroll" data-component-part="scroll-area-viewport"><div role="presentation" style="min-width:fit-content" data-component-part="scroll-area-content" class="min-w-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre leading-6"><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="text"><code language="text" numberOfLines="2"><span class="line"><span>&quot;My SSN is [SSN_REDACTED] and credit card is [CREDIT_CARD]&quot;</span></span>
250<span class="line"><span></span></span></code></pre></div></div></div></div><div class="code-block-fade-overlay print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#ffffff;--fade-color-dark:#0B0C0E"></div></div>
251<h2 class="flex whitespace-pre-wrap group font-semibold" id="how-it-works"><div class="absolute" tabindex="-1"><a href="#how-it-works" class="-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100 focus:opacity-100 focus:outline-0 group/link" aria-label="Navigate to header">​<div class="size-6 rounded-md flex items-center justify-center shadow-xs text-gray-400 dark:text-white/50 dark:bg-background-dark dark:brightness-[1.35] dark:ring-1 dark:hover:brightness-150 bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20 group-focus/link:border-2 group-focus/link:border-primary dark:group-focus/link:border-primary-light"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3 shrink-0"><path d="M8.50001 6.827C8.14801 6.995 7.81801 7.225 7.52701 7.517L7.51701 7.527C6.13601 8.908 6.13601 11.146 7.51701 12.527L9.69201 14.702C11.073 16.
251083 13.311 16.083 14.692 14.702L14.702 14.692C16.083 13.311 16.083 11.073 14.702 9.692L13.771 8.761" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9.50002 11.173C9.85202 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.30802 3.298C6.92702 1.917 4.68902 1.917 3.30802 3.298L3.29802 3.308C1.91702 4.689 1.91702 6.927 3.29802 8.308L4.22902 9.239" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></a></div><span class="cursor-pointer">How It Works</span></h2>
252<ol>
253<li>
254<span data-as="p"><strong>Detection</strong>: When enabled, the system scans incoming or outgoing requests for PII using the configured guardrail provider.</span>
255</li>
256<li>
257<span data-as="p"><strong>Redaction</strong>: Detected PII is automatically replaced with standardized identifiers:</span>
258<ul>
259<li>Email addresses → <code>{{EMAIL_ADDRESS_1}}</code>, <code>{{EMAIL_ADDRESS_2}}</code>, etc.</li>
260<li>Phone numbers → <code>{{PHONE_NUMBER_1}}</code>, <code>{{PHONE_NUMBER_2}}</code>, etc.</li>
261<li>And similar patterns for other PII types</li>
262</ul>
263</li>
264<li>
265<span data-as="p"><strong>Processing</strong>: The redacted request is then forwarded to the LLM, ensuring sensitive data never reaches the model.</span>
266</li>
267</ol>
268<span data-as="p">Example:</span>
269<div class="code-block mt-5 mb-8 not-prose rounded-2xl relative group min-w-0 print:print-color-exact text-gray-950 dark:text-gray-50 codeblock-light border border-gray-950/10 dark:border-white/10 dark:twoslash-dark bg-transparent dark:bg-transparent" data-has-floating-buttons="" numberOfLines="6" language="text"><div data-floating-buttons="true" class="absolute top-3 right-4 flex items-center gap-1.5 print:hidden"><div class="code-block-copy-button z-10 select-none" id="base-ui-_R_7pcpbb9qnpfb39p7b9snpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/copy-button [.code-block:not(:has([data-fade-overlay]))_[data-floating-buttons]_&amp;]:bg-gray-100 dark:[.code-block:not(:has([data-fade-overlay]))_[data-floating-buttons]_&amp;]:bg-gray-800" data-testid="copy-code-button" aria-label="Copy the contents from the code block"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-gray-400 group-hover/copy-button:text-gray-500 dark:text-white/40 dark:group-hover/copy-button:text-white/60"><path d="M14.25 5.25H7.25C6.14543 5.25 5.25 6.14543 5.25 7.25V14.25C5.25 15.3546 6.14543 16.25 7.25 16.25H14.25C15.3546 16.25 16.25 15.3546 16.25 14.25V7.25C16.25 6.14543 15.3546 5.25 14.25 5.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.80103 11.998L1.77203 5.07397C1.61003 3.98097 2.36403 2.96397 3.45603 2.80197L10.38 1.77297C11.313 1.63397 12.19 2.16297 12.528 3.00097" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button><span role="status" class="sr-only"></span></div><div class="z-10 select-none" id="base-ui-_R_7tcpbb9qnpfb39p7b9snpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/ask-assistant-button [.code-block:not(:has([data-fade-overlay]))_[data-floating-buttons]_&amp;]:bg-gray-100 dark:[.code-block:not(:has([data-fade-overlay]))_[data-floating-buttons]_&amp;]:bg-gray-800" id="ask-assistant-code-block-button" aria-label="Ask Assistant" data-chat-payload-element-id="lang-text-code-Original_Request___H"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-gray-400 group-hover/ask-assistant-button:text-gray-500 dark:text-white/40 dark:group-hover/ask-assistant-button:text-white/60"><path d="M5.65799 2.99L4.39499 2.569L3.97399 1.306C3.83699 0.898 3.16199 0.898 3.02499 1.306L2.60399 2.569L1.34099 2.99C1.13699 3.058 0.998993 3.249 0.998993 3.464C0.998993 3.679 1.13699 3.87 1.34099 3.938L2.60399 4.359L3.02499 5.622C3.09299 5.826 3.28499 5.964 3.49999 5.964C3.71499 5.964 3.90599 5.826 3.97499 5.622L4.39599 4.359L5.65899 3.938C5.86299 3.87 6.00099 3.679 6.00099 3.464C6.00099 3.249 5.86199 3.058 5.65799 2.99Z" fill="currentColor" stroke="none"></path><path d="M9.5 2.75L11.412 7.587L16.25 9.5L11.412 11.413L9.5 16.25L7.587 11.413L2.75 9.5L7.587 7.587L9.5 2.75Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button></div></div><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:auto;background-color:#ffffff;--shiki-dark-bg:#0B0C0E" data-component-part="code-block-root" class="w-0 min-w-full max-w-full h-full dark:bg-codeblock text-sm leading-6 transition-[height] duration-300 ease-in-out code-block-background **:ring-0 **:outline-0 **:focus:ring-0 **:focus:outline-0 rounded-2xl bg-white"><div role="presentation" data-id="base-ui-_R_6cpbb9qnpfb39p7b9snpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-4 overflow-y-hidden! base-ui-disable-scrollbar" style="overflow:scroll" data-component-part="scroll-area-viewport"><div role="presentation" style="min-width:fit-content" data-component-part="scroll-area-content" 
269class="min-w-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre leading-6"><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="text"><code language="text" numberOfLines="6"><span class="line"><span>Original Request:</span></span>
270<span class="line"><span>&quot;Hi, you can reach me at [email protected] or 555-0123&quot;</span></span>
271<span class="line"><span></span></span>
272<span class="line"><span>Redacted Request:</span></span>
273<span class="line"><span>&quot;Hi, you can reach me at {{EMAIL_ADDRESS_1}} or {{PHONE_NUMBER_1}}&quot;</span></span>
274<span class="line"><span></span></span></code></pre></div></div></div></div><div class="code-block-fade-overlay print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#ffffff;--fade-color-dark:#0B0C0E"></div></div>
275<h2 class="flex whitespace-pre-wrap group font-semibold" id="monitoring-pii-redaction"><div class="absolute" tabindex="-1"><a href="#monitoring-pii-redaction" class="-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100 focus:opacity-100 focus:outline-0 group/link" aria-label="Navigate to header">​<div class="size-6 rounded-md flex items-center justify-center shadow-xs text-gray-400 dark:text-white/50 dark:bg-background-dark dark:brightness-[1.35] dark:ring-1 dark:hover:brightness-150 bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20 group-focus/link:border-2 group-focus/link:border-primary dark:group-focus/link:border-primary-light"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3 shrink-0"><path d="M8.50001 6.827C8.14801 6.995 7.81801 7.225 7.52701 7.517L7.51701 7.527C6.13601 8.908 6.13601 11.146 7.51701 12.527L9.69201 14.702C11.073 16.083 13.3
27511 16.083 14.692 14.702L14.702 14.692C16.083 13.311 16.083 11.073 14.702 9.692L13.771 8.761" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9.50002 11.173C9.85202 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.30802 3.298C6.92702 1.917 4.68902 1.917 3.30802 3.298L3.29802 3.308C1.91702 4.689 1.91702 6.927 3.29802 8.308L4.22902 9.239" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></a></div><span class="cursor-pointer">Monitoring PII Redaction</span></h2>
276<span data-as="p">You can track request transformations through two key indicators in the request/response body:</span>
277<ol>
278<li><code>transformed</code> boolean flag: Indicates whether any redaction occurred</li>
279<li><code>check_results</code> object: Contains detailed information about specific transformations</li>
280</ol>
281<h2 class="flex whitespace-pre-wrap group font-semibold" id="best-practices"><div class="absolute" tabindex="-1"><a href="#best-practices" class="-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100 focus:opacity-100 focus:outline-0 group/link" aria-label="Navigate to header">​<div class="size-6 rounded-md flex items-center justify-center shadow-xs text-gray-400 dark:text-white/50 dark:bg-background-dark dark:brightness-[1.35] dark:ring-1 dark:hover:brightness-150 bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20 group-focus/link:border-2 group-focus/link:border-primary dark:group-focus/link:border-primary-light"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3 shrink-0"><path d="M8.50001 6.827C8.14801 6.995 7.81801 7.225 7.52701 7.517L7.51701 7.527C6.13601 8.908 6.13601 11.146 7.51701 12.527L9.69201 14.702C11.073 16.083 13.3
28111 16.083 14.692 14.702L14.702 14.692C16.083 13.311 16.083 11.073 14.702 9.692L13.771 8.761" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9.50002 11.173C9.85202 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.30802 3.298C6.92702 1.917 4.68902 1.917 3.30802 3.298L3.29802 3.308C1.91702 4.689 1.91702 6.927 3.29802 8.308L4.22902 9.239" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></a></div><span class="cursor-pointer">Best Practices</span></h2>
282<ol>
283<li>
284<span data-as="p"><strong>Gradual Implementation</strong>:</span>
285<ul>
286<li>Start by enabling the feature for a subset of requests</li>
287<li>Monitor the logs and transformation results</li>
288<li>Gradually expand coverage after validation</li>
289</ul>
290</li>
291<li>
292<span data-as="p"><strong>Regular Monitoring</strong>:</span>
293<ul>
294<li>Review transformation logs periodically</li>
295<li>Validate that sensitive information is being caught appropriately</li>
296</ul>
297</li>
298<li>
299<span data-as="p"><strong>Documentation</strong>:</span>
300<ul>
301<li>Maintain records of what types of PII you’re scanning for</li>
302<li>Document any specific compliance requirements being addressed</li>
303</ul>
304</li>
305</ol>
306<h2 class="flex whitespace-pre-wrap group font-semibold" id="security-considerations"><div class="absolute" tabindex="-1"><a href="#security-considerations" class="-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100 focus:opacity-100 focus:outline-0 group/link" aria-label="Navigate to header">​<div class="size-6 rounded-md flex items-center justify-center shadow-xs text-gray-400 dark:text-white/50 dark:bg-background-dark dark:brightness-[1.35] dark:ring-1 dark:hover:brightness-150 bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20 group-focus/link:border-2 group-focus/link:border-primary dark:group-focus/link:border-primary-light"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3 shrink-0"><path d="M8.50001 6.827C8.14801 6.995 7.81801 7.225 7.52701 7.517L7.51701 7.527C6.13601 8.908 6.13601 11.146 7.51701 12.527L9.69201 14.702C11.073 16.083 13.3
30611 16.083 14.692 14.702L14.702 14.692C16.083 13.311 16.083 11.073 14.702 9.692L13.771 8.761" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9.50002 11.173C9.85202 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.30802 3.298C6.92702 1.917 4.68902 1.917 3.30802 3.298L3.29802 3.308C1.91702 4.689 1.91702 6.927 3.29802 8.308L4.22902 9.239" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></a></div><span class="cursor-pointer">Security Considerations</span></h2>
307<ul>
308<li>Redaction is irreversible by design</li>
309<li>Original PII storage and handling varies by guardrail provider</li>
310<li>The feature can be applied to both input and output content</li>
311<li>Custom regex patterns should be carefully designed to avoid false positives</li>
312</ul>
313<span data-as="p"><strong>Compliance Implications</strong></span>
314<span data-as="p">This feature can help organizations meet various compliance requirements by:</span>
315<ul>
316<li>Preventing accidental exposure of sensitive data to LLMs</li>
317<li>Providing audit trails of PII handling</li>
318<li>Supporting data minimization principles</li>
319<li>Enabling systematic PII management across AI operations</li>
320</ul>
321<h2 class="flex whitespace-pre-wrap group font-semibold" id="limitations"><div class="absolute" tabindex="-1"><a href="#limitations" class="-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100 focus:opacity-100 focus:outline-0 group/link" aria-label="Navigate to header">​<div class="size-6 rounded-md flex items-center justify-center shadow-xs text-gray-400 dark:text-white/50 dark:bg-background-dark dark:brightness-[1.35] dark:ring-1 dark:hover:brightness-150 bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20 group-focus/link:border-2 group-focus/link:border-primary dark:group-focus/link:border-primary-light"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3 shrink-0"><path d="M8.50001 6.827C8.14801 6.995 7.81801 7.225 7.52701 7.517L7.51701 7.527C6.13601 8.908 6.13601 11.146 7.51701 12.527L9.69201 14.702C11.073 16.083 13.3
32111 16.083 14.692 14.702L14.702 14.692C16.083 13.311 16.083 11.073 14.702 9.692L13.771 8.761" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9.50002 11.173C9.85202 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.30802 3.298C6.92702 1.917 4.68902 1.917 3.30802 3.298L3.29802 3.308C1.91702 4.689 1.91702 6.927 3.29802 8.308L4.22902 9.239" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></a></div><span class="min-w-0 break-words cursor-pointer">Limitations</span></h2>
322<ul>
323<li>Redaction patterns are not customizable for pre-built guardrails (but can be customized using regex)</li>
324<li>Transformation is one-way (non-reversible)</li>
325<li>Performance may vary based on chosen guardrail provider</li>
326<li>Complex regex patterns may impact processing latency</li>
327</ul>
328<h2 class="flex whitespace-pre-wrap group font-semibold" id="troubleshooting"><div class="absolute" tabindex="-1"><a href="#troubleshooting" class="-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100 focus:opacity-100 focus:outline-0 group/link" aria-label="Navigate to header">​<div class="size-6 rounded-md flex items-center justify-center shadow-xs text-gray-400 dark:text-white/50 dark:bg-background-dark dark:brightness-[1.35] dark:ring-1 dark:hover:brightness-150 bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20 group-focus/link:border-2 group-focus/link:border-primary dark:group-focus/link:border-primary-light"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3 shrink-0"><path d="M8.50001 6.827C8.14801 6.995 7.81801 7.225 7.52701 7.517L7.51701 7.527C6.13601 8.908 6.13601 11.146 7.51701 12.527L9.69201 14.702C11.073 16.083 13.3
32811 16.083 14.692 14.702L14.702 14.692C16.083 13.311 16.083 11.073 14.702 9.692L13.771 8.761" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9.50002 11.173C9.85202 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.30802 3.298C6.92702 1.917 4.68902 1.917 3.30802 3.298L3.29802 3.308C1.91702 4.689 1.91702 6.927 3.29802 8.308L4.22902 9.239" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></a></div><span class="min-w-0 break-words cursor-pointer">Troubleshooting</span></h2>
329<span data-as="p">If you experience issues:</span>
330<ol>
331<li>Verify the feature is enabled in your guardrails configuration</li>
332<li>Check the <code>transformed</code> flag and <code>check_results</code> for specific transformation details</li>
333<li>Review logs for any error messages or unexpected behavior</li>
334<li>For custom regex patterns, validate the regex syntax and test with sample data</li>
335<li><a href="https://support.portkey.ai/forms/customer-portal-ticket-form" target="_blank" rel="noreferrer" class="link">Contact us</a> for additional assistance</li>
336</ol>
337<h2 class="flex whitespace-pre-wrap group font-semibold" id="faqs"><div class="absolute" tabindex="-1"><a href="#faqs" class="-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100 focus:opacity-100 focus:outline-0 group/link" aria-label="Navigate to header">​<div class="size-6 rounded-md flex items-center justify-center shadow-xs text-gray-400 dark:text-white/50 dark:bg-background-dark dark:brightness-[1.35] dark:ring-1 dark:hover:brightness-150 bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20 group-focus/link:border-2 group-focus/link:border-primary dark:group-focus/link:border-primary-light"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3 shrink-0"><path d="M8.50001 6.827C8.14801 6.995 7.81801 7.225 7.52701 7.517L7.51701 7.527C6.13601 8.908 6.13601 11.146 7.51701 12.527L9.69201 14.702C11.073 16.083 13.3
33711 16.083 14.692 14.702L14.702 14.692C16.083 13.311 16.083 11.073 14.702 9.692L13.771 8.761" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9.50002 11.173C9.85202 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.30802 3.298C6.92702 1.917 4.68902 1.917 3.30802 3.298L3.29802 3.308C1.91702 4.689 1.91702 6.927 3.29802 8.308L4.22902 9.239" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div></a></div><span class="min-w-0 break-words cursor-pointer">FAQs</span></h2>
338<div class="accordion-group [&amp;&gt;details]:border-0 [&amp;&gt;details]:rounded-none [&amp;&gt;details&gt;summary]:rounded-none [&amp;&gt;details]:mb-0 overflow-hidden mt-0 mb-3 rounded-2xl prose prose-gray dark:prose-invert divide-y! divide-inherit! border-standard"><details class="accordion border-standard rounded-2xl mb-3 overflow-hidden bg-background-light dark:bg-codeblock cursor-default"><summary class="relative not-prose flex flex-row items-center content-center w-full cursor-pointer list-none [&amp;::-webkit-details-marker]:hidden gap-3 px-5 py-3.5 hover:bg-gray-100 hover:dark:bg-gray-800" aria-controls="can-i-customize-the-redaction-patterns-accordion-children" aria-expanded="false" data-component-part="accordion-button"><div id="can-i-customize-the-redaction-patterns" class="absolute top-[-8rem] [[data-banner-state=visible]_&amp;]:top-[-10.5rem]"></div><div class="flex size-4 shrink-0 items-center justify-center" data-component-part="accordion-caret-right"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="currentColor" stroke="none" aria-hidden="true" class="size-3 shrink-0 text-gray-600 transition-transform duration-200 dark:text-gray-400 -rotate-90"><path d="M14.0238 4.00002H3.97576C3.33776 4.00002 2.74976 4.34702 2.44276 4.90602C2.13576 5.46502 2.15576 6.14802 2.49776 6.68702L7.52176 14.61C7.84476 15.119 8.39676 15.422 8.99976 15.422C9.60276 15.422 10.1548 15.118 10.4778 14.61L15.5028 6.68602C15.8438 6.14702 15.8648 5.46402 15.5578 4.90502C15.2508 4.34602 14.6628 3.99902 14.0248 3.99902L14.0238 4.00002Z" fill="currentColor"></path></svg></div><div class="leading-tight text-left w-full min-w-0" contentEditable="false" data-component-part="accordion-title-container"><p id="can-i-customize-the-redaction-patterns-accordion-title" class="m-0 font-medium leading-6 text-gray-900 dark:text-gray-200" data-component-part="accordion-title">Can I customize the redaction patterns?</p></div></summary><div id="can-i-customize-the-redaction-patterns-accordion-children" role="region" aria-labelledby="can-i-customize-the-redaction-patterns-accordion-title" class="px-5 pb-3.5 prose prose-gray dark:prose-invert overflow-x-auto cursor-default" data-component-part="accordion-content"><span data-as="p">Currently, redaction patterns are standardized and not customizable.</span></div></details><details class="accordion border-standard rounded-2xl mb-3 overflow-hidden bg-background-light dark:bg-codeblock cursor-default"><summary class="relative not-prose flex flex-row items-center content-center w-full cursor-pointer list-none [&amp;::-webkit-details-marker]:hidden gap-3 px-5 py-3.5 hover:bg-gray-100 hover:dark:bg-gray-800" aria-controls="how-does-the-system-handle-multiple-instances-of-the-same-type-of-pii-accordion-children" aria-expanded="false" data-component-part="accordion-button"><div id="how-does-the-system-handle-multiple-instances-of-the-same-type-of-pii" class="absolute top-[-8rem] [[data-banner-state=visible]_&amp;]:top-[-10.5rem]"></div><div class="flex size-4 shrink-0 items-center justify-center" data-component-part="accordion-caret-right"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="currentColor" stroke="none" aria-hidden="true" class="size-3 shrink-0 text-gray-600 transition-transform duration-200 dark:text-gray-400 -rotate-90"><path d="M14.0238 4.00002H3.97576C3.33776 4.00002 2.74976 4.34702 2.44276 4.90602C2.13576 5.46502 2.15576 6.14802 2.49776 6.68702L7.52176 14.61C7.84476 15.119 8.39676 15.422 8.99976 15.422C9.60276 15.422 10.1548 15.118 10.4778 14.61L15.5028 6.68602C15.8438 6.14702 15.8648 5.46402 15.5578 4.90502C15.2508 4.34602 14.6628 3.99902 14.0248 3.99902L14.0238 4.00002Z" fill="currentColor"></path></svg></div><div class="leading-tight text-left w-full min-w-0" contentEditable="false" data-component-part="accordion-title-container"><p id="how-does-the-system-handle-multiple-instances-of-the-same-type-of-pii-accordion-title" class="m-0 font-medium leading-6 text-gray-900 dark:text-gray-200" data-component-part="accordion-title">How does the system handle multiple instances of the same type of PII?</p></div></summary><div id="how-does-the-system-handle-multiple-instances-of-the-same-type-of-pii-accordion-children" role="region" aria-labelledby="how-does-the-system-handle-multiple-instances-of-the-same-type-of-pii-accordion-title" class="px-5 pb-3.5 prose prose-gray dark:prose-invert overflow-x-auto cursor-default" data-component-part="accordion-content"><span data-as="p">Each instance receives a numbered identifier (e.g., <code>{{EMAIL_ADDRESS_1}}</code>, <code>{{EMAIL_ADDRESS_2}}</code>, etc.).</span></div></details>
338<details class="accordion border-standard rounded-2xl mb-3 overflow-hidden bg-background-light dark:bg-codeblock cursor-default"><summary class="relative not-prose flex flex-row items-center content-center w-full cursor-pointer list-none [&amp;::-webkit-details-marker]:hidden gap-3 px-5 py-3.5 hover:bg-gray-100 hover:dark:bg-gray-800" aria-controls="does-this-feature-impact-request-latency-accordion-children" aria-expanded="false" data-component-part="accordion-button"><div id="does-this-feature-impact-request-latency" class="absolute top-[-8rem] [[data-banner-state=visible]_&amp;]:top-[-10.5rem]"></div><div class="flex size-4 shrink-0 items-center justify-center" data-component-part="accordion-caret-right"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="currentColor" stroke="none" aria-hidden="true" class="size-3 shrink-0 text-gray-600 transition-transform duration-200 dark:text-gray-400 -rotate-90"><path d="M14.0238 4.00002H3.97576C3.33776 4.00002 2.74976 4.34702 2.44276 4.90602C2.13576 5.46502 2.15576 6.14802 2.49776 6.68702L7.52176 14.61C7.84476 15.119 8.39676 15.422 8.99976 15.422C9.60276 15.422 10.1548 15.118 10.4778 14.61L15.5028 6.68602C15.8438 6.14702 15.8648 5.46402 15.5578 4.90502C15.2508 4.34602 14.6628 3.99902 14.0248 3.99902L14.0238 4.00002Z" fill="currentColor"></path></svg></div><div class="leading-tight text-left w-full min-w-0" contentEditable="false" data-component-part="accordion-title-container"><p id="does-this-feature-impact-request-latency-accordion-title" class="m-0 font-medium leading-6 text-gray-900 dark:text-gray-200" data-component-part="accordion-title">Does this feature impact request latency?</p></div></summary><div id="does-this-feature-impact-request-latency-accordion-children" role="region" aria-labelledby="does-this-feature-impact-request-latency-accordion-title" class="px-5 pb-3.5 prose prose-gray dark:prose-invert overflow-x-auto cursor-default" data-component-part="accordion-content"><span data-as="p">Impact varies by guardrail provider and request complexity. Custom regex patterns with complex expressions may add   minimal latency.</span></div></details><details class="accordion border-standard rounded-2xl mb-3 overflow-hidden bg-background-light dark:bg-codeblock cursor-default"><summary class="relative not-prose flex flex-row items-center content-center w-full cursor-pointer list-none [&amp;::-webkit-details-marker]:hidden gap-3 px-5 py-3.5 hover:bg-gray-100 hover:dark:bg-gray-800" aria-controls="can-i-use-this-feature-with-any-llm-accordion-children" aria-expanded="false" data-component-part="accordion-button"><div id="can-i-use-this-feature-with-any-llm" class="absolute top-[-8rem] [[data-banner-state=visible]_&amp;]:top-[-10.5rem]"></div><div class="flex size-4 shrink-0 items-center justify-center" data-component-part="accordion-caret-right"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="currentColor" stroke="none" aria-hidden="true" class="size-3 shrink-0 text-gray-600 transition-transform duration-200 dark:text-gray-400 -rotate-90"><path d="M14.0238 4.00002H3.97576C3.33776 4.00002 2.74976 4.34702 2.44276 4.90602C2.13576 5.46502 2.15576 6.14802 2.49776 6.68702L7.52176 14.61C7.84476 15.119 8.39676 15.422 8.99976 15.422C9.60276 15.422 10.1548 15.118 10.4778 14.61L15.5028 6.68602C15.8438 6.14702 15.8648 5.46402 15.5578 4.90502C15.2508 4.34602 14.6628 3.99902 14.0248 3.99902L14.0238 4.00002Z" fill="currentColor"></path></svg></div><div class="leading-tight text-left w-full min-w-0" contentEditable="false" data-component-part="accordion-title-container"><p id="can-i-use-this-feature-with-any-llm-accordion-title" class="m-0 font-medium leading-6 text-gray-900 dark:text-gray-200" data-component-part="accordion-title">Can I use this feature with any LLM?</p></div></summary><div id="can-i-use-this-feature-with-any-llm-accordion-children" role="region" aria-labelledby="can-i-use-this-feature-with-any-llm-accordion-title" class="px-5 pb-3.5 prose prose-gray dark:prose-invert overflow-x-auto cursor-default" data-component-part="accordion-content"><span data-as="p">Yes, the feature works with any LLM supported by Portkey.</span></div></details>
338<details class="accordion border-standard rounded-2xl mb-3 overflow-hidden bg-background-light dark:bg-codeblock cursor-default"><summary class="relative not-prose flex flex-row items-center content-center w-full cursor-pointer list-none [&amp;::-webkit-details-marker]:hidden gap-3 px-5 py-3.5 hover:bg-gray-100 hover:dark:bg-gray-800" aria-controls="does-this-feature-work-on-both-input-and-output-accordion-children" aria-expanded="false" data-component-part="accordion-button"><div id="does-this-feature-work-on-both-input-and-output" class="absolute top-[-8rem] [[data-banner-state=visible]_&amp;]:top-[-10.5rem]"></div><div class="flex size-4 shrink-0 items-center justify-center" data-component-part="accordion-caret-right"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="currentColor" stroke="none" aria-hidden="true" class="size-3 shrink-0 text-gray-600 transition-transform duration-200 dark:text-gray-400 -rotate-90"><path d="M14.0238 4.00002H3.97576C3.33776 4.00002 2.74976 4.34702 2.44276 4.90602C2.13576 5.46502 2.15576 6.14802 2.49776 6.68702L7.52176 14.61C7.84476 15.119 8.39676 15.422 8.99976 15.422C9.60276 15.422 10.1548 15.118 10.4778 14.61L15.5028 6.68602C15.8438 6.14702 15.8648 5.46402 15.5578 4.90502C15.2508 4.34602 14.6628 3.99902 14.0248 3.99902L14.0238 4.00002Z" fill="currentColor"></path></svg></div><div class="leading-tight text-left w-full min-w-0" contentEditable="false" data-component-part="accordion-title-container"><p id="does-this-feature-work-on-both-input-and-output-accordion-title" class="m-0 font-medium leading-6 text-gray-900 dark:text-gray-200" data-component-part="accordion-title">Does this feature work on both input and output?</p></div></summary><div id="does-this-feature-work-on-both-input-and-output-accordion-children" role="region" aria-labelledby="does-this-feature-work-on-both-input-and-output-accordion-title" class="px-5 pb-3.5 prose prose-gray dark:prose-invert overflow-x-auto cursor-default" data-component-part="accordion-content"><span data-as="p">Yes, you can configure the guardrail to scan both requests and responses.</span></div></details><details class="accordion border-standard rounded-2xl mb-3 overflow-hidden bg-background-light dark:bg-codeblock cursor-default"><summary class="relative not-prose flex flex-row items-center content-center w-full cursor-pointer list-none [&amp;::-webkit-details-marker]:hidden gap-3 px-5 py-3.5 hover:bg-gray-100 hover:dark:bg-gray-800" aria-controls="can-i-combine-multiple-pii-redaction-methods-accordion-children" aria-expanded="false" data-component-part="accordion-button"><div id="can-i-combine-multiple-pii-redaction-methods" class="absolute top-[-8rem] [[data-banner-state=visible]_&amp;]:top-[-10.5rem]"></div><div class="flex size-4 shrink-0 items-center justify-center" data-component-part="accordion-caret-right"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="currentColor" stroke="none" aria-hidden="true" class="size-3 shrink-0 text-gray-600 transition-transform duration-200 dark:text-gray-400 -rotate-90"><path d="M14.0238 4.00002H3.97576C3.33776 4.00002 2.74976 4.34702 2.44276 4.90602C2.13576 5.46502 2.15576 6.14802 2.49776 6.68702L7.52176 14.61C7.84476 15.119 8.39676 15.422 8.99976 15.422C9.60276 15.422 10.1548 15.118 10.4778 14.61L15.5028 6.68602C15.8438 6.14702 15.8648 5.46402 15.5578 4.90502C15.2508 4.34602 14.6628 3.99902 14.0248 3.99902L14.0238 4.00002Z" fill="currentColor"></path></svg></div><div class="leading-tight text-left w-full min-w-0" contentEditable="false" data-component-part="accordion-title-container"><p id="can-i-combine-multiple-pii-redaction-methods-accordion-title" class="m-0 font-medium leading-6 text-gray-900 dark:text-gray-200" data-component-part="accordion-title">Can I combine multiple PII redaction methods?</p></div></summary><div id="can-i-combine-multiple-pii-redaction-methods-accordion-children" role="region" aria-labelledby="can-i-combine-multiple-pii-redaction-methods-accordion-title" class="px-5 pb-3.5 prose prose-gray dark:prose-invert overflow-x-auto cursor-default" data-component-part="accordion-content"><span data-as="p">Yes, you can use multiple guardrails in the same config to combine pre-built PII detection with custom regex patterns.</span></div></details></div>
339<hr/>
340<div class="card block font-normal group relative my-2 ring-2 ring-transparent roun
340ded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full cursor-pointer hover:border-primary! dark:hover:border-primary-light!" aria-labelledby="_R_m9bb9qnpfb39p7b9snpfiutb_" tabindex="0" role="link"><div class="px-6 py-5 relative" data-component-part="card-content-container"><div class="absolute text-gray-400 dark:text-gray-500 group-hover:text-primary dark:group-hover:text-primary-light top-5 right-5 hidden"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="m-0.5 size-3 shrink-0"><path d="M14.25 3.75L3.75525 14.2446" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M4.71301 3.75H14.2499V13.2869" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></div><div aria-hidden="true" class="size-6 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100 [&amp;&gt;svg]:size-6" data-component-part="card-icon"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! size-6 m-0! shrink-0 bg-primary dark:bg-primary-light" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/arrow-up-right-from-square.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/arrow-up-right-from-square.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></div><div class="w-full"><h2 id="_R_m9bb9qnpfb39p7b9snpfiutb_" class="not-prose font-semibold text-base text-gray-800 dark:text-white mt-4" contentEditable="false" data-component-part="card-title">Portkey is now PRISMA AIRS AI Gateway. See it in action.</h2><div id="_R_m9bb9qnpfb39p7b9snpfiutbH1_" class="prose mt-1 font-normal text-base leading-6 text-gray-600 dark:text-gray-400" data-component-part="card-content"><span data-as="p">Contact Us</span></div></div></div></div></div><div class="pt-4 pb-16 text-sm text-gray-500 dark:text-gray-400">Last modified on<!-- --> <!-- -->September 22, 2026</div><div class="feedback-toolbar pb-16 w-full flex flex-col gap-y-8"><div class="flex flex-row flex-wrap gap-4 items-center justify-between"><p class="inline-block text-sm text-gray-600 dark:text-gray-400 whitespace-nowrap">Was this page helpful?</p><div class="flex flex-wrap grow gap-3 items-center justify-between"><div class="flex gap-3 items-center"><button id="feedback-thumbs-up" class="px-3.5 py-2 flex flex-row gap-3 items-center border-standard rounded-xl text-gray-600 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300 bg-white/50 dark:bg-codeblock/50 hover:border-gray-500 hover:dark:border-gray-500 focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-primary dark:focus-visible:outline-primary-light"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-current"><path d="M5.25 7.494C5.25 7.014 5.423 6.55 5.736 6.187L10 1.25C10.854 1.677 11.25 2.678 10.92 3.574L9.75 6.75H14.152C15.465 6.75 16.421 7.993 16.085 9.262L14.894 13.762C14.662 14.639 13.868 15.25 12.961 15.25H7.25C6.145 15.25 5.25 14.355 5.25 13.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M4.25 6.75H2.75C2.19772 6.75 1.75 7.19772 1.75 7.75V14.25C1.75 14.8023 2.19772 15.25 2.75 15.25H4.25C4.80228 15.25 5.25 14.8023 5.25 14.25V7.75C5.25 7.19772 4.80228 6.75 4.25 6.75Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg><small class="text-sm font-normal leading-4">Yes</small></button><button id="feedback-thumbs-down" class="px-3.5 py-2 flex flex-row gap-3 items-center border-standard rounded-xl text-gray-600 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300 bg-white/50 dark:bg-codeblock/50 hover:border-gray-500 hover:dark:border-gray-500 focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-primary dark:focus-visible:outline-primary-light"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-4 shrink-0 text-current"><path d="M5.25 10.506C5.25 10.986 5.423 11.45 5.736 11.813L10 16.75C10.854 16.323 11.25 15.322 10.92 14.426L9.75 11.25H14.152C15.465 11.25 16.421 10.007 16.085 8.738L14.894 4.238C14.662 3.361 13.868 2.75 12.961 2.75H7.25C6.145 2.75 5.25 3.645 5.25 4.75" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M4.25 2.75H2.75C2.19772 2.75 1.75 3.19772 1.75 3.75V10.25C1.75 10.8023 2.19772 11.25 2.75 11.25H4.25C4.80228 11.25 5.25 10.8023 5.25 10.25V3.75C5.25 3.19772 4.80228 2.75 4.25 2.75Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg><small class="text-sm font-normal leading-4">No</small></button></div><div class="flex gap-3"><a class="h-fit whitespace-nowrap px-3.5 py-2 flex flex-row gap-3 items-center border-standard rounded-xl text-gray-600 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300 bg-white/50 dark:bg-codeblock/50 hover:border-gray-500 hover:dark:border-gray-500" target="_blank" rel="noopener noreferrer" href="https://github.com/portkey-ai/docs-core/edit/main/product/guardrails/pii-redaction.mdx"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3.5 block shrink-0 text-current"><path d="M13.953 7.57801L15.062 6.46901C15.648 5.88301 15.648 4.93301 15.062 4.34801L13.653 2.93901C13.067 2.35301 12.117 2.35301 11.532 2.93901L10.423 4.04801L13.953 7.57801Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M8.922 5.547L4.147 10.322C3.897 10.572 3.718 10.884 3.627 11.226L2.5 15.499L6.773 14.372C7.115 14.282 7.427 14.102 7.677 13.852L12.452 9.077" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M10.672 7.297L6.26501 11.704" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="currentColor" stroke="none" aria-hidden="true" class="size-3.5 hidden group-hover:block text-gray-500 dark:text-gray-400 group-hover:text-gray-700 dark:group-hover:text-gray-200 shrink-0"><path d="M15.5921 3.817L14.1831 2.407C13.3051 1.531 11.8781 1.531 11.0011 2.407L9.89211 3.516C9.59911 3.809 9.59911 4.284 9.89211 4.577L13.4221 8.107C13.5681 8.253 13.7601 8.327 13.9521 8.327C14.1441 8.327 14.3361 8.254 14.4821 8.107L15.5921 6.998C16.4681 6.121 16.4681 4.694 15.5921 3.817Z" fill="currentColor"></path><path d="M11.6556 8.81359L7.14727 13.322C6.99127 13.478 6.79527 13.59 6.58227 13.647L3.55427 14.446L4.35327 11.418C4.41027 11.204 4.52227 11.009 4.67827 10.853L9.18662 6.34459C9.47962 6.05159 9.47962 5.57659 9.18662 5.28359C8.89362 4.99059 8.41862 4.99059 8.12562 5.28359L3.61727 9.79198C3.27427 10.135 3.02727 10.565 2.90327 11.035L1.77627 15.308C1.70827 15.566 1.78227 15.841 1.97127 16.03C2.11427 16.173 2.30527 16.25 2.50127 16.25C2.56527 16.25 2.62927 16.242 2.69227 16.225L6.96527 15.098C7.43527 14.974 7.86527 14.727 8.20827 14.384L12.7166 9.87559C13.0096 9.58259 13.0096 9.10759 12.7166 8.81459C12.4236 8.52159 11.9486 8.52059 11.6556 8.81359Z" fill="currentColor"></path><path d="M5.73539 12.2339C5.88139 12.3799 6.07339 12.4539 6.26539 12.4539C6.45739 12.4539 6.64939 12.3809 6.79539 12.2339L10.9399 8.08947C11.2329 7.79647 11.2329 7.32147 10.9399 7.02847C10.6469 6.73547 10.1719 6.73547 9.87889 7.02847L5.73439 11.1729C5.44139 11.4659 5.44239 11.9409 5.73539 12.2339Z" fill="currentColor"></path></svg><small class="text-sm leading-4">Suggest edits</small></a><a class="h-fit whitespace-nowrap px-3.5 py-2 flex flex-row gap-3 items-center border-standard rounded-xl text-gray-600 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300 bg-white/50 dark:bg-codeblock/50 hover:border-gray-500 hover:dark:border-gray-500" target="_blank" rel="noopener noreferrer" href="https://github.com/portkey-ai/docs-core/issues/new?title=Issue on docs&amp;body=Path: /product/guardrails/pii-redaction"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-3.5 block shrink-0 text-current">
340<path d="M7.63801 3.49498L2.21301 12.891C1.60801 13.939 2.36401 15.25 3.57501 15.25H14.425C15.636 15.25 16.392 13.94 15.787 12.891L10.362 3.49498C9.75701 2.44698 8.24301 2.44698 7.63801 3.49498Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9 6.5V10" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9 13.569C8.448 13.569 8 13.12 8 12.569C8 12.018 8.448 11.569 9 11.569C9.552 11.569 10 12.018 10 12.569C10 13.12 9.552 13.569 9 13.569Z" fill="currentColor" stroke="none"></path></svg><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="currentColor" stroke="none" aria-hidden="true" class="size-3.5 hidden group-hover:block text-gray-500 dark:text-gray-400 group-hover:text-gray-700 dark:group-hover:text-gray-200 shrink-0"><path d="M16.4366 12.5151L11.0103 3.11316C10.5904 2.39096 9.83896 1.96045 9.00006 1.96045C8.16116 1.96045 7.40976 2.39106 6.98976 3.11316L6.98876 3.11523L1.56296 12.5156C1.14356 13.2436 1.14356 14.1128 1.56396 14.8398C1.98386 15.5664 2.73586 16 3.57516 16H14.4247C15.2641 16 16.016 15.5664 16.4359 14.8398C16.8563 14.1127 16.8565 13.2436 16.4366 12.5151ZM8.25016 6.75C8.25016 6.3359 8.58606 6 9.00016 6C9.41426 6 9.75016 6.3359 9.75016 6.75V9.75C9.75016 10.1641 9.41426 10.5 9.00016 10.5C8.58606 10.5 8.25016 10.1641 8.25016 9.75V6.75ZM9.00016 13.5C8.44816 13.5 8.00016 13.0498 8.00016 12.5C8.00016 11.9502 8.44816 11.5 9.00016 11.5C9.55216 11.5 10.0002 11.9502 10.
3400002 12.5C10.0002 13.0498 9.55216 13.5 9.00016 13.5Z" fill="currentColor"></path></svg><small class="text-sm leading-4">Raise issue</small></a></div></div></div></div><nav id="pagination" aria-label="Pagination" class="px-0.5 flex items-center gap-6 text-sm font-semibold text-gray-700 dark:text-gray-200"><a rel="prev" aria-label="Previous: Forwarding Headers" data-component-part="pagination-prev" class="group flex items-center min-w-0 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary dark:focus-visible:outline-primary-light gap-3 rounded-sm pagination-prev" href="/docs/product/guardrails/forwarding-headers"><svg viewBox="0 0 3 6" aria-hidden="true" data-component-part="pagination-chevron" class="h-1.5 shrink-0 stroke-gray-400 overflow-visible group-hover:stroke-gray-600 dark:group-hover:stroke-gray-300"><path d="M3 0L0 3L3 6" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg><div class="truncate group-hover:text-gray-900 dark:group-hover:text-white" data-component-part="pagination-title">Forwarding Headers</div></a><a rel="next" aria-label="Next: Guardrails for Batches" data-component-part="pagination-next" class="group flex items-center min-w-0 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary dark:focus-visible:outline-primary-light gap-3 rounded-sm ml-auto pagination-next" href="/docs/product/guardrails/guardrails-for-batches"><div class="truncate group-hover:text-gray-900 dark:group-hover:text-white" data-component-part="pagination-title">Guardrails for Batches</div><svg viewBox="0 0 3 6" aria-hidden="true" data-component-part="pagination-chevron" class="h-1.5 shrink-0 stroke-gray-400 overflow-visible group-hover:stroke-gray-600 dark:group-hover:stroke-gray-300 rotate-180"><path d="M3 0L0 3L3 6" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg></a></nav><div data-assistant-bar="" class="left-0 right-0 sticky bottom-0 w-full overflow-hidden z-20 pointer-events-none print:hidden"><div class="chat-assistant-floating-input w-full group/assistant-bar relative before:content-[&quot;&quot;] before:absolute before:left-0 before:right-0 before:top-[calc(50%-0.5rem)] sm:before:top-[calc(50%-0.75rem)] before:h-[200px] before:bg-background-light dark:before:bg-background-dark translate-y-[100px] opacity-0"><div class="relative pb-4 sm:pb-6"><div class="flex flex-col w-full rounded-2xl pointer-events-auto bg-background-light dark:bg-background-dark border border-gray-200 dark:border-white/10 focus-within:border-primary dark:focus-within:border-primary-light transition-colors"><div class="relative flex items-end"><textarea id="chat-assistant-textarea" aria-label="Ask a question..." autoComplete="off" placeholder="Ask a question..." class="chat-assistant-input w-full bg-transparent border-0 peer/input text-gray-900 dark:text-gray-100 placeholder-gray-600 dark:placeholder-gray-300 outline-hidden! focus:outline-hidden! focus:ring-0 py-2.5 pl-3.5 pr-10 font-bodyWeight text-sm" style="resize:none"></textarea><button class="chat-assistant-send-button flex justify-center items-center rounded-full p-1 size-6 bg-primary/30 dark:bg-primary-dark/30 absolute right-2.5 bottom-2" aria-label="Send message" disabled=""><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-2.5 shrink-0 text-white dark:text-white"><path d="M9.0 1.5754L8.9999 16.4171" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.2563 8.319L8.9999 1.5754L15.7435 8.3191" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button></div></div></div></div></div></div></div></main></div><footer id="footer" class="advanced-footer flex flex-col items-center mx-auto border-t border-gray-100 dark:border-gray-800/50 peer-[.is-custom]:hidden! peer-[.is-custom]:sm:hidden! peer-[.is-custom]:md:hidden! peer-[.is-custom]:lg:hidden! peer-[.is-cu
340stom]:xl:hidden!"><div class="flex w-full flex-col gap-12 justify-between px-8 py-16 md:py-20 lg:py-28 max-w-246 z-20"><div class="flex flex-col md:flex-row gap-8 justify-between min-h-19"><div class="flex md:flex-col justify-between items-center md:items-start min-w-16 md:min-w-20 lg:min-w-48 md:gap-y-24"><a class="select-none" style="-webkit-touch-callout:none" href="/docs"><span class="sr-only">Portkey (Prisma AIRS AI Gateway) Docs<!-- --> home page</span><img class="nav-logo w-auto relative object-contain shrink-0 block dark:hidden max-w-48 h-[26px]" src="https://mintcdn.com/portkey-docs/tHk-hgNjLbEj4dhh/images/portkey-PANW-company-logo-positive.png?fit=max&amp;auto=format&amp;n=tHk-hgNjLbEj4dhh&amp;q=85&amp;s=c5fb09014ff79616583b1d3bffe27450" alt="light logo"/><img class="nav-logo w-auto relative object-contain shrink-0 hidden dark:block max-w-48 h-[26px]" src="https://mintcdn.com/portkey-docs/tHk-hgNjLbEj4dhh/images/portkey-PANW-company-logo-negative.png?fit=max&amp;auto=format&amp;n=tHk-hgNjLbEj4dhh&amp;q=85&amp;s=6025ca49ef544522f58ff471b7f75f8f" alt="dark logo"/></a><div class="gap-4 min-w-[140px] max-w-[492px] flex-wrap h-fit flex justify-end md:justify-start"><a href="https://twitter.com/PortkeyAI" target="_blank" rel="noopener noreferrer" class="h-fit"><span class="sr-only">x</span><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! w-5 h-5 bg-gray-500 dark:bg-gray-600 hover:bg-gray-600 dark:hover:bg-gray-500" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/x-twitter.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/x-twitter.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></a><a href="https://www.linkedin.com/company/portkey-ai" target="_blank" rel="noopener noreferrer" class="h-fit"><span class="sr-only">linkedin</span><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! w-5 h-5 bg-gray-500 dark:bg-gray-600 hover:bg-gray-600 dark:hover:bg-gray-500" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/linkedin.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/linkedin.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></a><a href="https://git.new/portkey" target="_blank" rel="noopener noreferrer" class="h-fit"><span class="sr-only">github</span><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! w-5 h-5 bg-gray-500 dark:bg-gray-600 hover:bg-gray-600 dark:hover:bg-gray-500" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/github.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/github.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></a></div></div><div class="flex flex-col sm:grid max-md:grid-cols-2! gap-8 flex-1" style="grid-template-columns:repeat(4, minmax(0, 1fr))"><div class="flex flex-col gap-4 flex-1 whitespace-nowrap w-full md:items-center"><div class="flex gap-4 flex-col"><p class="text-sm font-semibold text-gray-950 dark:text-white mb-1">For LLMs</p><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://portkey.ai/docs/llms.txt" target="_blank" rel="noreferrer">llms.txt</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://portkey.ai/docs/llms-full.txt" target="_blank" rel="noreferrer">llms-full.txt</a></div></div><div class="flex flex-col gap-4 flex-1 whitespace-nowrap w-full md:items-center"><div class="flex gap-4 flex-col"><p class="text-sm font-semibold text-gray-950 dark:text-white mb-1">Products</p><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://portkey.ai/features/observability" target="_blank" rel="noreferrer">Observability</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://portkey.ai/features/ai-gateway" target="_blank" rel="noreferrer">AI Gateway</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://portkey.ai/features/guardrails" target="_blank" rel="noreferrer">Guardrails</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://portkey.ai/features/prompt-management" target="_blank" rel="noreferrer">Prompt Management</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://portkey.ai/features/agents" target="_blank" rel="noreferrer">Agents</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://portkey.ai/docs/product/mcp-gateway" target="_blank" rel="noreferrer">MCP Gateway</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://portkey.ai/features/security-and-compliance" target="_blank" rel="noreferrer">Security</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://portkey.ai/features/auto-instrumentation" target="_blank" rel="noreferrer">Auto-Instrumentation</a></div></div><div class="flex flex-col gap-4 flex-1 whitespace-nowrap w-full md:items-center"><div class="flex gap-4 flex-col"><p class="text-sm font-semibold text-gray-950 dark:text-white mb-1">Resources</p><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://status.portkey.ai/" target="_blank" rel="noreferrer">API Status</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://github.com/portkey-ai/helm" target="_blank" rel="noreferrer">Helm Charts</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://grantsfinder.portkey.ai/" target="_blank" rel="noreferrer">AI Grants Finder</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://lu.ma/portkey" target="_blank" rel="noreferrer">Events Calendar</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://portkey.ai/blog" target="_blank" rel="noreferrer">Blog</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://portkey.ai/error-library" target="_blank" rel="noreferrer">Error Library</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://portkey.ai/models" target="_blank" rel="noreferrer">Models &amp; Pricing</a></div></div><div class="flex flex-col gap-4 flex-1 whitespace-nowrap w-full md:items-center"><div class="flex gap-4 flex-col"><p class="text-sm font-semibold text-gray-950 dark:text-white mb-1">Company</p><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://portkey.ai/pricing" target="_blank" rel="noreferrer">Pricing</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://trust.portkey.ai/" target="_blank" rel="noreferrer">
340Compliances</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://portkey.ai/privacy-policy" target="_blank" rel="noreferrer">Privacy Policy</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://portkey.ai/terms" target="_blank" rel="noreferrer">Terms of Service</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://portkey.ai/dpa" target="_blank" rel="noreferrer">DPA</a><a class="text-sm max-w-36 whitespace-normal md:truncate text-gray-950/50 dark:text-white/50 hover:text-gray-950/70 dark:hover:text-white/70" href="https://portkey.ai/cookie-policy" target="_blank" rel="noreferrer">Cookie Policy</a></div></div></div></div><div class="h-px w-full bg-gray-100 dark:bg-white/5"></div><div class="flex items-center justify-between"><div class="sm:flex"><a href="https://www.mintlify.com?utm_campaign=poweredBy&amp;utm_medium=referral&amp;utm_source=portkey-docs" target="_blank" rel="noreferrer" class="group flex items-baseline gap-1 text-sm text-gray-400 dark:text-gray-500 hover:text-gray-600 dark:hover:text-gray-300"><span>Powered by</span><svg width="1274" height="367" viewBox="0 0 1274 367" fill="none" xmlns="http://www.w3.org/2000/svg" class="h-3.5 w-auto translate-y-0.75"><path d="M1154.38 366.038H1097.86L1137.69 276.14L1058.04 97.1046H1114.93L1161.35 209.337C1162.97 213.26 1168.53 213.253 1170.14 209.325L1216.21 97.1046H1273.49L1154.38 366.038Z" fill="currentColor"></path><path d="M982.714 286.761V142.622H944.403V97.1041H982.714V72.4488C982.714 49.9429 989.542 32.2416 1003.2 19.345C1016.85 6.44832 1034.17 0 1055.16 0C1068.06 0 1079.06 1.39081 1088.16 4.17244V50.0693C1082.09 47.7934 1075.01 46.6555 1066.92 46.6555C1055.54 46.6555 1047.32 49.1843 1042.27 54.2418C1037.21 59.0464 1034.68 67.2648 1034.68 78.8971V97.1041H1088.16V142.622H1034.68V286.761H982.714Z" fill="currentColor"></path><path d="M897.916 66.0005C889.066 66.0005 881.353 62.8395 874.778 56.5176C868.203 49.9429 864.916 42.1037 864.916 33.0002C864.916 23.8967 868.203 16.184 874.778 9.86215C881.353 3.28738 889.066 0 897.916 0C907.273 0 915.112 3.28738 921.434 9.86215C928.008 16.184 931.296 23.8967 931.296 33.0002C931.296 42.1037 928.008 49.9429 921.434 56.5176C915.112 62.8395 907.273 66.0005 897.916 66.0005ZM872.123 286.761V97.1041H924.089V286.761H872.123Z" fill="currentColor"></path><path d="M781.638 286.761V2.27609H833.604V286.761H781.638Z" fill="currentColor"></path><path d="M722.934 289.037C701.693 289.037 684.244 283.221 670.589 271.588C657.187 259.703 650.485 242.634 650.485 220.381V142.622H612.175V97.1044H650.485V44.3799H702.451V97.1044H755.934V142.622H702.451V210.14C702.451 221.772 704.98 230.117 710.038 235.174C715.095 239.979 723.313 242.381 734.693 242.381C742.785 242.381 749.865 241.243 755.934 238.967V284.864C746.831 287.646 735.831 289.037 722.934 289.037Z" fill="currentColor"></path><path d="M417.674 286.761V97.1041H469.64V110.967C469.64 113.311 472.83 114.347 474.382 112.591C485.967 99.4848 502.467 92.9317 523.881 92.9317C546.64 92.9317 564.468 100.518 577.365 115.69C590.514 130.61 597.089 150.587 597.089 175.622V286.761H545.123V184.346C545.123 170.438 542.215 159.691 536.399 152.105C530.583 144.265 522.364 140.346 511.743 140.346C499.1 140.346 488.858 144.898 481.019 154.001C473.433 163.105 469.64 176.507 469.64 194.208V286.761H417.674Z" fill="currentColor"></path><path d="M352.981 66.0005C344.13 66.0005 336.417 62.8395 329.843 56.5176C323.268 49.9429 319.98 42.1037 319.98 33.0002C319.98 23.8967 323.268 16.184 329.843 9.86215C336.417 3.28738 344.13 0 352.981 0C362.337 0 370.176 3.28738 376.498 9.86215C383.073 16.184 386.36 23.8967 386.36 33.0002C386.36 42.1037 383.073 49.9429 376.498 56.5176C370.176 62.8395 362.337 66.0005 352.981 66.0005ZM327.187 286.761V97.1041H379.153V286.761H327.187Z" fill="currentColor"></path><path d="M238.967 286.761V185.484C238.967 155.392 229.105 140.346 209.381 140.346C198.001 140.346 188.898 144.645 182.07 153.242C175.495 161.84 171.955 174.61 171.449 191.553V286.761H119.484V185.484C119.484 155.392 109.621 140.346 89.8972 140.346C78.2649 140.346 69.035 144.898 62.2073 154.001C55.3797 163.105 51.9659 176.507 51.9659 194.208V286.761H0V97.104
3401H51.9659V111.103C51.9659 113.435 55.1014 114.462 56.633 112.704C68.1136 99.5223 83.3741 92.9317 102.415 92.9317C127.436 92.9317 146.283 103.262 158.953 123.923C159.953 125.553 162.412 125.527 163.406 123.894C168.884 114.891 176.496 107.731 186.243 102.415C197.369 96.0926 208.622 92.9317 220.002 92.9317C242.507 92.9317 259.956 100.392 272.347 115.311C284.738 130.231 290.933 150.714 290.933 176.76V286.761H238.967Z" fill="currentColor"></path></svg><span class="sr-only">This documentation is built and hosted on Mintlify, a developer documentation platform</span></a></div><div class="flex items-center gap-2"><button aria-label="Switch to system theme" data-testid="mode-switch-system" class="p-1.5 rounded-lg bg-gray-200 dark:bg-gray-800 text-gray-600 dark:text-gray-400"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="size-4"><path d="M4.5 15.5L9 14.5L13.5 15.5" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9 11.75V14.5" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M14.25 2.75H3.75C2.64543 2.75 1.75 3.64543 1.75 4.75V9.75C1.75 10.8546 2.64543 11.75 3.75 11.75H14.25C15.3546 11.75 16.25 10.8546 16.25 9.75V4.75C16.25 3.64543 15.3546 2.75 14.25 2.75Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button><button aria-label="Switch to light theme" data-testid="mode-switch-light" class="p-1.5 rounded-lg text-gray-400 dark:text-gray-600 hover:text-gray-600 dark:hover:text-gray-400"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="size-4"><path d="M9 1.25V2.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M14.48 3.52002L13.773 4.22702" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M16.75 9H15.75" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M14.48 14.4799L13.773 13.7729" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9 16.75V15.75" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M3.52 14.4799L4.227 13.7729" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M1.25 9H2.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M3.52 3.52002L4.227 4.22702" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9 13.25C11.3472 13.25 13.25 11.3472 13.25 9C13.25 6.65279 11.3472 4.75 9 4.75C6.65279 4.75 4.75 6.65279 4.75 9C4.75 11.3472 6.65279 13.25 9 13.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button><button aria-label="Switch to dark theme" data-testid="mode-switch-dark" class="p-1.5 rounded-lg text-gray-400 dark:text-gray-600 hover:text-gray-600 dark:hover:text-gray-400"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="size-4"><path d="M13 11.75C9.548 11.75 6.75 8.95201 6.75 5.50001C6.75 4.14801 7.183 2.90101 7.912 1.87801C4.548 2.50601 2 5.45301 2 9.00001C2 13.004 5.246 16.25 9.25 16.25C12.622 16.25 15.448 13.944 16.259 10.826C15.309 11.409 14.196 11.75 13 11.75Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button></div></div></div></footer><!--$--><!--/$--></div><!--$?--><template id="B:0"></template><!--/$--></div></div>
340<script>requestAnimationFrame(function(){$RT=performance.now()});</script>
340<script src="/docs/_next/static/chunks/6d55b684068fd47e.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM" id="_R_" async=""></script>
340<div hidden id="S:0"><div data-assistant-sheet-container="" class="sticky shrink-0 z-22 bg-background-light dark:bg-background-dark mt-(--banner-height,0px) top-(--banner-height,0px) h-[calc(100vh-var(--banner-height,0px))] max-lg:hidden print:hidden" style="width:var(--assistant-sheet-width, 0px);overflow:hidden"><div class="absolute left-0 top-0 bottom-0 w-px z-10 cursor-col-resize after:content-[&quot;&quot;] after:absolute after:inset-y-0 after:-inset-x-2 after:select-none bg-gray-100 dark:bg-gray-800 hover:bg-gray-200 dark:hover:bg-gray-700"></div><div id="chat-assistant-sheet" class="flex flex-col overflow-hidden shrink-0 relative h-full bg-background-light dark:bg-background-dark chat-assistant-sheet" aria-hidden="true"><div class="w-full flex flex-col flex-1 min-h-0 lg:pt-3"><div class="chat-assistant-sheet-header flex items-center justify-between pb-3 px-4"><div class="flex items-center gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="size-5 text-primary dark:text-primary-light shrink-0" aria-hidden="true"><path d="M5.65799 2.99L4.39499 2.569L3.97399 1.306C3.83699 0.898 3.16199 0.898 3.02499 1.306L2.60399 2.569L1.34099 2.99C1.13699 3.058 0.998993 3.249 0.998993 3.464C0.998993 3.679 1.13699 3.87 1.34099 3.938L2.60399 4.359L3.02499 5.622C3.09299 5.826 3.28499 5.964 3.49999 5.964C3.71499 5.964 3.90599 5.826 3.97499 5.622L4.39599 4.359L5.65899 3.938C5.86299 3.87 6.00099 3.679 6.00099 3.464C6.00099 3.249 5.86199 3.058 5.65799 2.99Z" fill="currentColor" stroke="none"></path><path d="M9.5 2.75L11.412 7.587L16.25 9.5L11.412 11.413L9.5 16.25L7.587 11.413L2.75 9.5L7.587 7.587L9.5 2.75Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg><span class="font-medium text-gray-900 dark:text-gray-100">Assistant</span></div><div class="flex items-center gap-1"><button class="group hover:bg-gray-100 dark:hover:bg-white/10 p-1.5 rounded-lg" aria-label="Maximize assistant panel"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="size-4 sm:size-3.5 text-gray-500 group-hover:text-gray-700 dark:group-hover:text-gray-300 shrink-0"><path d="M10.75 2.75H15.25V7.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M15.25 2.75L10.75 7.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.75 10.75V15.25H7.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.75 15.25L7.25 10.75" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button><button class="group hover:bg-gray-100 dark:hover:bg-white/10 p-1.5 rounded-lg" aria-label="Close assistant panel"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="size-[20px] sm:size-4 text-gray-500 group-hover:text-gray-700 dark:group-hover:text-gray-300 shrink-0"><path d="M14 4L4 14" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M4 4L14 14" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button></div></div><div id="chat-content" class="chat-assistant-sheet-content flex flex-col-reverse flex-1 overflow-y-auto relative px-5 min-h-0"><div class="grow"></div><div class="h-full flex flex-col justify-between"><div class="mt-4 flex flex-col items-center text-sm"><div class="mx-8 text-center text-gray-400 dark:text-gray-600 text-xs chat-assistant-disclaimer-text">Responses are generated using AI and may contain mistakes.</div></div></div></div><div class="px-4 pb-4 shrink-0"><div class=""><div class="flex flex-col w-full rounded-2xl pointer-events-auto bg-background-light dark:bg-background-dark border border-gray-200 dark:border-white/10 focus-within:border-primary dark:focus-within:border-primary-light transition-colors"><div class="relative flex items-end"><textarea id="chat-assistant-textarea" aria-label="Ask a question..." autoComplete="off" placeholder="Ask a question..." class="chat-assistant-input w-full bg-transparent border-0 peer/input text-gray-900 dark:text-gray-100 placeholder-gray-600 dark:placeholder-gray-300 outline-hidden! focus:outline-hidden! focus:ring-0 py-2.5 pl-3.5 pr-10 font-bodyWeight text-sm pb-0!" style="resize:none" rows="2"></textarea></div><div class="flex items-center justify-between px-2 pb-2"><input type="file" accept="image/*,.pdf,.js,.jsx,.ts,.tsx,.mjs,.cjs,.md,.mdx,.json,.html,.css,.py,.csv,.txt,.yaml,.yml,.xml,.sql,.sh,.bash,.zsh,.graphql,.gql,.toml,.env,.go,.rs,.rb,.java,.kt,.swift,.c,.cpp,.cc,.h,.hpp,.cs,.php,.dart,.lua,.r,.scala,.ini,.cfg,.conf,.log,.dockerfile,.makefile,.gitignore" multiple="" class="hidden"/><button type="button" class="p-1 rounded-lg text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200 hover:bg-gray-100 dark:hover:bg-white/10" aria-label="Add attachment"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false" class="size-3.5 shrink-0"><path d="M7.75 5V11.75C7.75 12.578 8.422 13.25 9.25 13.25C10.078 13.25 10.75 12.578 10.75 11.75V4.75C10.75 3.093 9.407 1.75 7.75 1.75C6.093 1.75 4.75 3.093 4.75 4.75V11.75C4.75 14.235 6.765 16.25 9.25 16.25C11.735 16.25 13.75 14.235 13.75 11.75V5" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button><button class="chat-assistant-send-button flex justify-center items-center rounded-full p-1 size-6 bg-primary/30 dark:bg-primary-dark/30" aria-label="Send message" disabled=""><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="size-2.5 shrink-0 text-white dark:text-white"><path d="M9.0 1.5754L8.9999 16.4171" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M2.2563 8.319L8.9999 1.5754L15.7435 8.3191" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button></div></div></div><div class="w-full flex items-center justify-between"><a href="mailto:[email protected]" class="group flex justify-between items-center gap-1 mt-2 py-1 transition-colors duration-200" data-component-part="contact-support-button"><span data-component-part="contact-support-icon"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! size-3 bg-gray-400 group-hover:bg-gray-600 dark:group-hover:bg-gray-300" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/circle-question.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/circle-question.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></span>
340<p class="text-gray-400 font-regular text-xs group-hover:text-gray-600 dark:group-hover:text-gray-300" data-component-part="contact-support-text">Contact support</p></a></div></div></div></div></div></div>
340<script>$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};
341$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};$RC("B:0","S:0")</script>
341<script>(self.__next_f=self.__next_f||[]).push([0])</script>
341<script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\nb:I[168027,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"default\"]\n:HL[\"/docs/_next/static/chunks/462bacc63bed9960.css?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"style\"]\n:HL[\"/docs/_next/static/chunks/cbc8615ac0de59e9.css?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"style\"]\n:HL[\"/docs/_next/static/media/83afe278b6a6bb3c.p.3a6ba036.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/docs/_next/static/media/PaperMono_Variable.p.aa32f7a0.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/docs/_next/static/media/f67ad414ed34149c.p.84166d94.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n"])</script>
341<script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"RJajscwELoikxQ4miH90c\",\"p\":\"/docs\",\"c\":[\"\",\"_sites\",\"portkey-docs\",\"product\",\"guardrails\",\"pii-redaction\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"%5Fsites\",{\"children\":[[\"subdomain\",\"portkey-docs\",\"d\"],{\"children\":[\"(multitenant)\",{\"children\":[[\"slug\",\"product/guardrails/pii-redaction\",\"oc\"],{\"children\":[\"__PAGE__\",{}]}]}]}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/docs/_next/static/chunks/462bacc63bed9960.css?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/docs/_next/static/chunks/cbc8615ac0de59e9.css?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"suppressHydrationWarning\":true,\"lang\":\"en\",\"className\":\"inter_1d81deff-module__CYM0aG__variable papermono_89c757f2-module__6aS5zq__variable dark\",\"data-banner-state\":\"visible\",\"data-assistant-state\":\"closed\",\"data-page-mode\":\"none\",\"data-current-path\":\"/\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"script\",null,{\"type\":\"text/javascript\",\"dangerouslySetInnerHTML\":{\"__html\":\"!function(){var b=\\\"/docs\\\";\\nfunction a(p){if(p==null)return\\\"/\\\";p=\\\"\\\"+p;if(\\\"\\\"===p)return\\\"/\\\";return\\\"/\\\"===p.charAt(0)?p:\\\"/\\\"+p}\\nfunction u(p){if(p==null)return p;p=\\\"\\\"+p;if(!p||p.charAt(p.length-1)===\\\"/\\\")return p.slice(0,-1);return p}\\nfunction i(p){if(p==null)return p;p=\\\"\\\"+p;if(6\u003c=p.length\u0026\u0026p.substring(p.length-6)===\\\"/index\\\")return p.substring(0,p.length-6);if(\\\"index\\\"===p)return\\\"\\\";return p}\\nvar p=(location.pathname||\\\"\\\").split(\\\"?\\\")[0].split(\\\"#\\\")[0]||\\\"\\\";\\nif(b)if(p===b)p=\\\"\\\";else if(0===p.indexOf(b+\\\"/\\\"))p=p.substring(b.length);\\np=a(p);p=u(p);p=i(p);p=\\\"\\\"===p||\\\"index\\\"===p?\\\"/\\\":a(p);\\ndocument.documentElement.setAttribute(\\\"data-current-path\\\",p);\\n}();\"}}],[\"$\",\"script\",null,{\"type\":\"text/javascript\",\"dangerouslySetInnerHTML\":{\"__html\":\"(() =\u003e {\\n  const isIOS =\\n    /iP(hone|ad|od)/.test(navigator.userAgent) ||\\n    (/Macintosh/.test(navigator.userAgent) \u0026\u0026 navigator.maxTouchPoints \u003e 1);\\n  if (!isIOS) return;\\n  const apply = () =\u003e {\\n    for (const meta of document.querySelectorAll('meta[name=\\\"viewport\\\"]')) {\\n      const content = meta.getAttribute('content') || '';\\n      if (!content.includes('maximum-scale')) {\\n        meta.setAttribute('content', content + ', maximum-scale=1');\\n      }\\n    }\\n  };\\n  apply();\\n  new MutationObserver(apply).observe(document.head, {\\n    childList: true,\\n    subtree: true,\\n    attributes: true,\\n    attributeFilter: ['content'],\\n  });\\n})();\"}}],[\"$\",\"script\",null,{\"type\":\"text/javascript\",\"dangerouslySetInnerHTML\":{\"__html\":\"!function(){\\nfunction read(){try{\\nvar e=performance.getEntriesByType?performance.getEntriesByType(\\\"navigation\\\"):[];\\nvar st=(e[0]\u0026\u0026e[0].serverTiming)||[];\\nvar g={};\\nfor(var i=0;i\u003cst.length;i++){var n=st[i].name,d=st[i].description;if(!d)continue;try{d=decodeURIComponent(d)}catch(x){}\\nif(n===\\\"country\\\")g.country=d;else if(n===\\\"region\\\")g.region=d;else if(n===\\\"continent\\\")g.continent=d;}\\nvar w=window;w.mintlify=w.mintlify||{};w.mintlify.geo=g;\\n}catch(x){}}\\nread();document.addEventListener(\\\"DOMContentLoaded\\\",read);\\n}();\"}}],[\"$\",\"script\",null,{\"type\":\"text/javascript\",\"dangerouslySetInnerHTML\":{\"__html\":\"!function(){try{\\nvar w=window;w.mintlify=w.mintlify||{};\\nvar q=w.mintlify.__apiPlaygroundInputsQueue;\\nif(!Array.isArray(q)){q=[];w.mintlify.__apiPlaygroundInputsQueue=q;}\\nw.mintlify.api=w.mintlify.api||{};\\nw.mintlify.api.playground=w.mintlify.api.playground||{};\\nif(typeof w.mintlify.api.playground.setServerVariables!==\\\"function\\\"){\\nw.mintlify.api.playground.setServerVariables=function(v){q.push({type:\\\"set\\\",variables:v});};\\n}\\nif(typeof w.mintlify.api.playground.clearServerVariables!==\\\"function\\\"){\\nw.mintlify.api.playground.clearServerVariables=function(){q.push({type:\\\"clear\\\"});};\\n}\\n}catch(e){}}();\"}}],\"$L2\",\"$L3\",false]}],\"$L4\"]}]]}],{\"children\":[\"%5Fsites\",\"$L5\",{\"children\":[[\"subdomain\",\"portkey-docs\",\"d\"],\"$L6\",{\"children\":[\"(multitenant)\",\"$L7\",{\"children\":[[\"slug\",\"product/guardrails/pii-redaction\",\"oc\"],\"$L8\",{\"children\":[\"__PAGE__\",\"$L9\",{}
341,null,false]},null,false]},null,false]},null,false]},null,false]},null,false],\"$La\",false]],\"m\":\"$undefined\",\"G\":[\"$b\",[\"$Lc\",\"$Ld\"]],\"s\":false,\"S\":true}\n"])</script>
341<script>self.__next_f.push([1,"e:I[667786,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"MintlifyApiPlaygroundInputsInit\"]\nf:I[339756,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"default\"]\n"])</script>
341<script>self.__next_f.push([1,"10:I[556357,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d056c4dd204a2da3.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"default\"]\n"])</script>
341<script>self.__next_f.push([1,"11:I[837457,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"default\"]\n"])</script>
341<script>self.__next_f.push([1,"12:I[894587,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"ThemeProvider\"]\n"])</script>
341<script>self.__next_f.push([1,"13:I[152823,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"ColorVariables\"]\n"])</script>
341<script>self.__next_f.push([1,"14:I[531961,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"FontScript\"]\n"])</script>
341<script>self.__next_f.push([1,"15:I[649328,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"RoundedVariables\"]\n"])</script>
341<script>self.__next_f.push([1,"16:I[702910,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/187844b452a731d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"RecommendedPagesList\"]\n"])</script>
341<script>self.__next_f.push([1,"17:I[570420,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"DataCurrentPathUpdater\"]\n"])</script>
341<script>self.__next_f.push([1,"18:I[341175,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/2f355e1cfcb656a3.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"default\"]\n"])</script>
341<script>self.__next_f.push([1,"1b:I[897367,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"OutletBoundary\"]\n1d:I[711533,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"AsyncMetadataOutlet\"]\n1f:I[897367,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"ViewportBoundary\"]\n21:I[897367,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"MetadataBoundary\"]\n22:\"$Sreact.suspense\"\n2:[\"$\",\"script\",null,{\"type\":\"text/javascript\",\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){\\nif(typeof CSS===\\\"undefined\\\"||!(\\\"registerProperty\\\" in CSS))return;\\nif(CSS.supports\u0026\u0026CSS.supports(\\\"-webkit-backdrop-filter:none\\\"))return;\\nvar n=[\\\"--scroll-area-overflow-x-start\\\",\\\"--scroll-area-overflow-x-end\\\",\\\"--scroll-area-overflow-y-start\\\",\\\"--scroll-area-overflow-y-end\\\"];\\nvar d={\\\"syntax\\\":\\\"\u003clength\u003e\\\",\\\"inherits\\\":false,\\\"initialValue\\\":\\\"0px\\\"};\\nfor(var i=0;i\u003cn.length;i++){try{CSS.registerProperty({name:n[i],syntax:d.syntax,inherits:d.inherits,initialValue:d.initialValue})}catch(e){}}\\n})();\"}}]\n"])</script>
341<script>self.__next_f.push([1,"3:[\"$\",\"script\",null,{\"type\":\"text/javascript\",\"dangerouslySetInnerHTML\":{\"__html\":\"(function(a,b){try{let c=document.getElementById(\\\"banner\\\")?.innerText;if(c){for(let d=0;d\u003clocalStorage.length;d++){let e=localStorage.key(d);if(e?.endsWith(a)\u0026\u0026localStorage.getItem(e)===c)return void document.documentElement.setAttribute(b,\\\"hidden\\\")}document.documentElement.setAttribute(b,\\\"visible\\\");return}for(let c=0;c\u003clocalStorage.length;c++){let d=localStorage.key(c);if(d?.endsWith(a)\u0026\u0026localStorage.getItem(d))return void document.documentElement.setAttribute(b,\\\"hidden\\\")}document.documentElement.setAttribute(b,\\\"visible\\\")}catch(a){document.documentElement.setAttribute(b,\\\"hidden\\\")}})(\\n  \\\"bannerDismissed\\\",\\n  \\\"data-banner-state\\\",\\n)\"}}]\n"])</script>
341<script>self.__next_f.push([1,"4:[\"$\",\"body\",null,{\"className\":\"antialiased\",\"children\":[[\"$\",\"$Le\",null,{}],false,[\"$\",\"$Lf\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$10\",\"errorStyles\":[],\"errorScripts\":[[\"$\",\"script\",\"script-0\",{\"src\":\"/docs/_next/static/chunks/d056c4dd204a2da3.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true}],[\"$\",\"script\",\"script-1\",{\"src\":\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true}],[\"$\",\"script\",\"script-2\",{\"src\":\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true}],[\"$\",\"script\",\"script-3\",{\"src\":\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true}],[\"$\",\"script\",\"script-4\",{\"src\":\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true}],[\"$\",\"script\",\"script-5\",{\"src\":\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true}]],\"template\":[\"$\",\"$L11\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"$L12\",null,{\"children\":[[\"$\",\"$L13\",null,{}],[\"$\",\"$L14\",null,{}],[\"$\",\"$L15\",null,{}],[\"$\",\"style\",null,{\"children\":\":root {\\n  --primary: 17 120 102;\\n  --primary-light: 74 222 128;\\n  --primary-dark: 22 101 52;\\n  --background-light: 255 255 255;\\n  --background-dark: 15 17 23;\\n}\"}],[\"$\",\"main\",null,{\"className\":\"h-screen bg-background-light dark:bg-background-dark text-left\",\"children\":[\"$\",\"article\",null,{\"className\":\"bg-custom bg-fixed bg-center bg-cover relative flex flex-col items-center justify-center h-full\",\"children\":[\"$\",\"div\",null,{\"className\":\"w-full max-w-xl px-10\",\"children\":[[\"$\",\"span\",null,{\"className\":\"inline-flex mb-6 rounded-full px-3 py-1 text-sm font-semibold mr-4 text-white p-1 bg-primary\",\"children\":[\"Error \",404]}],[\"$\",\"h1\",null,{\"className\":\"font-semibold mb-3 text-3xl\",\"children\":\"Page not found!\"}],[\"$\",\"p\",null,{\"className\":\"text-lg text-gray-600 dark:text-gray-400 mb-6\",\"children\":\"We couldn't find the page.\"}],[\"$\",\"$L16\",null,{}]]}]}]}]]}],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}],false,[\"$\",\"$L17\",null,{}]]}]\n"])</script>
341<script>self.__next_f.push([1,"5:[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$Lf\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L11\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]\n"])</script>
341<script>self.__next_f.push([1,"6:[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$Lf\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$18\",\"errorStyles\":[],\"errorScripts\":[[\"$\",\"script\",\"script-0\",{\"src\":\"/docs/_next/static/chunks/2f355e1cfcb656a3.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true}],[\"$\",\"script\",\"script-1\",{\"src\":\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true}],[\"$\",\"script\",\"script-2\",{\"src\":\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true}],[\"$\",\"script\",\"script-3\",{\"src\":\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true}],[\"$\",\"script\",\"script-4\",{\"src\":\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true}],[\"$\",\"script\",\"script-5\",{\"src\":\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true}]],\"template\":[\"$\",\"$L11\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"$L12\",null,{\"children\":[[\"$\",\"$L13\",null,{}],[\"$\",\"$L14\",null,{}],[\"$\",\"$L15\",null,{}],[\"$\",\"style\",null,{\"children\":\":root {\\n  --primary: 17 120 102;\\n  --primary-light: 74 222 128;\\n  --primary-dark: 22 101 52;\\n  --background-light: 255 255 255;\\n  --background-dark: 15 17 23;\\n}\"}],[\"$\",\"main\",null,{\"className\":\"h-screen bg-background-light dark:bg-background-dark text-left\",\"children\":[\"$\",\"article\",null,{\"className\":\"bg-custom bg-fixed bg-center bg-cover relative flex flex-col items-center justify-center h-full\",\"children\":[\"$\",\"div\",null,{\"className\":\"w-full max-w-xl px-10\",\"children\":[[\"$\",\"span\",null,{\"className\":\"inline-flex mb-6 rounded-full px-3 py-1 text-sm font-semibold mr-4 text-white p-1 bg-primary\",\"children\":[\"Error \",404]}],[\"$\",\"h1\",null,{\"className\":\"font-semibold mb-3 text-3xl\",\"children\":\"Page not found!\"}],[\"$\",\"p\",null,{\"className\":\"text-lg text-gray-600 dark:text-gray-400 mb-6\",\"children\":\"We couldn't find the page.\"}],[\"$\",\"$L16\",null,{}]]}]}]}]]}],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]\n"])</script>
341<script>self.__next_f.push([1,"7:[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"script\",\"script-0\",{\"src\":\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-3\",{\"src\":\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-4\",{\"src\":\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-5\",{\"src\":\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-6\",{\"src\":\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-7\",{\"src\":\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-8\",{\"src\":\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-9\",{\"src\":\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-10\",{\"src\":\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-11\",{\"src\":\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-12\",{\"src\":\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-13\",{\"src\":\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-14\",{\"src\":\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-15\",{\"src\":\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-16\",{\"src\":\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-17\",{\"src\":\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-18\",{\"src\":\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true,\"nonce\":\"$undefined\"}]],\"$L19\"]}]\n"])</script>
341<script>self.__next_f.push([1,"8:[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$Lf\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L11\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]\n"])</script>
341<script>self.__next_f.push([1,"9:[\"$\",\"$1\",\"c\",{\"children\":[\"$L1a\",[[\"$\",\"script\",\"script-0\",{\"src\":\"/docs/_next/static/chunks/e8ae17d17545aec9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/docs/_next/static/chunks/68d6e5104243ae2b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/docs/_next/static/chunks/1274e7453c808eec.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-3\",{\"src\":\"/docs/_next/static/chunks/a95b6b45d1dc4487.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-4\",{\"src\":\"/docs/_next/static/chunks/65712ea96ab292b5.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-5\",{\"src\":\"/docs/_next/static/chunks/935cd929aff6bb51.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-6\",{\"src\":\"/docs/_next/static/chunks/e07381c7469ca6d6.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L1b\",null,{\"children\":[\"$L1c\",[\"$\",\"$L1d\",null,{\"promise\":\"$@1e\"}]]}]]}]\n"])</script>
341<script>self.__next_f.push([1,"a:[\"$\",\"$1\",\"h\",{\"children\":[null,[[\"$\",\"$L1f\",null,{\"children\":\"$L20\"}],null],[\"$\",\"$L21\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$22\",null,{\"fallback\":null,\"children\":\"$L23\"}]}]}]]}]\nc:[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/docs/_next/static/chunks/462bacc63bed9960.css?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\nd:[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/docs/_next/static/chunks/cbc8615ac0de59e9.css?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n"])</script>
341<script>self.__next_f.push([1,"20:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, viewport-fit=cover\"}]]\n1c:null\n"])</script>
341<script>self.__next_f.push([1,"1e:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"PII Redaction - Portkey (Prisma AIRS AI Gateway) Docs\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Replace any sensitive data in requests with standard identifiers\"}],[\"$\",\"meta\",\"2\",{\"name\":\"application-name\",\"content\":\"Portkey (Prisma AIRS AI Gateway) Docs\"}],[\"$\",\"meta\",\"3\",{\"name\":\"generator\",\"content\":\"Mintlify\"}],[\"$\",\"meta\",\"4\",{\"name\":\"msapplication-config\",\"content\":\"/docs/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon/browserconfig.xml\"}],[\"$\",\"meta\",\"5\",{\"name\":\"apple-mobile-web-app-title\",\"content\":\"Portkey (Prisma AIRS AI Gateway) Docs\"}],[\"$\",\"meta\",\"6\",{\"name\":\"msapplication-TileColor\",\"content\":\"#0891B2\"}],[\"$\",\"link\",\"7\",{\"rel\":\"canonical\",\"href\":\"https://docs.portkey.ai/docs/product/guardrails/pii-redaction\"}],[\"$\",\"link\",\"8\",{\"rel\":\"alternate\",\"type\":\"application/xml\",\"href\":\"/docs/sitemap.xml\"}],[\"$\",\"link\",\"9\",{\"rel\":\"alternate\",\"type\":\"text/markdown\",\"href\":\"/docs/product/guardrails/pii-redaction.md\"}],[\"$\",\"meta\",\"10\",{\"property\":\"og:title\",\"content\":\"PII Redaction - Portkey (Prisma AIRS AI Gateway) Docs\"}],[\"$\",\"meta\",\"11\",{\"property\":\"og:description\",\"content\":\"Replace any sensitive data in requests with standard identifiers\"}],[\"$\",\"meta\",\"12\",{\"property\":\"og:url\",\"content\":\"https://docs.portkey.ai/docs/product/guardrails/pii-redaction\"}],[\"$\",\"meta\",\"13\",{\"property\":\"og:site_name\",\"content\":\"Portkey AI Gateway Docs\"}],[\"$\",\"meta\",\"14\",{\"property\":\"og:image\",\"content\":\"https://portkey-docs.mintlify.app/_next/image?url=%2F_mintlify%2Fapi%2Fog%3Fdivision%3DGuardrails%26title%3DPII%2BRedaction%26description%3DReplace%2Bany%2Bsensitive%2Bdata%2Bin%2Brequests%2Bwith%2Bstandard%2Bidentifiers%26theme%3Db6e475a7823c35bcc5a58fce\u0026w=1200\u0026q=100\"}],[\"$\",\"meta\",\"15\",{\"property\":\"og:image:width\",\"content\":\"1200\"}],[\"$\",\"meta\",\"16\",{\"property\":\"og:image:height\",\"content\":\"630\"}],[\"$\",\"meta\",\"17\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"18\",{\"name\":\"twitter:card\",\"content\":\"summary_large_image\"}],[\"$\",\"meta\",\"19\",{\"name\":\"twitter:title\",\"content\":\"PII Redaction - Portkey (Prisma AIRS AI Gateway) Docs\"}],[\"$\",\"meta\",\"20\",{\"name\":\"twitter:description\",\"content\":\"Replace any sensitive data in requests with standard identifiers\"}],[\"$\",\"meta\",\"21\",{\"name\":\"twitter:image\",\"content\":\"https://portkey-docs.mintlify.app/_next/image?url=%2F_mintlify%2Fapi%2Fog%3Fdivision%3DGuardrails%26title%3DPII%2BRedaction%26description%3DReplace%2Bany%2Bsensitive%2Bdata%2Bin%2Brequests%2Bwith%2Bstandard%2Bidentifiers%26theme%3Db6e475a7823c35bcc5a58fce\u0026w=1200\u0026q=100\"}],[\"$\",\"meta\",\"22\",{\"name\":\"twitter:image:width\",\"content\":\"1200\"}],[\"$\",\"meta\",\"23\",{\"name\":\"twitter:image:height\",\"content\":\"630\"}],[\"$\",\"link\",\"24\",{\"rel\":\"icon\",\"href\":\"/docs/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon/android-chrome-192x192.png\",\"type\":\"image/png\",\"sizes\":\"192x192\",\"media\":\"(prefers-color-scheme: light)\"}],[\"$\",\"link\",\"25\",{\"rel\":\"apple-touch-icon\",\"href\":\"/docs/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon/apple-touch-icon.png\",\"type\":\"image/png\",\"sizes\":\"180x180\",\"media\":\"$undefined\"}],[\"$\",\"link\",\"26\",{\"rel\":\"icon\",\"href\":\"/docs/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon/favicon-16x16.png\",\"type\":\"image/png\",\"sizes\":\"16x16\",\"media\":\"(prefers-color-scheme: light)\"}],[\"$\",\"link\",\"27\",{\"rel\":\"icon\",\"href\":\"/docs/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon/favicon-32x32.png\",\"type\":\"image/png\",\"sizes\":\"32x32\",\"media\":\"(prefers-color-scheme: light)\"}],[\"$\",\"link\",\"28\",{\"rel\":\"shortcut icon\",\"href\":\"/docs/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon/favicon.ico\",\"type\":\"image/x-icon\",\"sizes\":\"$undefined\",\"media\":\"(prefers-color-scheme: light)\"}],[\"$\",\"link\",\"29\",{\"rel\":\"icon\",\"href\":\"/docs/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon-dark/android-chrome-192x192.png\",\"type\":\"image/png\",\"sizes\":\"192x192\",\"media\":\"(prefers-color-scheme: dark)\"}],\"$L24\",\"$L25\",\"$L26\",\"$L27\"],\"error\":null,\"digest\":\"$undefined\"}\n"])</script>
341<script>self.__next_f.push([1,"23:\"$1e:metadata\"\n"])</script>
341<script>self.__next_f.push([1,"28:I[27201,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"IconMark\"]\n24:[\"$\",\"link\",\"30\",{\"rel\":\"icon\",\"href\":\"/docs/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon-dark/favicon-16x16.png\",\"type\":\"image/png\",\"sizes\":\"16x16\",\"media\":\"(prefers-color-scheme: dark)\"}]\n25:[\"$\",\"link\",\"31\",{\"rel\":\"icon\",\"href\":\"/docs/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon-dark/favicon-32x32.png\",\"type\":\"image/png\",\"sizes\":\"32x32\",\"media\":\"(prefers-color-scheme: dark)\"}]\n26:[\"$\",\"link\",\"32\",{\"rel\":\"shortcut icon\",\"href\":\"/docs/_mintlify/favicons/portkey-docs/9Whrk-8bCE6hyGSn/_generated/favicon-dark/favicon.ico\",\"type\":\"image/x-icon\",\"sizes\":\"$undefined\",\"media\":\"(prefers-color-scheme: dark)\"}]\n27:[\"$\",\"$L28\",\"33\",{}]\n"])</script>
341<script>self.__next_f.push([1,"29:I[707934,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"WebMcpRegistration\"]\n"])</script>
341<script>self.__next_f.push([1,"2a:I[590280,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"LivePreviewProvider\"]\n"])</script>
341<script>self.__next_f.push([1,"2b:I[973254,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"LivePreviewFavicon\"]\n"])</script>
341<script>self.__next_f.push([1,"2c:I[197336,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"default\"]\n"])</script>
341<script>self.__next_f.push([1,"2d:I[91557,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e8ae17d17545aec9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/68d6e5104243ae2b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1274e7453c808eec.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a95b6b45d1dc4487.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/65712ea96ab292b5.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/935cd929aff6bb51.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e07381c7469ca6d6.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"AuthProvider\"]\n"])</script>
341<script>self.__next_f.push([1,"2e:I[91557,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e8ae17d17545aec9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/68d6e5104243ae2b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1274e7453c808eec.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a95b6b45d1dc4487.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/65712ea96ab292b5.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/935cd929aff6bb51.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e07381c7469ca6d6.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"DeploymentMetadataProvider\"]\n"])</script>
341<script>self.__next_f.push([1,"2f:I[91557,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e8ae17d17545aec9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/68d6e5104243ae2b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1274e7453c808eec.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a95b6b45d1dc4487.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/65712ea96ab292b5.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/935cd929aff6bb51.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e07381c7469ca6d6.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"DocsConfigProvider\"]\n"])</script>
341<script>self.__next_f.push([1,"19:[[\"$\",\"script\",null,{\"type\":\"application/ld+json\",\"dangerouslySetInnerHTML\":{\"__html\":\"{\\\"@context\\\":\\\"https://schema.org\\\",\\\"@type\\\":\\\"WebSite\\\",\\\"name\\\":\\\"Portkey (Prisma AIRS AI Gateway) Docs\\\",\\\"creator\\\":{\\\"@type\\\":\\\"Organization\\\",\\\"name\\\":\\\"Mintlify\\\",\\\"url\\\":\\\"https://mintlify.com\\\"}}\"}}],[\"$\",\"$L29\",null,{\"subdomain\":\"portkey-docs\",\"siteName\":\"Portkey (Prisma AIRS AI Gateway) Docs\"}],[\"$\",\"$L2a\",null,{\"isLivePreviewRoute\":false,\"children\":[[\"$\",\"$L2b\",null,{}],[\"$\",\"$L12\",null,{\"appearance\":\"$undefined\",\"codeblockTheme\":\"system\",\"children\":[[\"$\",\"blockquote\",null,{\"className\":\"sr-only\",\"data-agent-docs-index\":true,\"aria-hidden\":\"true\",\"children\":[[\"$\",\"h2\",null,{\"children\":\"Documentation Index\"}],[\"$\",\"p\",null,{\"children\":[\"Fetch the complete documentation index at:\",\" \",[\"$\",\"a\",null,{\"href\":\"/docs/llms.txt\",\"tabIndex\":-1,\"children\":\"/docs/llms.txt\"}]]}],[\"$\",\"p\",null,{\"children\":\"Use this file to discover all available pages before exploring further.\"}]]}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root{--banner-height:0px!important}\"}}],null,null,[\"$\",\"script\",null,{\"id\":\"_mintlify-banner-script\",\"dangerouslySetInnerHTML\":{\"__html\":\"(function i(a,b,c,d,e){try{let f,g,h=[];try{h=window.location.pathname.split(\\\"/\\\").filter(a=\u003e\\\"\\\"!==a\u0026\u0026\\\"global\\\"!==a).slice(0,2)}catch{h=[]}let i=h.find(a=\u003ec.includes(a)),j=[];for(let c of(i?j.push(i):j.push(b),j.push(\\\"global\\\"),j)){if(!c)continue;let b=a[c];if(b?.content){f=b.content,g=c;break}}if(!f)return void document.documentElement.setAttribute(d,\\\"hidden\\\");let k=!0,l=0;for(;l\u003clocalStorage.length;){let a=localStorage.key(l);if(l++,!a?.endsWith(e))continue;let b=localStorage.getItem(a);if(b\u0026\u0026b===f){k=!1;break}g\u0026\u0026(a.startsWith(`lang:${g}_`)||!a.startsWith(\\\"lang:\\\"))\u0026\u0026(localStorage.removeItem(a),l--)}document.documentElement.setAttribute(d,k?\\\"visible\\\":\\\"hidden\\\")}catch(a){console.error(a),document.documentElement.setAttribute(d,\\\"hidden\\\")}})(\\n  {},\\n  \\\"en\\\",\\n  [],\\n  \\\"data-banner-state\\\",\\n  \\\"bannerDismissed\\\",\\n)\"},\"suppressHydrationWarning\":true}],[\"$\",\"$L2c\",null,{\"appId\":\"$undefined\",\"autoBoot\":true,\"children\":[\"$\",\"$L2d\",null,{\"value\":{\"auth\":\"$undefined\",\"userAuth\":\"$undefined\"},\"children\":[\"$\",\"$L2e\",null,{\"value\":{\"subdomain\":\"portkey-docs\",\"hasAudioNarration\":false,\"actualSubdomain\":\"portkey-docs\",\"customDomains\":[\"docs.portkey.ai\",\"portkey.ai\"],\"gitSource\":{\"type\":\"github\",\"owner\":\"portkey-ai\",\"repo\":\"docs-core\",\"deployBranch\":\"main\",\"contentDirectory\":\"\",\"isPrivate\":false,\"mountPath\":\"\",\"label\":\"\"},\"chroma\":{\"liveDeploymentHistoryId\":\"6abe75b589eac420d2d00a01\",\"collectionId\":\"0c6dd2f1-c5ef-45bc-865d-c19778f87d6d\",\"schemaVersion\":\"v3\",\"latestBuiltDeploymentHistoryId\":\"6abe75b589eac420d2d00a01\"},\"feedback\":{\"thumbs\":true,\"edits\":true,\"issues\":true,\"agentFeedback\":true},\"entitlements\":{\"AI_CHAT\":{\"status\":\"ENABLED\"},\"WEB_MCP\":{\"status\":\"ENABLED\"},\"NARRATION\":{\"status\":\"ENABLED\"}},\"buildId\":\"6abe75b589eac420d2d00a01\",\"clientVersion\":\"0.0.3743\",\"preview\":\"$undefined\",\"searchFilterCounts\":[{\"language\":\"default\",\"tag\":\"Integrations\",\"count\":692},{\"language\":\"default\",\"tag\":\"Product\",\"count\":380},{\"language\":\"default\",\"tag\":\"Docs\",\"count\":317},{\"language\":\"default\",\"tag\":\"LLM Integrations\",\"count\":307},{\"language\":\"default\",\"tag\":\"More\",\"count\":176},{\"language\":\"default\",\"tag\":\"Admin APIs\",\"count\":172},{\"language\":\"default\",\"tag\":\"Guardrails\",\"count\":101},{\"language\":\"default\",\"tag\":\"AI Gateway\",\"count\":99},{\"language\":\"default\",\"tag\":\"Admin API\",\"count\":95},{\"language\":\"default\",\"tag\":\"Documentation\",\"count\":91}],\"searchSettings\":{\"isFiltersEnabled\":true,\"showContentSnippets\":true},\"disableKonamiCode\":\"$undefined\"},\"children\":[\"$\",\"$L2f\",null,{\"value\":{\"docsConfig\":{\"theme\":\"mint\",\"$schema\":\"https://mintlify.com/docs.json\",\"name\":\"Portkey (Prisma AIRS AI Gateway) Docs\",\"description\":\"Comprehensive documentation for AI Gateway, Guardrails, Observability, and Governance features.\",\"colors\":{\"primary\":\"#0891B2\",\"light\":\"#0891B2\",\"dark\":\"#0891B2\"},\"logo\":{\"light\":\"https://mintcdn.com/portkey-docs/tHk-hgNjLbEj4dhh/images/portkey-PANW-company-logo-positive.png?fit=max\u0026auto=format\u0026n=tHk-hgNjLbEj4dhh\u0026q=85\u0026s=c5fb09014ff79616583b1d3bffe27450\",\"dark\":\"https://mintcdn.com/portkey-docs/tHk-hgNjLbEj4dhh/images/portkey-PANW-company-logo-negative.png?fit=max\u0026auto=format\u0026n=tHk-hgNjLbEj4dhh\u0026q=85\u0026s=6025ca49ef544522f58ff471b7f75f8f\"},\"favicon\":\"https://mintcdn.com/portkey-docs/Hf1XgyjG_b79ym4Q/favicon.png?fit=max\u0026auto=format\u0026n=Hf1XgyjG_b79ym4Q\u0026q=85\u0026s=cbaa1bfc49bb6e3fd6cf499a5da313a3\",\"api\":{\"openapi\":\"https://raw.githubusercontent.com/Portkey-AI/openapi/refs/heads/master/openapi.yaml\",\"examples\":{\"prefill\":true},\"url\":\"full\"},\"navbar\":{\"links\":[{\"href\":\"https://portkey.ai/models\",\"label\":\"Models\"},{\"href\":\"https://support.portkey.ai/forms/customer-portal-ticket-form\",\"label\":\"Supp
341ort\"},{\"href\":\"https://www.paloaltonetworks.in/ai-security/ai-gateway?utm_source=portkey\u0026utm_medium=referral\u0026utm_campaign=prisma_airs\u0026utm_content=docs_nav#contact\",\"label\":\"Contact Us\"}],\"primary\":{\"type\":\"button\",\"label\":\"Sign in\",\"href\":\"https://stratacloudmanager.paloaltonetworks.com/\"}},\"footer\":{\"socials\":{\"x\":\"https://twitter.com/PortkeyAI\",\"linkedin\":\"https://www.linkedin.com/company/portkey-ai\",\"github\":\"https://git.new/portkey\"},\"links\":[{\"header\":\"For LLMs\",\"items\":[{\"label\":\"llms.txt\",\"href\":\"https://portkey.ai/docs/llms.txt\"},{\"label\":\"llms-full.txt\",\"href\":\"https://portkey.ai/docs/llms-full.txt\"}]},{\"header\":\"Products\",\"items\":[{\"label\":\"Observability\",\"href\":\"https://portkey.ai/features/observability\"},{\"label\":\"AI Gateway\",\"href\":\"https://portkey.ai/features/ai-gateway\"},{\"label\":\"Guardrails\",\"href\":\"https://portkey.ai/features/guardrails\"},{\"label\":\"Prompt Management\",\"href\":\"https://portkey.ai/features/prompt-management\"},{\"label\":\"Agents\",\"href\":\"https://portkey.ai/features/agents\"},{\"label\":\"MCP Gateway\",\"href\":\"https://portkey.ai/docs/product/mcp-gateway\"},{\"label\":\"Security\",\"href\":\"https://portkey.ai/features/security-and-compliance\"},{\"label\":\"Auto-Instrumentation\",\"href\":\"https://portkey.ai/features/auto-instrumentation\"}]},{\"header\":\"Resources\",\"items\":[{\"label\":\"API Status\",\"href\":\"https://status.portkey.ai/\"},{\"label\":\"Helm Charts\",\"href\":\"https://github.com/portkey-ai/helm\"},{\"label\":\"AI Grants Finder\",\"href\":\"https://grantsfinder.portkey.ai/\"},{\"label\":\"Events Calendar\",\"href\":\"https://lu.ma/portkey\"},{\"label\":\"Blog\",\"href\":\"https://portkey.ai/blog\"},{\"label\":\"Error Library\",\"href\":\"https://portkey.ai/error-library\"},{\"label\":\"Models \u0026 Pricing\",\"href\":\"https://portkey.ai/models\"}]},{\"header\":\"Company\",\"items\":[{\"label\":\"Pricing\",\"href\":\"https://portkey.ai/pricing\"},{\"label\":\"Compliances\",\"href\":\"https://trust.portkey.ai/\"},{\"label\":\"Privacy Policy\",\"href\":\"https://portkey.ai/privacy-policy\"},{\"label\":\"Terms of Service\",\"href\":\"https://portkey.ai/terms\"},{\"label\":\"DPA\",\"href\":\"https://portkey.ai/dpa\"},{\"label\":\"Cookie Policy\",\"href\":\"https://portkey.ai/cookie-policy\"}]}]},\"seo\":{\"metatags\":{\"og:type\":\"website\",\"og:site_name\":\"Portkey AI Gateway Docs\"},\"indexing\":\"navigable\"},\"styling\":{\"eyebrows\":\"breadcrumbs\",\"codeblocks\":\"system\",\"latex\":true},\"integrations\":{\"ga4\":{\"measurementId\":\"G-JJMXYE4DRL\"}},\"contextual\":{\"options\":[\"copy\",\"view\",\"chatgpt\",\"claude\",\"download-pdf\"],\"display\":\"toc\"},\"interaction\":{\"drilldown\":true},\"metadata\":{\"timestamp\":true},\"navigation\":{\"pages\":[]}},\"docsNavWithMetadata\":\"$undefined\",\"anonymizedNav\":\"$undefined\",\"hasFullNav\":false},\"children\":\"$L30\"}]}]}]}]]}]]}]]\n"])</script>
341<script>self.__next_f.push([1,"31:I[604804,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"LoginButtonProvider\"]\n"])</script>
341<script>self.__next_f.push([1,"32:I[141180,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"SidebarLoginButtonProvider\"]\n"])</script>
341<script>self.__next_f.push([1,"33:I[343590,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"NavigationContextController\"]\n"])</script>
341<script>self.__next_f.push([1,"34:I[378486,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"PageListProvider\"]\n"])</script>
341<script>self.__next_f.push([1,"35:I[742977,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"PrefetchProvider\"]\n"])</script>
341<script>self.__next_f.push([1,"36:I[237978,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"PageModeOverrideProvider\"]\n"])</script>
341<script>self.__next_f.push([1,"37:I[378896,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"ConfiguredVariationProvider\"]\n"])</script>
341<script>self.__next_f.push([1,"38:I[557611,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"Fonts\"]\n"])</script>
341<script>self.__next_f.push([1,"39:I[330080,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"BannerProvider\"]\n"])</script>
341<script>self.__next_f.push([1,"3a:I[864506,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"NavbarTransitionScript\"]\n"])</script>
341<script>self.__next_f.push([1,"3b:T9e0,"])</script>
341<script>self.__next_f.push([1,"(function () {\n  var measure = function(){let a=document.querySelectorAll(\"[id='navbar'], [data-top-chrome]\"),b=0;a.forEach(a=\u003e{let c=a.getBoundingClientRect();c.height\u003e0\u0026\u0026(b=Math.max(b,c.bottom))});let c=0,d=document.getElementById(\"content-container\");if(d){let{overflowY:a}=getComputedStyle(d);(\"auto\"===a||\"scroll\"===a)\u0026\u0026(c=Math.max(0,d.getBoundingClientRect().top))}let e=`${Math.round(Math.max(0,b-c))+40}px`,f=document.documentElement.style;f.getPropertyValue(\"--scroll-mt\")!==e\u0026\u0026f.setProperty(\"--scroll-mt\",e)};\n  (function(a){let b=[],c=0,d=\"undefined\"==typeof ResizeObserver?null:new ResizeObserver(f);function e(){let c=Array.from(document.querySelectorAll(\"[id='navbar'], [data-top-chrome]\"));(c.length!==b.length||c.some((a,c)=\u003ea!==b[c]))\u0026\u0026d\u0026\u0026(d.disconnect(),c.forEach(a=\u003ed.observe(a))),b=c,a()}function f(){c||(c=requestAnimationFrame(()=\u003e{c=0,e()}))}let g=\"[id='navbar'], [data-top-chrome]\";function h(a){let b=a.target;if(b instanceof Element\u0026\u0026b.closest(g))return!0;for(let b of a.addedNodes)if(b instanceof Element\u0026\u0026(b.matches(g)||b.querySelector(g)))return!0;for(let b of a.removedNodes)if(b instanceof Element\u0026\u0026(b.matches(g)||b.querySelector(g)))return!0;return!1}new MutationObserver(a=\u003e{a.some(h)\u0026\u0026f()}).observe(document.documentElement,{childList:!0,subtree:!0}),window.addEventListener(\"resize\",f),\"loading\"===document.readyState\u0026\u0026document.addEventListener(\"DOMContentLoaded\",e),e()})(measure);\n  (function(a){let b=window.location.hash.slice(1);if(!b)return;function c(){return\"smooth\"===getComputedStyle(document.documentElement).scrollBehavior}function d(c){let d=document.getElementById(b);return!!d\u0026\u0026(a(),d.scrollIntoView(c?{behavior:c}:void 0),!0)}if(\"complete\"===document.readyState)return void d();let e=new MutationObserver(()=\u003e{!c()\u0026\u0026d(\"instant\")\u0026\u0026f()});function f(){e.disconnect(),window.removeEventListener(\"load\",g)}function g(){let a=c();f(),a\u0026\u0026requestAnimationFrame(()=\u003e{d(),function(){let a=[\"wheel\",\"touchstart\",\"keydown\",\"pointerdown\"],c=0,e=window.scrollY,f=setInterval(()=\u003e{c+=1;let a=document.getElementById(b);if(!a||c\u003e=6)return g();let f=Math.abs(window.scrollY-e)\u003e1;if(e=window.scrollY,f)return;let h=parseFloat(getComputedStyle(a).scrollMarginTop)||0;Math.abs(a.getBoundingClientRect().top-h)\u003e4\u0026\u0026d()},350);function g(){clearInterval(f),a.forEach(a=\u003ewindow.removeEventListener(a,g))}a.forEach(a=\u003ewindow.addEventListener(a,g,{passive:!0}))}()})}window.addEventListener(\"load\",g),e.observe(document.documentElement,{childList:!0,subtree:!0}),!c()\u0026\u0026d(\"instant\")\u0026\u0026f()})(measure);\n})();"])</script>
341<script>self.__next_f.push([1,"30:[\"$\",\"$L31\",null,{\"children\":[\"$\",\"$L32\",null,{\"children\":[\"$\",\"$L33\",null,{\"children\":[\"$\",\"$L34\",null,{\"pageListDataMap\":{},\"children\":[\"$\",\"$L35\",null,{\"disabled\":\"$undefined\",\"children\":[\"$\",\"$L36\",null,{\"children\":[\"$\",\"$L37\",null,{\"children\":[[\"$\",\"$L14\",null,{\"fonts\":\"$undefined\",\"theme\":\"mint\",\"subdomain\":\"portkey-docs\"}],[[\"$\",\"$L13\",null,{\"docsConfig\":\"$19:2:props:children:1:props:children:5:props:children:props:children:props:children:props:value:docsConfig\"}],[[\"$\",\"link\",null,{\"rel\":\"preload\",\"href\":\"https://d4tuoctqmanu0.cloudfront.net/katex.min.css\",\"as\":\"style\"}],[\"$\",\"script\",null,{\"type\":\"text/javascript\",\"children\":\"\\n          (function() {\\n            function loadKatex() {\\n              const link = document.querySelector('link[href=\\\"https://d4tuoctqmanu0.cloudfront.net/katex.min.css\\\"]');\\n              if (link) link.rel = 'stylesheet';\\n            }\\n            if (document.readyState === 'loading') {\\n              document.addEventListener('DOMContentLoaded', loadKatex);\\n            } else {\\n              loadKatex();\\n            }\\n          })();\\n        \"}]],[\"$\",\"$L15\",null,{\"theme\":\"mint\"}],[\"$\",\"$L38\",null,{\"fonts\":\"$undefined\",\"children\":[\"$\",\"$L39\",null,{\"bannersByLocale\":{},\"subdomain\":\"portkey-docs\",\"children\":[[\"$\",\"$L3a\",null,{\"theme\":\"mint\"}],[\"$\",\"script\",null,{\"id\":\"_mintlify-scroll-margin-script\",\"dangerouslySetInnerHTML\":{\"__html\":\"$3b\"},\"suppressHydrationWarning\":true}],\"$L3c\"]}]}]]]}]}]}]}]}]}]}]\n"])</script>
341<script>self.__next_f.push([1,"3d:I[540345,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"ConsentProvider\"]\n"])</script>
341<script>self.__next_f.push([1,"3e:I[529058,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"LocalStorageAndAnalyticsProviders\"]\n"])</script>
341<script>self.__next_f.push([1,"3f:I[958547,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"default\"]\n"])</script>
341<script>self.__next_f.push([1,"40:I[604780,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"CaptchaProvider\"]\n"])</script>
341<script>self.__next_f.push([1,"41:I[859465,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"AssistantUiProvider\"]\n"])</script>
341<script>self.__next_f.push([1,"42:I[832740,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"AssistantTransportProviderSelector\"]\n"])</script>
341<script>self.__next_f.push([1,"43:I[601054,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"SearchProvider\"]\n"])</script>
341<script>self.__next_f.push([1,"44:I[28330,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"SkipToContent\"]\n"])</script>
341<script>self.__next_f.push([1,"45:I[382229,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"AssistantLayoutScript\"]\n"])</script>
341<script>self.__next_f.push([1,"46:I[87732,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"AssistantLayoutWrapper\"]\n"])</script>
341<script>self.__next_f.push([1,"3c:[\"$\",\"$L3d\",null,{\"privacy\":\"$undefined\",\"children\":[\"$\",\"$L3e\",null,{\"subdomain\":\"portkey-docs\",\"isAtlas\":false,\"children\":[\"$\",\"$L3f\",null,{\"toggles\":[{\"name\":\"dashboard-editor-theseus\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"kill-isr\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"agent-mintlify-slack\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"editor-v7-file-tree\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"agent-integrations-settings\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"automations-pr-grouping\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"custom-prefix\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"analytics-v7\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"user-flows-analytics\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"no-publish-flow\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"llms-txt-v2\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"pause-universal-search-reconcile\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"snapshot-serving-live\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"stripTemperatureMiddleware\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"per-site-search-delta\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"support-platform-pylon-zendesk\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"editor-branches-v2-autocommit\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"editor-branches-v2\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"snapshot-serving\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"instant-rollback\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"granular-notifications-server\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"granular-notifications\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"editor-private-page-search\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"automations-fable\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"fixed-ai-action-pricing\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"automation-resolve-merge-conflict\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"scoped-publishing\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"mintql\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"page-level-analytics\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"teamspace\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"assistant-v5\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"byok-sep-25\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false}],\"children\":[\"$\",\"$L40\",null,{\"enabled\":true,\"children\":[\"$\",\"$L41\",\"portkey-docs\",{\"children\":[\"$\",\"$L42\",null,{\"children\":[\"$\",\"$L43\",null,{\"subdomain\":\"portkey-docs\",\"hasChatPermissions\":true,\"isLoggedInCli\":false,\"assistantConfig\":{\"enableAskAiButton\":true,\"enableStarterQuestions\":true,\"enableContextualStarterQuestions\":true,\"enableAskAiSearchBar\":true,\"deflection\":{\"enabled\":true,\"email\":\"[email protected]\",\"showHelpButton\":true}}
341,\"starterQuestions\":\"$undefined\",\"children\":[[\"$\",\"$L44\",null,{}],[\"$\",\"$L45\",null,{\"hasChatPermissions\":true}],false,[\"$\",\"$L46\",null,{\"children\":[\"$L47\",\"$undefined\"]}]]}]}]}]}]}]}]}]\n"])</script>
341<script>self.__next_f.push([1,"48:I[118717,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/baaa22a26eddc070.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"NotFoundHydrator\"]\n"])</script>
341<script>self.__next_f.push([1,"47:[\"$\",\"$Lf\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L11\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"$L48\",null,{\"source\":\"multitenant\"}],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]\n"])</script>
341<script>self.__next_f.push([1,"49:I[597003,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e8ae17d17545aec9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/68d6e5104243ae2b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1274e7453c808eec.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a95b6b45d1dc4487.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/65712ea96ab292b5.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/935cd929aff6bb51.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e07381c7469ca6d6.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"ScopedNavProvider\"]\n"])</script>
341<script>self.__next_f.push([1,"1a:[\"$\",\"$L49\",null,{\"scopedNav\":{\"global\":null,\"versions\":[{\"version\":\"Latest\",\"tabs\":[{\"tab\":\"Docs\",\"groups\":[{\"group\":\"Introduction\",\"icon\":\"rocket\",\"pages\":[{\"title\":\"What is Portkey?\",\"description\":\"Portkey AI is a comprehensive platform designed to streamline and enhance AI integration for developers and organizations. It serves as a unified interface for interacting with over 250 AI models, offering advanced tools for control, visibility, and security in your Generative AI apps.\",\"href\":\"/introduction/what-is-portkey\"},{\"title\":\"Make Your First Request\",\"description\":\"Integrate Portkey and analyze your first LLM call in 2 minutes!\",\"href\":\"/introduction/make-your-first-request\"},{\"title\":\"Portkey Features\",\"description\":\"Explore the powerful features of Portkey\",\"href\":\"/introduction/feature-overview\"}]},{\"group\":\"Product\",\"icon\":\"cube\",\"pages\":[{\"group\":\"Observability\",\"pages\":[{\"title\":\"Observability (OpenTelemetry)\",\"description\":\"Gain real-time insights, track key metrics, and streamline debugging with our comprehensive observability suite.\",\"href\":\"/product/observability\"},{\"group\":\"OpenTelemetry\",\"pages\":[{\"title\":\"OpenTelemetry for LLM Observability\",\"description\":\"Leverage OpenTelemetry with Portkey for comprehensive LLM application observability, combining gateway insights with full-stack telemetry.\",\"href\":\"/product/observability/opentelemetry\"},{\"title\":\"Supported OTel Libraries\",\"description\":\"Portkey works with any OpenTelemetry-compatible instrumentation. Here are some popular options.\",\"href\":\"/product/observability/opentelemetry/list-of-supported-otel-instrumenters\"}]},{\"title\":\"Logs\",\"description\":\"The Logs section presents a chronological list of all the requests processed through Portkey.\",\"href\":\"/product/observability/logs\"},{\"title\":\"Tracing\",\"description\":\"The **Tracing** capabilities in Portkey empowers you to monitor the lifecycle of your LLM requests in a unified, chronological view.\",\"href\":\"/product/observability/traces\"},{\"title\":\"Analytics\",\"description\":null,\"href\":\"/product/observability/analytics\"},{\"title\":\"Feedback\",\"description\":\"Portkey's Feedback APIs provide a simple way to get weighted feedback from customers on any request you served, at any stage in your app.\",\"href\":\"/product/observability/feedback\"},{\"title\":\"Metadata\",\"description\":\"Add custom context to your AI requests for better observability and analytics\",\"href\":\"/product/observability/metadata\"},{\"title\":\"Filters\",\"description\":null,\"href\":\"/product/observability/filters\"},{\"title\":\"Logs Export\",\"description\":\"Easily access your Portkey logs data for further analysis and reporting\",\"href\":\"/product/observability/logs-export\"},{\"title\":\"Model Pricing and Cost Management\",\"description\":\"Learn how Portkey handles pricing data, cost calculations, and pricing updates across different deployment modes.\",\"href\":\"/product/observability/cost-management\"},{\"title\":\"Budget Limits\",\"url\":\"/product/model-catalog/integrations#3-budget-%26-rate-limits\",\"description\":null,\"href\":\"/product/observability/budget-limits\"},{\"title\":\"Auto-Instrumentation [BETA]\",\"description\":\"Portkey's auto-instrumentation allows you to instrument tracing and logging for multiple LLM/Agent frameworks and view the logs, traces, and metrics in a single place.\",\"href\":\"/product/observability/auto-instrumentation\"}]},{\"group\":\"AI Gateway\",\"pages\":[{\"title\":\"AI Gateway\",\"gsidebarTitle\":\"Overview\",\"description\":\"The world's fastest AI Gateway with advanced routing \u0026 integrated Guardrails.\",\"href\":\"/product/ai-gateway\"},{\"group\":\"Universal API\",\"pages\":[{\"title\":\"Universal API\",\"sidebarTitle\":\"Overview\",\"description\":\"One API for 200+ LLMs across every major provider. Use OpenAI's Chat Completions, Responses API, or Anthropic's Messages format -- Portkey translates between them all.\",\"href\":\"/product/ai-gateway/universal-api\"},{\"title\":\"Chat Completions\",\"description\":\"Use OpenAI-compatible Chat Completions with any LLM provider through Portkey's AI Gateway.\",\"href\":\"/product/ai-gateway/chat-completions\"},{\"title\":\"Messages\",\"description\":\"Use Anthropic's Messages format with any provider — 3000+ models, one endpoint.\",\"href\":\"/product/ai-gateway/messages-api\"},{\"title\":\"Open Responses\",\"description\":\"Use the Responses API with any LLM provider through Portkey's AI Gateway — fully compliant with the Open Responses specification.\",\"href\":\"/product/ai-gateway/responses-api\"},{\"title\":\"Decisions\",\"description\":\"Get typed judgments (probability, choice, or score) from models through Portkey's /v1/decisions endpoint.\",\"href\":\"/product/ai-gateway/decisions-api\"}]},{\"title\":\"Configs\",\"description\":\"This feature is available on all Portkey plans.\",\"href\":\"/product/ai-gateway/configs\"},{\"title\":\"Custom hosts\",\"description\":\"Route requests to privately hosted or local models using custom host URLs, and understand Portkey's host validation and security rules.\",\"href\":\"/product/ai-gateway/custom-hosts\"},{\"title\":\"Remote MCP\",\"description\":\"Portkey's AI gateway has MCP server support that many foun
341dational model providers offer.\",\"href\":\"/product/ai-gateway/remote-mcp\"},{\"title\":\"Beta Features\",\"description\":\"Opt into early-access Portkey gateway capabilities using the x-portkey-beta header.\",\"href\":\"/product/ai-gateway/beta-features\"},{\"title\":\"Conditional Routing\",\"description\":null,\"href\":\"/product/ai-gateway/conditional-routing\"},{\"group\":\"Multimodal Capabilities\",\"pages\":[{\"title\":\"Multimodal Capabilities\",\"description\":null,\"href\":\"/product/ai-gateway/multimodal-capabilities\"},{\"title\":\"Image Generation\",\"description\":\"Portkey's AI gateway supports image generation capabilities that many foundational model providers offer.\",\"href\":\"/product/ai-gateway/multimodal-capabilities/image-generation\"},{\"title\":\"Function Calling\",\"description\":\"Portkey's AI Gateway supports function calling across major foundational models. Define functions in your API call, and the model can output the function name with parameters.\",\"href\":\"/product/ai-gateway/multimodal-capabilities/function-calling\"},{\"title\":\"Vision\",\"description\":\"Portkey's AI gateway supports vision models like GPT-4V by OpenAI, Gemini by Google and more.\",\"href\":\"/product/ai-gateway/multimodal-capabilities/vision\"},{\"title\":\"Text-to-Speech\",\"description\":\"Portkey's AI gateway supports text-to-speech models on OpenAI, Azure OpenAI, and Google Vertex AI.\",\"href\":\"/product/ai-gateway/multimodal-capabilities/text-to-speech\"},{\"title\":\"Speech-to-Text\",\"description\":\"Use Portkey's AI gateway to transcribe and translate audio using speech-to-text models across all supported providers.\",\"href\":\"/product/ai-gateway/multimodal-capabilities/speech-to-text\"},{\"title\":\"Thinking Mode\",\"description\":null,\"href\":\"/product/ai-gateway/multimodal-capabilities/thinking-mode\"}]},{\"title\":\"Cache (Simple \u0026 Semantic)\",\"description\":\"Speed up requests and reduce costs by caching LLM responses.\",\"href\":\"/product/ai-gateway/cache-simple-and-semantic\"},{\"title\":\"Fallbacks\",\"description\":\"Automatically switch to backup LLMs when the primary fails.\",\"href\":\"/product/ai-gateway/fallbacks\"},{\"title\":\"Automatic Retries\",\"description\":\"Automatically retry failed LLM requests with exponential backoff.\",\"href\":\"/product/ai-gateway/automatic-retries\"},{\"title\":\"Circuit Breaker\",\"description\":\"Automatically stop routing to unhealthy targets until they recover.\",\"href\":\"/product/ai-gateway/circuit-breaker\"},{\"title\":\"Realtime API\",\"description\":\"Use OpenAI's Realtime API with logs, cost tracking, and more!\",\"href\":\"/product/ai-gateway/realtime-api\"},{\"title\":\"gRPC (Beta)\",\"description\":\"Use gRPC as an alternative transport protocol for lower latency and efficient binary serialization\",\"href\":\"/product/ai-gateway/grpc\"},{\"title\":\"Load Balancing\",\"description\":\"Distribute traffic across multiple LLMs for high availability and optimal performance.\",\"href\":\"/product/ai-gateway/load-balancing\"},{\"title\":\"Canary Testing\",\"description\":\"You can use Portkey's AI gateway to also canary test new models or prompts in different environments. \",\"href\":\"/product/ai-gateway/canary-testing\"},{\"title\":\"Strict OpenAI Compliance\",\"description\":null,\"href\":\"/product/ai-gateway/strict-open-ai-compliance\"},{\"group\":\"Virtual Keys [Deprecated]\",\"pages\":[{\"title\":\"Virtual Keys\",\"description\":\"Virtual Keys have been migrated to Model Catalog - learn about the new system\",\"href\":\"/product/ai-gateway/virtual-keys\"},{\"title\":\"Budget Limits\",\"description\":\"Budget Limits lets you set cost limits on providers/integrations\",\"href\":\"/product/ai-gateway/virtual-keys/budget-limits\"},{\"title\":\"Rate Limits\",\"description\":\"Set Rate Limts to your Integrations/Providers\",\"href\":\"/product/ai-gateway/virtual-keys/rate-limits\"},{\"title\":\"Connect Bedrock with Amazon Assumed Role\",\"description\":\"How to create a new integration for Bedrock using Amazon Assumed Role Authentication\",\"href\":\"/product/ai-gateway/virtual-keys/bedrock-amazon-assumed-role\"}]},{\"title\":\"Request Timeouts\",\"description\":\"Manage unpredictable LLM latencies effectively with Portkey's **Request Timeouts**.\",\"href\":\"/product/ai-gateway/request-timeouts\"},{\"title\":\"Files\",\"description\":\"Upload files to Portkey and reuse the content in your requests\",\"href\":\"/product/ai-gateway/files\"},{\"title\":\"Unified Batch Inference\",\"description\":\"Run large‑scale inference jobs through one consistent endpoint\",\"href\":\"/product/ai-gateway/batches\"},{\"title\":\"Fine-tuning\",\"description\":\"Run your fine-tuning jobs with Portkey Gateway\",\"href\":\"/product/ai-gateway/fine-tuning\"},{\"title\":\"Nitro Mode (Beta)\",\"description\":\"Forward the request body directly to the provider without any transformations. Best when your request and response structure already matches the provider's API.\",\"href\":\"/product/ai-gateway/nitro-mode\"}]},{\"group\":\"Model Catalog\",\"pages\":[{\"title\":\"Model Catalog\",\"description\":\"A single pane to view and manage every AI provider and model in your organization. It provides centralized governance, discovery, and usage controls for all your AI resources.\",\"sidebarTitle\":\"Model Catalog\",\"href\":\"/product/model-catalog\"},{\"title\":\"Portkey Models\",\"description\":\"Open-source pricing and configuration database for 2,300+ LLMs across 35+ providers\",\"api\":\"GET https://api.portkey.ai/model-configs/pricing/{provider}/{model}\",\"authMethod\":\"none\",\"href\":\"/product/model-catalog/portkey-models\"},{\"title\":\"Integrations\",\"description\":\"Securely store and manage AI provider credentials across your organization with centralized governance controls\",\"href\":\"/product/model-catalog/integrations\"},{\"title\":\"Budget Limits\",\"url\":\"/product/model-catalog/integrations#3-budget-%26-rate-limits\",\"description\":null,\"href\":\"/product/model-catalog/budget-limits\"},{\"title\":\"Rate Limits\",\"url\":\"/product/model-catalog/integrations#3-budget-%26-rate-limits\",\"description\":null,\"href\":\"/product/model-catalog/rate-limits\"},{\"title\":\"Workspace Provisioning\",\"url\":\"/product/model-catalog/integrations#1-workspace-provisioning\",\"description\":null,\"href\":\"/product/model-catalog/workspace-provisioning\"},{\"title\":\"AI Model Provisioning\",\"url\":\"/product/model-catalog/integrations#2-model-provisioning\",\"description\":null,\"href\":\"/product/model-catalog/model-provisioning\"},{\"title\":\"Adding Custom Models\",\"description\":\"Learn how to add custom and fine-tuned models to your Portkey Model Catalog for seamless integration.\",\"href\":\"/product/model-catalog/custom-models\"},{\"title\":\"Adding Pricing Adjustments\",\"description\":\"Learn how to apply discount or markup multipliers to a Portkey Integration so cost tracking reflects your effective rate with a provider.\",\"href\":\"/product/model-catalog/pricing-adjustments\"},{\"title\":\"Overriding Model Details\",\"description\":\"Learn how to set custom pricing for any base model in your Portkey Model Catalog to reflect your specific costs.\",\"href\":\"/product/model-catalog/model-overrides\"},{\"title\":\"Connect Bedrock with Amazon Assumed Role\",\"description\":\"How to create an integrate Bedrock using Amazon Assumed Role Authentication on Portkey\",\"href\":\"/product/model-catalog/connect-bedrock-with-amazon-assumed-role\"}]},{\"group\":\"MCP Gateway\",\"pages\":[{\"title\":\"MCP Gateway\",\"description\":\"Centralized authentication, access control, and observability for MCP servers.\",\"href\":\"/product/mcp-gateway\"},{\"title\":\"Quickstart\",\"description\":\"Add DeepWiki to Portkey MCP Gateway and connect it to Claude.\",\"href\":\"/product/mcp-gateway/quickstart\"},{\"group\":\"MCP Registry\",\"pages\":[{\"title\":\"MCP Registry\",\"description\":\"Add, manage, and govern MCP servers across your organization.\",\"href\":\"/product/mcp-gateway/mcp-registry\"},{\"title\":\"Add Internal MCP Servers\",\"description\":\"Add your internal MCP servers to Portkey. Get enterprise-grade auth, access control, and logging without building it.\",\"href\":\"/product/mcp-gateway/internal-mcp-servers\"},{\"title\":\"Add External MCP Servers\",\"description\":\"Connect third-party MCP servers like Linear, GitHub, Slack, and more through Portkey.\",\"href\":\"/product/mcp-gateway/external-mcp-servers\"},{\"title\":\"Registry API (Beta)\",\"description\":\"Serve your approved MCP servers as a 
341standards-compliant catalog that governance-aware clients can consume.\",\"tag\":\"Beta\",\"href\":\"/product/mcp-gateway/registry-api\"},{\"title\":\"MCP Advanced Configuration\",\"description\":\"Control how the gateway authenticates, forwards context, and connects to upstream MCP servers.\",\"href\":\"/product/mcp-gateway/advanced-configuration\"}]},{\"title\":\"Using MCP Servers\",\"description\":\"Connect to MCP servers from AI agents and applications.\",\"href\":\"/product/mcp-gateway/using-mcp-servers\"},{\"title\":\"Team Provisioning\",\"description\":\"Control which workspaces and users can access MCP servers and their capabilities.\",\"href\":\"/product/mcp-gateway/access-control\"},{\"title\":\"Tool Provisioning\",\"description\":\"Control which tools, resources, and prompts are available to your organization and workspaces.\",\"href\":\"/product/mcp-gateway/tool-provisioning\"},{\"group\":\"Authentication\",\"pages\":[{\"title\":\"Authentication\",\"description\":\"How authentication works in MCP Gateway.\",\"href\":\"/product/mcp-gateway/authentication\"},{\"title\":\"OAuth\",\"description\":\"Portkey's built-in OAuth 2.1 authentication for MCP Gateway.\",\"href\":\"/product/mcp-gateway/authentication/oauth\"},{\"title\":\"Bring Your Own Auth\",\"description\":\"Use your own identity provider for gateway authentication.\",\"href\":\"/product/mcp-gateway/authentication/external-oauth\"},{\"title\":\"Identity Forwarding\",\"description\":\"Pass authenticated user identity to MCP servers.\",\"href\":\"/product/mcp-gateway/authentication/identity-forwarding\"},{\"title\":\"JWT Validation\",\"description\":\"Validate JWTs from external identity providers.\",\"href\":\"/product/mcp-gateway/authentication/jwt\"},{\"title\":\"OAuth Client Metadata\",\"description\":\"Customize OAuth client metadata for MCP servers.\",\"href\":\"/product/mcp-gateway/authentication/oauth-client-metadata\"},{\"title\":\"Forwarding Headers\",\"description\":\"Pass headers from agent requests to MCP servers.\",\"href\":\"/product/mcp-gateway/authentication/forwarding-headers\"},{\"title\":\"Custom Auth\",\"description\":\"Configure custom authentication for MCP servers.\",\"href\":\"/product/mcp-gateway/authentication/custom-auth\"}]},{\"title\":\"Authorization\",\"description\":\"Control what users can access at the MCP server and tool level.\",\"href\":\"/product/mcp-gateway/authorization\"},{\"title\":\"Observability\",\"description\":\"Log, monitor, and debug MCP interactions.\",\"href\":\"/product/mcp-gateway/observability\"},{\"title\":\"Integrations\",\"description\":\"Connect MCP servers to AI agents and applications.\",\"href\":\"/product/mcp-gateway/integrations\"},{\"title\":\"Guardrails\",\"description\":\"Apply security and compliance guardrails to MCP tool calls — regex filters, content validation, webhook checks, JSON schema enforcement, and more.\",\"href\":\"/product/mcp-gateway/guardrails\"},{\"group\":\"Reliability\",\"pages\":[{\"title\":\"Rate Limits\",\"description\":\"Throttle MCP tool call requests and token consumption per API key, server, or tool.\",\"href\":\"/product/mcp-gateway/rate-limits\"},{\"title\":\"Circuit Breakers\",\"description\":\"Automatic failure handling for upstream MCP servers.\",\"href\":\"/product/mcp-gateway/circuit-breakers\"}]}]},{\"group\":\"Agent Gateway\",\"pages\":[{\"title\":\"Agent Gateway\",\"description\":\"Centralized authentication, access control, and observability for your agents\",\"href\":\"/product/agent-gateway\"},{\"title\":\"Quickstart\",\"description\":\"Get started with Agent Gateway\",\"href\":\"/product/agent-gateway/quickstart\"},{\"title\":\"Agent Registry\",\"description\":\"Manage your agent integrations\",\"href\":\"/product/agent-gateway/registry\"},{\"title\":\"Agent Servers\",\"description\":\"Host your agent servers\",\"href\":\"/product/agent-gateway/servers\"},{\"title\":\"Advanced code snippets and examples\",\"description\":\"Advanced code snippets and examples for the Agent Gateway\",\"href\":\"/product/agent-gateway/advanced-code-snippets-and-examples\"}]},{\"title\":\"Coding Agents\",\"description\":\"The governance layer for Claude Code, Codex, and other AI coding agents — centralized credentials, cost controls, observability, and provider failover for platform teams.\",\"href\":\"/product/coding-agent\"},{\"group\":\"Prompt Studio\",\"pages\":[{\"title\":\"Prompt Engineering Studio\",\"description\":null,\"href\":\"/product/prompt-engineering-studio\"},{\"title\":\"Prompt Playground\",\"description\":null,\"href\":\"/product/prompt-engineering-studio/prompt-playground\"},{\"title\":\"Prompt Library\",\"description\":null,\"href\":\"/product/prompt-engineering-studio/prompt-library\"},{\"title\":\"Prompt Versioning \u0026 Labels\",\"description\":null,\"href\":\"/product/prompt-engineering-studio/prompt-versioning\"},{\"title\":\"Prompt Observability\",\"description\":null,\"href\":\"/product/prompt-engineering-studio/prompt-observability\"}
341,{\"title\":\"Prompt Partials\",\"description\":\"With Prompt Partials, you can save your commonly used templates (which could be your instruction set, data structure explanation, examples etc.) separately from your prompts and flexibly incorporate them wherever required.\",\"href\":\"/product/prompt-engineering-studio/prompt-partial\"},{\"title\":\"Sharing Prompts and Partials\",\"description\":\"Share prompts and partials across workspaces in your organization with read-only access.\",\"href\":\"/product/prompt-engineering-studio/prompt-sharing\"},{\"title\":\"Prompt API\",\"description\":\"Learn how to integrate Portkey's prompt templates directly into your applications using the Prompt API\",\"href\":\"/product/prompt-engineering-studio/prompt-api\"},{\"title\":\"Tool Library\",\"description\":null,\"href\":\"/product/prompt-engineering-studio/tool-library\"},{\"title\":\"Integrations\",\"description\":null,\"href\":\"/product/prompt-engineering-studio/prompt-integration\"},{\"title\":\"Guides\",\"description\":\"Learn how to get the most out of Portkey Prompts with these practical guides\",\"href\":\"/product/prompt-engineering-studio/prompt-guides\"}]},{\"group\":\"Guardrails\",\"pages\":[{\"title\":\"Guardrails\",\"description\":\"Ship to production confidently with Portkey Guardrails on your requests \u0026 responses\",\"href\":\"/product/guardrails\"},{\"title\":\"Supported Endpoints \u0026 Capabilities\",\"description\":\"Which endpoints, providers, input types, and execution modes Portkey Guardrails support.\",\"href\":\"/product/guardrails/capabilities\"},{\"title\":\"List of Guardrail Checks\",\"description\":null,\"href\":\"/product/guardrails/list-of-guardrail-checks\"},{\"title\":\"Guardrails for Embedding Requests\",\"description\":\"Apply security and data validation measures to vector embedding requests to protect sensitive information and ensure data quality.\",\"href\":\"/product/guardrails/embedding-guardrails\"},{\"title\":\"Guardrails for Decisions Requests\",\"description\":\"Apply guardrails to the caller-supplied state field on /v1/decisions requests, without scanning your own prompt instructions.\",\"href\":\"/product/guardrails/decisions-guardrails\"},{\"title\":\"Creating Raw Guardrails (in JSON)\",\"description\":\"With the raw Guardrails mode, we let you define your Guardrail checks \u0026 actions however you want, directly in code.\",\"href\":\"/product/guardrails/creating-raw-guardrails-in-json\"},{\"title\":\"Forwarding Headers\",\"description\":\"Pass client request headers through to guardrail providers for trace correlation and session context.\",\"href\":\"/product/guardrails/forwarding-headers\"},{\"title\":\"PII Redaction\",\"description\":\"Replace any sensitive data in requests with standard identifiers\",\"href\":\"/product/guardrails/pii-redaction\"},{\"title\":\"Guardrails for Batches\",\"description\":\"Secure batch inference with Portkey Guardrails\",\"href\":\"/product/guardrails/guardrails-for-batches\"},{\"title\":\"Bring Your Own Guardrails\",\"description\":\"Integrate your custom guardrails with Portkey using webhooks\",\"href\":\"/integrations/guardrails/bring-your-own-guardrails\"}]},{\"group\":\"Administration\",\"pages\":[{\"title\":\"Enforcing Request Metadata\",\"description\":null,\"href\":\"/product/administration/enforcing-request-metadata\"},{\"title\":\"Enforcing Org Level Guardrails\",\"description\":null,\"href\":\"/product/administration/enforce-orgnization-level-guardrails\"},{\"title\":\"Enforcing Workspace Level Guardrails\",\"description\":null,\"href\":\"/product/administration/enforce-workspace-level-guardials\"},{\"title\":\"Configure Request Logging\",\"description\":\"Control what data is stored for all LLM requests in your organization\",\"href\":\"/product/administration/configuring-request-logging\"},{\"title\":\"Enforcing Default Configs on API Keys\",\"description\":\"Learn how to attach default configs to API keys for enforcing governance controls across your organization\",\"href\":\"/product/administration/enforce-default-config\"},{\"title\":\"Enforcing Saved-Only Resources\",\"sidebarTitle\":\"Enforcing Saved-Only Resources\",\"description\":\"Lock the Gateway to admin-curated providers, configs, and integrations by rejecting inline provider configuration at request time.\",\"href\":\"/product/administration/enforce-saved-only-config\"},{\"title\":\"Enforce Budget Limits and Rate Limits for Your API Keys\",\"description\":\"Configure budget and rate limits on API keys to effectively manage AI spending and usage across your organization\",\"href\":\"/product/administration/enforce-budget-and-rate-limit\"},{\"title\":\"Enforce Workspace Budget and Rate Limits\",\"description\":\"Configure budget and rate limits at the workspace level to effectively manage AI spending and resource allocation\",\"href\":\"/product/administration/enforce-workspace-budget-limts-and-rate-limits\"}
341,{\"title\":\"Configure Logs Access Permissions for Workspace\",\"description\":null,\"href\":\"/product/administration/configure-logs-access-permissions-in-workspace\"},{\"title\":\"Configure Analytics Access Permissions for Workspaces\",\"description\":null,\"href\":\"/product/administration/configure-analytics-access-permissions\"},{\"title\":\"Configure Data Visibility Settings for Workspaces\",\"description\":null,\"href\":\"/product/administration/configure-data-visibility-settings\"},{\"title\":\"Configure Provider Access Permissions\",\"description\":null,\"href\":\"/product/administration/configure-virtual-key-access-permissions\"},{\"title\":\"Configure API Key Access Permissions for Workspaces\",\"description\":null,\"href\":\"/product/administration/configure-api-key-access-permissions\"},{\"title\":\"Configure Prompt Access Permissions for Workspaces\",\"description\":null,\"href\":\"/product/administration/configure-prompt-access-permissions\"},{\"title\":\"Configure Guardrail Access Permissions for Workspaces\",\"description\":null,\"href\":\"/product/administration/configure-guardrail-access-permissions\"},{\"title\":\"Configure Integration Access Permissions for Workspaces\",\"description\":null,\"href\":\"/product/administration/configure-integration-access-permissions\"},{\"title\":\"Configure Workspace Provisioning for Your AI Integrations\",\"url\":\"/product/model-catalog/integrations#1-workspace-provisioning\",\"description\":null,\"href\":\"/product/administration/configure-workspace-provisioning-for-your-ai-integrations\"},{\"title\":\"Configure Model Access Permissioning for AI Integrations\",\"url\":\"/product/model-catalog/integrations#2-model-provisioning\",\"description\":null,\"href\":\"/product/administration/configure-model-access-permissioning-for-ai-integratinon\"},{\"title\":\"Enforce Rate Limits on Your AI Provider\",\"url\":\"/product/model-catalog/integrations#3-budget-%26-rate-limits\",\"description\":null,\"href\":\"/product/administration/enforce-rate-limits-on-your-ai-provider\"},{\"title\":\"Enforce Budget Limits on Your AI Provider\",\"url\":\"/product/model-catalog/integrations#3-budget-%26-rate-limits\",\"description\":null,\"href\":\"/product/administration/enforce-budget-limits-on-your-ai-provider\"}]},{\"group\":\"Enterprise Offering\",\"pages\":[{\"title\":\"Enterprise Offering\",\"description\":null,\"href\":\"/product/enterprise-offering\"},{\"group\":\"Org Management\",\"pages\":[{\"title\":\"Org Management\",\"description\":\"A high-level introduction to Portkey's organization management structure and key concepts.\",\"href\":\"/product/enterprise-offering/org-management\"},{\"title\":\"Organizations\",\"description\":\"Understand the role and features of Organizations, the highest level of abstraction in Portkey's structure.\",\"href\":\"/product/enterprise-offering/org-management/organizations\"},{\"title\":\"Workspaces\",\"description\":\"Explore Workspaces, the sub-organizational units that enable granular project and team management.\",\"href\":\"/product/enterprise-offering/org-management/workspaces\"},{\"title\":\"User Roles \u0026 Permissions\",\"description\":\"Learn about Portkey's comprehensive role-based access control system across Organizations and Workspaces.\",\"href\":\"/product/enterprise-offering/org-management/user-roles-and-permissions\"},{\"title\":\"API Keys (AuthN and AuthZ)\",\"description\":\"Discover how Admin and Workspace API Keys are used to manage access and operations in Portkey.\",\"href\":\"/product/enterprise-offering/org-management/api-keys-authn-and-authz\"},{\"title\":\"API Key Rotation\",\"description\":\"Periodically replace API key secrets without downtime using manual or automatic rotation with configurable transition periods.\",\"href\":\"/product/enterprise-offering/org-management/api-key-rotation\"},{\"title\":\"Gateway URLs\",\"description\":\"Configure custom gateway endpoints for your organisation's AI gateway and MCP gateway deployments.\",\"href\":\"/product/enterprise-offering/org-management/gateway-urls\"},{\"title\":\"JWT Authentication\",\"description\":\"Configure JWT-based authentication for your organization in Portkey\",\"href\":\"/product/enterprise-offering/org-management/jwt\"},{\"group\":\"SCIM\",\"pages\":[{\"title\":\"Overview\",\"description\":\"SCIM integration with Portkey.\",\"href\":\"/product/enterprise-offering/org-management/scim/scim\"},{\"title\":\"SCIM Group Management\",\"description\":\"Map SCIM groups to Portkey workspaces and roles without naming restrictions.\",\"href\":\"/product/enterprise-offering/org-management/scim/group-management\"},{\"title\":\"Azure Entra\",\"description\":\"Setup Azure Entra for SCIM provisioning with Portkey.\",\"href\":\"/product/enterprise-offering/org-management/scim/azure-ad\"},{\"title\":\"Okta\",\"description\":\"Set up Okta for SCIM provisioning with Portkey.\",\"href\":\"/product/enterprise-offering/org-management/scim/okta\"}]},{\"group\":\"Directory Sync\",\"pages\":[{\"title\":\"CIE Directory Sync\",\"description\":\"Sync users and groups from Palo Alto Networks Cloud Identity Engine (CIE) into SCM's AI Gateway for automated workspace provisioning.\",\"href\":\"/product/enterprise-offering/org-management/directory-sync/cie-directory-sync\"}]},{\"title\":\"SSO\",\"description\":\"SSO support for enterprises\",\"href\":\"/product/enterprise-offering/org-management/sso\"}]}
341,{\"title\":\"Access Control Management\",\"description\":\"With customizable user roles, API key management, and comprehensive audit logs, Portkey provides the flexibility and control needed to ensure secure collaboration \u0026 maintain a strong security posture\",\"href\":\"/product/enterprise-offering/access-control-management\"},{\"title\":\"Budget Limits\",\"url\":\"/product/model-catalog/integrations#3-budget-%26-rate-limits\",\"description\":null,\"href\":\"/product/enterprise-offering/budget-limits\"},{\"title\":\"Security @ Portkey\",\"description\":\"Portkey AI provides a secure, reliable AI gateway for the seamless integration and management of large language models (LLMs).\",\"href\":\"/product/enterprise-offering/security-portkey\"},{\"group\":\"OpenTelemetry(OTel)\",\"pages\":[{\"title\":\"OpenTelemetry(OTel) Export\",\"sidebarTitle\":\"OTel Export\",\"description\":\"Export Portkey data to OpenTelemetry compatible endpoints for external observability\",\"href\":\"/product/enterprise-offering/otel/otel\"},{\"title\":\"Analytics Export\",\"sidebarTitle\":\"Analytics\",\"description\":\"Export Portkey analytics data to OpenTelemetry-compatible collectors for centralized observability\",\"href\":\"/product/enterprise-offering/otel/analytics\"},{\"title\":\"Complete Logs Export\",\"sidebarTitle\":\"Complete Logs\",\"description\":\"Export complete LLM request/response logs to OpenTelemetry endpoints following GenAI semantic conventions\",\"href\":\"/product/enterprise-offering/otel/complete-logs\"}]},{\"title\":\"Logs Export\",\"url\":\"/product/observability/logs-export\",\"description\":null,\"href\":\"/product/enterprise-offering/logs-export\"},{\"title\":\"Audit Logs\",\"description\":\"Track and monitor all administrative activities across your Portkey organization with comprehensive audit logging.\",\"href\":\"/product/enterprise-offering/audit-logs\"},{\"title\":\"Usage \u0026 Rate Limit Policies\",\"description\":\"Create fine-grained controls over API usage and rate limits at the workspace level\",\"href\":\"/product/enterprise-offering/budget-policies\"},{\"title\":\"Enterprise Components\",\"description\":null,\"href\":\"/product/enterprise-offering/components\"},{\"title\":\"KMS Integration\",\"description\":\"Customers can bring their own encryption keys to Portkey AI to encrypt data at storage.\",\"href\":\"/product/enterprise-offering/kms\"},{\"title\":\"Secret References\",\"description\":\"Reference secrets stored in external secret managers like AWS Secrets Manager, Azure Key Vault, and HashiCorp Vault instead of storing them directly in Portkey.\",\"href\":\"/product/enterprise-offering/secret-references\"}]},{\"title\":\"Open Source\",\"description\":null,\"href\":\"/product/open-source\"},{\"title\":\"Feature Comparison\",\"description\":\"Comparing Portkey's Open-source version and Dev, Pro, Enterprise plans.\",\"href\":\"/product/product-feature-comparison\"}]},{\"group\":\"Self-Hosting\",\"icon\":\"server\",\"pages\":[{\"group\":\"Hybrid Deployments\",\"pages\":[{\"title\":\"Enterprise Architecture\",\"sidebarTitle\":\"Architecture\",\"description\":\"Comprehensive guide to Portkey's hybrid deployment architecture for enterprises\",\"href\":\"/self-hosting/hybrid-deployments/architecture\"},{\"title\":\"SCM Deployment Mode Architecture\",\"sidebarTitle\":\"SCM Architecture\",\"description\":\"Architecture guide for Portkey deployed in SCM (Palo Alto Networks Strata Cloud Manager) mode — covering the two-plane model, component roles, identity flow, and how data is distributed across the system.\",\"href\":\"/self-hosting/hybrid-deployments/scm-architecture\"},{\"title\":\"Gateway Registration\",\"sidebarTitle\":\"Gateway Registration\",\"description\":\"Register your self-hosted AI Gateway with the Portkey Control Plane to enable configuration sync, analytics, and workspace access control.\",\"href\":\"/self-hosting/hybrid-deployments/gateway-registration\"},{\"group\":\"AWS\",\"pages\":[{\"title\":\"EKS\",\"description\":\"This enterprise-focused document provides comprehensive instructions for deploying the Portkey software in a hybrid mode on Amazon EKS clusters, designed to meet the needs of large-scale, mission-critical applications. It includes specific recommendations for c
341omponent sizing, high availability, and integration with monitoring systems.\",\"href\":\"/self-hosting/hybrid-deployments/aws/eks\"},{\"title\":\"ECS\",\"description\":\"This enterprise-focused document provides comprehensive instructions for deploying the Portkey software on Amazon Elastic Container Service (ECS), tailored to meet the needs of large-scale, mission-critical applications. It includes specific recommendations for component sizing, high availability, and integration with monitoring systems.\",\"href\":\"/self-hosting/hybrid-deployments/aws/ecs\"},{\"title\":\"AWS Marketplace\",\"description\":\"This enterprise-focused document provides comprehensive instructions for deploying the Portkey software using AWS Marketplace.\",\"href\":\"/self-hosting/hybrid-deployments/aws/marketplace\"}]},{\"group\":\"Azure\",\"pages\":[{\"title\":\"AKS\",\"description\":\"This enterprise-focused document provides comprehensive instructions for deploying the Portkey software on Azure Kubernetes Service (AKS), tailored to meet the needs of large-scale, mission-critical applications. It includes specific recommendations for component sizing, high availability, and integration with monitoring systems.\",\"href\":\"/self-hosting/hybrid-deployments/azure/aks\"},{\"title\":\"ACA\",\"description\":\"This enterprise-focused document provides comprehensive instructions for deploying the Portkey software on Azure Container Apps (ACA), tailored to meet the needs of large-scale, mission-critical applications. It includes specific recommendations for component sizing, high availability, and integration with monitoring systems.\",\"href\":\"/self-hosting/hybrid-deployments/azure/aca\"}]},{\"title\":\"GCP\",\"description\":\"This enterprise-focused document provides comprehensive instructions for deploying the Portkey software in a hybrid mode on Google Kubernetes Engine clusters, designed to meet the needs of large-scale, mission-critical applications. It includes specific recommendations for component sizing, high availability, and integration with monitoring systems.\",\"href\":\"/self-hosting/hybrid-deployments/gcp\"}]},{\"title\":\"Cache Behavior\",\"sidebarTitle\":\"Cache Behavior\",\"description\":\"How the Gateway cache works: population, TTL, sync, resync, and cache invalidation and refresh.\",\"href\":\"/self-hosting/cache-behavior\"},{\"title\":\"Prometheus Metrics\",\"description\":\"Comprehensive monitoring and observability for Portkey Enterprise Gateway through Prometheus metrics\",\"href\":\"/self-hosting/prometheus-metrics\"},{\"title\":\"FIPS-Compliant Images\",\"description\":\"FIPS 140-3 compliant container images for the Portkey Enterprise Gateway and Data Service\",\"href\":\"/self-hosting/fips-compliant-images\"},{\"group\":\"Air-Gapped Deployments (Legacy)\",\"pages\":[{\"title\":\"Model Pricing for Air-Gapped Deployments\",\"sidebarTitle\":\"Model Pricing (Air-Gapped)\",\"description\":\"Configure model pricing and capabilities data for fully air-gapped Portkey deployments. Legacy — air-gapped is no longer offered for new deployments.\",\"href\":\"/self-hosting/airgapped/model-pricing\"}]}]},{\"group\":\"Support\",\"icon\":\"life-ring\",\"pages\":[{\"title\":\"Upgrade to Model Catalog\",\"description\":\"Learn how to upgrade to Model Catalog to replace Virtual Keys\",\"tag\":\"New\",\"href\":\"/support/upgrade-to-model-catalog\"},{\"title\":\"How to Contribute\",\"description\":null,\"href\":\"/README\"},{\"title\":\"Contact Us\",\"description\":null,\"href\":\"/support/contact-us\"},{\"title\":\"Developer Forum\",\"description\":\"Are you navigating the challenging journey of transitioning LLMs from prototype stages to full-scale production? You're not alone. As this frontier of technology continues to expand, the roadmap isn't always clear. Best practices, guidelines, and efficient methodologies are still on the horizon.\",\"href\":\"/support/developer-forum\"},{\"title\":\"Common Errors \u0026 Resolutions\",\"description\":\"Since Portkey functions as a gateway - you may encounter Portkey-related, as well as non-Portkey related errors while using our services.\",\"href\":\"/support/common-errors-and-resolutions\"},{\"title\":\"December '23 Migration\",\"description\":null,\"href\":\"/support/portkeys-december-migration\"}]}]},{\"tab\":\"Integrations\",\"pages\":[{\"title\":\"Integrations\",\"href\":\"/integrations/ecosystem\"}]},{\"tab\":\"Gateway APIs\",\"pages\":[{\"title\":\"Gateway APIs\",\"href\":\"/api-reference/inference-api/introduction\"}]},{\"tab\":\"Admin APIs\",\"pages\":[{\"title\":\"Admin APIs\",\"href\":\"/api-reference/admin-api/introduction\"}]},{\"tab\":\"Cookbooks\",\"pages\":[{\"title\":\"Cookbooks\",\"href\":\"/guides/use-cases/run-batch-evals\"}]},{\"tab\":\"Changelog\",\"pages\":[{\"title\":\"Changelog\",\"href\":\"/changelog/2026/march\"}]},{\"tab\":\"Help Center\",\"pages\":[{\"title\":\"Help Center\",\"href\":\"/help-center/you-do-not-have-enough-
341permissions\"}]}]},{\"version\":\"Prisma AIRS\",\"pages\":[{\"title\":\"Prisma AIRS\",\"href\":\"/aigw/product/guardrails/pii-redaction\"}]},{\"version\":\"Virtual Keys (Deprecated)\",\"pages\":[{\"title\":\"Virtual Keys (Deprecated)\",\"href\":\"/virtual_key_old/product/guardrails/pii-redaction\"}]}]},\"maps\":{\"firstHrefInVersion\":{\"Latest\":{\"href\":\"/product/guardrails/pii-redaction\",\"matchLevel\":0},\"Prisma AIRS\":{\"href\":\"/aigw/product/guardrails/pii-redaction\",\"matchLevel\":1},\"Virtual Keys (Deprecated)\":{\"href\":\"/virtual_key_old/product/guardrails/pii-redaction\",\"matchLevel\":1}},\"firstHrefInLanguage\":{}},\"children\":\"$L4a\"}]\n"])</script>
341<script>self.__next_f.push([1,"4b:I[763509,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e8ae17d17545aec9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/68d6e5104243ae2b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1274e7453c808eec.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a95b6b45d1dc4487.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/65712ea96ab292b5.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/935cd929aff6bb51.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e07381c7469ca6d6.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"ThemeLayout\"]\n"])</script>
341<script>self.__next_f.push([1,"4c:I[91557,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e8ae17d17545aec9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/68d6e5104243ae2b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1274e7453c808eec.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a95b6b45d1dc4487.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/65712ea96ab292b5.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/935cd929aff6bb51.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e07381c7469ca6d6.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"ApiReferenceProvider\"]\n"])</script>
341<script>self.__next_f.push([1,"4d:I[114793,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e8ae17d17545aec9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/68d6e5104243ae2b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1274e7453c808eec.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a95b6b45d1dc4487.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/65712ea96ab292b5.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/935cd929aff6bb51.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e07381c7469ca6d6.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"PageProvider\"]\n"])</script>
341<script>self.__next_f.push([1,"4e:I[91557,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e8ae17d17545aec9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/68d6e5104243ae2b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1274e7453c808eec.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a95b6b45d1dc4487.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/65712ea96ab292b5.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/935cd929aff6bb51.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e07381c7469ca6d6.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"OpenApiProvider\"]\n"])</script>
341<script>self.__next_f.push([1,"4f:I[525343,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e8ae17d17545aec9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/68d6e5104243ae2b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1274e7453c808eec.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a95b6b45d1dc4487.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/65712ea96ab292b5.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/935cd929aff6bb51.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e07381c7469ca6d6.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"TabSyncContextProvider\"]\n"])</script>
341<script>self.__next_f.push([1,"50:T859,"])</script>
341<script>self.__next_f.push([1,"{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.portkey.ai/#organization\",\"name\":\"Portkey (Prisma AIRS AI Gateway) Docs\",\"url\":\"https://docs.portkey.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/portkey-docs/tHk-hgNjLbEj4dhh/images/portkey-PANW-company-logo-positive.png?fit=max\u0026auto=format\u0026n=tHk-hgNjLbEj4dhh\u0026q=85\u0026s=c5fb09014ff79616583b1d3bffe27450\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.portkey.ai/docs#website\",\"name\":\"Portkey (Prisma AIRS AI Gateway) Docs\",\"url\":\"https://docs.portkey.ai/docs\",\"publisher\":{\"@id\":\"https://docs.portkey.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.portkey.ai/docs/product/guardrails/pii-redaction#webpage\",\"url\":\"https://docs.portkey.ai/docs/product/guardrails/pii-redaction\",\"name\":\"PII Redaction\",\"description\":\"Replace any sensitive data in requests with standard identifiers\",\"dateModified\":\"2026-09-22T14:59:55.000Z\",\"isPartOf\":{\"@id\":\"https://docs.portkey.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://docs.portkey.ai/docs/product/guardrails/pii-redaction#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.portkey.ai/docs/product/guardrails/pii-redaction#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Product\",\"item\":\"https://docs.portkey.ai/docs/product/observability\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Guardrails\",\"item\":\"https://docs.portkey.ai/docs/product/guardrails\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"PII Redaction\",\"item\":\"https://docs.portkey.ai/docs/product/guardrails/pii-redaction\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.portkey.ai/docs/product/guardrails/pii-redaction#article\",\"headline\":\"PII Redaction\",\"name\":\"PII Redaction\",\"description\":\"Replace any sensitive data in requests with standard identifiers\",\"url\":\"https://docs.portkey.ai/docs/product/guardrails/pii-redaction\",\"mainEntityOfPage\":{\"@id\":\"https://docs.portkey.ai/docs/product/guardrails/pii-redaction#webpage\"},\"dateModified\":\"2026-09-22T14:59:55.000Z\",\"publisher\":{\"@id\":\"https://docs.portkey.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.portkey.ai/docs#website\"}}]}"])</script>
341<script>self.__next_f.push([1,"4a:[\"$\",\"$L4b\",null,{\"theme\":\"mint\",\"pageMetadata\":{\"title\":\"PII Redaction\",\"description\":\"Replace any sensitive data in requests with standard identifiers\",\"href\":\"/product/guardrails/pii-redaction\"},\"children\":[\"$\",\"$L4c\",null,{\"value\":{\"apiReferenceData\":{},\"graphqlReferenceData\":\"$undefined\"},\"children\":[\"$\",\"$L4d\",null,{\"value\":{\"pageMetadata\":\"$4a:props:pageMetadata\",\"lastModified\":\"2026-09-22T15:02:44.437Z\",\"gitLastModified\":\"2026-09-22T14:59:55.000Z\",\"originalFileLocation\":\"product/guardrails/pii-redaction.mdx\",\"description\":{\"compiledSource\":\"\\\"use strict\\\";\\nconst {jsx: _jsx} = arguments[0];\\nconst {useMDXComponents: _provideComponents} = arguments[0];\\nfunction _createMdxContent(props) {\\n  const _components = {\\n    p: \\\"p\\\",\\n    ..._provideComponents(),\\n    ...props.components\\n  };\\n  return _jsx(_components.p, {\\n    children: \\\"Replace any sensitive data in requests with standard identifiers\\\"\\n  });\\n}\\nfunction MDXContent(props = {}) {\\n  const {wrapper: MDXLayout} = {\\n    ..._provideComponents(),\\n    ...props.components\\n  };\\n  return MDXLayout ? _jsx(MDXLayout, {\\n    ...props,\\n    children: _jsx(_createMdxContent, {\\n      ...props\\n    })\\n  }) : _createMdxContent(props);\\n}\\nreturn {\\n  default: MDXContent\\n};\\n\",\"frontmatter\":{},\"scope\":{}},\"mdxExtracts\":{\"tableOfContents\":[{\"title\":\"Enabling PII Redaction\",\"slug\":\"enabling-pii-redaction\",\"depth\":2,\"children\":[]},{\"title\":\"Guardrails Support\",\"slug\":\"guardrails-support\",\"depth\":2,\"children\":[]},{\"title\":\"Custom PII Redaction with Regex\",\"slug\":\"custom-pii-redaction-with-regex\",\"depth\":2,\"children\":[{\"title\":\"Setting Up Custom PII Patterns\",\"slug\":\"setting-up-custom-pii-patterns\",\"depth\":3,\"children\":[]},{\"title\":\"Common Regex Patterns for PII\",\"slug\":\"common-regex-patterns-for-pii\",\"depth\":3,\"children\":[]},{\"title\":\"Adding to Your Config\",\"slug\":\"adding-to-your-config\",\"depth\":3,\"children\":[]},{\"title\":\"Example Implementation\",\"slug\":\"example-implementation\",\"depth\":3,\"children\":[]}]},{\"title\":\"How It Works\",\"slug\":\"how-it-works\",\"depth\":2,\"children\":[]},{\"title\":\"Monitoring PII Redaction\",\"slug\":\"monitoring-pii-redaction\",\"depth\":2,\"children\":[]},{\"title\":\"Best Practices\",\"slug\":\"best-practices\",\"depth\":2,\"children\":[]},{\"title\":\"Security Considerations\",\"slug\":\"security-considerations\",\"depth\":2,\"children\":[]},{\"title\":\"Limitations\",\"slug\":\"limitations\",\"depth\":2,\"children\":[]},{\"title\":\"Troubleshooting\",\"slug\":\"troubleshooting\",\"depth\":2,\"children\":[]},{\"title\":\"FAQs\",\"slug\":\"faqs\",\"depth\":2,\"children\":[]}],\"codeExamples\":{}},\"pageType\":\"$undefined\",\"panelMdxSource\":\"$undefined\",\"panelMdxSourceWithNoJs\":\"$undefined\",\"contextualStarterQuestions\":[{\"_id\":\"6ab298b1dcdeb299e2538787\",\"deploymentId\":\"67086365a151447bf2fa5021\",\"questionText\":\"Which guardrails support redaction?\",\"status\":\"active\",\"generatedBy\":\"contextual\",\"path\":\"product/guardrails/pii-redaction\",\"createdAt\":\"2026-09-22T15:03:13.513Z\",\"updatedAt\":\"2026-09-22T15:03:13.513Z\",\"__v\":0},{\"_id\":\"6ab298b1dcdeb299e2538786\",\"deploymentId\":\"67086365a151447bf2fa5021\",\"questionText\":\"What data types get redacted?\",\"status\":\"active\",\"generatedBy\":\"contextual\",\"path\":\"product/guardrails/pii-redaction\",\"createdAt\":\"2026-09-22T15:03:13.513Z\",\"updatedAt\":\"2026-09-22T15:03:13.513Z\",\"__v\":0},{\"_id\":\"6ab298b1dcdeb299e2538785\",\"deploymentId\":\"67086365a151447bf2fa5021\",\"questionText\":\"How do I enable PII redaction?\",\"status\":\"active\",\"generatedBy\":\"contextual\",\"path\":\"product/guardrails/pii-redaction\",\"createdAt\":\"2026-09-22T15:03:13.513Z\",\"updatedAt\":\"2026-09-22T15:03:13.513Z\",\"__v\":0}],\"relatedPages\":\"$undefined\",\"relatedPagesConfig\":{\"enabled\":true,\"limit\":5,\"mode\":\"automatic\"},\"narration\":\"$undefined\"},\"children\":[\"$\",\"$L4e\",null,{\"pageMetadata\":\"$4a:props:pageMetadata\",\"mdxExtracts\":\"$4a:props:children:props:children:props:value:mdxExtracts\",\"o
341penApiReferenceData\":\"$undefined\",\"children\":[\"$\",\"$L4f\",null,{\"children\":[[\"$\",\"script\",null,{\"type\":\"application/ld+json\",\"dangerouslySetInnerHTML\":{\"__html\":\"$50\"}}],\"$L51\",\"$L52\",\"$L53\",\"$L54\",\"$L55\"]}]}]}]}]}]\n"])</script>
341<script>self.__next_f.push([1,"56:I[228341,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e8ae17d17545aec9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/68d6e5104243ae2b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1274e7453c808eec.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a95b6b45d1dc4487.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/65712ea96ab292b5.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/935cd929aff6bb51.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e07381c7469ca6d6.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"PageModeUpdater\"]\n"])</script>
341<script>self.__next_f.push([1,"57:I[575126,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e8ae17d17545aec9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/68d6e5104243ae2b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1274e7453c808eec.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a95b6b45d1dc4487.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/65712ea96ab292b5.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/935cd929aff6bb51.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e07381c7469ca6d6.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"Background\"]\n"])</script>
341<script>self.__next_f.push([1,"58:I[36098,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e8ae17d17545aec9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/68d6e5104243ae2b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1274e7453c808eec.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a95b6b45d1dc4487.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/65712ea96ab292b5.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/935cd929aff6bb51.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e07381c7469ca6d6.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"CustomJsFiles\"]\n"])</script>
341<script>self.__next_f.push([1,"59:I[530359,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e8ae17d17545aec9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/68d6e5104243ae2b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1274e7453c808eec.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a95b6b45d1dc4487.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/65712ea96ab292b5.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/935cd929aff6bb51.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e07381c7469ca6d6.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"MDXContentController\"]\n"])</script>
341<script>self.__next_f.push([1,"5a:I[448287,[\"/docs/_next/static/chunks/607c8643ad3fc16c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1e7a188add93a653.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/49ec756ea5dc1771.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/62e03230a454b6d4.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/f38c09491143b60c.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/341920269e4c6c75.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8fe1f631250d4b0d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a8953c1fadd78cbd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/20dfaa13faa8c5a9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e9bc023ffbf81d27.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c9b24fe9cec085bd.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/042fe625554e7ece.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/d9038181f2c2898b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/8e9da56019900654.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/ecb1fa404af43177.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/91103844efdcdc17.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/cd6317586aadc353.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/7c2905a36f70970d.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/c8a3deaa7335de64.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/300027ac55b30858.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/dc8a02ec19451792.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e8ae17d17545aec9.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/68d6e5104243ae2b.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/1274e7453c808eec.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/a95b6b45d1dc4487.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/65712ea96ab292b5.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/935cd929aff6bb51.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\",\"/docs/_next/static/chunks/e07381c7469ca6d6.js?dpl=dpl_44yfLsveaXsAai6bivrio3WJqiuM\"],\"default\"]\n"])</script>
341<script>self.__next_f.push([1,"51:[[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"document.documentElement.setAttribute('data-page-mode', \\\"none\\\");\"}}],[\"$\",\"$L56\",null,{\"pageMetadata\":\"$4a:props:pageMetadata\"}]]\n52:[\"$\",\"$L57\",null,{\"pageMetadata\":\"$4a:props:pageMetadata\"}]\n53:[[\"$\",\"style\",\"0\",{\"data-custom-css-index\":0,\"data-custom-css-path\":\"style.css\",\"dangerouslySetInnerHTML\":{\"__html\":\"#banner {\\n  background: linear-gradient(90deg, #0d1b2e 0%, #1a1040 40%, #2d0f22 100%);\\n  border-bottom: 1px solid rgba(255, 255, 255, 0.08);\\n}\\n\\n#banner a {\\n  color: #f0f0f0;\\n  text-decoration: none;\\n  font-weight: 600;\\n  border-bottom: 1px solid rgba(240, 240, 240, 0.5);\\n  padding-bottom: 1px;\\n  transition: border-color 0.2s ease;\\n}\\n\\n#banner a:hover {\\n  border-bottom-color: #ffffff;\\n}\"}}]]\n54:[\"$\",\"$L58\",null,{\"customJsDisabled\":false,\"jsFiles\":[]}]\n5b:T800b,"])</script>
341<script>self.__next_f.push([1,"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CardGroup,CodeBlock,Frame,Heading,Note,OptimizedImage,Tab,Tabs}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Advanced PII Redaction feature automatically detects and redacts sensitive information from requests before they reach the LLM. This feature works seamlessly with our entire guardrails ecosystem, providing an additional layer of security for your AI interactions.`}),`\n`,_jsx(Heading,{level:`2`,id:`enabling-pii-redaction`,children:`Enabling PII Redaction`}),`\n`,_jsxs(_components.p,{children:[`On the Guardrail creation page, for select PII guardrails, you will see a `,_jsx(_components.strong,{children:`Redact PII`}),` toggle. Just enable it to start redacting PII in your requests.`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/portkey-docs/VWP2Y8zxPP5N4jE6/images/product/Guardrails/pii-redaction.png?fit=max\u0026auto=format\u0026n=VWP2Y8zxPP5N4jE6\u0026q=85\u0026s=719a6b5ef96f6f4809163bc75ae4edb0`,\"data-og-width\":`1108`,width:`1108`,\"data-og-height\":`604`,height:`604`,\"data-path\":`images/product/Guardrails/pii-redaction.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/portkey-docs/VWP2Y8zxPP5N4jE6/images/product/Guardrails/pii-redaction.png?w=280\u0026fit=max\u0026auto=format\u0026n=VWP2Y8zxPP5N4jE6\u0026q=85\u0026s=7d0d0fd6066ccbc4a93b7f0712e305c9 280w, https://mintcdn.com/portkey-docs/VWP2Y8zxPP5N4jE6/images/product/Guardrails/pii-redaction.png?w=560\u0026fit=max\u0026auto=format\u0026n=VWP2Y8zxPP5N4jE6\u0026q=85\u0026s=e3e8c966591aaf2e681ca9faabb85d0a 560w, https://mintcdn.com/portkey-docs/VWP2Y8zxPP5N4jE6/images/product/Guardrails/pii-redaction.png?w=840\u0026fit=max\u0026auto=format\u0026n=VWP2Y8zxPP5N4jE6\u0026q=85\u0026s=6ff91a9bd6e50e770ced227599b0c962 840w, https://mintcdn.com/portkey-docs/VWP2Y8zxPP5N4jE6/images/product/Guardrails/pii-redaction.png?w=1100\u0026fit=max\u0026auto=format\u0026n=VWP2Y8zxPP5N4jE6\u0026q=85\u0026s=b5b962687498f3579480d5e31c0163f5 1100w, https://mintcdn.com/portkey-docs/VWP2Y8zxPP5N4jE6/images/product/Guardrails/pii-redaction.png?w=1650\u0026fit=max\u0026auto=format\u0026n=VWP2Y8zxPP5N4jE6\u0026q=85\u0026s=5b3cb5f359c72e2e87e001d784935c63 1650w, https://mintcdn.com/portkey-docs/VWP2Y8zxPP5N4jE6/images/product/Guardrails/pii-redaction.png?w=2500\u0026fit=max\u0026auto=format\u0026n=VWP2Y8zxPP5N4jE6\u0026q=85\u0026s=bf52e968641cdc047f92ab5642b9a450 2500w`})}),`\n`,_jsx(Heading,{level:`2`,id:`guardrails-support`,children:`Guardrails Support`}),`\n`,_jsx(_components.p,{children:`PII redaction is supported across 5 guardrail providers:`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Portkey Pro PII`,children:_jsxs(_components.p,{children:[`Redact `,_jsx(_components.code,{children:`Phone number`}),`, `,_jsx(_components.code,{children:`Email addresses`}),`, `,_jsx(_components.code,{children:`Location information`}),`, `,_jsx(_components.code,{children:`IP addresses`}),`, `,_jsx(_components.code,{children:`Social Security Numbers (SSN)`}
341),`, `,_jsx(_components.code,{children:`Names`}),`, `,_jsx(_components.code,{children:`Credit card information`}),` from requests`]})}),_jsx(Card,{title:`Patronus AI`,href:`/product/guardrails/patronus-ai`,children:_jsx(_components.p,{children:`Based on Patronus’s EnterprisePII dataset, this guardrail can detect and redact confidential information typically found in business documents like meeting notes, commercial contracts, marketing emails, performance reviews, and more`})}),_jsx(Card,{title:`Pangea`,href:`/integrations/guardrails/pangea`,children:_jsx(_components.p,{children:`Pangea’s redact feature can redact PII like geographic locations, payment card industry (PCI) data, and many other types of sensitive information, with support for rule customization`})}),_jsx(Card,{title:`AWS Bedrock Guardrails`,children:_jsx(_components.p,{children:`You can select from a list of predefined PII or define a custom sensitive-information type using regular expressions (RegEx) and redact PII.`})}),_jsx(Card,{title:`Promptfoo`,children:_jsx(_components.p,{children:`Promptfoo helps detect multiple PII exposures - in session data, via social engineering, or a direct exposure.`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`custom-pii-redaction-with-regex`,children:`Custom PII Redaction with Regex`}),`\n`,_jsxs(_components.p,{children:[`For more granular control over PII redaction, you can create custom patterns using Portkey’s `,_jsx(_components.strong,{children:`Regex Match`}),` guardrail with redaction capabilities. This allows you to define specific patterns for sensitive information unique to your use case.`]}),`\n`,_jsx(Heading,{level:`3`,id:`setting-up-custom-pii-patterns`,children:`Setting Up Custom PII Patterns`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/portkey-docs/QKXLB-54q6gEhIad/images/guardrails/regex.png?fit=max\u0026auto=format\u0026n=QKXLB-54q6gEhIad\u0026q=85\u0026s=5557c90d78352ee9295bf1e18030fd92`,\"data-og-width\":`1078`,width:`1078`,\"data-og-height\":`484`,height:`484`,\"data-path\":`images/guardrails/regex.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/portkey-docs/QKXLB-54q6gEhIad/images/guardrails/regex.png?w=280\u0026fit=max\u0026auto=format\u0026n=QKXLB-54q6gEhIad\u0026q=85\u0026s=826608436c3eeabe7acc9dd73602a9be 280w, https://mintcdn.com/portkey-docs/QKXLB-54q6gEhIad/images/guardrails/regex.png?w=560\u0026fit=max\u0026auto=format\u0026n=QKXLB-54q6gEhIad\u0026q=85\u0026s=a185d66e2894e514ea6bc7ec185ac8ab 560w, https://mintcdn.com/portkey-docs/QKXLB-54q6gEhIad/images/guardrails/regex.png?w=840\u0026fit=max\u0026auto=format\u0026n=QKXLB-54q6gEhIad\u0026q=85\u0026s=61f398410f5ed1594b43a2233af3faf5 840w, https://mintcdn.com/portkey-docs/QKXLB-54q6gEhIad/images/guardrails/regex.png?w=1100\u0026fit=max\u0026auto=format\u0026n=QKXLB-54q6gEhIad\u0026q=85\u0026s=d3828de0c650b473fce5e5777a004385 1100w, https://mintcdn.com/portkey-docs/QKXLB-54q6gEhIad/images/guardrails/regex.png?w=1650\u0026fit=max\u0026auto=format\u0026n=QKXLB-54q6gEhIad\u0026q=85\u0026s=dd9f5a56065f2235d27192ad3699d168 1650w, https://mintcdn.com/portkey-docs/QKXLB-54q6gEhIad/images/guardrails/regex.png?w=2500\u0026fit=max\u0026auto=format\u0026n=QKXLB-54q6gEhIad\u0026q=85\u0026s=9af16702c9e511ab2e2e4ba076471d3d 2500w`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`N
341avigate to Guardrails`}),`: Go to the `,_jsx(_components.code,{children:`Guardrails`}),` page and click `,_jsx(_components.code,{children:`Create`})]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Select Regex Match`}),`: Choose the “Regex Match” guardrail from the BASIC category`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Configure the Pattern`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Regex Rule`}),`: Enter your regex pattern to match specific PII (e.g., `,_jsx(_components.code,{children:`\\\\b\\\\d{3}-\\\\d{2}-\\\\d{4}\\\\b`}),` for SSN patterns)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Replacement Text`}),`: Define what to replace matches with (e.g., `,_jsx(_components.code,{children:`[REDACTED]`}),`, `,_jsx(_components.code,{children:`*****`}),`, `,_jsx(_components.code,{children:`[SSN_HIDDEN]`}),`)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Enable Redact`}),`: Toggle the “Redact” option to `,_jsx(_components.code,{children:`ON`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Inverse`}),`: Keep this `,_jsx(_components.code,{children:`OFF`}),` unless you want to redact everything except the pattern`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Save the Guardrail`}),`: Name your guardrail and save it to get the associated Guardrail ID`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`common-regex-patterns-for-pii`,children:`Common Regex Patterns for PII`}),`\n`,_jsx(CodeBlock,{numberOfLines:`8`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`| PII Type | Regex Pattern | Replacement Example |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|----------|---------------|-------------------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\"| Credit Card | `\\\\b\\\\d{4}[- ]?\\\\d{4}[- ]?\\\\d{4}[- ]?\\\\d{4}\\\\b` | `[CREDIT_CARD]` |\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\"| Social Security Number | `\\\\b\\\\d{3}-\\\\d{2}-\\\\d{4}\\\\b` | `[SSN_REDACTED]` |\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\"| Phone Numbers | `\\\\b\\\\d{3}[-.]\\\\d{3}[-.]\\\\d{4}\\\\b` | `[PHONE_HIDDEN]` |\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\"| Email Addresses | `\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b` | `[EMAIL_REDACTED]` |\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\"| Custom Employee IDs | `EMP-\\\\d{6}` | `[EMPLOYEE_ID]` |\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`adding-to-your-config`,children:`Adding to Your Config`}),`\n`,_jsx(_components.p,{children:`Once you’ve created your custom PII regex guardrail, add it to your Portkey config:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`  \"before_request_hooks\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`    {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-custom-pii-guardrail-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`  ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`  \"after_request_hooks\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`    {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-custom-pii-guardrail-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`  ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`You can add the same guardrail to both `,_jsx(_components.c
341ode,{children:`before_request_hooks`}),` (input guardrails) and `,_jsx(_components.code,{children:`after_request_hooks`}),` (output guardrails) to scan and redact PII in both user inputs and LLM responses.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`example-implementation`,children:`Example Implementation`}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`NodeJS`,id:`nodejs`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` portkey`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Portkey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`    apiKey:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"PORTKEY_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`    config:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"pc-***\"`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Config with custom PII redaction`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` portkey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`chat`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`completions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`create`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`    model:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@your-model-slug\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`    messages:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`        {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`            role:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"user\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`            content:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"My SSN is 123-45-6789 and credit card is 4532-1234-5678-9012\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`        }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`    ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})})}),_jsx(Tab,{title:`Python`,id:`python`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes g
341ithub-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`portkey `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Portkey(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`    api_key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PORTKEY_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`    config`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pc-***\"`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Config with custom PII redaction`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` portkey.chat.completions.create(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`    model`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"@your-model-slug\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`    messages`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`        {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`            \"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`            \"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"My SSN is 123-45-6789 and credit card is 4532-1234-5678-9012\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`        }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`    ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})})})]}),`\n`,_jsx(_components.p,{children:`With the custom regex guardrail configured, the input would be automatically transformed to:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes g
341ithub-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"My SSN is [SSN_REDACTED] and credit card is [CREDIT_CARD]\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`how-it-works`,children:`How It Works`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Detection`}),`: When enabled, the system scans incoming or outgoing requests for PII using the configured guardrail provider.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Redaction`}),`: Detected PII is automatically replaced with standardized identifiers:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Email addresses → `,_jsx(_components.code,{children:`{{EMAIL_ADDRESS_1}}`}),`, `,_jsx(_components.code,{children:`{{EMAIL_ADDRESS_2}}`}),`, etc.`]}),`\n`,_jsxs(_components.li,{children:[`Phone numbers → `,_jsx(_components.code,{children:`{{PHONE_NUMBER_1}}`}),`, `,_jsx(_components.code,{children:`{{PHONE_NUMBER_2}}`}),`, etc.`]}),`\n`,_jsx(_components.li,{children:`And similar patterns for other PII types`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Processing`}),`: The redacted request is then forwarded to the LLM, ensuring sensitive data never reaches the model.`]}),`\n`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Example:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Original Request:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"Hi, you can reach me at [email protected] or 555-0123\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Redacted Request:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"Hi, you can reach me at {{EMAIL_ADDRESS_1}} or {{PHONE_NUMBER_1}}\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`monitoring-pii-redaction`,children:`Monitoring PII Redaction`}),`\n`,_jsx(_components.p,{children:`You can track request transformations through two key indicators in the request/response body:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`transformed`}),` boolean flag: Indicates whether any redaction occurred`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`check_results`}),` object: Contains detailed information about specific transformations`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`best-practices`,children:`Best Practices`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Gradual Implementation`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Start by enabling the feature for a subset of requests`}),`\n`,_jsx(_components.li,{children:`Monitor the logs and transformation results`}),`\n`,_jsx(_components.li,{children:`Gradually expand coverage after validation`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Regular Monitoring`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Review transformation logs periodically`}),`\n`,_jsx(_components.li,{children:`Validate that sensitive information is being caught appropriately`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Documentation`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Maintain records of what types of PII you’re scanning for`}),`\n`,_jsx(_components.li,{children:`Document any specific compliance requirements being addressed`}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`security-considerations`,children:`Security Considerations`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Redaction is irreversible by design`}),`\n`,_jsx(_components.li,{children:`Original PII storage and handling varies by guardrail provider`}),`\n`,_jsx(_components.li,{children:`The feature can be applied to both input and output content`}),`\n`,_jsx(_components.li,{children:`Custom regex patterns should be carefully designed to avoid false positives`}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Compliance Implications`})}),`\n`,_jsx(_components.p,{children:`This feature can help organizations meet various compliance requirements by:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Preventing accidental exposure of sensitive data to LLMs`}),`\n`,_jsx(_components.li,{children:`Providing audit trails of PII handling`}),`\n`,_jsx(_components.li,{children:`Supporting data minimization principles`}),`\n`,_jsx(_components.li,{children:`Enabling systematic PII management across AI o
341perations`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`limitations`,children:`Limitations`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Redaction patterns are not customizable for pre-built guardrails (but can be customized using regex)`}),`\n`,_jsx(_components.li,{children:`Transformation is one-way (non-reversible)`}),`\n`,_jsx(_components.li,{children:`Performance may vary based on chosen guardrail provider`}),`\n`,_jsx(_components.li,{children:`Complex regex patterns may impact processing latency`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsx(_components.p,{children:`If you experience issues:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Verify the feature is enabled in your guardrails configuration`}),`\n`,_jsxs(_components.li,{children:[`Check the `,_jsx(_components.code,{children:`transformed`}),` flag and `,_jsx(_components.code,{children:`check_results`}),` for specific transformation details`]}),`\n`,_jsx(_components.li,{children:`Review logs for any error messages or unexpected behavior`}),`\n`,_jsx(_components.li,{children:`For custom regex patterns, validate the regex syntax and test with sample data`}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`https://support.portkey.ai/forms/customer-portal-ticket-form`,children:`Contact us`}),` for additional assistance`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`faqs`,children:`FAQs`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Can I customize the redaction patterns?`,id:`can-i-customize-the-redaction-patterns`,children:_jsx(_components.p,{children:`Currently, redaction patterns are standardized and not customizable.`})}),_jsx(Accordion,{title:`How does the system handle multiple instances of the same type of PII?`,id:`how-does-the-system-handle-multiple-instances-of-the-same-type-of-pii`,children:_jsxs(_components.p,{children:[`Each instance receives a numbered identifier (e.g., `,_jsx(_components.code,{children:`{{EMAIL_ADDRESS_1}}`}),`, `,_jsx(_components.code,{children:`{{EMAIL_ADDRESS_2}}`}),`, etc.).`]})}),_jsx(Accordion,{title:`Does this feature impact request latency?`,id:`does-this-feature-impact-request-latency`,children:_jsx(_components.p,{children:`Impact varies by guardrail provider and request complexity. Custom regex patterns with complex expressions may add   minimal latency.`})}),_jsx(Accordion,{title:`Can I use this feature with any LLM?`,id:`can-i-use-this-feature-with-any-llm`,children:_jsx(_components.p,{children:`Yes, the feature works with any LLM supported by Portkey.`})}),_jsx(Accordion,{title:`Does this feature work on both input and output?`,id:`does-this-feature-work-on-both-input-and-output`,children:_jsx(_components.p,{children:`Yes, you can configure the guardrail to scan both requests and responses.`})}),_jsx(Accordion,{title:`Can I combine multiple PII redaction methods?`,id:`can-i-combine-multiple-pii-redaction-methods`,children:_jsx(_components.p,{children:`Yes, you can use multiple guardrails in the same config to combine pre-built PII detection with custom regex patterns.`})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Card,{title:`Portkey is now PRISMA AIRS AI Gateway. See it in action.`,href:`https://www.paloaltonetworks.in/ai-security/ai-gateway?utm_source=portkey\u0026utm_medium=referral\u0026utm_campaign=prisma_airs\u0026utm_content=docs_nav#contact`,icon:`arrow-up-right-from-square`,children:_jsx(_components.p,{children:`Contact Us`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}"])</script>
341<script>self.__next_f.push([1,"55:[\"$\",\"$L59\",null,{\"slug\":\"product/guardrails/pii-redaction\",\"pageMetadata\":\"$4a:props:pageMetadata\",\"theme\":\"mint\",\"children\":[\"$\",\"$L5a\",null,{\"mdxSource\":{\"compiledSource\":\"$5b\",\"frontmatter\":{},\"scope\":{\"codeStyling\":\"system\",\"config\":{},\"pageMetadata\":{\"title\":\"PII Redaction\",\"description\":\"Replace any sensitive data in requests with standard identifiers\",\"href\":\"/product/guardrails/pii-redaction\"}}},\"mdxSourceWithNoJs\":\"$undefined\",\"displayDomain\":\"docs.portkey.ai/docs\"}]}]\n"])</script>
341<script type="module" src="https://static.cloudflareinsights.com/beacon.min.js/v31edd6df95cf4e85bb4c19e7a9bdbcba1788362987495" integrity="sha512-iIg7k2xntmwu6/uSb5tpc/hySgZc4eoL31yB29W6tJFo2akwjPWcEqnCEdJvGexCL0KEQwVYv5BlowfhVz26hg==" data-cf-beacon='{"version":"2024.11.0","token":"d022fa714fd94287ab3b29613c1b8c53","spa":2}' crossorigin="anonymous"></script>
341
342</body></html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.