<!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="/mintlify-assets/_next/static/media/83afe278b6a6bb3c.p.3a6ba036.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/mintlify-assets/_next/static/media/PaperMono_Variable.p.590789cb.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/mintlify-assets/_next/static/media/f67ad414ed34149c.p.84166d94.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" as="image" href="https://mintcdn.com/pinecone/HsZKO51bNmpAasdT/logo/Pinecone-Full-Logo-Black.svg?fit=max&amp;auto=format&amp;n=HsZKO51bNmpAasdT&amp;q=85&amp;s=211d0e7bbefc29ce3b8feee1a05d76ee"/><link rel="preload" as="image" href="https://mintcdn.com/pinecone/HsZKO51bNmpAasdT/logo/Pinecone-Full-Logo-White.svg?fit=max&amp;auto=format&amp;n=HsZKO51bNmpAasdT&amp;q=85&amp;s=4839c7a50a8bee830e943705c648297c"/><link rel="stylesheet" href="/mintlify-assets/_next/static/chunks/a2c16a79b30ca688.css?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" data-precedence="next"/><link rel="stylesheet" href="/mintlify-assets/_next/static/chunks/ea2154a47c78cbbc.css?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" 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 href="/mintlify-assets/_next/static/chunks/dedd270bd273b9f1.css?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" rel="stylesheet" as="style" data-precedence="dynamic"/><link rel="preload" as="script" fetchPriority="low" href="/mintlify-assets/_next/static/chunks/6d55b684068fd47e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC"/><script src="/mintlify-assets/_next/static/chunks/44795504c795ca32.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/4033d616db1432bc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/f486afc314643ce1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/b9f518a3ab84f2cd.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/turbopack-f42d26e83ffa5b17.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/62b598eb471da2be.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/bac2220deeb7d947.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/739e981319ef76f2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><script src="/mintlify-assets/_next/static/chunks/bbe9a3c9a38b4577.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" async=""></script><link rel="preload" href="/mintlify-assets/_next/static/chunks/9076490debe7687b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" as="script" fetchPriority="low"/><link rel="preload" href="/mintlify-assets/_next/static/chunks/4224158070c03123.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" as="script" fetchPriority="low"/><link rel="preload" href="/mintlify-assets/_next/static/chunks/190e2d29d3b2239b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" as="script" fetchPriority="low"/><link rel="preload" href="/mintlify-assets/_next/static/chunks/8a5094daa124fc24.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" as="script" fetchPriority="low"/><link rel="preload" href="/mintlify-assets/_next/static/chunks/3c58d19c05d9ffd3.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" as="script" fetchPriority="low"/><link rel="preload" href="/mintlify-assets/_next/static/chunks/65b030b2a30b479e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" as="script" fetchPriority="low"/><link rel="preload" href="/mintlify-assets/_next/static/chunks/f5f88d2d3c96d7c2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" as="script" fetchPriority="low"/><link rel="preload" href="/mintlify-assets/_next/static/chunks/16042c5162e7da56.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" as="script" fetchPriority="low"/><link rel="preload" href="/mintlify-assets/_next/static/chunks/779220f92570b9ff.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" as="script" fetchPriority="low"/><link rel="preload" href="/mintlify-assets/_next/static/chunks/95e523dfc72ae385.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" as="script" fetchPriority="low"/><link rel="preload" href="/mintlify-assets/_next/static/chunks/e8d48ab4644ac7cb.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" as="script" fetchPriority="low"/><title>Create an index - Pinecone Docs</title><meta name="description" content="Create a Pinecone index. This is where you specify the measure of similarity, the dimension of vectors to be stored in the index, which cloud provider you would like to deploy with, and more. For guidance and examples, see Create an index."/><meta name="application-name" content="Pinecone Docs"/><meta name="generator" content="Mintlify"/><meta name="msapplication-config" content="/mintlify-assets/_mintlify/favicons/pinecone/JqxxUxUkDTnX7oN2/_generated/favicon/browserconfig.xml"/><meta name="apple-mobile-web-app-title" content="Pinecone Docs"/><meta name="msapplication-TileColor" content="#002BFF"/><meta name="google-site-verification" content="woTBImNAcYO-gseVfFKIzQrDRUmLWzFjBWrYbYkOTlI"/><link rel="canonical" href="https://docs.pinecone.io/reference/api/2025-04/control-plane/create_index"/><link rel="alternate" type="application/xml" href="/sitemap.xml"/><link rel="alternate" type="text/markdown" href="/reference/api/2025-04/control-plane/create_index.md"/><meta property="og:title" content="Create an index - Pinecone Docs"/><meta property="og:description" content="Create a Pinecone index. This is where you specify the measure of similarity, the dimension of vectors to be stored in the index, which cloud provider you would like to deploy with, and more. For guidance and examples, see Create an index."/><meta property="og:url" content="https://docs.pinecone.io/reference/api/2025-04/control-plane/create_index"/><meta property="og:site_name" content="Pinecone Docs"/><meta property="og:image" content="https://www.pinecone.io/images/docs_og_image_v2.png"/><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="The vector database to build knowledgeable AI | Pinecone"/><meta name="twitter:description" content="Search through billions of items for similar matches to any object, in milliseconds. It&#x27;s the next generation of search, an API call away."/><meta name="twitter:image" content="https://www.pinecone.io/images/docs_og_image_v2.png"/><meta name="twitter:image:width" content="1200"/><meta name="twitter:image:height" content="630"/><link rel="icon" href="/mintlify-assets/_mintlify/favicons/pinecone/JqxxUxUkDTnX7oN2/_generated/favicon/android-chrome-192x192.png" type="image/png" sizes="192x192" media="(prefers-color-scheme: light)"/><link rel="apple-touch-icon" href="/mintlify-assets/_mintlify/favicons/pinecone/JqxxUxUkDTnX7oN2/_generated/favicon/apple-touch-icon.png" type="image/png" sizes="180x180"/><link rel="icon" href="/mintlify-assets/_mintlify/favicons/pinecone/JqxxUxUkDTnX7oN2/_generated/favicon/favicon-16x16.png" type="image/png" sizes="16x16" media="(prefers-color-scheme: light)"/><link rel="icon" href="/mintlify-assets/_mintlify/favicons/pinecone/JqxxUxUkDTnX7oN2/_generated/favicon/favicon-32x32.png" type="image/png" sizes="32x32" media="(prefers-color-scheme: light)"/><link rel="shortcut icon" href="/mintlify-assets/_mintlify/favicons/pinecone/JqxxUxUkDTnX7oN2/_generated/favicon/favicon.ico" type="image/x-icon" media="(prefers-color-scheme: light)"/><link rel="icon" href="/mintlify-assets/_mintlify/favicons/pinecone/JqxxUxUkDTnX7oN2/_generated/favicon-dark/android-chrome-192x192.png" type="image/png" sizes="192x192" media="(prefers-color-scheme: dark)"/><link rel="icon" href="/mintlify-assets/_mintlify/favicons/pinecone/JqxxUxUkDTnX7oN2/_generated/favicon-dark/favicon-16x16.png" type="image/png" sizes="16x16" media="(prefers-color-scheme: dark)"/><link rel="icon" href="/mintlify-assets/_mintlify/favicons/pinecone/JqxxUxUkDTnX7oN2/_generated/favicon-dark/favicon-32x32.png" type="image/png" sizes="32x32" media="(prefers-color-scheme: dark)"/><link rel="shortcut icon" href="/mintlify-assets/_mintlify/favicons/pinecone/JqxxUxUkDTnX7oN2/_generated/favicon-dark/favicon.ico" type="image/x-icon" media="(prefers-color-scheme: dark)"/><script type="text/javascript">!function(){var b="";
function a(p){if(p==null)return"/";p=""+p;if(""===p)return"/";return"/"===p.charAt(0)?p:"/"+p}
function u(p){if(p==null)return p;p=""+p;if(!p||p.charAt(p.length-1)==="/")return p.slice(0,-1);return p}
function 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}
var p=(location.pathname||"").split("?")[0].split("#")[0]||"";
if(b)if(p===b)p="";else if(0===p.indexOf(b+"/"))p=p.substring(b.length);
p=a(p);p=u(p);p=i(p);p=""===p||"index"===p?"/":a(p);
document.documentElement.setAttribute("data-current-path",p);
}();</script><script type="text/javascript">!function(){
function read(){try{
var e=performance.getEntriesByType?performance.getEntriesByType("navigation"):[];
var st=(e[0]&&e[0].serverTiming)||[];
var g={};
for(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){}
if(n==="country")g.country=d;else if(n==="region")g.region=d;else if(n==="continent")g.continent=d;}
var w=window;w.mintlify=w.mintlify||{};w.mintlify.geo=g;
}catch(x){}}
read();document.addEventListener("DOMContentLoaded",read);
}();</script><script type="text/javascript">!function(){try{
var w=window;w.mintlify=w.mintlify||{};
var q=w.mintlify.__apiPlaygroundInputsQueue;
if(!Array.isArray(q)){q=[];w.mintlify.__apiPlaygroundInputsQueue=q;}
w.mintlify.api=w.mintlify.api||{};
w.mintlify.api.playground=w.mintlify.api.playground||{};
if(typeof w.mintlify.api.playground.setServerVariables!=="function"){
w.mintlify.api.playground.setServerVariables=function(v){q.push({type:"set",variables:v});};
}
if(typeof w.mintlify.api.playground.clearServerVariables!=="function"){
w.mintlify.api.playground.clearServerVariables=function(){q.push({type:"clear"});};
}
}catch(e){}}();</script><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")}})(
  "bannerDismissed",
  "data-banner-state",
)</script><script src="/mintlify-assets/_next/static/chunks/a6dad97d9634a72d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" noModule=""></script></head><body class="antialiased"><div hidden=""><!--$--><!--/$--></div><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><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><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="/llms.txt" tabindex="-1">/llms.txt</a></p><p>Use this file to discover all available pages before exploring further.</p></blockquote><script>(self.__next_s=self.__next_s||[]).push([0,{"children":"(function j(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  {\"global\":{\"content\":\"🎉 New: Standard and Enterprise orgs get a one-time **$250 bulk import credit** (1 TB), valid through August 30, 2026. [See details](/guides/manage-cost/understanding-cost#imports)\",\"dismissible\":true,\"color\":{\"light\":\"#002BFF\",\"dark\":\"#002BFF\"}}},\n  \"en\",\n  [],\n  \"data-banner-state\",\n  \"bannerDismissed\",\n)","id":"_mintlify-banner-script"}])</script><style>:root {
    --primary: 0 43 255;
    --primary-light: 30 134 238;
    --primary-dark: 0 43 255;
    --tooltip-foreground: 255 255 255;
    --background-light: 251 251 252;
    --background-dark: 23 23 23;
    --gray-50: 242 244 250;
    --gray-100: 238 239 245;
    --gray-200: 222 223 230;
    --gray-300: 206 207 213;
    --gray-400: 158 159 166;
    --gray-500: 111 113 119;
    --gray-600: 79 81 87;
    --gray-700: 62 63 70;
    --gray-800: 37 38 45;
    --gray-900: 22 24 30;
    --gray-950: 10 11 17;
  }</style><div class="relative antialiased text-gray-500 dark:text-gray-400"><script>(self.__next_s=self.__next_s||[]).push([0,{"suppressHydrationWarning":true,"children":"(function(a){let b,c=(b=\"navbar-transition\",\"maple\"===a\u0026\u0026(b+=\"-maple\"),b),d=function(){let a=document.createElement(\"style\");return a.appendChild(document.createTextNode(\"*,*::before,*::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(()=\u003e{document.head.removeChild(a)},1)}}();(\"requestAnimationFrame\"in globalThis?requestAnimationFrame:setTimeout)(()=\u003e{let a;a=!1,a=window.scrollY\u003e50,document.getElementById(c)?.setAttribute(\"data-is-opaque\",`${!!a}`),d()})})(\"mint\")","id":"_mintlify-navbar-transition-script"}])</script><script>(self.__next_s=self.__next_s||[]).push([0,{"suppressHydrationWarning":true,"children":"(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;document.documentElement.style.setProperty(\"--scroll-mt\",`${e}px`)};\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()}))}new MutationObserver(f).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})();","id":"_mintlify-scroll-margin-script"}])</script><noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5RCSPVG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript><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><script>(function i(a,b,c,d){try{if(window.matchMedia("(max-width: 1024px)").matches||!d){document.documentElement.style.setProperty(c,"0px"),document.documentElement.setAttribute("data-assistant-state","closed"),d||localStorage.setItem(a,"false");return}let e=localStorage.getItem(a);if(null===e){document.documentElement.style.setProperty(c,"0px"),document.documentElement.setAttribute("data-assistant-state","closed");return}let f=JSON.parse(e),g=localStorage.getItem(b),h=null!==g?JSON.parse(g):368;document.documentElement.style.setProperty(c,f?h+"px":"0px"),document.documentElement.setAttribute("data-assistant-state",f?"open":"closed")}catch(a){document.documentElement.style.setProperty(c,"0px"),document.documentElement.setAttribute("data-assistant-state","closed")}})(
    "chat-assistant-sheet-open",
    "chat-assistant-sheet-width",
    "--assistant-sheet-width",
    true
  )</script><div class="max-lg:contents lg:flex lg:w-full" data-docs-theme="mint"><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 id="banner" style="--banner-bg-light:#002BFF;--banner-bg-dark:#002BFF" class="w-full min-h-10 relative lg:fixed lg:top-0 lg:left-0 text-center flex items-center justify-center text-sm [&amp;_a]:border-none [&amp;_a]:underline-offset-[3px] font-medium px-10 text-white/95 dark:text-white/95 [&amp;_*]:text-white/95! dark:[&amp;_*]:text-white/95! bg-(--banner-bg-light) dark:bg-(--banner-bg-dark) z-45"><div class="space-y-4 whitespace-normal my-2 [&amp;&gt;p]:m-0"><p>🎉 New: Standard and Enterprise orgs get a one-time <span class="font-semibold" data-streamdown="strong">$250 bulk import credit</span> (1 TB), valid through August 30, 2026. <a class="wrap-anywhere font-medium underline" data-streamdown="link" href="/guides/manage-cost/understanding-cost#imports">See details</a></p></div><button class="absolute right-4 top-1/2 -translate-y-1/2 size-6.5 flex items-center justify-center rounded-md text-zinc-100 hover:bg-gray-800" aria-label="Dismiss banner"><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" class="size-4 shrink-0" aria-hidden="true"><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><script>(function(){var b=document.getElementById("banner");if(!b)return;var h=b.offsetHeight;if(h>0)document.documentElement.style.setProperty('--banner-height',h+'px');})();</script><div class="hidden lg:block h-[var(--banner-height,0px)]" aria-hidden="true"></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="https://www.pinecone.io"><span class="sr-only">Pinecone Docs<!-- --> home page</span><img class="nav-logo w-auto h-7 relative object-contain shrink-0 block dark:hidden" src="https://mintcdn.com/pinecone/HsZKO51bNmpAasdT/logo/Pinecone-Full-Logo-Black.svg?fit=max&amp;auto=format&amp;n=HsZKO51bNmpAasdT&amp;q=85&amp;s=211d0e7bbefc29ce3b8feee1a05d76ee" alt="light logo"/><img class="nav-logo w-auto h-7 relative object-contain shrink-0 hidden dark:block" src="https://mintcdn.com/pinecone/HsZKO51bNmpAasdT/logo/Pinecone-Full-Logo-White.svg?fit=max&amp;auto=format&amp;n=HsZKO51bNmpAasdT&amp;q=85&amp;s=4839c7a50a8bee830e943705c648297c" alt="dark logo"/></a><div class="hidden lg:flex items-center gap-x-2"><button type="button" tabindex="0" aria-haspopup="menu" id="base-ui-_R_6oleav5tccsnisnpfiutb_" data-component-part="version-select-trigger" class="group disabled:pointer-events-none [&amp;&gt;span]:line-clamp-1 overflow-hidden group 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]">2025-04</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" data-base-ui-tooltip-trigger=""><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></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://status.pinecone.io" 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"><span class="min-w-0 truncate">Status</span></a></li><li class="navbar-link"><a href="https://app.pinecone.io/organizations/-/settings/support" 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"><span class="min-w-0 truncate">Support</span></a></li><li class="navbar-link"><a href="https://app.pinecone.io/?sessionType=login" 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"><span class="min-w-0 truncate">Log In</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://app.pinecone.io/?sessionType=signup"><span class="min-w-0 truncate">Sign up free</span></a></li><li class="whitespace-nowrap hidden lg:flex" id="topbar-cta-button"><a target="_blank" class="group pl-3 pr-2 py-2 relative inline-flex items-center text-sm font-medium" href="https://app.pinecone.io/?sessionType=signup"><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 up free</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" 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><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 focus: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>Indexes</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">Create an index</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 text-gray-600 dark:text-gray-400 hover:text-gray-800 dark:hover:text-gray-300" href="/guides/get-started/overview">Guides<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 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="/reference/api/introduction">Reference<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="/examples/notebooks">Examples<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="/models/overview">Models<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="/integrations/overview">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="/troubleshooting/contact-support">Troubleshooting<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="/release-notes/2026">Releases<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-custom]:[&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,2.5rem))] h-[calc(100dvh-var(--mintlify-slot-header-height,calc(4rem+var(--topbar-tabs-height,0rem)))-var(--banner-height,2.5rem))]" 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_nav5tccsnisnpfiutb_-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"><button type="button" tabindex="0" aria-haspopup="menu" id="base-ui-_R_6uqnav5tccsnisnpfiutb_" class="group disabled:pointer-events-none [&amp;&gt;span]:line-clamp-1 overflow-hidden group text-sm text-gray-950/50 dark:text-white/50 group-hover:text-gray-950/70 dark:group-hover:text-white/70 nav-dropdown-trigger mb-4 z-10 group flex w-full items-center pl-2 pr-3.5 py-1.5 rounded-[0.85rem] border border-gray-200/70 dark:border-white/[0.07] hover:bg-gray-600/5 dark:hover:bg-gray-200/5 gap-1"><div class="nav-dropdown-item-icon size-8 flex items-center justify-center rounded-lg shrink-0 border border-gray-200/70 dark:border-white/[0.07]"><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! size-4 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/solid/database.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/solid/database.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></div><div class="nav-dropdown-item-text-container flex-1 px-1 flex flex-col grow text-left"><p class="nav-dropdown-item-title text-base lg:text-sm font-medium text-gray-800 dark:text-gray-300">Pinecone Database</p></div><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"><path d="M6.5 2.75L12.75 9L6.5 15.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button><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"><h3 class="sidebar-title text-[length:inherit] font-[inherit] leading-[inherit]"><span>APIs</span></h3></div><ul class="sidebar-group space-y-px"><li id="/reference/api/introduction" class="relative scroll-m-4 first:scroll-m-20" data-title="Introduction"><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:1rem" href="/reference/api/introduction"><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">Introduction</span></div></div></a></li><li id="/reference/api/authentication" class="relative scroll-m-4 first:scroll-m-20" data-title="Authentication"><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:1rem" href="/reference/api/authentication"><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">Authentication</span></div></div></a></li><li id="/reference/api/versioning" class="relative scroll-m-4 first:scroll-m-20" data-title="Versioning"><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:1rem" href="/reference/api/versioning"><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">Versioning</span></div></div></a></li><li data-title="Limits" 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" aria-expanded="false"><div class=""><span>Limits</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="/reference/api/errors" class="relative scroll-m-4 first:scroll-m-20" data-title="Errors"><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:1rem" href="/reference/api/errors"><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">Errors</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"><h3 class="sidebar-title text-[length:inherit] font-[inherit] leading-[inherit]"><span>Database</span></h3></div><ul class="sidebar-group space-y-px"><li data-title="Indexes" 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_1kjeqnav5tccsnisnpfiutb_"><div class=""><span>Indexes</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_1kjeqnav5tccsnisnpfiutb_" class="space-y-px"><li id="/reference/api/2025-04/control-plane/list_indexes" class="relative scroll-m-4 first:scroll-m-20" data-title="List indexes"><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="/reference/api/2025-04/control-plane/list_indexes"><div class="h-[1lh] flex items-center shrink-0"><span class="method-nav-pill flex items-center w-8"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-green-400/20 dark:bg-green-400/20 text-green-700 dark:text-green-400">GET</span></span></div><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 indexes</span></div></div></a></li><li id="/reference/api/2025-04/control-plane/create_index" class="relative scroll-m-4 first:scroll-m-20" data-title="Create an index" 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="/reference/api/2025-04/control-plane/create_index"><div class="h-[1lh] flex items-center shrink-0"><span class="method-nav-pill flex items-center w-8"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-[#3064E3] text-[#FFFFFF]">POST</span></span></div><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">Create an index</span></div></div></a></li><li id="/reference/api/2025-04/control-plane/create_for_model" class="relative scroll-m-4 first:scroll-m-20" data-title="Create an index with integrated embedding"><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="/reference/api/2025-04/control-plane/create_for_model"><div class="h-[1lh] flex items-center shrink-0"><span class="method-nav-pill flex items-center w-8"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 dark:bg-blue-400/20 text-blue-700 dark:text-blue-400">POST</span></span></div><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">Create an index with integrated embedding</span></div></div></a></li><li id="/reference/api/2025-04/control-plane/describe_index" class="relative scroll-m-4 first:scroll-m-20" data-title="Describe an index"><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="/reference/api/2025-04/control-plane/describe_index"><div class="h-[1lh] flex items-center shrink-0"><span class="method-nav-pill flex items-center w-8"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-green-400/20 dark:bg-green-400/20 text-green-700 dark:text-green-400">GET</span></span></div><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">Describe an index</span></div></div></a></li><li id="/reference/api/2025-04/control-plane/delete_index" class="relative scroll-m-4 first:scroll-m-20" data-title="Delete an index"><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="/reference/api/2025-04/control-plane/delete_index"><div class="h-[1lh] flex items-center shrink-0"><span class="method-nav-pill flex items-center w-8"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-red-400/20 dark:bg-red-400/20 text-red-700 dark:text-red-400">DEL</span></span></div><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">Delete an index</span></div></div></a></li><li id="/reference/api/2025-04/control-plane/configure_index" class="relative scroll-m-4 first:scroll-m-20" data-title="Configure an index"><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="/reference/api/2025-04/control-plane/configure_index"><div class="h-[1lh] flex items-center shrink-0"><span class="method-nav-pill flex items-center w-8"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-orange-400/20 dark:bg-orange-400/20 text-orange-700 dark:text-orange-400">PATCH</span></span></div><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">Configure an index</span></div></div></a></li><li id="/reference/api/2025-04/data-plane/describeindexstats" class="relative scroll-m-4 first:scroll-m-20" data-title="Get index stats"><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="/reference/api/2025-04/data-plane/describeindexstats"><div class="h-[1lh] flex items-center shrink-0"><span class="method-nav-pill flex items-center w-8"><span class="px-1 py-0.5 rounded-md text-[0.55rem] leading-tight font-bold bg-blue-400/20 dark:bg-blue-400/20 text-blue-700 dark:text-blue-400">POST</span></span></div><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">Get index stats</span></div></div></a></li></ul></li><li data-title="Namespaces" 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" aria-expanded="false"><div class=""><span>Namespaces</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="Vectors" 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" aria-expanded="false"><div class=""><span>Vectors</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="Search" 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" aria-expanded="false"><div class=""><span>Search</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="Imports" 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" aria-expanded="false"><div class=""><span>Imports</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="Backups" 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" aria-expanded="false"><div class=""><span>Backups</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"><h3 class="sidebar-title text-[length:inherit] font-[inherit] leading-[inherit]"><span>Inference</span></h3></div><ul class="sidebar-group space-y-px"><li data-title="Embed" 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" aria-expanded="false"><div class=""><span>Embed</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="Rerank" 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" aria-expanded="false"><div class=""><span>Rerank</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="Models" 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" aria-expanded="false"><div class=""><span>Models</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"><h3 class="sidebar-title text-[length:inherit] font-[inherit] leading-[inherit]"><span>Admin</span></h3></div><ul class="sidebar-group space-y-px"><li data-title="API keys" 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" aria-expanded="false"><div class=""><span>API keys</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="Projects" 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" aria-expanded="false"><div class=""><span>Projects</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="Service accounts" 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" aria-expanded="false"><div class=""><span>Service accounts</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"><h3 class="sidebar-title text-[length:inherit] font-[inherit] leading-[inherit]"><span>SDKs</span></h3></div><ul class="sidebar-group space-y-px"><li id="/reference/pinecone-sdks" class="relative scroll-m-4 first:scroll-m-20" data-title="Pinecone SDKs overview"><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="/reference/pinecone-sdks"><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">Pinecone SDKs overview</span></div></div></a></li><li data-title="Python" 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" aria-expanded="false"><div class=""><span>Python</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="Node.js" 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" aria-expanded="false"><div class=""><span>Node.js</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="Java" 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" aria-expanded="false"><div class=""><span>Java</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="Go" 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" aria-expanded="false"><div class=""><span>Go</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"><h3 class="sidebar-title text-[length:inherit] font-[inherit] leading-[inherit]"><span>CLI</span></h3></div><ul class="sidebar-group space-y-px"><li id="/reference/cli/quickstart" class="relative scroll-m-4 first:scroll-m-20" data-title="Quickstart"><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:1rem" href="/reference/cli/quickstart"><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">Quickstart</span></div></div></a></li><li id="/reference/cli/command-reference" class="relative scroll-m-4 first:scroll-m-20" data-title="Command reference"><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="/reference/cli/command-reference"><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">Command reference</span></div></div></a></li><li id="/reference/cli/authentication" class="relative scroll-m-4 first:scroll-m-20" data-title="Authentication"><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:1rem" href="/reference/cli/authentication"><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">Authentication</span></div></div></a></li><li id="/reference/cli/target-context" class="relative scroll-m-4 first:scroll-m-20" data-title="Target context"><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="/reference/cli/target-context"><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">Target context</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"><h3 class="sidebar-title text-[length:inherit] font-[inherit] leading-[inherit]"><span>Tools</span></h3></div><ul class="sidebar-group space-y-px"><li id="/reference/tools/pinecone-spark-connector" class="relative scroll-m-4 first:scroll-m-20" data-title="Spark-Pinecone connector"><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="/reference/tools/pinecone-spark-connector"><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">Spark-Pinecone connector</span></div></div></a></li></ul></div><script>(function () {
  try {
    if (window.__mintlifyInitialSidebarScrollDone) return;
    window.__mintlifyInitialSidebarScrollDone = true;

    var path = (window.location.pathname || '/').split('#')[0].split('?')[0];
    if (path.endsWith('/index')) path = path.slice(0, -6);
    else if (path === 'index') path = '';

    var candidates = [];
    if (path) candidates.push(path);
    if (path.startsWith('/')) candidates.push(path.slice(1));
    else candidates.push('/' + path);

    var item = null;
    for (var i = 0; i < candidates.length && !item; i++) {
      var matches = document.querySelectorAll('[id="' + candidates[i].replace(/"/g, '\\"') + '"]');
      for (var j = 0; j < matches.length; j++) {
        if (matches[j].closest('#sidebar, #sidebar-content')) {
          item = matches[j];
          break;
        }
      }
    }
    if (!item) return;

    var parent = item.parentElement;
    while (parent) {
      var style = getComputedStyle(parent);
      if (style.overflowY === 'auto' || style.overflowY === 'scroll') break;
      parent = parent.parentElement;
    }
    if (!parent) return;

    var parentRect = parent.getBoundingClientRect();
    var itemRect = item.getBoundingClientRect();
    if (itemRect.top >= parentRect.top && itemRect.bottom <= parentRect.bottom) return;

    var itemTopRelative = itemRect.top - parentRect.top + parent.scrollTop;
    parent.scrollTop = itemTopRelative - parentRect.height / 2 + itemRect.height / 2;
  } catch (e) {}
})();</script></div></div></div></div></div></nav><main id="content-container" class="lg:flex-1 lg:min-w-0"><script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://docs.pinecone.io/#organization","name":"Pinecone Docs","url":"https://docs.pinecone.io","logo":{"@type":"ImageObject","url":"https://mintcdn.com/pinecone/HsZKO51bNmpAasdT/logo/Pinecone-Full-Logo-Black.svg?fit=max&auto=format&n=HsZKO51bNmpAasdT&q=85&s=211d0e7bbefc29ce3b8feee1a05d76ee"}},{"@type":"WebSite","@id":"https://docs.pinecone.io#website","name":"Pinecone Docs","url":"https://docs.pinecone.io","publisher":{"@id":"https://docs.pinecone.io/#organization"}},{"@type":"WebPage","@id":"https://docs.pinecone.io/reference/api/2025-04/control-plane/create_index#webpage","url":"https://docs.pinecone.io/reference/api/2025-04/control-plane/create_index","name":"Create an index","description":"Create a Pinecone index. This is where you specify the measure of similarity, the dimension of vectors to be stored in the index, which cloud provider you would like to deploy with, and more. For guidance and examples, see Create an index.","dateModified":"2026-01-28T17:44:02.031Z","isPartOf":{"@id":"https://docs.pinecone.io#website"},"breadcrumb":{"@id":"https://docs.pinecone.io/reference/api/2025-04/control-plane/create_index#breadcrumb"}},{"@type":"BreadcrumbList","@id":"https://docs.pinecone.io/reference/api/2025-04/control-plane/create_index#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Database","item":"https://docs.pinecone.io/reference/api/2025-04/control-plane/list_indexes"},{"@type":"ListItem","position":2,"name":"Indexes","item":"https://docs.pinecone.io/reference/api/2025-04/control-plane/list_indexes"},{"@type":"ListItem","position":3,"name":"Create an index","item":"https://docs.pinecone.io/reference/api/2025-04/control-plane/create_index"}]},{"@type":["TechArticle","APIReference"],"@id":"https://docs.pinecone.io/reference/api/2025-04/control-plane/create_index#apireference","headline":"Create an index","name":"Create an index","description":"Create a Pinecone index. This is where you specify the measure of similarity, the dimension of vectors to be stored in the index, which cloud provider you would like to deploy with, and more. For guidance and examples, see Create an index.","url":"https://docs.pinecone.io/reference/api/2025-04/control-plane/create_index","mainEntityOfPage":{"@id":"https://docs.pinecone.io/reference/api/2025-04/control-plane/create_index#webpage"},"image":"https://www.pinecone.io/images/docs_og_image_v2.png","dateModified":"2026-01-28T17:44:02.031Z","publisher":{"@id":"https://docs.pinecone.io/#organization"},"isPartOf":{"@id":"https://docs.pinecone.io#website"}}]}</script><script>document.documentElement.setAttribute('data-page-mode', "none");</script><span class="fixed inset-0 bg-background-light dark:bg-background-dark -z-10 pointer-events-none" id="background-color"></span><span class="block absolute dark:hidden inset-0 overflow-hidden pointer-events-none"></span><span class="hidden absolute dark:block inset-0 overflow-hidden pointer-events-none"></span><style data-custom-css-index="0" data-custom-css-path="styles.css">/* Global styles */

:root {
  --brand-blue: #002BFF;
  --primary-main: #002BFF;
  --primary-dark: #222160;
  --text-contrast: #FFFFFF;
  --background: #FBFBFC;
  --paper: #FFFFFF;
  --surface: #F2F3F6;
  --divider: #D8DDDF;
  --secondary: #72788D;
  --error: #E31957;
  --warning: #DD815D;
  --success: #15B077;
  --info: #0028FF;
  --text-primary: #1C1917;
  --text-secondary: #72788D;
  --text-disabled: #121142;
  --white: #FFFFFF;
  --black: #121142;
  --overlay: #2B3244;
  --border: #e7e5e4;
}

.dark {
  --brand-blue: #1E86EE;
  --primary-main: #002BFF;
  --primary-dark: #222160;
  --text-contrast: #FFFFFF;
  --background: #171717;
  --paper: #1E1E1E;
  --surface: #252525;
  --divider: #2A2A2A;
  --secondary: #72788D;
  --error: #E31957;
  --warning: #DD815D;
  --success: #15B077;
  --info: #0028FF;
  --text-primary: #FFFFFF;
  --text-secondary: #A0A0A0;
  --text-disabled: #666666;
  --white: #FFFFFF;
  --black: #000000;
  --overlay: #2B3244;
  --border: #303030;
}

.dark .dark-inverted {
  filter: invert(1);
}

#topbar-cta-button {
  margin-left: 1rem;
}

#topbar-cta-button > a {
  display: flex;
  align-items: center;
  padding: 0.375rem 1rem !important;
  gap: 0.5rem;
  background-color: var(--brand-blue);
  color: var(--text-contrast) !important;
  border-radius: 0.25rem;
  font-weight: 500;
  letter-spacing: 0.4px;
}

#topbar-cta-button a:hover {
  background-color: var(--primary-dark) !important;
}


/* #topbar-cta-button span {
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 0.4px;
} */

/* #topbar-cta-button div > svg {
  display: none;
} */

/* inserting svg via :after isn't working for some reason, used js instead */
/* #topbar-cta-button div::after {
  content: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="Icon Right"><path id="Vector" d="M8.08906 5L6.91406 6.175L10.7307 10L6.91406 13.825L8.08906 15L13.0891 10L8.08906 5Z" fill="white"/></g></svg>');
  content: "test";
  display: block;
  width: 20px;
  height: 20px;
  margin-left: 8px;
  background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="Icon Right"><path id="Vector" d="M8.08906 5L6.91406 6.175L10.7307 10L6.91406 13.825L8.08906 15L13.0891 10L8.08906 5Z" fill="white"/></g></svg>');
  background-color: #000000;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
} */


.documentation-link {
  color: var(--brand-blue);
  text-decoration: none;
}

.documentation-link:hover {
  color: #000000;
  /* Black color when hovering */
}

.custom-button {
  display: inline-block;
  padding: 2px 8px;
  background-color: var(--surface);
  color: var(--text-primary);
  /* Text color */
  border: 1px solid var(--border);
  /* Border color */
  border-radius: 25px;
  /* Rounded borders */
  text-align: center;
  user-select: none;
  transition: background-color 0.3s ease;
  /* Smooth transition for background color */
}

/* Change the button color on hover (make it unclickable) */
.custom-button:hover {
  background-color: var(--primary-main);
  color: var(--text-contrast);
}

/* Adjust the width for the second column */
/* td:nth-child(2) {
  width: 200px; /* Adjust the width as per your requirement
} */

/* 
Add an announcement bar 
TODO: This can be version specific if you add a page-specific class/ID, but it doesn't seem to work for the OpenAI docs without rewriting the JSON
*/
/*  #navbar:before {
  background-color: #ff4c04;
  content: "The legacy version of the API, which required regional URLs for control plane operations, is deprecated as of April 15, 2024 and will be removed in a future, to be announced, release.";
  color: rgb(255, 255, 255);
  display: block;
  text-align: center;
  padding: 6px;
  font-size: 90%;
}
*/
/* Text color */
/* body {
  color: #121142 !important;
} */

/* Header */
#navbar {
  background: var(--background);
  position: fixed;
  /* position: sticky !important; */
  /* top: 0 !important; */
}

#navbar-transition {
  border-bottom: 1px solid var(--border);
}

#navbar .max-w-8xl {
  max-width: 100%;
}

/* Logo + "Docs" text + version select */
#navbar>div:first-of-type>div:first-of-type>div:first-of-type>div:first-of-type {
  flex: initial;
}

#navbar>div:first-of-type>div:first-of-type>div:first-of-type>div:first-of-type>a:first-of-type {
  flex: initial;
  display: flex;
}

#navbar img[alt="logo"] {
  max-width: 150px;
  min-width: 150px;
}

/* Ensure logo has min width*/
#navbar > div > div > div > div > div > div.flex-1.flex.items-center > a:first-child {
  min-width: 209px;
}

/* Version select */
[aria-haspopup="menu"] {
  border-radius: 0.25rem;
  border: 1px solid var(--border);
  background-color: transparent !important;
  color: var(--text-primary)
}

[aria-labelledby="headlessui-menu-button-:r0:"] {
  width: 11rem;
}

/* Right side nav container */
#navbar>div:first-of-type>div:first-of-type>div:first-of-type>div:nth-of-type(3) {
  flex: initial;
  margin-left: 0;
}

/* Prevent nav items from shrinking */
#navbar>div:first-of-type>div:first-of-type>div:first-of-type>div:nth-of-type(3)>nav {
  flex-shrink: 0;
}

/* nav links */
#navbar nav a {
  color: var(--text-primary);
  padding: 0.6rem 1rem;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* #navbar a:hover {
  background-color: var(--paper);
  border-radius: 0.25rem;
} */

#navbar nav ul li:not(:last-of-type) {
  margin-left: 0;
}

/* Hide dark mode toggle */
/* #navbar>div:first-of-type>div:first-of-type>div:first-of-type>div:nth-of-type(3)>div {
  display: none;
} */

/* Second nav container */
/* Links */
#navbar a {
  color: var(--text-primary);
  margin: 0;
  padding-left: 0.875rem;
  padding-right: 0.875rem;
}

#navbar .nav-tabs {
  gap: 0 !important;
}

/* Selected links */
#navbar a.font-semibold {
  color: var(--brand-blue);
  border-bottom-width: 0.1875rem;
  border-color: var(--brand-blue);
}

#navbar div.absolute.bottom-0 {
  display: none;
}

/* Sidebar */
#sidebar {
  left: 0rem;
  padding-left: 3rem;
  background: var(--background);
  border-right: 1px solid var(--border);
  /* position: sticky; */
  /* flex-shrink: 0; */
  /* top: 0; */
}

#sidebar div.sticky {
  visibility: hidden;
}

#sidebar-content {
  padding-left: 2rem;
}

/* Sidebar headings and link color */
#sidebar-content h5,
#sidebar a,
#sidebar li div {
  color: var(--text-primary);
}

/* Sidebar Introduction link */
#sidebar>div>ul>div:first-of-type>li:only-of-type {
  margin-left: 0;
}

#sidebar>div>ul>div:first-of-type>li:only-of-type>a {
  font-weight: 600;
}

/* Nav items */
#navigation-items>div>ul>li {
  margin-left: 0.75rem;
}

/* Selected nav items */
#navigation-items>div>ul>li a.font-semibold {
  font-weight: 400;
  background-color: var(--surface);
}

#navigation-items #mobile-divider {
  display: none;
}

/* Main content area */
/* main > div:first-of-type > div:last-of-type > div:first-of-type {
  display: flex;
} */
@media screen and (min-width: 1024px) {
  #content-area>div:first-child:not(#header)>div.relative.w-full.flex.items-center.justify-center:first-child {
    margin-top: 7rem
  }
}


/* Content container */
/* #content-container {
  padding-left: 3.5rem !important;
} */
#content-container>div {
  padding-top: 10rem;
}

@media (min-width: 1024px) {
  #content-container>div {
    gap: 3rem;
  }

  #content-container #table-of-contents {
    padding-left: 0;
  }
}

/* Title eyebrow */
#header .eyebrow {
  text-transform: uppercase;
  color: var(--text-primary);
  font-size: 0.625rem;
  letter-spacing: 1px;
  line-height: 160%;
}

/* Hide empty eyebrow */
#header .eyebrow:empty {
  display: none;
}

/* Title container */
#header>div:first-of-type>div:nth-of-type(2) {
  margin-top: 0;
}

/* Title */
#header h1 {
  color: var(--text-primary);
}

/* Article text */
.prose h2,
.prose h3,
.prose h4,
.prose p,
.prose li {
  color: var(--text-primary);
}

.prose table th, .prose table td {
  color: var(--text-primary) !important;
}

.prose a {
  color: var(--brand-blue) !important;
  font-weight: 400;
}

/* Overwrite tailwind max-width */
.max-w-8xl {
  max-width: 94.5rem;
}

.card {
  box-shadow: none;
  border: 1px solid var(--border) !important;
  border-radius: 0.25rem;
  transition: box-shadow 0.3s ease;
  background-color: var(--paper) !important;
}

.card:hover {
  border: 1px solid var(--border) !important;
}

:not(.dark) .card:hover {
  box-shadow: 0px 5px 5px -3px rgba(163, 169, 175, 0.20), 0px 8px 10px 1px rgba(163, 169, 175, 0.14), 0px 3px 14px 2px rgba(163, 169, 175, 0.12) !important;
}

.dark .card:hover {
  box-shadow: none !important;
}

.card>div {
  padding: 1.5rem;
}

.card h2,
.example-card h2 {
  font-size: 1.25rem;
}

.card p,
.example-card p, .example-card span[data-as="p"] {
  margin-top: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.card .eyebrow {
  font-size: 0.625rem;
  text-transform: uppercase;
  line-height: 160%;
  letter-spacing: 1px;
}

.card .integration-logo { 
  width: 3.125rem;  
  height: 3.125rem; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
} 
.card .integration-logo-long { 
  width: 5.125rem; 
  height: 3.125rem; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.example-card {
  box-shadow: none;
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  transition: box-shadow 0.3s ease;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background-color: var(--paper);
}

.example-card .arrow {
  margin-left: auto;
  margin-top: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.example-card:hover .arrow {
  opacity: 1;
}

.example-card:hover {
  border: 1px solid var(--border) !important;
}

:not(.dark) .example-card:hover {
  box-shadow: 0px 5px 5px -3px rgba(163, 169, 175, 0.20), 0px 8px 10px 1px rgba(163, 169, 175, 0.14), 0px 3px 14px 2px rgba(163, 169, 175, 0.12);
}

.dark .example-card:hover {
  box-shadow: none !important;
}

.example-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.example-card .card-tag {
  border-radius: 1rem;
  background-color: var(--background);
  color: var(--text-primary);
  font-size: 0.8125rem;
  line-height: 138%;
  letter-spacing: 0.16px;
  padding: 0.1875rem 0.375rem;
  display: flex;
  gap: 0.375rem;
  align-items: center;
}

.example-card .vectors {
  color: var(--background);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  line-height: 150%;
  letter-spacing: 0.15px;
  padding-top: 2.875rem;
  margin-top: auto;
}

.examples-h2 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

/* Integrations related articles */
#related-articles {
  display: flex;
  flex-direction: column;
  width: 100%;
}

#related-articles h2 {
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.15px;
  line-height: 150%;
  margin-bottom: 1rem;
}

#related-articles a {
  padding: 1.0625rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-primary);
  font-size: 0.875rem;
  line-height: 150%;
  letter-spacing: 0.15px;
}

#related-articles a:not(:last-of-type) {
  border-bottom: 1px solid var(--border);
}

#related-articles a:hover {
  opacity: 0.7;
}

#related-articles a>svg {
  flex-shrink: 0;
}

/* Integrations back button */
#back-button {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--text-primary) !important;
  font-size: 0.875rem;
  line-height: 150%;
  letter-spacing: 0.15px;
  margin-bottom: 1.5rem;
}

#back-button:hover {
  opacity: 0.7;
}

#back-button>svg {
  flex-shrink: 0;
}

/* Sample apps */

.sample-app {
  color: var(--text-primary);
}

.sample-app h2 {
  font-size: 2.125rem;
  font-weight: 600;
  line-height: 123.5%;
  letter-spacing: 0.25px;
}

.sample-app h2:not(:first-of-type) {
  margin: 4rem 0 0 0;
}

.sample-app h2:first-of-type {
  margin: 0;
}

.sample-app h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 150%;
  letter-spacing: 0.15px;
  margin: 3rem 0 0 0;
}

.sample-app h4 {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 0.15px;
  margin: 3rem 0 0 0;
}

.sample-app p,
.sample-app ul {
  margin: 1.5rem 0 0 0;
  font-size: 0.875rem;
  list-style-type: disc;
}

.sample-app li::before {
  display: none;
}

.sample-app li {
  padding-left: 0 !important;
  margin-left: 1.25rem;
}

.sample-app li::marker {
  color: var(--text-primary);
}

.sample-app-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sample-app-heading .eyebrow {
  color: var(--text-primary);
  font-size: 0.625rem;
  line-height: 160%;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sample-app-heading h1 {
  color: var(--text-primary);
  margin: 0.5rem 0 0 0;
  font-size: 2.125rem;
  font-weight: 600;
  line-height: 123.5%;
  letter-spacing: 0.25px;
}

.sample-app-heading p {
  color: var(--text-primary);
  margin: 0.5rem 0 1.5rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 150%;
  letter-spacing: 0.15px;
}

/* Sample apps content area with sidebar */
.sample-app-split {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.sample-app-split .sidebar a:not(.connect-with-pinecone) {
  font-size: 0.875rem;
  color: var(--text-primary);
  border-bottom: none;
}

.sample-app-split .toc-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sample-app-split .toc-list a.bold {
  font-weight: 700;
  margin-top: 0.5rem;
}

.sample-app-split>.content.no-margin>p:first-of-type {
  margin-top: 0 !important;
}

.connect-with-pinecone {
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  padding: 0.5rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5rem;
  letter-spacing: 0.4px;
  color: var(--text-primary) !important;
  text-decoration: none;
  align-self: flex-start;
}

@media (min-width: 1280px) {
  .sample-app-split {
    flex-direction: row;
  }

  .sample-app-split .content {
    overflow-x: auto;
  }

  .sample-app-split .sidebar {
    width: 20.625rem;
    flex-shrink: 0;
  }
}

/* Hacky codeblock targeting */
/* div[class*="bg-codeblock"].relative {
  border-radius: 0.25rem; */
  /* border: 1px solid var(--border); */
/* } */

/* :not(.dark) div[class*="bg-codeblock"].relative {
  background: var(--black);
}

.dark div[class*="bg-codeblock"].relative {
  background: var(--paper);
}  */

p>code {
  font-size: 0.75rem;
  line-height: 150%;
  letter-spacing: 0.5px;
  border-radius: 0.25rem;
  padding: 0.125rem 0.5rem;
  background-color: var(--paper) !important;
  color: var(--text-primary) !important;
  border: none;
}

code .api-key.set {
  color: orange;
}

.pinecone-connect-connected {
  width: 100%;
  max-width: 31.25rem;
  background-color: var(--paper);
  transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  border-radius: 0.25rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
}

.pinecone-connect-connected img {
  height: 1.875rem;
  margin: 0;
}

.pinecone-connect-connected p {
  color: var(--text-primary) !important;
}

.pinecone-connect-connected p:last-of-type {
  margin-top: 0.75rem;
}

.remove-api-key {
  display: flex;
  width: 100%;
  max-width: 31.25rem;
  margin-top: -1.25rem;
}

.remove-api-key>button {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--brand-blue);
  margin-left: auto;
}

.connect-widget-skeleton {
  margin-block: 45px;
  width: 100%;
  max-width: 31.25rem;
  height: 180px;
  background: var(--paper);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
}

.skeleton-content {
  width: 100%;
  max-width: 450px;
  height: 180px;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(255, 255, 255, 0) 100%);
  animation: shimmer 1.5s infinite;
  position: absolute;
  top: 0;
  left: 0;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* Model Gallery */

.featured-card-container {
  padding: 0 1rem;
  position: relative;
  width: 100%;
  margin: 1rem 0;
  overflow: visible;
  -webkit-overflow-scrolling: touch;
}

.featured-model-cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(25% - 0.75rem);
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0;
  margin: -1rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.featured-model-cards>* {
  scroll-snap-align: start;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: var(--paper);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  border: 1px solid var(--border);
  padding: 0;
}

.carousel-button:hover {
  background-color: var(--background);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 6px 8px -2px rgb(0 0 0 / 0.15);
}

.carousel-button.prev {
  left: -1.25rem;
}

.carousel-button.next {
  right: -1.25rem;
}

/* Make sure parent containers don't clip the buttons */
#content-container,
#content-area,
main {
  overflow: visible !important;
}

@media (max-width: 1280px) {
  .featured-model-cards {
    grid-auto-columns: calc(33.333% - 0.67rem);
  }
}

@media (max-width: 1024px) {
  .featured-model-cards {
    grid-auto-columns: calc(50% - 0.5rem);
  }
}

@media (max-width: 768px) {
  .featured-model-cards {
    grid-auto-columns: 90%;
    padding-bottom: 1rem;
  }

  .carousel-button {
    display: none !important;
  }

  .featured-card-container {
    padding: 0;
  }
}

:not(.dark) .model-card:hover {
  box-shadow: 0px 5px 5px -3px rgba(163, 169, 175, 0.20), 0px 8px 10px 1px rgba(163, 169, 175, 0.14), 0px 3px 14px 2px rgba(163, 169, 175, 0.12);
}

.dark .model-card:hover {
  box-shadow: none !important;
}

.outlined-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 36px;
  padding: 4px;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--paper);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.4;
  text-align: center;
  color: var(--text-primary);
  font-weight: 500;
  transition: background-color 0.3s ease, border 0.3s ease, color 0.3s ease;
}

.outlined-button:hover {
  background-color: var(--paper);
  border: 1px solid var(--brand-blue);
  color: var(--text-primary);
}


.control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.control:hover {
  opacity: 1;
}

.prev-slide {
  left: 10px;
}

.next-slide {
  right: 10px;
}

.inference-text p {
  margin-top: 0rem;
}


/* Model page */
.model-page-card {
  padding: 1.5rem;
  border-radius: 0.25rem;
  border: 1px solid var(--border);
  background: var(--paper);
  margin-bottom: 2.5rem;
}

.model-page-card-title {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.model-page-card-title>h1 {
  font-size: 1.5rem;
  color: var(--text-primary);
}

.model-page-card-logo {
  width: 2.125rem;
  height: 2.125rem;
  flex-shrink: 0;
}

.model-page-card-logo>img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.model-page-card-inference {
  border-radius: 1rem;
  border: 1px solid var(--border);
  padding: 0.25rem 0.375rem 0.25rem 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
}

.model-page-card-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.model-page-card-stats>div>span {
  font-size: 0.625rem;
  color: var(--text-secondary);
  letter-spacing: 0.2px;
  font-weight: 500;
}

.model-page-card-stats>div>p, .model-page-card-stats>div>span[data-as="p"] {
  display: block;
  font-size: 0.75rem;
  color: var(--text-primary);
  letter-spacing: 0.17px;
}

.model-page-card-stats>div.price {
  margin-left: auto;
}

.model-page-card-stats>div.price>p {
  margin-left: auto;
  font-weight: 600;
}

.model-page-tabs {
  display: flex;
  width: 100%;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.model-page-tabs>button {
  padding: 0.5625rem 1rem;
  border-bottom: 1px solid transparent;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 500;
  letter-spacing: 0.4px;
}

.model-page-tabs>button>svg>path {
  fill: var(--secondary);
}

.model-page-tabs>button.active {
  border-bottom: 2px solid var(--brand-blue);
  color: var(--brand-blue);
}

.model-page-tabs>button.active>svg>path {
  fill: var(--brand-blue);
}

.model-page-playground {
  display: none;
}

.model-page-guides {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.model-page-content {
  flex-shrink: 1;
  width: auto;
  max-width: 1050px;

  @media (max-width: 1500px) {
    max-width: 700px;
  }
}

.model-page-content> :first-child {
  margin-top: 0;
}

.model-page-content pre {
  white-space: pre-wrap;
}

.model-page-sidebar {
  width: 100%;
  flex-shrink: 1;
}

.model-page-sidebar .iframe-placeholder {
  height: 800px;
}

/* removing inline padding for now */
@media (min-width: 1280px) {
  .model-search-container {
    padding-inline: 0px;
  }
}

.model-page-sidebar-readmore {
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  letter-spacing: 0.15px
}

.model-page-sidebar-readmore svg {
  margin-bottom: 2px;
}

.model-search-container {
  min-height: 2000px;

  @media (max-width: 768px) {
    min-height: 2000px;
  }
}

#model-search-iframe {
  min-height: 2000px;
}

@media (min-width: 1080px) {
  .model-page-guides {
    flex-direction: row;
  }

  .model-page-sidebar {
    max-width: 20.6875rem;
    flex-shrink: 0;
  }

}

/* Hide scrollbar for Chrome/Safari */
.featured-model-cards::-webkit-scrollbar {
  display: none;
}

/* Show grabbing cursor while actively scrolling */
.featured-model-cards:active {
  cursor: grabbing;
}

/* Add minimum width for model card buttons */
.featured-model-cards .example-card button,
.featured-model-cards .model-card button {
  min-width: 200px;
  /* Ensures button doesn't shrink below this width */
  width: 100%;
  /* Allows button to grow with container */
  max-width: 400px;
  /* Prevents button from getting too wide */
  margin: 0 auto;
  /* Centers the button if container is wider */
}

@media (max-width: 576px) {
  #pinecone-connect-widget {
    scale: 0.95 !important;
    transform-origin: top left;
  }
  .connect-widget-skeleton {
    height: 180px;
    margin-block: 30px;
  }
  
  .skeleton-content {
    height: 180px;
  }
}

/* Target the iframe specifically */
#pinecone-connect-widget iframe {
  width: 100% !important;
  max-width: 500px !important;
}

/* Media query for smaller screens */
@media (max-width: 576px) {
  #pinecone-connect-widget,
  #pinecone-connect-widget > div,
  #pinecone-connect-widget iframe {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  
  /* Also adjust parent container if needed */
  div[style*="min-width"] {
    min-width: 0 !important;
    width: 100% !important;
  }
}


/* Style for the copy tooltip */
.absolute.top-11.left-1\/2.transform.-translate-x-1\/2.-translate-y-1\/2.peer-hover\:opacity-100.opacity-0.text-black.rounded-lg.px-1\.5.py-0\.5.text-xs.bg-white,
div[class*="absolute top-11 left-1/2 transform -translate-x-1/2 -translate-y-1/2"][class*="text-black rounded-lg px-1.5 py-0.5 text-xs bg-white"],
div[aria-hidden="true"][class*="absolute top-11 left-1/2 transform -translate-x-1/2 -translate-y-1/2"][class*="opacity-0"][class*="text-white rounded-lg px-1.5 py-0.5 text-xs"] {
  background-color: var(--brand-blue) !important;
  color: white !important;
}

/* Also target the tooltip in the InlineCode component */
.absolute.top-11.left-1\/2.transform.-translate-x-1\/2.-translate-y-1\/2.hidden.group-hover\:block.text-white.rounded-lg.px-1\.5.py-0\.5.text-xs {
  background-color: var(--brand-blue) !important;
  color: white !important;
}

/* Styles for when embedded in the Console. See console-iframe.js for more details. */
.pinecone-console-embed {
  /* Hide logo */
  #navbar img {
    display: none;
  }

  /* Hide top part of navbar */
  #navbar .relative:first-of-type > div:first-of-type {
    height: 0 !important;
  }

  /* Hide navbar links */
  #navbar nav {
    display: none;
  }

  /* Hide dark mode toggle */
  #navbar [aria-label="Toggle dark mode"] {
    display: none;
  }

  /* Move API version selector to the right edge */
  #navbar button[aria-haspopup="menu"] {
    position: absolute;
    top: 12px;
    right: 0px;
  }

  /* Move content up to account for smaller navbar */
  #content-container,
  #sidebar {
    margin-top: -4rem;
  }

  /* Hide mobile and desktop search button */
  #search-bar-entry-mobile,
  #search-bar-entry {
    display: none;
  }

  /* Hide actions menu */
  button[aria-label='More actions'] {
    display: none;
  }

  /* Move header link action to the right edge */
  h2 > .absolute:first-of-type,
  h3 > .absolute:first-of-type,
  h4 > .absolute:first-of-type {
    right: -12px;
  }
}

/* Make specific buttons have non-rounded corners */
#page-context-menu-button {
  border-start-start-radius: 0.25rem !important;
  border-end-start-radius: 0.25rem !important;
}

#page-context-menu button:last-child {
  border-radius: 0 !important;
  border-start-end-radius: 0.25rem !important;
  border-end-end-radius: 0.25rem !important;
}

/*
 * Agent tool callout on quickstart page.
 * Visually distinguishes the portable search function
 * as a "grab this and go" artifact.
 */
.agent-tool {
  border-left: 4px solid var(--brand-blue, #002BFF);
  padding: 1rem 1.25rem;
  border-radius: 0.375rem;
  background-color: #f0f4ff;
  margin: 0.5rem 0 1rem 0;
}

.agent-tool > p:first-child {
  margin-top: 0;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
}

.dark .agent-tool {
  background-color: rgba(0, 43, 255, 0.08);
  border-left-color: #4d6fff;
}
</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-12rem)] top-[12rem]" id="content-side-layout"><div class="w-full relative print:print-color-exact xl:w-[28rem] max-h-[calc(100%-32px)] print:max-h-none gap-6 grid grid-rows-[repeat(auto-fit,minmax(0,min-content))] grid-rows min-h-[18rem]"><div data-orientation="horizontal" data-activation-direction="none" class="code-group p-0.5 flex flex-col not-prose relative rounded-2xl border border-gray-950/10 dark:border-white/10 min-w-0 my-0 bg-gray-50 dark:bg-white/5 dark:codeblock-dark text-gray-950 dark:text-gray-50 codeblock-light"><div class="flex items-center justify-between gap-2 relative pr-2.5" data-component-part="code-group-tab-bar"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px" data-component-part="scroll-area" class="min-w-0 flex-1 w-0 rounded-tl-xl"><div role="presentation" data-id="base-ui-_R_amjd7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] 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"><div data-orientation="horizontal" data-activation-direction="none" role="tablist" aria-label="Code examples" class="text-xs leading-6 gap-1 flex"><button type="button" data-active="" data-orientation="horizontal" data-activation-direction="none" aria-disabled="false" tabindex="-1" role="tab" aria-selected="true" id="base-ui-_R_1damjd7av5tccsnisnpfiutb_" data-composite-item-active="" class="group flex items-center relative gap-1.5 my-1 mb-1.5 outline-0 whitespace-nowrap font-medium ml-0! first:ml-2.5! focus-visible:outline-2 text-primary dark:text-primary-light"><div class="peer/title flex items-center gap-1.5 px-1.5 rounded-lg z-10 group-hover:bg-gray-200/50 dark:group-hover:bg-gray-700/70 group-hover:text-primary dark:group-hover:text-primary-light">Python</div><div class="absolute -bottom-1.5 left-0 right-0 h-0.5 rounded-full bg-primary dark:bg-primary-light peer-empty/title:hidden"></div></button><button type="button" data-orientation="horizontal" data-activation-direction="none" aria-disabled="false" tabindex="-1" role="tab" aria-selected="false" id="base-ui-_R_2damjd7av5tccsnisnpfiutb_" class="group flex items-center relative gap-1.5 my-1 mb-1.5 outline-0 whitespace-nowrap font-medium ml-0! first:ml-2.5! focus-visible:outline-2 text-gray-500 dark:text-gray-400"><div class="peer/title flex items-center gap-1.5 px-1.5 rounded-lg z-10 group-hover:bg-gray-200/50 dark:group-hover:bg-gray-700/70 group-hover:text-primary dark:group-hover:text-primary-light">JavaScript</div></button><button type="button" data-orientation="horizontal" data-activation-direction="none" aria-disabled="false" tabindex="-1" role="tab" aria-selected="false" id="base-ui-_R_3damjd7av5tccsnisnpfiutb_" class="group flex items-center relative gap-1.5 my-1 mb-1.5 outline-0 whitespace-nowrap font-medium ml-0! first:ml-2.5! focus-visible:outline-2 text-gray-500 dark:text-gray-400"><div class="peer/title flex items-center gap-1.5 px-1.5 rounded-lg z-10 group-hover:bg-gray-200/50 dark:group-hover:bg-gray-700/70 group-hover:text-primary dark:group-hover:text-primary-light">Java</div></button><button type="button" data-orientation="horizontal" data-activation-direction="none" aria-disabled="false" tabindex="-1" role="tab" aria-selected="false" id="base-ui-_R_4damjd7av5tccsnisnpfiutb_" class="group flex items-center relative gap-1.5 my-1 mb-1.5 outline-0 whitespace-nowrap font-medium ml-0! first:ml-2.5! focus-visible:outline-2 text-gray-500 dark:text-gray-400"><div class="peer/title flex items-center gap-1.5 px-1.5 rounded-lg z-10 group-hover:bg-gray-200/50 dark:group-hover:bg-gray-700/70 group-hover:text-primary dark:group-hover:text-primary-light">Go</div></button><button type="button" data-orientation="horizontal" data-activation-direction="none" aria-disabled="false" tabindex="-1" role="tab" aria-selected="false" id="base-ui-_R_5damjd7av5tccsnisnpfiutb_" class="group flex items-center relative gap-1.5 my-1 mb-1.5 outline-0 whitespace-nowrap font-medium ml-0! first:ml-2.5! focus-visible:outline-2 text-gray-500 dark:text-gray-400"><div class="peer/title flex items-center gap-1.5 px-1.5 rounded-lg z-10 group-hover:bg-gray-200/50 dark:group-hover:bg-gray-700/70 group-hover:text-primary dark:group-hover:text-primary-light">C#</div></button><button type="button" data-orientation="horizontal" data-activation-direction="none" aria-disabled="false" tabindex="-1" role="tab" aria-selected="false" id="base-ui-_R_6damjd7av5tccsnisnpfiutb_" class="group flex items-center relative gap-1.5 my-1 mb-1.5 outline-0 whitespace-nowrap font-medium ml-0! first:ml-2.5! focus-visible:outline-2 text-gray-500 dark:text-gray-400"><div class="peer/title flex items-center gap-1.5 px-1.5 rounded-lg z-10 group-hover:bg-gray-200/50 dark:group-hover:bg-gray-700/70 group-hover:text-primary dark:group-hover:text-primary-light">curl</div></button><button type="button" data-orientation="horizontal" data-activation-direction="none" aria-disabled="false" tabindex="-1" role="tab" aria-selected="false" id="base-ui-_R_7damjd7av5tccsnisnpfiutb_" class="group flex items-center relative gap-1.5 my-1 mb-1.5 outline-0 whitespace-nowrap font-medium ml-0! first:ml-2.5! focus-visible:outline-2 text-gray-500 dark:text-gray-400"><div class="peer/title flex items-center gap-1.5 px-1.5 rounded-lg z-10 group-hover:bg-gray-200/50 dark:group-hover:bg-gray-700/70 group-hover:text-primary dark:group-hover:text-primary-light">CLI</div></button></div></div></div></div><div class="flex items-center justify-end shrink-0 gap-1.5"><div class="z-10 select-none" id="base-ui-_R_3aimjd7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/code-snippet-feedback-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-800" id="code-snippet-feedback-button" aria-label="Report incorrect code"><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/code-snippet-feedback-button:text-gray-500 dark:text-white/40 dark:group-hover/code-snippet-feedback-button:text-white/60"><path d="M9 5.431V9.569" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9 11.417C8.449 11.417 8 11.866 8 12.417C8 12.968 8.449 13.417 9 13.417C9.551 13.417 10 12.968 10 12.417C10 11.866 9.551 11.417 9 11.417Z" fill="currentColor" stroke="none"></path><path d="M10.968 2.25H7.03301C6.50301 2.25 5.99401 2.461 5.61901 2.836L2.83701 5.618C2.46201 5.993 2.25101 6.502 2.25101 7.032V10.967C2.25101 11.497 2.46201 12.006 2.83701 12.381L5.61901 15.163C5.99401 15.538 6.50301 15.749 7.03301 15.749H10.968C11.498 15.749 12.007 15.538 12.382 15.163L15.164 12.381C15.539 12.006 15.75 11.497 15.75 10.967V7.032C15.75 6.502 15.539 5.993 15.164 5.618L12.382 2.836C12.007 2.461 11.498 2.25 10.968 2.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button></div><div class="z-10 select-none" id="base-ui-_R_3bimjd7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/copy-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]: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_3cimjd7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/ask-assistant-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-800" id="ask-assistant-code-block-button" aria-label="Ask Assistant" data-chat-payload-element-id="lang-python-code-__pip_install__pinec"><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><div class="flex flex-1 overflow-hidden"><div data-orientation="horizontal" data-activation-direction="none" id="base-ui-_R_cmjd7av5tccsnisnpfiutb_" role="tabpanel" tabindex="0" data-index="-1" class="w-full min-w-full max-w-full h-full max-h-full relative focus-visible:outline-hidden before:content-[&#x27;&#x27;] before:absolute before:inset-0 before:z-10 before:pointer-events-none before:rounded-xt focus-visible:before:outline focus-visible:before:outline-1 focus-visible:before:-outline-offset-2 focus-visible:before:outline-primary dark:focus-visible:before:outline-primary-light data-hidden:hidden [&amp;_[data-component-part=code-block-root]]:rounded-xt!"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:100%;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-xt bg-white"><div role="presentation" data-id="base-ui-_R_6cmjd7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-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-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre flex-none h-full text-xs leading-[1.35rem]" data-component-part="code-group-tab-content"><span><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="16"><span class="line"><span style="color:#6E7781;--shiki-dark:#6A9955"># pip install &quot;pinecone[grpc]&quot;</span></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#C586C0">from</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> pinecone.grpc </span><span style="color:#CF222E;--shiki-dark:#C586C0">import</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> PineconeGRPC </span><span style="color:#CF222E;--shiki-dark:#C586C0">as</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> Pinecone</span></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#C586C0">from</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> pinecone </span><span style="color:#CF222E;--shiki-dark:#C586C0">import</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> ServerlessSpec</span></span>
<span class="line"></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">pc </span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> Pinecone(</span><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;YOUR_API_KEY&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">pc.create_index(</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#9CDCFE">  name</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;docs-example1&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#9CDCFE">  dimension</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#0550AE;--shiki-dark:#B5CEA8">1536</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#9CDCFE">  metric</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;cosine&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#9CDCFE">  spec</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">ServerlessSpec(</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#9CDCFE">    cloud</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;aws&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#9CDCFE">    region</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;us-east-1&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">  ),</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#9CDCFE">  deletion_protection</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;disabled&quot;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">)</span></span>
</code></pre></span></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#FFFFFF;--fade-color-dark:#0B0C0E"></div></div><div data-hidden="" data-orientation="horizontal" data-activation-direction="none" hidden="" id="base-ui-_R_kmjd7av5tccsnisnpfiutb_" role="tabpanel" tabindex="0" inert="" data-index="-1" class="w-full min-w-full max-w-full h-full max-h-full relative focus-visible:outline-hidden before:content-[&#x27;&#x27;] before:absolute before:inset-0 before:z-10 before:pointer-events-none before:rounded-xt focus-visible:before:outline focus-visible:before:outline-1 focus-visible:before:-outline-offset-2 focus-visible:before:outline-primary dark:focus-visible:before:outline-primary-light data-hidden:hidden [&amp;_[data-component-part=code-block-root]]:rounded-xt!"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:100%;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-xt bg-white"><div role="presentation" data-id="base-ui-_R_6kmjd7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-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-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre flex-none h-full text-xs leading-[1.35rem]" data-component-part="code-group-tab-content"><span><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="19"><span class="line"><span style="color:#6E7781;--shiki-dark:#6A9955">// npm install @pinecone-database/pinecone</span></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#C586C0">import</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> { </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">Pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> } </span><span style="color:#CF222E;--shiki-dark:#C586C0">from</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &#x27;@pinecone-database/pinecone&#x27;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">const</span><span style="color:#0550AE;--shiki-dark:#4FC1FF"> pc</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"> Pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">({</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">  apiKey:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &#x27;YOUR_API_KEY&#x27;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">});</span></span>
<span class="line"></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#C586C0">await</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> pc</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">createIndex</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">({</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">  name:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &#x27;docs-example1&#x27;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">  dimension:</span><span style="color:#0550AE;--shiki-dark:#B5CEA8"> 1536</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">  metric:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &#x27;cosine&#x27;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">  spec:</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> {</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    serverless:</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> {</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">      cloud:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &#x27;aws&#x27;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">      region:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &#x27;us-east-1&#x27;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    }</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">  },</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">  deletionProtection:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &#x27;disabled&#x27;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">});</span></span>
</code></pre></span></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#FFFFFF;--fade-color-dark:#0B0C0E"></div></div><div data-hidden="" data-orientation="horizontal" data-activation-direction="none" hidden="" id="base-ui-_R_smjd7av5tccsnisnpfiutb_" role="tabpanel" tabindex="0" inert="" data-index="-1" class="w-full min-w-full max-w-full h-full max-h-full relative focus-visible:outline-hidden before:content-[&#x27;&#x27;] before:absolute before:inset-0 before:z-10 before:pointer-events-none before:rounded-xt focus-visible:before:outline focus-visible:before:outline-1 focus-visible:before:-outline-offset-2 focus-visible:before:outline-primary dark:focus-visible:before:outline-primary-light data-hidden:hidden [&amp;_[data-component-part=code-block-root]]:rounded-xt!"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:100%;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-xt bg-white"><div role="presentation" data-id="base-ui-_R_6smjd7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-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-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre flex-none h-full text-xs leading-[1.35rem]" data-component-part="code-group-tab-content"><span><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="java"><code language="java" numberOfLines="8"><span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">import</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> io.pinecone.clients.Pinecone;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">public</span><span style="color:#CF222E;--shiki-dark:#569CD6"> class</span><span style="color:#953800;--shiki-dark:#4EC9B0"> CreateServerlessIndexExample</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> {</span></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">    public</span><span style="color:#CF222E;--shiki-dark:#569CD6"> static</span><span style="color:#CF222E;--shiki-dark:#4EC9B0"> void</span><span style="color:#8250DF;--shiki-dark:#DCDCAA"> main</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#CF222E;--shiki-dark:#4EC9B0">String</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">[] </span><span style="color:#953800;--shiki-dark:#9CDCFE">args</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">) {</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#4EC9B0">        Pinecone</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> pc</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#CF222E;--shiki-dark:#C586C0"> new</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> Pinecone.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">Builder</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;YOUR_API_KEY&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">).</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">build</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">();</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        pc</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">createServerlessIndex</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;docs-example1&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;cosine&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#0550AE;--shiki-dark:#B5CEA8">1536</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;aws&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;us-east-1&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">DeletionProtection</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">disabled</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">);</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    }</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">}</span></span>
</code></pre></span></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#FFFFFF;--fade-color-dark:#0B0C0E"></div></div><div data-hidden="" data-orientation="horizontal" data-activation-direction="none" hidden="" id="base-ui-_R_14mjd7av5tccsnisnpfiutb_" role="tabpanel" tabindex="0" inert="" data-index="-1" class="w-full min-w-full max-w-full h-full max-h-full relative focus-visible:outline-hidden before:content-[&#x27;&#x27;] before:absolute before:inset-0 before:z-10 before:pointer-events-none before:rounded-xt focus-visible:before:outline focus-visible:before:outline-1 focus-visible:before:-outline-offset-2 focus-visible:before:outline-primary dark:focus-visible:before:outline-primary-light data-hidden:hidden [&amp;_[data-component-part=code-block-root]]:rounded-xt!"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:100%;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-xt bg-white"><div role="presentation" data-id="base-ui-_R_74mjd7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-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-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre flex-none h-full text-xs leading-[1.35rem]" data-component-part="code-group-tab-content"><span><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="go"><code language="go" numberOfLines="36"><span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">package</span><span style="color:#953800;--shiki-dark:#4EC9B0"> main</span></span>
<span class="line"></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#C586C0">import</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> (</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">    &quot;</span><span style="color:#953800;--shiki-dark:#CE9178">context</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">    &quot;</span><span style="color:#953800;--shiki-dark:#CE9178">fmt</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">    &quot;</span><span style="color:#953800;--shiki-dark:#CE9178">log</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">    &quot;</span><span style="color:#953800;--shiki-dark:#CE9178">github.com/pinecone-io/go-pinecone/v4/pinecone</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">func</span><span style="color:#8250DF;--shiki-dark:#DCDCAA"> main</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">() {</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    ctx</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> :=</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> context</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">Background</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">()</span></span>
<span class="line"></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    pc</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">err</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> :=</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">NewClient</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#953800;--shiki-dark:#4EC9B0">pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#953800;--shiki-dark:#4EC9B0">NewClientParams</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">{</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        ApiKey</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;YOUR_API_KEY&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    })</span></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#C586C0">    if</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> err</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> !=</span><span style="color:#0550AE;--shiki-dark:#569CD6"> nil</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> {</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        log</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">Fatalf</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;Failed to create Client: </span><span style="color:#CF222E;--shiki-dark:#9CDCFE">%v</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">err</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">)</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    }</span></span>
<span class="line"></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    deletionProtection</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> :=</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">DeletionProtectionDisabled</span></span>
<span class="line"></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    idx</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">err</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> :=</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> pc</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">CreateServerlessIndex</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">ctx</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#CF222E;--shiki-dark:#D4D4D4">&amp;</span><span style="color:#953800;--shiki-dark:#4EC9B0">pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#953800;--shiki-dark:#4EC9B0">CreateServerlessIndexRequest</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">{</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        Name</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">:      </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;docs-example1&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        Dimension</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0550AE;--shiki-dark:#B5CEA8">1536</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        Metric</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">:    </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">Cosine</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        Cloud</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">:     </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">Aws</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        Region</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">:    </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;us-east-1&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        DeletionProtection</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#CF222E;--shiki-dark:#D4D4D4">&amp;</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">deletionProtection</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    })</span></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#C586C0">  	if</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> err</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> !=</span><span style="color:#0550AE;--shiki-dark:#569CD6"> nil</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> {</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        log</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">Fatalf</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;Failed to create serverless index: </span><span style="color:#CF222E;--shiki-dark:#9CDCFE">%v</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">err</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">)</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    } </span><span style="color:#CF222E;--shiki-dark:#C586C0">else</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> {</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        fmt</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">Printf</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;Successfully created serverless index: </span><span style="color:#CF222E;--shiki-dark:#9CDCFE">%v</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">idx</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">Name</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">)</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    }</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">}</span></span>
</code></pre></span></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#FFFFFF;--fade-color-dark:#0B0C0E"></div></div><div data-hidden="" data-orientation="horizontal" data-activation-direction="none" hidden="" id="base-ui-_R_1cmjd7av5tccsnisnpfiutb_" role="tabpanel" tabindex="0" inert="" data-index="-1" class="w-full min-w-full max-w-full h-full max-h-full relative focus-visible:outline-hidden before:content-[&#x27;&#x27;] before:absolute before:inset-0 before:z-10 before:pointer-events-none before:rounded-xt focus-visible:before:outline focus-visible:before:outline-1 focus-visible:before:-outline-offset-2 focus-visible:before:outline-primary dark:focus-visible:before:outline-primary-light data-hidden:hidden [&amp;_[data-component-part=code-block-root]]:rounded-xt!"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:100%;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-xt bg-white"><div role="presentation" data-id="base-ui-_R_7cmjd7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-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-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre flex-none h-full text-xs leading-[1.35rem]" data-component-part="code-group-tab-content"><span><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="csharp"><code language="csharp" numberOfLines="19"><span class="line"><span style="color:#CF222E;--shiki-dark:#C586C0">using</span><span style="color:#953800;--shiki-dark:#4EC9B0"> Pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">var</span><span style="color:#953800;--shiki-dark:#9CDCFE"> pinecone</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#CF222E;--shiki-dark:#569CD6"> new</span><span style="color:#953800;--shiki-dark:#4EC9B0"> PineconeClient</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;YOUR_API_KEY&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">);</span></span>
<span class="line"></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">var</span><span style="color:#953800;--shiki-dark:#9CDCFE"> createIndexRequest</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#CF222E;--shiki-dark:#569CD6"> await</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">CreateIndexAsync</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#CF222E;--shiki-dark:#569CD6">new</span><span style="color:#953800;--shiki-dark:#4EC9B0"> CreateIndexRequest</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">{</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    Name</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;docs-example1&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    Dimension</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#0550AE;--shiki-dark:#B5CEA8"> 1536</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    Metric</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> MetricType</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">Cosine</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    Spec</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#CF222E;--shiki-dark:#569CD6"> new</span><span style="color:#953800;--shiki-dark:#4EC9B0"> ServerlessIndexSpec</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    {</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        Serverless</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#CF222E;--shiki-dark:#569CD6"> new</span><span style="color:#953800;--shiki-dark:#4EC9B0"> ServerlessSpec</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">        {</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">            Cloud</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> ServerlessSpecCloud</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">Aws</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">            Region</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;us-east-1&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">        }</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    },</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    DeletionProtection</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> DeletionProtection</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">Disabled</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">});</span></span>
</code></pre></span></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#FFFFFF;--fade-color-dark:#0B0C0E"></div></div><div data-hidden="" data-orientation="horizontal" data-activation-direction="none" hidden="" id="base-ui-_R_1kmjd7av5tccsnisnpfiutb_" role="tabpanel" tabindex="0" inert="" data-index="-1" class="w-full min-w-full max-w-full h-full max-h-full relative focus-visible:outline-hidden before:content-[&#x27;&#x27;] before:absolute before:inset-0 before:z-10 before:pointer-events-none before:rounded-xt focus-visible:before:outline focus-visible:before:outline-1 focus-visible:before:-outline-offset-2 focus-visible:before:outline-primary dark:focus-visible:before:outline-primary-light data-hidden:hidden [&amp;_[data-component-part=code-block-root]]:rounded-xt!"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:100%;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-xt bg-white"><div role="presentation" data-id="base-ui-_R_7kmjd7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-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-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre flex-none h-full text-xs leading-[1.35rem]" data-component-part="code-group-tab-content"><span><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="shellscript"><code language="shellscript" numberOfLines="46"><span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">PINECONE_API_KEY</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;YOUR_API_KEY&quot;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#6E7781;--shiki-dark:#6A9955"># Serverless index</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">curl</span><span style="color:#0550AE;--shiki-dark:#569CD6"> -X</span><span style="color:#0A3069;--shiki-dark:#CE9178"> POST</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;https://api.pinecone.io/indexes&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -H</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;Accept: application/json&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -H</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;Content-Type: application/json&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -H</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;Api-Key: </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">$PINECONE_API_KEY</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -H</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;X-Pinecone-Api-Version: 2025-04&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -d</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &#x27;{</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;name&quot;: &quot;docs-example1&quot;,</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;vector_type&quot;: &quot;dense&quot;,</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;dimension&quot;: 1536,</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;metric&quot;: &quot;cosine&quot;,</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;spec&quot;: {</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">               &quot;serverless&quot;: {</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">                   &quot;cloud&quot;: &quot;aws&quot;,</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">                   &quot;region&quot;: &quot;us-east-1&quot;</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">               }</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           },</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;tags&quot;: {</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">               &quot;example&quot;: &quot;tag&quot;</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           },</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;deletion_protection&quot;: &quot;disabled&quot;</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">         }&#x27;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#6E7781;--shiki-dark:#6A9955"># BYOC index</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">curl</span><span style="color:#0550AE;--shiki-dark:#569CD6"> -X</span><span style="color:#0A3069;--shiki-dark:#CE9178"> POST&quot;https://api.pinecone.io/indexes&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -H</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;Accept: application/json&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -H</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;Content-Type: application/json&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -H</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;Api-Key: </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">$PINECONE_API_KEY</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -H</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;X-Pinecone-Api-Version: 2025-04&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -d</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &#x27;{</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;name&quot;: &quot;example-byoc-index&quot;,</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;vector_type&quot;: &quot;dense&quot;,</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;dimension&quot;: 1536,</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;metric&quot;: &quot;cosine&quot;,</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;spec&quot;: {</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">               &quot;byoc&quot;: {</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">                   &quot;environment&quot;: &quot;aws-us-east-1-b921&quot;</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">               }</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           },</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;tags&quot;: {</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">               &quot;example&quot;: &quot;tag&quot;</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           },</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;deletion_protection&quot;: &quot;disabled&quot;</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">         }&#x27;</span></span>
</code></pre></span></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#FFFFFF;--fade-color-dark:#0B0C0E"></div></div><div data-hidden="" data-orientation="horizontal" data-activation-direction="none" hidden="" id="base-ui-_R_1smjd7av5tccsnisnpfiutb_" role="tabpanel" tabindex="0" inert="" data-index="-1" class="w-full min-w-full max-w-full h-full max-h-full relative focus-visible:outline-hidden before:content-[&#x27;&#x27;] before:absolute before:inset-0 before:z-10 before:pointer-events-none before:rounded-xt focus-visible:before:outline focus-visible:before:outline-1 focus-visible:before:-outline-offset-2 focus-visible:before:outline-primary dark:focus-visible:before:outline-primary-light data-hidden:hidden [&amp;_[data-component-part=code-block-root]]:rounded-xt!"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:100%;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-xt bg-white"><div role="presentation" data-id="base-ui-_R_7smjd7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-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-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre flex-none h-full text-xs leading-[1.35rem]" data-component-part="code-group-tab-content"><span><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="shellscript"><code language="shellscript" numberOfLines="11"><span class="line"><span style="color:#6E7781;--shiki-dark:#6A9955"># Target the project where you&#x27;d like to create the index.</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">pc</span><span style="color:#0A3069;--shiki-dark:#CE9178"> target</span><span style="color:#0550AE;--shiki-dark:#569CD6"> -o</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;example-org&quot;</span><span style="color:#0550AE;--shiki-dark:#569CD6"> -p</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;example-project&quot;</span></span>
<span class="line"><span style="color:#6E7781;--shiki-dark:#6A9955"># Create the index.</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">pc</span><span style="color:#0A3069;--shiki-dark:#CE9178"> index</span><span style="color:#0A3069;--shiki-dark:#CE9178"> create</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">  --name</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;docs-example1&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">  --dimension</span><span style="color:#0550AE;--shiki-dark:#B5CEA8"> 1536</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">  --metric</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;cosine&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">  --cloud</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;aws&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">  --region</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;us-east-1&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">  --deletion_protection</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;disabled&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">  --tags</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;example=tag,example2=tag2&quot;</span></span>
</code></pre></span></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#FFFFFF;--fade-color-dark:#0B0C0E"></div></div></div></div><div data-orientation="horizontal" data-activation-direction="none" class="code-group p-0.5 flex flex-col not-prose relative rounded-2xl border border-gray-950/10 dark:border-white/10 min-w-0 my-0 bg-gray-50 dark:bg-white/5 dark:codeblock-dark text-gray-950 dark:text-gray-50 codeblock-light"><div class="flex items-center justify-between gap-2 relative pr-2.5" data-component-part="code-group-tab-bar"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px" data-component-part="scroll-area" class="min-w-0 flex-1 w-0 rounded-tl-xl"><div role="presentation" data-id="base-ui-_R_aqjd7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] 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"><div data-orientation="horizontal" data-activation-direction="none" role="tablist" aria-label="Code examples" class="text-xs leading-6 gap-1 flex"><button type="button" data-active="" data-orientation="horizontal" data-activation-direction="none" aria-disabled="false" tabindex="-1" role="tab" aria-selected="true" id="base-ui-_R_1daqjd7av5tccsnisnpfiutb_" data-composite-item-active="" class="group flex items-center relative gap-1.5 my-1 mb-1.5 outline-0 whitespace-nowrap font-medium ml-0! first:ml-2.5! focus-visible:outline-2 text-primary dark:text-primary-light"><div class="peer/title flex items-center gap-1.5 px-1.5 rounded-lg z-10">Response</div><div class="absolute -bottom-1.5 left-0 right-0 h-0.5 rounded-full bg-primary dark:bg-primary-light peer-empty/title:hidden"></div></button></div></div></div></div><div class="flex items-center justify-end shrink-0 gap-1.5"><div class="z-10 select-none" id="base-ui-_R_3aiqjd7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/code-snippet-feedback-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-800" id="code-snippet-feedback-button" aria-label="Report incorrect code"><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/code-snippet-feedback-button:text-gray-500 dark:text-white/40 dark:group-hover/code-snippet-feedback-button:text-white/60"><path d="M9 5.431V9.569" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9 11.417C8.449 11.417 8 11.866 8 12.417C8 12.968 8.449 13.417 9 13.417C9.551 13.417 10 12.968 10 12.417C10 11.866 9.551 11.417 9 11.417Z" fill="currentColor" stroke="none"></path><path d="M10.968 2.25H7.03301C6.50301 2.25 5.99401 2.461 5.61901 2.836L2.83701 5.618C2.46201 5.993 2.25101 6.502 2.25101 7.032V10.967C2.25101 11.497 2.46201 12.006 2.83701 12.381L5.61901 15.163C5.99401 15.538 6.50301 15.749 7.03301 15.749H10.968C11.498 15.749 12.007 15.538 12.382 15.163L15.164 12.381C15.539 12.006 15.75 11.497 15.75 10.967V7.032C15.75 6.502 15.539 5.993 15.164 5.618L12.382 2.836C12.007 2.461 11.498 2.25 10.968 2.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button></div><div class="z-10 select-none" id="base-ui-_R_3biqjd7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/copy-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]: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_3ciqjd7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/ask-assistant-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-800" id="ask-assistant-code-block-button" aria-label="Ask Assistant" data-chat-payload-element-id="lang-shellscript-code-__Serverless_index__"><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><div class="flex flex-1 overflow-hidden"><div data-orientation="horizontal" data-activation-direction="none" id="base-ui-_R_cqjd7av5tccsnisnpfiutb_" role="tabpanel" tabindex="0" data-index="-1" class="w-full min-w-full max-w-full h-full max-h-full relative focus-visible:outline-hidden before:content-[&#x27;&#x27;] before:absolute before:inset-0 before:z-10 before:pointer-events-none before:rounded-xt focus-visible:before:outline focus-visible:before:outline-1 focus-visible:before:-outline-offset-2 focus-visible:before:outline-primary dark:focus-visible:before:outline-primary-light data-hidden:hidden [&amp;_[data-component-part=code-block-root]]:rounded-xt!"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:100%;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-xt bg-white"><div role="presentation" data-id="base-ui-_R_1sqjd7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-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-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre flex-none h-full text-xs leading-[1.35rem]" data-component-part="code-group-tab-content"><span><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="shellscript"><code language="shellscript" numberOfLines="44"><span class="line"><span style="color:#6E7781;--shiki-dark:#6A9955"># Serverless index</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">{</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;name&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;docs-example1&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;vector_type&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;dense&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;metric&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;cosine&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;dimension&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> 1536,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;status&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> {</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">        &quot;ready&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0550AE;--shiki-dark:#569CD6"> true</span><span style="color:#0A3069;--shiki-dark:#CE9178">,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">        &quot;state&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;Ready&quot;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    },</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;host&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;example-serverless-index-govk0nt.svc.aped-4627-b74a.pinecone.io&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;spec&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> {</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">        &quot;serverless&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> {</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">            &quot;region&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;us-east-1&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">            &quot;cloud&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;aws&quot;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">        }</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    },</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;deletion_protection&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;disabled&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;tags&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> {</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">        &quot;example&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;tag&quot;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    }</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#6E7781;--shiki-dark:#6A9955"># BYOC index</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">{</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;name&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;example-byoc-index&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;vector_type&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;dense&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;metric&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;cosine&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;dimension&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> 1536,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;status&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> {</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">        &quot;ready&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0550AE;--shiki-dark:#569CD6"> true</span><span style="color:#0A3069;--shiki-dark:#CE9178">,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">        &quot;state&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;Ready&quot;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    },</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;host&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;example-byoc-index-govk0nt.svc.private.aped-4627-b74a.pinecone.io&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;spec&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> {</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">        &quot;byoc&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> {</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">            &quot;environment&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;aws-us-east-1-b921&quot;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">        }</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    },</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;deletion_protection&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;disabled&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;tags&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> {</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">        &quot;example&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;tag&quot;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    }</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">}</span></span>
</code></pre></span></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#FFFFFF;--fade-color-dark:#0B0C0E"></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)]" id="content-area"><header id="header" class="relative leading-none @container/page-header"><div class="mt-0.5 space-y-2.5"><div class="eyebrow h-5 text-primary dark:text-primary-light text-sm font-semibold">Indexes</div><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">Create an index</h1><div id="page-context-menu" class="items-center shrink-0 min-w-[156px] justify-end ml-auto hidden @[520px]/page-header:flex"><button id="page-context-menu-button" class="rounded-l-xl px-3 text-gray-700 dark:text-gray-300 py-1.5 border border-gray-200 dark:border-white/[0.07] bg-background-light dark:bg-background-dark hover:bg-gray-600/5 dark:hover:bg-gray-200/5 border-r-0" aria-label="Copy page"><div class="flex items-center gap-2 text-sm text-center font-medium"><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"><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><span class="grid"><span aria-hidden="true" class="invisible col-start-1 row-start-1">Copy page</span><span class="col-start-1 row-start-1">Copy page</span></span></div></button><button type="button" tabindex="0" aria-haspopup="menu" id="base-ui-_R_3n4dd7av5tccsnisnpfiutb_" aria-label="More actions" class="group disabled:pointer-events-none [&amp;&gt;span]:line-clamp-1 overflow-hidden group py-0.5 gap-1 text-sm text-gray-950/50 dark:text-white/50 group-hover:text-gray-950/70 dark:group-hover:text-white/70 rounded-none rounded-r-xl border flex items-center justify-center h-[34px] border-gray-200 aspect-square dark:border-white/[0.07] bg-background-light dark:bg-background-dark hover:bg-gray-600/5 dark:hover:bg-gray-200/5"><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"><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><div class="mt-2 text-lg prose prose-gray dark:prose-invert [&amp;&gt;*]:[overflow-wrap:anywhere]"><p>Create a Pinecone index. This is where you specify the measure of similarity, the dimension of vectors to be stored in the index, which cloud provider you would like to deploy with, and more.</p>
<p>For guidance and examples, see <a href="https://docs.pinecone.io/guides/index-data/create-an-index">Create an index</a>.</p></div><div id="page-context-menu" class="flex items-center shrink-0 min-w-[156px] mt-3 @[520px]/page-header:hidden"><button id="page-context-menu-button" class="rounded-l-xl px-3 text-gray-700 dark:text-gray-300 py-1.5 border border-gray-200 dark:border-white/[0.07] bg-background-light dark:bg-background-dark hover:bg-gray-600/5 dark:hover:bg-gray-200/5 border-r-0" aria-label="Copy page"><div class="flex items-center gap-2 text-sm text-center font-medium"><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"><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><span class="grid"><span aria-hidden="true" class="invisible col-start-1 row-start-1">Copy page</span><span class="col-start-1 row-start-1">Copy page</span></span></div></button><button type="button" tabindex="0" aria-haspopup="menu" id="base-ui-_R_7cdd7av5tccsnisnpfiutb_" aria-label="More actions" class="group disabled:pointer-events-none [&amp;&gt;span]:line-clamp-1 overflow-hidden group py-0.5 gap-1 text-sm text-gray-950/50 dark:text-white/50 group-hover:text-gray-950/70 dark:group-hover:text-white/70 rounded-none rounded-r-xl border flex items-center justify-center h-[34px] border-gray-200 aspect-square dark:border-white/[0.07] bg-background-light dark:bg-background-dark hover:bg-gray-600/5 dark:hover:bg-gray-200/5"><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"><path d="M6.5 2.75L12.75 9L6.5 15.25" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button></div></header><div class="flex flex-col gap-8 isolate" id="api-playground-2-operation-page"><div class="mt-6 flex w-full flex-col space-y-4"><div class="flex flex-col bg-background-light dark:bg-background-dark border-standard rounded-2xl p-1 w-full"><div class="flex items-center space-x-1.5"><div class="group relative flex-1 flex gap-2 min-w-0 rounded-xl items-center cursor-pointer p-1.5 pr-0 overflow-hidden"><div class="method-pill rounded-lg font-bold px-1.5 py-0.5 text-sm leading-5 bg-blue-400/20 dark:bg-blue-400/20 text-blue-700 dark:text-blue-400">POST</div><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px" data-component-part="scroll-area" class="min-w-0 flex-1"><div role="presentation" data-id="base-ui-_R_9ap5d7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] overflow-y-hidden! [--scroll-area-fade-size:16px] base-ui-disable-scrollbar" style="overflow:scroll;mask-image:linear-gradient(to right, transparent 0, black min(var(--scroll-area-fade-size), var(--scroll-area-overflow-x-start, 0px)));-webkit-mask-image:linear-gradient(to right, transparent 0, black min(var(--scroll-area-fade-size), var(--scroll-area-overflow-x-start, 0px)));mask-composite:intersect;-webkit-mask-composite:source-in;mask-repeat:no-repeat" data-component-part="scroll-area-viewport"><div role="presentation" style="min-width:fit-content" data-component-part="scroll-area-content" class="flex items-center space-x-2 pr-8"><div class="flex items-center flex-1 gap-0.5 font-mono pr-1.5"><div class="text-sm text-gray-400">/</div><div class="text-sm font-medium text-gray-800 dark:text-white min-w-max">indexes</div></div></div></div></div><button type="button" aria-label="Copy" class="absolute right-[5px] top-1/2 -translate-y-1/2 size-6.5 flex items-center justify-center bg-background-light dark:bg-background-dark rounded-md opacity-0 group-hover:opacity-100 focus-visible:opacity-100"><span class="sr-only" role="status"></span><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 dark:text-white/40"><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></div></div></div><div class="mt-8 lg:mt-0 flex flex-col gap-6 max-h-[30rem] print:max-h-none [html:not([data-assistant-state=open])_&amp;]:xl:hidden"><div class="w-full relative print:print-color-exact xl:w-[28rem] max-h-[calc(100%-32px)] print:max-h-none gap-6 grid grid-rows-[repeat(auto-fit,minmax(0,min-content))] grid-rows min-h-[18rem]"><div data-orientation="horizontal" data-activation-direction="none" class="code-group p-0.5 flex flex-col not-prose relative rounded-2xl border border-gray-950/10 dark:border-white/10 min-w-0 my-0 bg-gray-50 dark:bg-white/5 dark:codeblock-dark text-gray-950 dark:text-gray-50 codeblock-light"><div class="flex items-center justify-between gap-2 relative pr-2.5" data-component-part="code-group-tab-bar"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px" data-component-part="scroll-area" class="min-w-0 flex-1 w-0 rounded-tl-xl"><div role="presentation" data-id="base-ui-_R_2lip5d7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] 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"><div data-orientation="horizontal" data-activation-direction="none" role="tablist" aria-label="Code examples" class="text-xs leading-6 gap-1 flex"><button type="button" data-active="" data-orientation="horizontal" data-activation-direction="none" aria-disabled="false" tabindex="-1" role="tab" aria-selected="true" id="base-ui-_R_balip5d7av5tccsnisnpfiutb_" data-composite-item-active="" class="group flex items-center relative gap-1.5 my-1 mb-1.5 outline-0 whitespace-nowrap font-medium ml-0! first:ml-2.5! focus-visible:outline-2 text-primary dark:text-primary-light"><div class="peer/title flex items-center gap-1.5 px-1.5 rounded-lg z-10 group-hover:bg-gray-200/50 dark:group-hover:bg-gray-700/70 group-hover:text-primary dark:group-hover:text-primary-light">Python</div><div class="absolute -bottom-1.5 left-0 right-0 h-0.5 rounded-full bg-primary dark:bg-primary-light peer-empty/title:hidden"></div></button><button type="button" data-orientation="horizontal" data-activation-direction="none" aria-disabled="false" tabindex="-1" role="tab" aria-selected="false" id="base-ui-_R_jalip5d7av5tccsnisnpfiutb_" class="group flex items-center relative gap-1.5 my-1 mb-1.5 outline-0 whitespace-nowrap font-medium ml-0! first:ml-2.5! focus-visible:outline-2 text-gray-500 dark:text-gray-400"><div class="peer/title flex items-center gap-1.5 px-1.5 rounded-lg z-10 group-hover:bg-gray-200/50 dark:group-hover:bg-gray-700/70 group-hover:text-primary dark:group-hover:text-primary-light">JavaScript</div></button><button type="button" data-orientation="horizontal" data-activation-direction="none" aria-disabled="false" tabindex="-1" role="tab" aria-selected="false" id="base-ui-_R_ralip5d7av5tccsnisnpfiutb_" class="group flex items-center relative gap-1.5 my-1 mb-1.5 outline-0 whitespace-nowrap font-medium ml-0! first:ml-2.5! focus-visible:outline-2 text-gray-500 dark:text-gray-400"><div class="peer/title flex items-center gap-1.5 px-1.5 rounded-lg z-10 group-hover:bg-gray-200/50 dark:group-hover:bg-gray-700/70 group-hover:text-primary dark:group-hover:text-primary-light">Java</div></button><button type="button" data-orientation="horizontal" data-activation-direction="none" aria-disabled="false" tabindex="-1" role="tab" aria-selected="false" id="base-ui-_R_13alip5d7av5tccsnisnpfiutb_" class="group flex items-center relative gap-1.5 my-1 mb-1.5 outline-0 whitespace-nowrap font-medium ml-0! first:ml-2.5! focus-visible:outline-2 text-gray-500 dark:text-gray-400"><div class="peer/title flex items-center gap-1.5 px-1.5 rounded-lg z-10 group-hover:bg-gray-200/50 dark:group-hover:bg-gray-700/70 group-hover:text-primary dark:group-hover:text-primary-light">Go</div></button><button type="button" data-orientation="horizontal" data-activation-direction="none" aria-disabled="false" tabindex="-1" role="tab" aria-selected="false" id="base-ui-_R_1balip5d7av5tccsnisnpfiutb_" class="group flex items-center relative gap-1.5 my-1 mb-1.5 outline-0 whitespace-nowrap font-medium ml-0! first:ml-2.5! focus-visible:outline-2 text-gray-500 dark:text-gray-400"><div class="peer/title flex items-center gap-1.5 px-1.5 rounded-lg z-10 group-hover:bg-gray-200/50 dark:group-hover:bg-gray-700/70 group-hover:text-primary dark:group-hover:text-primary-light">C#</div></button><button type="button" data-orientation="horizontal" data-activation-direction="none" aria-disabled="false" tabindex="-1" role="tab" aria-selected="false" id="base-ui-_R_1jalip5d7av5tccsnisnpfiutb_" class="group flex items-center relative gap-1.5 my-1 mb-1.5 outline-0 whitespace-nowrap font-medium ml-0! first:ml-2.5! focus-visible:outline-2 text-gray-500 dark:text-gray-400"><div class="peer/title flex items-center gap-1.5 px-1.5 rounded-lg z-10 group-hover:bg-gray-200/50 dark:group-hover:bg-gray-700/70 group-hover:text-primary dark:group-hover:text-primary-light">curl</div></button><button type="button" data-orientation="horizontal" data-activation-direction="none" aria-disabled="false" tabindex="-1" role="tab" aria-selected="false" id="base-ui-_R_1ralip5d7av5tccsnisnpfiutb_" class="group flex items-center relative gap-1.5 my-1 mb-1.5 outline-0 whitespace-nowrap font-medium ml-0! first:ml-2.5! focus-visible:outline-2 text-gray-500 dark:text-gray-400"><div class="peer/title flex items-center gap-1.5 px-1.5 rounded-lg z-10 group-hover:bg-gray-200/50 dark:group-hover:bg-gray-700/70 group-hover:text-primary dark:group-hover:text-primary-light">CLI</div></button></div></div></div></div><div class="flex items-center justify-end shrink-0 gap-1.5"><div class="z-10 select-none" id="base-ui-_R_qklip5d7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/code-snippet-feedback-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-800" id="code-snippet-feedback-button" aria-label="Report incorrect code"><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/code-snippet-feedback-button:text-gray-500 dark:text-white/40 dark:group-hover/code-snippet-feedback-button:text-white/60"><path d="M9 5.431V9.569" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9 11.417C8.449 11.417 8 11.866 8 12.417C8 12.968 8.449 13.417 9 13.417C9.551 13.417 10 12.968 10 12.417C10 11.866 9.551 11.417 9 11.417Z" fill="currentColor" stroke="none"></path><path d="M10.968 2.25H7.03301C6.50301 2.25 5.99401 2.461 5.61901 2.836L2.83701 5.618C2.46201 5.993 2.25101 6.502 2.25101 7.032V10.967C2.25101 11.497 2.46201 12.006 2.83701 12.381L5.61901 15.163C5.99401 15.538 6.50301 15.749 7.03301 15.749H10.968C11.498 15.749 12.007 15.538 12.382 15.163L15.164 12.381C15.539 12.006 15.75 11.497 15.75 10.967V7.032C15.75 6.502 15.539 5.993 15.164 5.618L12.382 2.836C12.007 2.461 11.498 2.25 10.968 2.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button></div><div class="z-10 select-none" id="base-ui-_R_qslip5d7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/copy-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]: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_r4lip5d7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/ask-assistant-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-800" id="ask-assistant-code-block-button" aria-label="Ask Assistant" data-chat-payload-element-id="lang-python-code-__pip_install__pinec"><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><div class="flex flex-1 overflow-hidden"><div data-orientation="horizontal" data-activation-direction="none" id="base-ui-_R_35ip5d7av5tccsnisnpfiutb_" role="tabpanel" tabindex="0" data-index="-1" class="w-full min-w-full max-w-full h-full max-h-full relative focus-visible:outline-hidden before:content-[&#x27;&#x27;] before:absolute before:inset-0 before:z-10 before:pointer-events-none before:rounded-xt focus-visible:before:outline focus-visible:before:outline-1 focus-visible:before:-outline-offset-2 focus-visible:before:outline-primary dark:focus-visible:before:outline-primary-light data-hidden:hidden [&amp;_[data-component-part=code-block-root]]:rounded-xt!"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:100%;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-xt bg-white"><div role="presentation" data-id="base-ui-_R_1j5ip5d7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-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-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre flex-none h-full text-xs leading-[1.35rem]" data-component-part="code-group-tab-content"><span><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="16"><span class="line"><span style="color:#6E7781;--shiki-dark:#6A9955"># pip install &quot;pinecone[grpc]&quot;</span></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#C586C0">from</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> pinecone.grpc </span><span style="color:#CF222E;--shiki-dark:#C586C0">import</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> PineconeGRPC </span><span style="color:#CF222E;--shiki-dark:#C586C0">as</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> Pinecone</span></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#C586C0">from</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> pinecone </span><span style="color:#CF222E;--shiki-dark:#C586C0">import</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> ServerlessSpec</span></span>
<span class="line"></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">pc </span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> Pinecone(</span><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;YOUR_API_KEY&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">pc.create_index(</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#9CDCFE">  name</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;docs-example1&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#9CDCFE">  dimension</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#0550AE;--shiki-dark:#B5CEA8">1536</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#9CDCFE">  metric</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;cosine&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#9CDCFE">  spec</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">ServerlessSpec(</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#9CDCFE">    cloud</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;aws&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#9CDCFE">    region</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;us-east-1&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">  ),</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#9CDCFE">  deletion_protection</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;disabled&quot;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">)</span></span>
</code></pre></span></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#FFFFFF;--fade-color-dark:#0B0C0E"></div></div><div data-hidden="" data-orientation="horizontal" data-activation-direction="none" hidden="" id="base-ui-_R_55ip5d7av5tccsnisnpfiutb_" role="tabpanel" tabindex="0" inert="" data-index="-1" class="w-full min-w-full max-w-full h-full max-h-full relative focus-visible:outline-hidden before:content-[&#x27;&#x27;] before:absolute before:inset-0 before:z-10 before:pointer-events-none before:rounded-xt focus-visible:before:outline focus-visible:before:outline-1 focus-visible:before:-outline-offset-2 focus-visible:before:outline-primary dark:focus-visible:before:outline-primary-light data-hidden:hidden [&amp;_[data-component-part=code-block-root]]:rounded-xt!"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:100%;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-xt bg-white"><div role="presentation" data-id="base-ui-_R_1l5ip5d7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-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-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre flex-none h-full text-xs leading-[1.35rem]" data-component-part="code-group-tab-content"><span><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="19"><span class="line"><span style="color:#6E7781;--shiki-dark:#6A9955">// npm install @pinecone-database/pinecone</span></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#C586C0">import</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> { </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">Pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> } </span><span style="color:#CF222E;--shiki-dark:#C586C0">from</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &#x27;@pinecone-database/pinecone&#x27;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">const</span><span style="color:#0550AE;--shiki-dark:#4FC1FF"> pc</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"> Pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">({</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">  apiKey:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &#x27;YOUR_API_KEY&#x27;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">});</span></span>
<span class="line"></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#C586C0">await</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> pc</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">createIndex</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">({</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">  name:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &#x27;docs-example1&#x27;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">  dimension:</span><span style="color:#0550AE;--shiki-dark:#B5CEA8"> 1536</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">  metric:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &#x27;cosine&#x27;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">  spec:</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> {</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    serverless:</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> {</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">      cloud:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &#x27;aws&#x27;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">      region:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &#x27;us-east-1&#x27;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    }</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">  },</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">  deletionProtection:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &#x27;disabled&#x27;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">});</span></span>
</code></pre></span></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#FFFFFF;--fade-color-dark:#0B0C0E"></div></div><div data-hidden="" data-orientation="horizontal" data-activation-direction="none" hidden="" id="base-ui-_R_75ip5d7av5tccsnisnpfiutb_" role="tabpanel" tabindex="0" inert="" data-index="-1" class="w-full min-w-full max-w-full h-full max-h-full relative focus-visible:outline-hidden before:content-[&#x27;&#x27;] before:absolute before:inset-0 before:z-10 before:pointer-events-none before:rounded-xt focus-visible:before:outline focus-visible:before:outline-1 focus-visible:before:-outline-offset-2 focus-visible:before:outline-primary dark:focus-visible:before:outline-primary-light data-hidden:hidden [&amp;_[data-component-part=code-block-root]]:rounded-xt!"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:100%;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-xt bg-white"><div role="presentation" data-id="base-ui-_R_1n5ip5d7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-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-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre flex-none h-full text-xs leading-[1.35rem]" data-component-part="code-group-tab-content"><span><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="java"><code language="java" numberOfLines="8"><span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">import</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> io.pinecone.clients.Pinecone;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">public</span><span style="color:#CF222E;--shiki-dark:#569CD6"> class</span><span style="color:#953800;--shiki-dark:#4EC9B0"> CreateServerlessIndexExample</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> {</span></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">    public</span><span style="color:#CF222E;--shiki-dark:#569CD6"> static</span><span style="color:#CF222E;--shiki-dark:#4EC9B0"> void</span><span style="color:#8250DF;--shiki-dark:#DCDCAA"> main</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#CF222E;--shiki-dark:#4EC9B0">String</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">[] </span><span style="color:#953800;--shiki-dark:#9CDCFE">args</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">) {</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#4EC9B0">        Pinecone</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> pc</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#CF222E;--shiki-dark:#C586C0"> new</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> Pinecone.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">Builder</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;YOUR_API_KEY&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">).</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">build</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">();</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        pc</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">createServerlessIndex</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;docs-example1&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;cosine&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#0550AE;--shiki-dark:#B5CEA8">1536</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;aws&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;us-east-1&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">DeletionProtection</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">disabled</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">);</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    }</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">}</span></span>
</code></pre></span></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#FFFFFF;--fade-color-dark:#0B0C0E"></div></div><div data-hidden="" data-orientation="horizontal" data-activation-direction="none" hidden="" id="base-ui-_R_95ip5d7av5tccsnisnpfiutb_" role="tabpanel" tabindex="0" inert="" data-index="-1" class="w-full min-w-full max-w-full h-full max-h-full relative focus-visible:outline-hidden before:content-[&#x27;&#x27;] before:absolute before:inset-0 before:z-10 before:pointer-events-none before:rounded-xt focus-visible:before:outline focus-visible:before:outline-1 focus-visible:before:-outline-offset-2 focus-visible:before:outline-primary dark:focus-visible:before:outline-primary-light data-hidden:hidden [&amp;_[data-component-part=code-block-root]]:rounded-xt!"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:100%;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-xt bg-white"><div role="presentation" data-id="base-ui-_R_1p5ip5d7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-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-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre flex-none h-full text-xs leading-[1.35rem]" data-component-part="code-group-tab-content"><span><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="go"><code language="go" numberOfLines="36"><span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">package</span><span style="color:#953800;--shiki-dark:#4EC9B0"> main</span></span>
<span class="line"></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#C586C0">import</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> (</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">    &quot;</span><span style="color:#953800;--shiki-dark:#CE9178">context</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">    &quot;</span><span style="color:#953800;--shiki-dark:#CE9178">fmt</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">    &quot;</span><span style="color:#953800;--shiki-dark:#CE9178">log</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">    &quot;</span><span style="color:#953800;--shiki-dark:#CE9178">github.com/pinecone-io/go-pinecone/v4/pinecone</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">func</span><span style="color:#8250DF;--shiki-dark:#DCDCAA"> main</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">() {</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    ctx</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> :=</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> context</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">Background</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">()</span></span>
<span class="line"></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    pc</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">err</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> :=</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">NewClient</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#953800;--shiki-dark:#4EC9B0">pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#953800;--shiki-dark:#4EC9B0">NewClientParams</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">{</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        ApiKey</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;YOUR_API_KEY&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    })</span></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#C586C0">    if</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> err</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> !=</span><span style="color:#0550AE;--shiki-dark:#569CD6"> nil</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> {</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        log</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">Fatalf</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;Failed to create Client: </span><span style="color:#CF222E;--shiki-dark:#9CDCFE">%v</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">err</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">)</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    }</span></span>
<span class="line"></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    deletionProtection</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> :=</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">DeletionProtectionDisabled</span></span>
<span class="line"></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    idx</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">err</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> :=</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> pc</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">CreateServerlessIndex</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">ctx</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#CF222E;--shiki-dark:#D4D4D4">&amp;</span><span style="color:#953800;--shiki-dark:#4EC9B0">pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#953800;--shiki-dark:#4EC9B0">CreateServerlessIndexRequest</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">{</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        Name</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">:      </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;docs-example1&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        Dimension</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0550AE;--shiki-dark:#B5CEA8">1536</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        Metric</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">:    </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">Cosine</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        Cloud</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">:     </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">Aws</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        Region</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">:    </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;us-east-1&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        DeletionProtection</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#CF222E;--shiki-dark:#D4D4D4">&amp;</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">deletionProtection</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    })</span></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#C586C0">  	if</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> err</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> !=</span><span style="color:#0550AE;--shiki-dark:#569CD6"> nil</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> {</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        log</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">Fatalf</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;Failed to create serverless index: </span><span style="color:#CF222E;--shiki-dark:#9CDCFE">%v</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">err</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">)</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    } </span><span style="color:#CF222E;--shiki-dark:#C586C0">else</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> {</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        fmt</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">Printf</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;Successfully created serverless index: </span><span style="color:#CF222E;--shiki-dark:#9CDCFE">%v</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">idx</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">Name</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">)</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    }</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">}</span></span>
</code></pre></span></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#FFFFFF;--fade-color-dark:#0B0C0E"></div></div><div data-hidden="" data-orientation="horizontal" data-activation-direction="none" hidden="" id="base-ui-_R_b5ip5d7av5tccsnisnpfiutb_" role="tabpanel" tabindex="0" inert="" data-index="-1" class="w-full min-w-full max-w-full h-full max-h-full relative focus-visible:outline-hidden before:content-[&#x27;&#x27;] before:absolute before:inset-0 before:z-10 before:pointer-events-none before:rounded-xt focus-visible:before:outline focus-visible:before:outline-1 focus-visible:before:-outline-offset-2 focus-visible:before:outline-primary dark:focus-visible:before:outline-primary-light data-hidden:hidden [&amp;_[data-component-part=code-block-root]]:rounded-xt!"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:100%;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-xt bg-white"><div role="presentation" data-id="base-ui-_R_1r5ip5d7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-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-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre flex-none h-full text-xs leading-[1.35rem]" data-component-part="code-group-tab-content"><span><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="csharp"><code language="csharp" numberOfLines="19"><span class="line"><span style="color:#CF222E;--shiki-dark:#C586C0">using</span><span style="color:#953800;--shiki-dark:#4EC9B0"> Pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">var</span><span style="color:#953800;--shiki-dark:#9CDCFE"> pinecone</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#CF222E;--shiki-dark:#569CD6"> new</span><span style="color:#953800;--shiki-dark:#4EC9B0"> PineconeClient</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;YOUR_API_KEY&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">);</span></span>
<span class="line"></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">var</span><span style="color:#953800;--shiki-dark:#9CDCFE"> createIndexRequest</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#CF222E;--shiki-dark:#569CD6"> await</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">CreateIndexAsync</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#CF222E;--shiki-dark:#569CD6">new</span><span style="color:#953800;--shiki-dark:#4EC9B0"> CreateIndexRequest</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">{</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    Name</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;docs-example1&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    Dimension</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#0550AE;--shiki-dark:#B5CEA8"> 1536</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    Metric</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> MetricType</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">Cosine</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    Spec</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#CF222E;--shiki-dark:#569CD6"> new</span><span style="color:#953800;--shiki-dark:#4EC9B0"> ServerlessIndexSpec</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    {</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        Serverless</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#CF222E;--shiki-dark:#569CD6"> new</span><span style="color:#953800;--shiki-dark:#4EC9B0"> ServerlessSpec</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">        {</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">            Cloud</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> ServerlessSpecCloud</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">Aws</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">            Region</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;us-east-1&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">        }</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    },</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    DeletionProtection</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> DeletionProtection</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">Disabled</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">});</span></span>
</code></pre></span></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#FFFFFF;--fade-color-dark:#0B0C0E"></div></div><div data-hidden="" data-orientation="horizontal" data-activation-direction="none" hidden="" id="base-ui-_R_d5ip5d7av5tccsnisnpfiutb_" role="tabpanel" tabindex="0" inert="" data-index="-1" class="w-full min-w-full max-w-full h-full max-h-full relative focus-visible:outline-hidden before:content-[&#x27;&#x27;] before:absolute before:inset-0 before:z-10 before:pointer-events-none before:rounded-xt focus-visible:before:outline focus-visible:before:outline-1 focus-visible:before:-outline-offset-2 focus-visible:before:outline-primary dark:focus-visible:before:outline-primary-light data-hidden:hidden [&amp;_[data-component-part=code-block-root]]:rounded-xt!"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:100%;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-xt bg-white"><div role="presentation" data-id="base-ui-_R_1t5ip5d7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-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-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre flex-none h-full text-xs leading-[1.35rem]" data-component-part="code-group-tab-content"><span><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="shellscript"><code language="shellscript" numberOfLines="46"><span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">PINECONE_API_KEY</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;YOUR_API_KEY&quot;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#6E7781;--shiki-dark:#6A9955"># Serverless index</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">curl</span><span style="color:#0550AE;--shiki-dark:#569CD6"> -X</span><span style="color:#0A3069;--shiki-dark:#CE9178"> POST</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;https://api.pinecone.io/indexes&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -H</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;Accept: application/json&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -H</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;Content-Type: application/json&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -H</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;Api-Key: </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">$PINECONE_API_KEY</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -H</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;X-Pinecone-Api-Version: 2025-04&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -d</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &#x27;{</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;name&quot;: &quot;docs-example1&quot;,</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;vector_type&quot;: &quot;dense&quot;,</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;dimension&quot;: 1536,</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;metric&quot;: &quot;cosine&quot;,</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;spec&quot;: {</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">               &quot;serverless&quot;: {</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">                   &quot;cloud&quot;: &quot;aws&quot;,</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">                   &quot;region&quot;: &quot;us-east-1&quot;</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">               }</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           },</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;tags&quot;: {</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">               &quot;example&quot;: &quot;tag&quot;</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           },</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;deletion_protection&quot;: &quot;disabled&quot;</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">         }&#x27;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#6E7781;--shiki-dark:#6A9955"># BYOC index</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">curl</span><span style="color:#0550AE;--shiki-dark:#569CD6"> -X</span><span style="color:#0A3069;--shiki-dark:#CE9178"> POST&quot;https://api.pinecone.io/indexes&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -H</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;Accept: application/json&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -H</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;Content-Type: application/json&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -H</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;Api-Key: </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">$PINECONE_API_KEY</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -H</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;X-Pinecone-Api-Version: 2025-04&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -d</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &#x27;{</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;name&quot;: &quot;example-byoc-index&quot;,</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;vector_type&quot;: &quot;dense&quot;,</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;dimension&quot;: 1536,</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;metric&quot;: &quot;cosine&quot;,</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;spec&quot;: {</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">               &quot;byoc&quot;: {</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">                   &quot;environment&quot;: &quot;aws-us-east-1-b921&quot;</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">               }</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           },</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;tags&quot;: {</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">               &quot;example&quot;: &quot;tag&quot;</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           },</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;deletion_protection&quot;: &quot;disabled&quot;</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">         }&#x27;</span></span>
</code></pre></span></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#FFFFFF;--fade-color-dark:#0B0C0E"></div></div><div data-hidden="" data-orientation="horizontal" data-activation-direction="none" hidden="" id="base-ui-_R_f5ip5d7av5tccsnisnpfiutb_" role="tabpanel" tabindex="0" inert="" data-index="-1" class="w-full min-w-full max-w-full h-full max-h-full relative focus-visible:outline-hidden before:content-[&#x27;&#x27;] before:absolute before:inset-0 before:z-10 before:pointer-events-none before:rounded-xt focus-visible:before:outline focus-visible:before:outline-1 focus-visible:before:-outline-offset-2 focus-visible:before:outline-primary dark:focus-visible:before:outline-primary-light data-hidden:hidden [&amp;_[data-component-part=code-block-root]]:rounded-xt!"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:100%;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-xt bg-white"><div role="presentation" data-id="base-ui-_R_1v5ip5d7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-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-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre flex-none h-full text-xs leading-[1.35rem]" data-component-part="code-group-tab-content"><span><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="shellscript"><code language="shellscript" numberOfLines="11"><span class="line"><span style="color:#6E7781;--shiki-dark:#6A9955"># Target the project where you&#x27;d like to create the index.</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">pc</span><span style="color:#0A3069;--shiki-dark:#CE9178"> target</span><span style="color:#0550AE;--shiki-dark:#569CD6"> -o</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;example-org&quot;</span><span style="color:#0550AE;--shiki-dark:#569CD6"> -p</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;example-project&quot;</span></span>
<span class="line"><span style="color:#6E7781;--shiki-dark:#6A9955"># Create the index.</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">pc</span><span style="color:#0A3069;--shiki-dark:#CE9178"> index</span><span style="color:#0A3069;--shiki-dark:#CE9178"> create</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">  --name</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;docs-example1&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">  --dimension</span><span style="color:#0550AE;--shiki-dark:#B5CEA8"> 1536</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">  --metric</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;cosine&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">  --cloud</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;aws&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">  --region</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;us-east-1&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">  --deletion_protection</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;disabled&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">  --tags</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;example=tag,example2=tag2&quot;</span></span>
</code></pre></span></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#FFFFFF;--fade-color-dark:#0B0C0E"></div></div></div></div><div data-orientation="horizontal" data-activation-direction="none" class="code-group p-0.5 flex flex-col not-prose relative rounded-2xl border border-gray-950/10 dark:border-white/10 min-w-0 my-0 bg-gray-50 dark:bg-white/5 dark:codeblock-dark text-gray-950 dark:text-gray-50 codeblock-light"><div class="flex items-center justify-between gap-2 relative pr-2.5" data-component-part="code-group-tab-bar"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px" data-component-part="scroll-area" class="min-w-0 flex-1 w-0 rounded-tl-xl"><div role="presentation" data-id="base-ui-_R_2mip5d7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] 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"><div data-orientation="horizontal" data-activation-direction="none" role="tablist" aria-label="Code examples" class="text-xs leading-6 gap-1 flex"><button type="button" data-active="" data-orientation="horizontal" data-activation-direction="none" aria-disabled="false" tabindex="-1" role="tab" aria-selected="true" id="base-ui-_R_bamip5d7av5tccsnisnpfiutb_" data-composite-item-active="" class="group flex items-center relative gap-1.5 my-1 mb-1.5 outline-0 whitespace-nowrap font-medium ml-0! first:ml-2.5! focus-visible:outline-2 text-primary dark:text-primary-light"><div class="peer/title flex items-center gap-1.5 px-1.5 rounded-lg z-10">Response</div><div class="absolute -bottom-1.5 left-0 right-0 h-0.5 rounded-full bg-primary dark:bg-primary-light peer-empty/title:hidden"></div></button></div></div></div></div><div class="flex items-center justify-end shrink-0 gap-1.5"><div class="z-10 select-none" id="base-ui-_R_qkmip5d7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/code-snippet-feedback-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-800" id="code-snippet-feedback-button" aria-label="Report incorrect code"><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/code-snippet-feedback-button:text-gray-500 dark:text-white/40 dark:group-hover/code-snippet-feedback-button:text-white/60"><path d="M9 5.431V9.569" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path><path d="M9 11.417C8.449 11.417 8 11.866 8 12.417C8 12.968 8.449 13.417 9 13.417C9.551 13.417 10 12.968 10 12.417C10 11.866 9.551 11.417 9 11.417Z" fill="currentColor" stroke="none"></path><path d="M10.968 2.25H7.03301C6.50301 2.25 5.99401 2.461 5.61901 2.836L2.83701 5.618C2.46201 5.993 2.25101 6.502 2.25101 7.032V10.967C2.25101 11.497 2.46201 12.006 2.83701 12.381L5.61901 15.163C5.99401 15.538 6.50301 15.749 7.03301 15.749H10.968C11.498 15.749 12.007 15.538 12.382 15.163L15.164 12.381C15.539 12.006 15.75 11.497 15.75 10.967V7.032C15.75 6.502 15.539 5.993 15.164 5.618L12.382 2.836C12.007 2.461 11.498 2.25 10.968 2.25Z" stroke="currentColor" width="1.5" linecap="round" linejoin="round"></path></svg></button></div><div class="z-10 select-none" id="base-ui-_R_qsmip5d7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/copy-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]: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_r4mip5d7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/ask-assistant-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-800" id="ask-assistant-code-block-button" aria-label="Ask Assistant" data-chat-payload-element-id="lang-shellscript-code-__Serverless_index__"><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><div class="flex flex-1 overflow-hidden"><div data-orientation="horizontal" data-activation-direction="none" id="base-ui-_R_36ip5d7av5tccsnisnpfiutb_" role="tabpanel" tabindex="0" data-index="-1" class="w-full min-w-full max-w-full h-full max-h-full relative focus-visible:outline-hidden before:content-[&#x27;&#x27;] before:absolute before:inset-0 before:z-10 before:pointer-events-none before:rounded-xt focus-visible:before:outline focus-visible:before:outline-1 focus-visible:before:-outline-offset-2 focus-visible:before:outline-primary dark:focus-visible:before:outline-primary-light data-hidden:hidden [&amp;_[data-component-part=code-block-root]]:rounded-xt!"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:100%;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-xt bg-white"><div role="presentation" data-id="base-ui-_R_f6ip5d7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-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-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre flex-none h-full text-xs leading-[1.35rem]" data-component-part="code-group-tab-content"><span><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="shellscript"><code language="shellscript" numberOfLines="44"><span class="line"><span style="color:#6E7781;--shiki-dark:#6A9955"># Serverless index</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">{</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;name&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;docs-example1&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;vector_type&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;dense&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;metric&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;cosine&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;dimension&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> 1536,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;status&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> {</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">        &quot;ready&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0550AE;--shiki-dark:#569CD6"> true</span><span style="color:#0A3069;--shiki-dark:#CE9178">,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">        &quot;state&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;Ready&quot;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    },</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;host&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;example-serverless-index-govk0nt.svc.aped-4627-b74a.pinecone.io&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;spec&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> {</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">        &quot;serverless&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> {</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">            &quot;region&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;us-east-1&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">            &quot;cloud&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;aws&quot;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">        }</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    },</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;deletion_protection&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;disabled&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;tags&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> {</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">        &quot;example&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;tag&quot;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    }</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#6E7781;--shiki-dark:#6A9955"># BYOC index</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">{</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;name&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;example-byoc-index&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;vector_type&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;dense&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;metric&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;cosine&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;dimension&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> 1536,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;status&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> {</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">        &quot;ready&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0550AE;--shiki-dark:#569CD6"> true</span><span style="color:#0A3069;--shiki-dark:#CE9178">,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">        &quot;state&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;Ready&quot;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    },</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;host&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;example-byoc-index-govk0nt.svc.private.aped-4627-b74a.pinecone.io&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;spec&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> {</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">        &quot;byoc&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> {</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">            &quot;environment&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;aws-us-east-1-b921&quot;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">        }</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    },</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;deletion_protection&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;disabled&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;tags&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> {</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">        &quot;example&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;tag&quot;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    }</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">}</span></span>
</code></pre></span></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#FFFFFF;--fade-color-dark:#0B0C0E"></div></div></div></div></div></div></div><div class="mdx-content @container/columns-container relative prose prose-gray dark:prose-invert"><div class="block [html:not([data-assistant-state=open])_&amp;]:xl:hidden mt-8" id="request-example" role="region" aria-label="Request example"><div data-orientation="horizontal" data-activation-direction="none" class="code-group p-0.5 flex flex-col not-prose relative rounded-2xl border border-gray-950/10 dark:border-white/10 min-w-0 my-0 bg-gray-50 dark:bg-white/5 dark:codeblock-dark text-gray-950 dark:text-gray-50 codeblock-light"><div class="flex items-center justify-between gap-2 relative pr-2.5" data-component-part="code-group-tab-bar"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px" data-component-part="scroll-area" class="min-w-0 flex-1 w-0 rounded-tl-xl"><div role="presentation" data-id="base-ui-_R_2lcp5d7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] 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"><div data-orientation="horizontal" data-activation-direction="none" role="tablist" aria-label="Code examples" class="text-xs leading-6 gap-1 flex"><button type="button" data-active="" data-orientation="horizontal" data-activation-direction="none" aria-disabled="false" tabindex="-1" role="tab" aria-selected="true" id="base-ui-_R_balcp5d7av5tccsnisnpfiutb_" data-composite-item-active="" class="group flex items-center relative gap-1.5 my-1 mb-1.5 outline-0 whitespace-nowrap font-medium ml-0! first:ml-2.5! focus-visible:outline-2 text-primary dark:text-primary-light"><div class="peer/title flex items-center gap-1.5 px-1.5 rounded-lg z-10 group-hover:bg-gray-200/50 dark:group-hover:bg-gray-700/70 group-hover:text-primary dark:group-hover:text-primary-light">Python</div><div class="absolute -bottom-1.5 left-0 right-0 h-0.5 rounded-full bg-primary dark:bg-primary-light peer-empty/title:hidden"></div></button><button type="button" data-orientation="horizontal" data-activation-direction="none" aria-disabled="false" tabindex="-1" role="tab" aria-selected="false" id="base-ui-_R_jalcp5d7av5tccsnisnpfiutb_" class="group flex items-center relative gap-1.5 my-1 mb-1.5 outline-0 whitespace-nowrap font-medium ml-0! first:ml-2.5! focus-visible:outline-2 text-gray-500 dark:text-gray-400"><div class="peer/title flex items-center gap-1.5 px-1.5 rounded-lg z-10 group-hover:bg-gray-200/50 dark:group-hover:bg-gray-700/70 group-hover:text-primary dark:group-hover:text-primary-light">JavaScript</div></button><button type="button" data-orientation="horizontal" data-activation-direction="none" aria-disabled="false" tabindex="-1" role="tab" aria-selected="false" id="base-ui-_R_ralcp5d7av5tccsnisnpfiutb_" class="group flex items-center relative gap-1.5 my-1 mb-1.5 outline-0 whitespace-nowrap font-medium ml-0! first:ml-2.5! focus-visible:outline-2 text-gray-500 dark:text-gray-400"><div class="peer/title flex items-center gap-1.5 px-1.5 rounded-lg z-10 group-hover:bg-gray-200/50 dark:group-hover:bg-gray-700/70 group-hover:text-primary dark:group-hover:text-primary-light">Java</div></button><button type="button" data-orientation="horizontal" data-activation-direction="none" aria-disabled="false" tabindex="-1" role="tab" aria-selected="false" id="base-ui-_R_13alcp5d7av5tccsnisnpfiutb_" class="group flex items-center relative gap-1.5 my-1 mb-1.5 outline-0 whitespace-nowrap font-medium ml-0! first:ml-2.5! focus-visible:outline-2 text-gray-500 dark:text-gray-400"><div class="peer/title flex items-center gap-1.5 px-1.5 rounded-lg z-10 group-hover:bg-gray-200/50 dark:group-hover:bg-gray-700/70 group-hover:text-primary dark:group-hover:text-primary-light">Go</div></button><button type="button" data-orientation="horizontal" data-activation-direction="none" aria-disabled="false" tabindex="-1" role="tab" aria-selected="false" id="base-ui-_R_1balcp5d7av5tccsnisnpfiutb_" class="group flex items-center relative gap-1.5 my-1 mb-1.5 outline-0 whitespace-nowrap font-medium ml-0! first:ml-2.5! focus-visible:outline-2 text-gray-500 dark:text-gray-400"><div class="peer/title flex items-center gap-1.5 px-1.5 rounded-lg z-10 group-hover:bg-gray-200/50 dark:group-hover:bg-gray-700/70 group-hover:text-primary dark:group-hover:text-primary-light">C#</div></button><button type="button" data-orientation="horizontal" data-activation-direction="none" aria-disabled="false" tabindex="-1" role="tab" aria-selected="false" id="base-ui-_R_1jalcp5d7av5tccsnisnpfiutb_" class="group flex items-center relative gap-1.5 my-1 mb-1.5 outline-0 whitespace-nowrap font-medium ml-0! first:ml-2.5! focus-visible:outline-2 text-gray-500 dark:text-gray-400"><div class="peer/title flex items-center gap-1.5 px-1.5 rounded-lg z-10 group-hover:bg-gray-200/50 dark:group-hover:bg-gray-700/70 group-hover:text-primary dark:group-hover:text-primary-light">curl</div></button><button type="button" data-orientation="horizontal" data-activation-direction="none" aria-disabled="false" tabindex="-1" role="tab" aria-selected="false" id="base-ui-_R_1ralcp5d7av5tccsnisnpfiutb_" class="group flex items-center relative gap-1.5 my-1 mb-1.5 outline-0 whitespace-nowrap font-medium ml-0! first:ml-2.5! focus-visible:outline-2 text-gray-500 dark:text-gray-400"><div class="peer/title flex items-center gap-1.5 px-1.5 rounded-lg z-10 group-hover:bg-gray-200/50 dark:group-hover:bg-gray-700/70 group-hover:text-primary dark:group-hover:text-primary-light">CLI</div></button></div></div></div></div><div class="flex items-center justify-end shrink-0 gap-1.5"><div class="z-10 select-none" id="base-ui-_R_qslcp5d7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/copy-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]: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_r4lcp5d7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/ask-assistant-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-800" id="ask-assistant-code-block-button" aria-label="Ask Assistant" data-chat-payload-element-id="lang-python-code-__pip_install__pinec"><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><div class="flex flex-1 overflow-hidden"><div data-orientation="horizontal" data-activation-direction="none" id="base-ui-_R_35cp5d7av5tccsnisnpfiutb_" role="tabpanel" tabindex="0" data-index="-1" class="w-full min-w-full max-w-full h-full max-h-full relative focus-visible:outline-hidden before:content-[&#x27;&#x27;] before:absolute before:inset-0 before:z-10 before:pointer-events-none before:rounded-xt focus-visible:before:outline focus-visible:before:outline-1 focus-visible:before:-outline-offset-2 focus-visible:before:outline-primary dark:focus-visible:before:outline-primary-light data-hidden:hidden [&amp;_[data-component-part=code-block-root]]:rounded-xt!"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:100%;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-xt bg-white"><div role="presentation" data-id="base-ui-_R_1j5cp5d7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-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-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre flex-none h-full text-xs leading-[1.35rem]" data-component-part="code-group-tab-content"><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="16"><span class="line"><span style="color:#6E7781;--shiki-dark:#6A9955"># pip install &quot;pinecone[grpc]&quot;</span></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#C586C0">from</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> pinecone.grpc </span><span style="color:#CF222E;--shiki-dark:#C586C0">import</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> PineconeGRPC </span><span style="color:#CF222E;--shiki-dark:#C586C0">as</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> Pinecone</span></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#C586C0">from</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> pinecone </span><span style="color:#CF222E;--shiki-dark:#C586C0">import</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> ServerlessSpec</span></span>
<span class="line"></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">pc </span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> Pinecone(</span><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;YOUR_API_KEY&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">pc.create_index(</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#9CDCFE">  name</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;docs-example1&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#9CDCFE">  dimension</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#0550AE;--shiki-dark:#B5CEA8">1536</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#9CDCFE">  metric</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;cosine&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#9CDCFE">  spec</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">ServerlessSpec(</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#9CDCFE">    cloud</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;aws&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#9CDCFE">    region</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;us-east-1&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">  ),</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#9CDCFE">  deletion_protection</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;disabled&quot;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">)</span></span>
</code></pre></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#ffffff;--fade-color-dark:#0B0C0E"></div></div><div data-hidden="" data-orientation="horizontal" data-activation-direction="none" hidden="" id="base-ui-_R_55cp5d7av5tccsnisnpfiutb_" role="tabpanel" tabindex="0" inert="" data-index="-1" class="w-full min-w-full max-w-full h-full max-h-full relative focus-visible:outline-hidden before:content-[&#x27;&#x27;] before:absolute before:inset-0 before:z-10 before:pointer-events-none before:rounded-xt focus-visible:before:outline focus-visible:before:outline-1 focus-visible:before:-outline-offset-2 focus-visible:before:outline-primary dark:focus-visible:before:outline-primary-light data-hidden:hidden [&amp;_[data-component-part=code-block-root]]:rounded-xt!"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:100%;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-xt bg-white"><div role="presentation" data-id="base-ui-_R_1l5cp5d7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-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-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre flex-none h-full text-xs leading-[1.35rem]" data-component-part="code-group-tab-content"><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="19"><span class="line"><span style="color:#6E7781;--shiki-dark:#6A9955">// npm install @pinecone-database/pinecone</span></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#C586C0">import</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> { </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">Pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> } </span><span style="color:#CF222E;--shiki-dark:#C586C0">from</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &#x27;@pinecone-database/pinecone&#x27;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">const</span><span style="color:#0550AE;--shiki-dark:#4FC1FF"> pc</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"> Pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">({</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">  apiKey:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &#x27;YOUR_API_KEY&#x27;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">});</span></span>
<span class="line"></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#C586C0">await</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> pc</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">createIndex</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">({</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">  name:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &#x27;docs-example1&#x27;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">  dimension:</span><span style="color:#0550AE;--shiki-dark:#B5CEA8"> 1536</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">  metric:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &#x27;cosine&#x27;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">  spec:</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> {</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    serverless:</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> {</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">      cloud:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &#x27;aws&#x27;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">      region:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &#x27;us-east-1&#x27;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    }</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">  },</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">  deletionProtection:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &#x27;disabled&#x27;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">});</span></span>
</code></pre></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#ffffff;--fade-color-dark:#0B0C0E"></div></div><div data-hidden="" data-orientation="horizontal" data-activation-direction="none" hidden="" id="base-ui-_R_75cp5d7av5tccsnisnpfiutb_" role="tabpanel" tabindex="0" inert="" data-index="-1" class="w-full min-w-full max-w-full h-full max-h-full relative focus-visible:outline-hidden before:content-[&#x27;&#x27;] before:absolute before:inset-0 before:z-10 before:pointer-events-none before:rounded-xt focus-visible:before:outline focus-visible:before:outline-1 focus-visible:before:-outline-offset-2 focus-visible:before:outline-primary dark:focus-visible:before:outline-primary-light data-hidden:hidden [&amp;_[data-component-part=code-block-root]]:rounded-xt!"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:100%;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-xt bg-white"><div role="presentation" data-id="base-ui-_R_1n5cp5d7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-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-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre flex-none h-full text-xs leading-[1.35rem]" data-component-part="code-group-tab-content"><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="java"><code language="java" numberOfLines="8"><span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">import</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> io.pinecone.clients.Pinecone;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">public</span><span style="color:#CF222E;--shiki-dark:#569CD6"> class</span><span style="color:#953800;--shiki-dark:#4EC9B0"> CreateServerlessIndexExample</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> {</span></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">    public</span><span style="color:#CF222E;--shiki-dark:#569CD6"> static</span><span style="color:#CF222E;--shiki-dark:#4EC9B0"> void</span><span style="color:#8250DF;--shiki-dark:#DCDCAA"> main</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#CF222E;--shiki-dark:#4EC9B0">String</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">[] </span><span style="color:#953800;--shiki-dark:#9CDCFE">args</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">) {</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#4EC9B0">        Pinecone</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> pc</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#CF222E;--shiki-dark:#C586C0"> new</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> Pinecone.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">Builder</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;YOUR_API_KEY&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">).</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">build</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">();</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        pc</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">createServerlessIndex</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;docs-example1&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;cosine&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#0550AE;--shiki-dark:#B5CEA8">1536</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;aws&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;us-east-1&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">DeletionProtection</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">disabled</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">);</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    }</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">}</span></span>
</code></pre></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#ffffff;--fade-color-dark:#0B0C0E"></div></div><div data-hidden="" data-orientation="horizontal" data-activation-direction="none" hidden="" id="base-ui-_R_95cp5d7av5tccsnisnpfiutb_" role="tabpanel" tabindex="0" inert="" data-index="-1" class="w-full min-w-full max-w-full h-full max-h-full relative focus-visible:outline-hidden before:content-[&#x27;&#x27;] before:absolute before:inset-0 before:z-10 before:pointer-events-none before:rounded-xt focus-visible:before:outline focus-visible:before:outline-1 focus-visible:before:-outline-offset-2 focus-visible:before:outline-primary dark:focus-visible:before:outline-primary-light data-hidden:hidden [&amp;_[data-component-part=code-block-root]]:rounded-xt!"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:100%;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-xt bg-white"><div role="presentation" data-id="base-ui-_R_1p5cp5d7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-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-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre flex-none h-full text-xs leading-[1.35rem]" data-component-part="code-group-tab-content"><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="go"><code language="go" numberOfLines="36"><span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">package</span><span style="color:#953800;--shiki-dark:#4EC9B0"> main</span></span>
<span class="line"></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#C586C0">import</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> (</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">    &quot;</span><span style="color:#953800;--shiki-dark:#CE9178">context</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">    &quot;</span><span style="color:#953800;--shiki-dark:#CE9178">fmt</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">    &quot;</span><span style="color:#953800;--shiki-dark:#CE9178">log</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">    &quot;</span><span style="color:#953800;--shiki-dark:#CE9178">github.com/pinecone-io/go-pinecone/v4/pinecone</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">func</span><span style="color:#8250DF;--shiki-dark:#DCDCAA"> main</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">() {</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    ctx</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> :=</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> context</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">Background</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">()</span></span>
<span class="line"></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    pc</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">err</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> :=</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">NewClient</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#953800;--shiki-dark:#4EC9B0">pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#953800;--shiki-dark:#4EC9B0">NewClientParams</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">{</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        ApiKey</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;YOUR_API_KEY&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    })</span></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#C586C0">    if</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> err</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> !=</span><span style="color:#0550AE;--shiki-dark:#569CD6"> nil</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> {</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        log</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">Fatalf</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;Failed to create Client: </span><span style="color:#CF222E;--shiki-dark:#9CDCFE">%v</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">err</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">)</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    }</span></span>
<span class="line"></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    deletionProtection</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> :=</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">DeletionProtectionDisabled</span></span>
<span class="line"></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    idx</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">err</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> :=</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> pc</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">CreateServerlessIndex</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">ctx</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#CF222E;--shiki-dark:#D4D4D4">&amp;</span><span style="color:#953800;--shiki-dark:#4EC9B0">pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#953800;--shiki-dark:#4EC9B0">CreateServerlessIndexRequest</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">{</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        Name</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">:      </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;docs-example1&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        Dimension</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0550AE;--shiki-dark:#B5CEA8">1536</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        Metric</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">:    </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">Cosine</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        Cloud</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">:     </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">Aws</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        Region</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">:    </span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;us-east-1&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        DeletionProtection</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#CF222E;--shiki-dark:#D4D4D4">&amp;</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">deletionProtection</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    })</span></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#C586C0">  	if</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> err</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> !=</span><span style="color:#0550AE;--shiki-dark:#569CD6"> nil</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> {</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        log</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">Fatalf</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;Failed to create serverless index: </span><span style="color:#CF222E;--shiki-dark:#9CDCFE">%v</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">err</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">)</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    } </span><span style="color:#CF222E;--shiki-dark:#C586C0">else</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> {</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        fmt</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">Printf</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;Successfully created serverless index: </span><span style="color:#CF222E;--shiki-dark:#9CDCFE">%v</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">idx</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">Name</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">)</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    }</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">}</span></span>
</code></pre></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#ffffff;--fade-color-dark:#0B0C0E"></div></div><div data-hidden="" data-orientation="horizontal" data-activation-direction="none" hidden="" id="base-ui-_R_b5cp5d7av5tccsnisnpfiutb_" role="tabpanel" tabindex="0" inert="" data-index="-1" class="w-full min-w-full max-w-full h-full max-h-full relative focus-visible:outline-hidden before:content-[&#x27;&#x27;] before:absolute before:inset-0 before:z-10 before:pointer-events-none before:rounded-xt focus-visible:before:outline focus-visible:before:outline-1 focus-visible:before:-outline-offset-2 focus-visible:before:outline-primary dark:focus-visible:before:outline-primary-light data-hidden:hidden [&amp;_[data-component-part=code-block-root]]:rounded-xt!"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:100%;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-xt bg-white"><div role="presentation" data-id="base-ui-_R_1r5cp5d7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-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-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre flex-none h-full text-xs leading-[1.35rem]" data-component-part="code-group-tab-content"><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="csharp"><code language="csharp" numberOfLines="19"><span class="line"><span style="color:#CF222E;--shiki-dark:#C586C0">using</span><span style="color:#953800;--shiki-dark:#4EC9B0"> Pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">var</span><span style="color:#953800;--shiki-dark:#9CDCFE"> pinecone</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#CF222E;--shiki-dark:#569CD6"> new</span><span style="color:#953800;--shiki-dark:#4EC9B0"> PineconeClient</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;YOUR_API_KEY&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">);</span></span>
<span class="line"></span>
<span class="line"><span style="color:#CF222E;--shiki-dark:#569CD6">var</span><span style="color:#953800;--shiki-dark:#9CDCFE"> createIndexRequest</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#CF222E;--shiki-dark:#569CD6"> await</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> pinecone</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#8250DF;--shiki-dark:#DCDCAA">CreateIndexAsync</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">(</span><span style="color:#CF222E;--shiki-dark:#569CD6">new</span><span style="color:#953800;--shiki-dark:#4EC9B0"> CreateIndexRequest</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">{</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    Name</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;docs-example1&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    Dimension</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#0550AE;--shiki-dark:#B5CEA8"> 1536</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    Metric</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> MetricType</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">Cosine</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    Spec</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#CF222E;--shiki-dark:#569CD6"> new</span><span style="color:#953800;--shiki-dark:#4EC9B0"> ServerlessIndexSpec</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    {</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">        Serverless</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#CF222E;--shiki-dark:#569CD6"> new</span><span style="color:#953800;--shiki-dark:#4EC9B0"> ServerlessSpec</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">        {</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">            Cloud</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> ServerlessSpecCloud</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">Aws</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">            Region</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;us-east-1&quot;</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">        }</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    },</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">    DeletionProtection</span><span style="color:#CF222E;--shiki-dark:#D4D4D4"> =</span><span style="color:#1F2328;--shiki-dark:#9CDCFE"> DeletionProtection</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">.</span><span style="color:#1F2328;--shiki-dark:#9CDCFE">Disabled</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">});</span></span>
</code></pre></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#ffffff;--fade-color-dark:#0B0C0E"></div></div><div data-hidden="" data-orientation="horizontal" data-activation-direction="none" hidden="" id="base-ui-_R_d5cp5d7av5tccsnisnpfiutb_" role="tabpanel" tabindex="0" inert="" data-index="-1" class="w-full min-w-full max-w-full h-full max-h-full relative focus-visible:outline-hidden before:content-[&#x27;&#x27;] before:absolute before:inset-0 before:z-10 before:pointer-events-none before:rounded-xt focus-visible:before:outline focus-visible:before:outline-1 focus-visible:before:-outline-offset-2 focus-visible:before:outline-primary dark:focus-visible:before:outline-primary-light data-hidden:hidden [&amp;_[data-component-part=code-block-root]]:rounded-xt!"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:100%;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-xt bg-white"><div role="presentation" data-id="base-ui-_R_1t5cp5d7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-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-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre flex-none h-full text-xs leading-[1.35rem]" data-component-part="code-group-tab-content"><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="shellscript"><code language="shellscript" numberOfLines="46"><span class="line"><span style="color:#1F2328;--shiki-dark:#9CDCFE">PINECONE_API_KEY</span><span style="color:#CF222E;--shiki-dark:#D4D4D4">=</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;YOUR_API_KEY&quot;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#6E7781;--shiki-dark:#6A9955"># Serverless index</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">curl</span><span style="color:#0550AE;--shiki-dark:#569CD6"> -X</span><span style="color:#0A3069;--shiki-dark:#CE9178"> POST</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;https://api.pinecone.io/indexes&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -H</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;Accept: application/json&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -H</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;Content-Type: application/json&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -H</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;Api-Key: </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">$PINECONE_API_KEY</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -H</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;X-Pinecone-Api-Version: 2025-04&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -d</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &#x27;{</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;name&quot;: &quot;docs-example1&quot;,</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;vector_type&quot;: &quot;dense&quot;,</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;dimension&quot;: 1536,</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;metric&quot;: &quot;cosine&quot;,</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;spec&quot;: {</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">               &quot;serverless&quot;: {</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">                   &quot;cloud&quot;: &quot;aws&quot;,</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">                   &quot;region&quot;: &quot;us-east-1&quot;</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">               }</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           },</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;tags&quot;: {</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">               &quot;example&quot;: &quot;tag&quot;</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           },</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;deletion_protection&quot;: &quot;disabled&quot;</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">         }&#x27;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#6E7781;--shiki-dark:#6A9955"># BYOC index</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">curl</span><span style="color:#0550AE;--shiki-dark:#569CD6"> -X</span><span style="color:#0A3069;--shiki-dark:#CE9178"> POST&quot;https://api.pinecone.io/indexes&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -H</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;Accept: application/json&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -H</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;Content-Type: application/json&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -H</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;Api-Key: </span><span style="color:#1F2328;--shiki-dark:#9CDCFE">$PINECONE_API_KEY</span><span style="color:#0A3069;--shiki-dark:#CE9178">&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -H</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;X-Pinecone-Api-Version: 2025-04&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">     -d</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &#x27;{</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;name&quot;: &quot;example-byoc-index&quot;,</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;vector_type&quot;: &quot;dense&quot;,</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;dimension&quot;: 1536,</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;metric&quot;: &quot;cosine&quot;,</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;spec&quot;: {</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">               &quot;byoc&quot;: {</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">                   &quot;environment&quot;: &quot;aws-us-east-1-b921&quot;</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">               }</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           },</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;tags&quot;: {</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">               &quot;example&quot;: &quot;tag&quot;</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           },</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">           &quot;deletion_protection&quot;: &quot;disabled&quot;</span></span>
<span class="line"><span style="color:#0A3069;--shiki-dark:#CE9178">         }&#x27;</span></span>
</code></pre></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#ffffff;--fade-color-dark:#0B0C0E"></div></div><div data-hidden="" data-orientation="horizontal" data-activation-direction="none" hidden="" id="base-ui-_R_f5cp5d7av5tccsnisnpfiutb_" role="tabpanel" tabindex="0" inert="" data-index="-1" class="w-full min-w-full max-w-full h-full max-h-full relative focus-visible:outline-hidden before:content-[&#x27;&#x27;] before:absolute before:inset-0 before:z-10 before:pointer-events-none before:rounded-xt focus-visible:before:outline focus-visible:before:outline-1 focus-visible:before:-outline-offset-2 focus-visible:before:outline-primary dark:focus-visible:before:outline-primary-light data-hidden:hidden [&amp;_[data-component-part=code-block-root]]:rounded-xt!"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:100%;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-xt bg-white"><div role="presentation" data-id="base-ui-_R_1v5cp5d7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-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-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre flex-none h-full text-xs leading-[1.35rem]" data-component-part="code-group-tab-content"><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="shellscript"><code language="shellscript" numberOfLines="11"><span class="line"><span style="color:#6E7781;--shiki-dark:#6A9955"># Target the project where you&#x27;d like to create the index.</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">pc</span><span style="color:#0A3069;--shiki-dark:#CE9178"> target</span><span style="color:#0550AE;--shiki-dark:#569CD6"> -o</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;example-org&quot;</span><span style="color:#0550AE;--shiki-dark:#569CD6"> -p</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;example-project&quot;</span></span>
<span class="line"><span style="color:#6E7781;--shiki-dark:#6A9955"># Create the index.</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">pc</span><span style="color:#0A3069;--shiki-dark:#CE9178"> index</span><span style="color:#0A3069;--shiki-dark:#CE9178"> create</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">  --name</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;docs-example1&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">  --dimension</span><span style="color:#0550AE;--shiki-dark:#B5CEA8"> 1536</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">  --metric</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;cosine&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">  --cloud</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;aws&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">  --region</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;us-east-1&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">  --deletion_protection</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;disabled&quot;</span><span style="color:#CF222E;--shiki-dark:#D7BA7D"> \</span></span>
<span class="line"><span style="color:#0550AE;--shiki-dark:#569CD6">  --tags</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;example=tag,example2=tag2&quot;</span></span>
</code></pre></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#ffffff;--fade-color-dark:#0B0C0E"></div></div></div></div></div>
<div class="block [html:not([data-assistant-state=open])_&amp;]:xl:hidden mt-8" id="response-example" role="region" aria-label="Response example"><div data-orientation="horizontal" data-activation-direction="none" class="code-group p-0.5 flex flex-col not-prose relative rounded-2xl border border-gray-950/10 dark:border-white/10 min-w-0 my-0 bg-gray-50 dark:bg-white/5 dark:codeblock-dark text-gray-950 dark:text-gray-50 codeblock-light"><div class="flex items-center justify-between gap-2 relative pr-2.5" data-component-part="code-group-tab-bar"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px" data-component-part="scroll-area" class="min-w-0 flex-1 w-0 rounded-tl-xl"><div role="presentation" data-id="base-ui-_R_2tcp5d7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] 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"><div data-orientation="horizontal" data-activation-direction="none" role="tablist" aria-label="Code examples" class="text-xs leading-6 gap-1 flex"><button type="button" data-active="" data-orientation="horizontal" data-activation-direction="none" aria-disabled="false" tabindex="-1" role="tab" aria-selected="true" id="base-ui-_R_batcp5d7av5tccsnisnpfiutb_" data-composite-item-active="" class="group flex items-center relative gap-1.5 my-1 mb-1.5 outline-0 whitespace-nowrap font-medium ml-0! first:ml-2.5! focus-visible:outline-2 text-primary dark:text-primary-light"><div class="peer/title flex items-center gap-1.5 px-1.5 rounded-lg z-10">Response</div><div class="absolute -bottom-1.5 left-0 right-0 h-0.5 rounded-full bg-primary dark:bg-primary-light peer-empty/title:hidden"></div></button></div></div></div></div><div class="flex items-center justify-end shrink-0 gap-1.5"><div class="z-10 select-none" id="base-ui-_R_qstcp5d7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/copy-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]: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_r4tcp5d7av5tccsnisnpfiutb_" data-base-ui-tooltip-trigger=""><button class="size-6.5 flex items-center justify-center rounded-md group/ask-assistant-button in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-100 dark:in-data-floating-buttons:group-[:not(:has([data-fade-overlay]))]:bg-gray-800" id="ask-assistant-code-block-button" aria-label="Ask Assistant" data-chat-payload-element-id="lang-shellscript-code-__Serverless_index__"><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><div class="flex flex-1 overflow-hidden"><div data-orientation="horizontal" data-activation-direction="none" id="base-ui-_R_3dcp5d7av5tccsnisnpfiutb_" role="tabpanel" tabindex="0" data-index="-1" class="w-full min-w-full max-w-full h-full max-h-full relative focus-visible:outline-hidden before:content-[&#x27;&#x27;] before:absolute before:inset-0 before:z-10 before:pointer-events-none before:rounded-xt focus-visible:before:outline focus-visible:before:outline-1 focus-visible:before:-outline-offset-2 focus-visible:before:outline-primary dark:focus-visible:before:outline-primary-light data-hidden:hidden [&amp;_[data-component-part=code-block-root]]:rounded-xt!"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px;font-variant-ligatures:none;height:100%;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-xt bg-white"><div role="presentation" data-id="base-ui-_R_fdcp5d7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] py-3.5 px-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-full! h-full children:my-0! children:shadow-none! children:bg-transparent!"><div class="font-mono whitespace-pre flex-none h-full text-xs leading-[1.35rem]" data-component-part="code-group-tab-content"><pre class="shiki shiki-themes github-light-default dark-plus" style="background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4" language="shellscript"><code language="shellscript" numberOfLines="44"><span class="line"><span style="color:#6E7781;--shiki-dark:#6A9955"># Serverless index</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">{</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;name&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;docs-example1&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;vector_type&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;dense&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;metric&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;cosine&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;dimension&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> 1536,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;status&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> {</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">        &quot;ready&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0550AE;--shiki-dark:#569CD6"> true</span><span style="color:#0A3069;--shiki-dark:#CE9178">,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">        &quot;state&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;Ready&quot;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    },</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;host&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;example-serverless-index-govk0nt.svc.aped-4627-b74a.pinecone.io&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;spec&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> {</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">        &quot;serverless&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> {</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">            &quot;region&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;us-east-1&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">            &quot;cloud&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;aws&quot;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">        }</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    },</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;deletion_protection&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;disabled&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;tags&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> {</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">        &quot;example&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;tag&quot;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    }</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#6E7781;--shiki-dark:#6A9955"># BYOC index</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">{</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;name&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;example-byoc-index&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;vector_type&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;dense&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;metric&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;cosine&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;dimension&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> 1536,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;status&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> {</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">        &quot;ready&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0550AE;--shiki-dark:#569CD6"> true</span><span style="color:#0A3069;--shiki-dark:#CE9178">,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">        &quot;state&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;Ready&quot;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    },</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;host&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;example-byoc-index-govk0nt.svc.private.aped-4627-b74a.pinecone.io&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;spec&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> {</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">        &quot;byoc&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> {</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">            &quot;environment&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;aws-us-east-1-b921&quot;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">        }</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    },</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;deletion_protection&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;disabled&quot;,</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">    &quot;tags&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> {</span></span>
<span class="line"><span style="color:#953800;--shiki-dark:#DCDCAA">        &quot;example&quot;</span><span style="color:#0550AE;--shiki-dark:#DCDCAA">:</span><span style="color:#0A3069;--shiki-dark:#CE9178"> &quot;tag&quot;</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">    }</span></span>
<span class="line"><span style="color:#1F2328;--shiki-dark:#D4D4D4">}</span></span>
</code></pre></div></div></div></div><div class="print:hidden" data-fade-overlay="true" aria-hidden="true" style="--fade-color-light:#ffffff;--fade-color-dark:#0B0C0E"></div></div></div></div></div><div class="mb-14 prose prose-gray dark:prose-invert"><div class="api-section"><div class="api-section-heading flex flex-col gap-y-4 w-full"><div class="flex items-baseline border-b pb-2.5 border-gray-100 dark:border-gray-800 w-full"><h4 class="api-section-heading-title flex-1 mb-0">Authorizations</h4><div class="flex items-center"></div></div></div><div class="primitive-param-field border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="py-6"><div class="flex font-mono text-sm group/param-head param-head break-all relative" id="authorization-api-key"><div class="flex-1 flex flex-col content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="absolute -top-1.5"><a href="#authorization-api-key" class="-ml-10 flex items-center opacity-0 border-0 group-hover/param-head:opacity-100 focus:opacity-100 focus:outline-0 py-2 [.expandable-content_&amp;]:-ml-[2.1rem] group/link" aria-label="Navigate to header">​<div class="w-6 h-6 rounded-md flex items-center justify-center shadow-sm 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 width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.5 6.827C8.148 6.995 7.818 7.225 7.527 7.517L7.517 7.527C6.136 8.908 6.136 11.146 7.517 12.527L9.692 14.702C11.073 16.083 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" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9.5 11.173C9.852 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.308 3.298C6.927 1.917 4.689 1.917 3.308 3.298L3.298 3.308C1.917 4.689 1.917 6.927 3.298 8.308L4.229 9.239" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></div></a></div><div class="font-semibold text-primary dark:text-primary-light overflow-wrap-anywhere cursor-pointer" data-component-part="field-name">Api-Key</div><div class="inline items-center gap-2 text-xs font-medium [&amp;_div]:inline [&amp;_div]:mr-2 [&amp;_div]:leading-5" data-component-part="field-meta"><div class="flex items-center gap-1 break-all rounded-md bg-stone-100/50 px-2 py-0.5 font-medium text-stone-600 dark:bg-white/5 dark:text-stone-200" data-component-part="field-info-pill"><span>string</span></div><div class="flex items-center gap-1 break-all rounded-md bg-stone-100/50 px-2 py-0.5 font-medium text-stone-600 dark:bg-white/5 dark:text-stone-200" data-component-part="field-info-pill"><span>header</span></div><div class="whitespace-nowrap rounded-md bg-red-100/50 px-2 py-0.5 font-medium text-red-600 dark:bg-red-400/10 dark:text-red-300" data-component-part="field-required-pill">required</div></div></div></div></div><div class="mt-4"><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2"><p class="whitespace-pre-line">An API Key is required to call Pinecone APIs. Get yours from the <a href="https://app.pinecone.io/" target="_blank" rel="noreferrer" class="link">console</a>.</p></div></div></div></div></div><div class="api-section"><div class="api-section-heading flex flex-col gap-y-4 w-full"><div class="flex items-baseline border-b pb-2.5 border-gray-100 dark:border-gray-800 w-full"><h4 class="api-section-heading-title flex-1 mb-0">Body</h4><div class="flex items-center"><div class="font-mono px-2 py-0.5 text-xs font-medium text-gray-600 dark:text-gray-300">application/json</div></div></div><div class="api-section-heading-subtitle text-sm prose prose-gray dark:prose-invert mb-2"><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2"><p class="whitespace-pre-line">The desired configuration for the index.</p></div></div></div><div class="object-param-field border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class=""><div class=""><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2"><p class="whitespace-pre-line">The configuration needed to create a Pinecone index.</p></div><div class=""><div class=""><div class="primitive-param-field border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="py-6"><div class="flex font-mono text-sm group/param-head param-head break-all relative" id="body-name"><div class="flex-1 flex flex-col content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="absolute -top-1.5"><a href="#body-name" class="-ml-10 flex items-center opacity-0 border-0 group-hover/param-head:opacity-100 focus:opacity-100 focus:outline-0 py-2 [.expandable-content_&amp;]:-ml-[2.1rem] group/link" aria-label="Navigate to header">​<div class="w-6 h-6 rounded-md flex items-center justify-center shadow-sm 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 width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.5 6.827C8.148 6.995 7.818 7.225 7.527 7.517L7.517 7.527C6.136 8.908 6.136 11.146 7.517 12.527L9.692 14.702C11.073 16.083 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" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9.5 11.173C9.852 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.308 3.298C6.927 1.917 4.689 1.917 3.308 3.298L3.298 3.308C1.917 4.689 1.917 6.927 3.298 8.308L4.229 9.239" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></div></a></div><div class="font-semibold text-primary dark:text-primary-light overflow-wrap-anywhere cursor-pointer" data-component-part="field-name">name</div><div class="inline items-center gap-2 text-xs font-medium [&amp;_div]:inline [&amp;_div]:mr-2 [&amp;_div]:leading-5" data-component-part="field-meta"><div class="flex items-center gap-1 break-all rounded-md bg-stone-100/50 px-2 py-0.5 font-medium text-stone-600 dark:bg-white/5 dark:text-stone-200" data-component-part="field-info-pill"><span>string</span></div><div class="whitespace-nowrap rounded-md bg-red-100/50 px-2 py-0.5 font-medium text-red-600 dark:bg-red-400/10 dark:text-red-300" data-component-part="field-required-pill">required</div></div></div></div></div><div class="mt-4"><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2"><p class="whitespace-pre-line">The name of the index. Resource name must be 1-45 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or &#x27;-&#x27;.</p></div><div class="prose prose-sm prose-gray dark:prose-invert mt-6">Required string length: <code>1 - 45</code></div><div class="flex prose prose-sm prose-gray dark:prose-invert mt-6 gap-1.5"><span>Example<!-- -->:</span><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2 overflow-wrap-anywhere text-[13px] [&amp;_*]:text-[13px]"><p class="whitespace-pre-line"><code node="[object Object]"><span>"example-index"</span></code></p></div></div></div></div></div><div class="object-param-field border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="py-6"><div class="flex font-mono text-sm group/param-head param-head break-all relative" id="body-spec"><div class="flex-1 flex flex-col content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="absolute -top-1.5"><a href="#body-spec" class="-ml-10 flex items-center opacity-0 border-0 group-hover/param-head:opacity-100 focus:opacity-100 focus:outline-0 py-2 [.expandable-content_&amp;]:-ml-[2.1rem] group/link" aria-label="Navigate to header">​<div class="w-6 h-6 rounded-md flex items-center justify-center shadow-sm 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 width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.5 6.827C8.148 6.995 7.818 7.225 7.527 7.517L7.517 7.527C6.136 8.908 6.136 11.146 7.517 12.527L9.692 14.702C11.073 16.083 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" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9.5 11.173C9.852 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.308 3.298C6.927 1.917 4.689 1.917 3.308 3.298L3.298 3.308C1.917 4.689 1.917 6.927 3.298 8.308L4.229 9.239" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></div></a></div><div class="font-semibold text-primary dark:text-primary-light overflow-wrap-anywhere cursor-pointer" data-component-part="field-name">spec</div><div class="inline items-center gap-2 text-xs font-medium [&amp;_div]:inline [&amp;_div]:mr-2 [&amp;_div]:leading-5" data-component-part="field-meta"><div class="flex items-center gap-1 break-all rounded-md bg-stone-100/50 px-2 py-0.5 font-medium text-stone-600 dark:bg-white/5 dark:text-stone-200" data-component-part="field-info-pill"><span>object</span></div><div class="whitespace-nowrap rounded-md bg-red-100/50 px-2 py-0.5 font-medium text-red-600 dark:bg-red-400/10 dark:text-red-300" data-component-part="field-required-pill">required</div></div></div></div></div><div class="mt-4"><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2"><p class="whitespace-pre-line">The spec object defines how the index should be deployed.</p>
<p class="whitespace-pre-line">For serverless indexes, you set only the <a href="http://docs.pinecone.io/guides/index-data/create-an-index#cloud-regions" target="_blank" rel="noreferrer" class="link">cloud and region</a> where the index should be hosted. For pod-based indexes, you set the <a href="http://docs.pinecone.io/guides/indexes/pods/understanding-pod-based-indexes#pod-environments" target="_blank" rel="noreferrer" class="link">environment</a> where the index should be hosted, the <a href="http://docs.pinecone.io/guides/indexes/pods/understanding-pod-based-indexes#pod-types" target="_blank" rel="noreferrer" class="link">pod type and size</a> to use, and other index characteristics. For <a href="http://docs.pinecone.io/guides/production/bring-your-own-cloud" target="_blank" rel="noreferrer" class="link">BYOC indexes</a>, you set the environment name provided to you during onboarding.</p></div><div class="mt-4 rounded-xl border border-gray-100 px-4 pb-4 pt-2 dark:border-white/10"><div class="-mt-2"><div class="tabs tabs tab-container !border-gray-100 dark:!border-white/10 [&amp;_[data-component-part=tabs-list]]:!mb-4"><ul aria-label="Tabs" class="not-prose mb-6 flex min-w-full flex-none gap-x-6 overflow-auto border-stone-200 border-b pb-px dark:border-stone-700" data-component-part="tabs-list" role="tablist"><li aria-controls="panel-_R_395qjkp5d7av5tccsnisnpfiutb_-option-1-0" aria-selected="true" class="cursor-pointer" data-component-part="tab" id="_R_395qjkp5d7av5tccsnisnpfiutb_-option-1-0" role="tab" tabindex="0"><div class="-mb-px flex max-w-max items-center gap-1.5 whitespace-nowrap border-b pt-3 pb-2.5 font-semibold text-sm leading-6 border-current text-primary dark:text-primary-light" data-active="true" data-component-part="tab-button" data-testid="tab-Option 1">Option 1</div></li><li aria-controls="panel-_R_395qjkp5d7av5tccsnisnpfiutb_-option-2-1" aria-selected="false" class="cursor-pointer" data-component-part="tab" id="_R_395qjkp5d7av5tccsnisnpfiutb_-option-2-1" role="tab" tabindex="-1"><div class="-mb-px flex max-w-max items-center gap-1.5 whitespace-nowrap border-b pt-3 pb-2.5 font-semibold text-sm leading-6 border-transparent text-stone-900 hover:border-stone-300 dark:text-stone-200 dark:hover:border-stone-700" data-active="false" data-component-part="tab-button" data-testid="tab-Option 2">Option 2</div></li><li aria-controls="panel-_R_395qjkp5d7av5tccsnisnpfiutb_-option-3-2" aria-selected="false" class="cursor-pointer" data-component-part="tab" id="_R_395qjkp5d7av5tccsnisnpfiutb_-option-3-2" role="tab" tabindex="-1"><div class="-mb-px flex max-w-max items-center gap-1.5 whitespace-nowrap border-b pt-3 pb-2.5 font-semibold text-sm leading-6 border-transparent text-stone-900 hover:border-stone-300 dark:text-stone-200 dark:hover:border-stone-700" data-active="false" data-component-part="tab-button" data-testid="tab-Option 3">Option 3</div></li></ul><div data-component-part="tabs-panels"><div aria-hidden="false" aria-labelledby="_R_395qjkp5d7av5tccsnisnpfiutb_-option-1-0" class="prose dark:prose-invert overflow-x-auto" data-component-part="tab-content" id="panel-_R_395qjkp5d7av5tccsnisnpfiutb_-option-1-0" role="tabpanel" tabindex="0"></div><div aria-hidden="true" aria-labelledby="_R_395qjkp5d7av5tccsnisnpfiutb_-option-2-1" class="prose dark:prose-invert overflow-x-auto hidden" data-component-part="tab-content" id="panel-_R_395qjkp5d7av5tccsnisnpfiutb_-option-2-1" role="tabpanel" tabindex="-1"></div><div aria-hidden="true" aria-labelledby="_R_395qjkp5d7av5tccsnisnpfiutb_-option-3-2" class="prose dark:prose-invert overflow-x-auto hidden" data-component-part="tab-content" id="panel-_R_395qjkp5d7av5tccsnisnpfiutb_-option-3-2" role="tabpanel" tabindex="-1"></div></div></div></div><div class="-mt-4"><details class="expandable mt-4 rounded-xl border-standard" data-component-part="expandable" data-testid="body-spec-children"><summary aria-controls="child-attributes-_R_795qjkp5d7av5tccsnisnpfiutb_-content" aria-expanded="false" class="not-prose flex w-full cursor-pointer flex-row content-center items-center text-sm rounded-t-xl px-3.5 py-3 text-stone-600 hover:bg-stone-50/50 hover:text-stone-900 dark:text-stone-300 dark:hover:bg-white/5 dark:hover:text-stone-200 list-none [&amp;::-webkit-details-marker]:hidden rounded-b-xl" data-component-part="expandable-button"><svg class="icon inline size-2.5 bg-stone-400 transition-transform" data-component-part="icon-svg" style="-webkit-mask-image:url(https://d3gk2c5xim1je2.cloudfront.net/v7.1.0/regular/angle-right.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(https://d3gk2c5xim1je2.cloudfront.net/v7.1.0/regular/angle-right.svg);mask-repeat:no-repeat;mask-position:center;display:inline-block;vertical-align:middle"></svg><div class="ml-3 text-left leading-tight"><p class="m-0" contentEditable="false">Show<!-- --> <!-- -->child attributes</p></div></summary><div class="expandable-content mx-3 border-stone-100 border-t px-2 dark:border-white/10" data-component-part="expandable-content" id="child-attributes-_R_795qjkp5d7av5tccsnisnpfiutb_-content"></div></details></div></div></div></div></div><div class="primitive-param-field border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="py-6"><div class="flex font-mono text-sm group/param-head param-head break-all relative" id="body-dimension"><div class="flex-1 flex flex-col content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="absolute -top-1.5"><a href="#body-dimension" class="-ml-10 flex items-center opacity-0 border-0 group-hover/param-head:opacity-100 focus:opacity-100 focus:outline-0 py-2 [.expandable-content_&amp;]:-ml-[2.1rem] group/link" aria-label="Navigate to header">​<div class="w-6 h-6 rounded-md flex items-center justify-center shadow-sm 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 width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.5 6.827C8.148 6.995 7.818 7.225 7.527 7.517L7.517 7.527C6.136 8.908 6.136 11.146 7.517 12.527L9.692 14.702C11.073 16.083 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" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9.5 11.173C9.852 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.308 3.298C6.927 1.917 4.689 1.917 3.308 3.298L3.298 3.308C1.917 4.689 1.917 6.927 3.298 8.308L4.229 9.239" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></div></a></div><div class="font-semibold text-primary dark:text-primary-light overflow-wrap-anywhere cursor-pointer" data-component-part="field-name">dimension</div><div class="inline items-center gap-2 text-xs font-medium [&amp;_div]:inline [&amp;_div]:mr-2 [&amp;_div]:leading-5" data-component-part="field-meta"><div class="flex items-center gap-1 break-all rounded-md bg-stone-100/50 px-2 py-0.5 font-medium text-stone-600 dark:bg-white/5 dark:text-stone-200" data-component-part="field-info-pill"><span>integer&lt;int32&gt;</span></div></div></div></div></div><div class="mt-4"><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2"><p class="whitespace-pre-line">The dimensions of the vectors to be inserted in the index.</p></div><div class="prose prose-sm prose-gray dark:prose-invert mt-6">Required range<!-- -->: <code>1 &lt;= x &lt;= 20000</code></div><div class="flex prose prose-sm prose-gray dark:prose-invert mt-6 gap-1.5"><span>Example<!-- -->:</span><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2 overflow-wrap-anywhere text-[13px] [&amp;_*]:text-[13px]"><p class="whitespace-pre-line"><code node="[object Object]"><span>1536</span></code></p></div></div></div></div></div><div class="primitive-param-field border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="py-6"><div class="flex font-mono text-sm group/param-head param-head break-all relative" id="body-metric"><div class="flex-1 flex flex-col content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="absolute -top-1.5"><a href="#body-metric" class="-ml-10 flex items-center opacity-0 border-0 group-hover/param-head:opacity-100 focus:opacity-100 focus:outline-0 py-2 [.expandable-content_&amp;]:-ml-[2.1rem] group/link" aria-label="Navigate to header">​<div class="w-6 h-6 rounded-md flex items-center justify-center shadow-sm 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 width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.5 6.827C8.148 6.995 7.818 7.225 7.527 7.517L7.517 7.527C6.136 8.908 6.136 11.146 7.517 12.527L9.692 14.702C11.073 16.083 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" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9.5 11.173C9.852 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.308 3.298C6.927 1.917 4.689 1.917 3.308 3.298L3.298 3.308C1.917 4.689 1.917 6.927 3.298 8.308L4.229 9.239" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></div></a></div><div class="font-semibold text-primary dark:text-primary-light overflow-wrap-anywhere cursor-pointer" data-component-part="field-name">metric</div><div class="inline items-center gap-2 text-xs font-medium [&amp;_div]:inline [&amp;_div]:mr-2 [&amp;_div]:leading-5" data-component-part="field-meta"><div class="flex items-center gap-1 break-all rounded-md bg-stone-100/50 px-2 py-0.5 font-medium text-stone-600 dark:bg-white/5 dark:text-stone-200" data-component-part="field-info-pill"><span>enum&lt;string&gt;</span></div></div></div></div></div><div class="mt-4"><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2"><p class="whitespace-pre-line">The distance metric to be used for similarity search. You can use &#x27;euclidean&#x27;, &#x27;cosine&#x27;, or &#x27;dotproduct&#x27;. If the &#x27;vector_type&#x27; is &#x27;sparse&#x27;, the metric must be &#x27;dotproduct&#x27;. If the <code node="[object Object]"><span>vector_type</span></code> is <code node="[object Object]"><span>dense</span></code>, the metric defaults to &#x27;cosine&#x27;.</p></div><div class="whitespace-pre-wrap prose-sm mt-6">Available options<!-- -->:<!-- --> <div class="inline-block"><code>cosine</code>,<!-- --> </div><div class="inline-block"><code>euclidean</code>,<!-- --> </div><div class="inline-block"><code>dotproduct</code> </div></div></div></div></div><div class="primitive-param-field border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="py-6"><div class="flex font-mono text-sm group/param-head param-head break-all relative" id="body-deletion-protection"><div class="flex-1 flex flex-col content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="absolute -top-1.5"><a href="#body-deletion-protection" class="-ml-10 flex items-center opacity-0 border-0 group-hover/param-head:opacity-100 focus:opacity-100 focus:outline-0 py-2 [.expandable-content_&amp;]:-ml-[2.1rem] group/link" aria-label="Navigate to header">​<div class="w-6 h-6 rounded-md flex items-center justify-center shadow-sm 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 width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.5 6.827C8.148 6.995 7.818 7.225 7.527 7.517L7.517 7.527C6.136 8.908 6.136 11.146 7.517 12.527L9.692 14.702C11.073 16.083 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" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9.5 11.173C9.852 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.308 3.298C6.927 1.917 4.689 1.917 3.308 3.298L3.298 3.308C1.917 4.689 1.917 6.927 3.298 8.308L4.229 9.239" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></div></a></div><div class="font-semibold text-primary dark:text-primary-light overflow-wrap-anywhere cursor-pointer" data-component-part="field-name">deletion_protection</div><div class="inline items-center gap-2 text-xs font-medium [&amp;_div]:inline [&amp;_div]:mr-2 [&amp;_div]:leading-5" data-component-part="field-meta"><div class="flex items-center gap-1 break-all rounded-md bg-stone-100/50 px-2 py-0.5 font-medium text-stone-600 dark:bg-white/5 dark:text-stone-200" data-component-part="field-info-pill"><span>enum&lt;string&gt;</span></div><div class="flex items-center gap-1 break-all rounded-md bg-stone-100/50 px-2 py-0.5 font-medium text-stone-600 dark:bg-white/5 dark:text-stone-200" data-component-part="field-info-pill"><span class="text-stone-400 dark:text-stone-500">default:</span><span>disabled</span></div></div></div></div></div><div class="mt-4"><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2"><p class="whitespace-pre-line">Whether <a href="http://docs.pinecone.io/guides/manage-data/manage-indexes#configure-deletion-protection" target="_blank" rel="noreferrer" class="link">deletion protection</a> is enabled/disabled for the index.</p></div><div class="whitespace-pre-wrap prose-sm mt-6">Available options<!-- -->:<!-- --> <div class="inline-block"><code>disabled</code>,<!-- --> </div><div class="inline-block"><code>enabled</code> </div></div></div></div></div><div class="object-param-field border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="py-6"><div class="flex font-mono text-sm group/param-head param-head break-all relative" id="body-tags"><div class="flex-1 flex flex-col content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="absolute -top-1.5"><a href="#body-tags" class="-ml-10 flex items-center opacity-0 border-0 group-hover/param-head:opacity-100 focus:opacity-100 focus:outline-0 py-2 [.expandable-content_&amp;]:-ml-[2.1rem] group/link" aria-label="Navigate to header">​<div class="w-6 h-6 rounded-md flex items-center justify-center shadow-sm 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 width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.5 6.827C8.148 6.995 7.818 7.225 7.527 7.517L7.517 7.527C6.136 8.908 6.136 11.146 7.517 12.527L9.692 14.702C11.073 16.083 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" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9.5 11.173C9.852 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.308 3.298C6.927 1.917 4.689 1.917 3.308 3.298L3.298 3.308C1.917 4.689 1.917 6.927 3.298 8.308L4.229 9.239" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></div></a></div><div class="font-semibold text-primary dark:text-primary-light overflow-wrap-anywhere cursor-pointer" data-component-part="field-name">tags</div><div class="inline items-center gap-2 text-xs font-medium [&amp;_div]:inline [&amp;_div]:mr-2 [&amp;_div]:leading-5" data-component-part="field-meta"><div class="flex items-center gap-1 break-all rounded-md bg-stone-100/50 px-2 py-0.5 font-medium text-stone-600 dark:bg-white/5 dark:text-stone-200" data-component-part="field-info-pill"><span>object</span></div></div></div></div></div><div class="mt-4"><div class=""><div class=""><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2"><p class="whitespace-pre-line">Custom user tags added to an index. Keys must be 80 characters or less. Values must be 120 characters or less. Keys must be alphanumeric, &#x27;<em>&#x27;, or &#x27;-&#x27;.  Values must be alphanumeric, &#x27;;&#x27;, &#x27;@&#x27;, &#x27;</em>&#x27;, &#x27;-&#x27;, &#x27;.&#x27;, &#x27;+&#x27;, or &#x27; &#x27;. To unset a key, set the value to be an empty string.</p></div></div><div class=""><details class="expandable mt-4 rounded-xl border-standard" data-component-part="expandable" data-testid="body-tags-children"><summary aria-controls="child-attributes-_R_7b5qjkp5d7av5tccsnisnpfiutb_-content" aria-expanded="false" class="not-prose flex w-full cursor-pointer flex-row content-center items-center text-sm rounded-t-xl px-3.5 py-3 text-stone-600 hover:bg-stone-50/50 hover:text-stone-900 dark:text-stone-300 dark:hover:bg-white/5 dark:hover:text-stone-200 list-none [&amp;::-webkit-details-marker]:hidden rounded-b-xl" data-component-part="expandable-button"><svg class="icon inline size-2.5 bg-stone-400 transition-transform" data-component-part="icon-svg" style="-webkit-mask-image:url(https://d3gk2c5xim1je2.cloudfront.net/v7.1.0/regular/angle-right.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(https://d3gk2c5xim1je2.cloudfront.net/v7.1.0/regular/angle-right.svg);mask-repeat:no-repeat;mask-position:center;display:inline-block;vertical-align:middle"></svg><div class="ml-3 text-left leading-tight"><p class="m-0" contentEditable="false">Show<!-- --> <!-- -->child attributes</p></div></summary><div class="expandable-content mx-3 border-stone-100 border-t px-2 dark:border-white/10" data-component-part="expandable-content" id="child-attributes-_R_7b5qjkp5d7av5tccsnisnpfiutb_-content"></div></details></div><div class="flex prose prose-sm prose-gray dark:prose-invert mt-6 gap-1.5 flex-col gap-y-3"><span>Example<!-- -->:</span><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2 overflow-wrap-anywhere text-[13px] [&amp;_*]:text-[13px]"><div class="relative"><pre node="[object Object]" class="shiki shiki-themes p-0 overflow-visible text-sm rounded-xl text-gray-950 bg-white codeblock-light dark:codeblock-dark dark:bg-codeblock dark:text-gray-50 border border-gray-200/70 dark:border-white/[0.14]"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px" data-component-part="scroll-area" class="min-w-0 rounded-[inherit]"><div role="presentation" data-id="base-ui-_R_t9b5qjkp5d7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] p-3 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"><code node="[object Object]"><span style="color:#1F2328;--shiki-dark:#D4D4D4">{ </span><span style="color:#116329;--shiki-dark:#9CDCFE">"tag0"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">"val0"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#116329;--shiki-dark:#9CDCFE">"tag1"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">"val1"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> }</span></code></div></div></div></pre></div></div></div></div></div></div></div><div class="primitive-param-field border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="py-6"><div class="flex font-mono text-sm group/param-head param-head break-all relative" id="body-vector-type"><div class="flex-1 flex flex-col content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="absolute -top-1.5"><a href="#body-vector-type" class="-ml-10 flex items-center opacity-0 border-0 group-hover/param-head:opacity-100 focus:opacity-100 focus:outline-0 py-2 [.expandable-content_&amp;]:-ml-[2.1rem] group/link" aria-label="Navigate to header">​<div class="w-6 h-6 rounded-md flex items-center justify-center shadow-sm 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 width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.5 6.827C8.148 6.995 7.818 7.225 7.527 7.517L7.517 7.527C6.136 8.908 6.136 11.146 7.517 12.527L9.692 14.702C11.073 16.083 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" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9.5 11.173C9.852 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.308 3.298C6.927 1.917 4.689 1.917 3.308 3.298L3.298 3.308C1.917 4.689 1.917 6.927 3.298 8.308L4.229 9.239" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></div></a></div><div class="font-semibold text-primary dark:text-primary-light overflow-wrap-anywhere cursor-pointer" data-component-part="field-name">vector_type</div><div class="inline items-center gap-2 text-xs font-medium [&amp;_div]:inline [&amp;_div]:mr-2 [&amp;_div]:leading-5" data-component-part="field-meta"><div class="flex items-center gap-1 break-all rounded-md bg-stone-100/50 px-2 py-0.5 font-medium text-stone-600 dark:bg-white/5 dark:text-stone-200" data-component-part="field-info-pill"><span>string</span></div><div class="flex items-center gap-1 break-all rounded-md bg-stone-100/50 px-2 py-0.5 font-medium text-stone-600 dark:bg-white/5 dark:text-stone-200" data-component-part="field-info-pill"><span class="text-stone-400 dark:text-stone-500">default:</span><span>dense</span></div></div></div></div></div><div class="mt-4"><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2"><p class="whitespace-pre-line">The index vector type. You can use &#x27;dense&#x27; or &#x27;sparse&#x27;. If &#x27;dense&#x27;, the vector dimension must be specified.  If &#x27;sparse&#x27;, the vector dimension should not be specified.</p></div></div></div></div></div></div></div></div></div></div><div class="api-section"><div class="api-section-heading flex flex-col gap-y-4 w-full"><div class="flex items-baseline border-b pb-2.5 border-gray-100 dark:border-gray-800 w-full"><h4 class="api-section-heading-title flex-1 mb-0">Response</h4><div class="flex items-center"><div class="flex items-center gap-x-3 font-mono text-xs"><div class="relative flex items-center px-2 py-0.5 text-gray-600 dark:text-gray-300 font-medium bg-transparent dark:bg-transparent hover:text-zinc-950 dark:hover:text-white transition-all"><button type="button" tabindex="0" aria-haspopup="menu" id="base-ui-_R_6tdkp5d7av5tccsnisnpfiutb_" class="group group overflow-hidden rounded-lg disabled:pointer-events-none [&amp;&gt;span]:line-clamp-1 flex items-center gap-1 py-0.5 group-hover:text-stone-950/70 dark:group-hover:text-white/70 font-mono text-xs text-gray-600 dark:text-gray-300 hover:text-gray-950 dark:hover:text-white px-2"><div class="flex items-center gap-1.5"><span>201</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down-icon lucide-chevron-down h-2.5 w-2.5 text-gray-500 dark:text-gray-400 shrink-0"><path d="m6 9 6 6 6-6"></path></svg></div></button></div><div class="relative flex items-center px-2 py-0.5 text-gray-600 dark:text-gray-300 hover:text-gray-950 dark:hover:text-white font-medium bg-transparent dark:bg-transparent"><button type="button" data-disabled="" tabindex="0" disabled="" aria-haspopup="menu" id="base-ui-_R_7ddkp5d7av5tccsnisnpfiutb_" class="group group overflow-hidden rounded-lg disabled:pointer-events-none [&amp;&gt;span]:line-clamp-1 flex items-center gap-1 py-0.5 group-hover:text-stone-950/70 dark:group-hover:text-white/70 font-mono text-xs text-gray-600 dark:text-gray-300 hover:text-gray-950 dark:hover:text-white px-2"><div class="flex items-center gap-1.5"><span>application/json</span></div></button></div></div></div></div><div class="api-section-heading-subtitle text-sm prose prose-gray dark:prose-invert mb-2"><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2"><p class="whitespace-pre-line">The index has been successfully created.</p></div></div></div><div class="object-param-field border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class=""><div class=""><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2"><p class="whitespace-pre-line">The IndexModel describes the configuration and status of a Pinecone index.</p></div><div class=""><div class=""><div class="primitive-param-field border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="py-6"><div class="flex font-mono text-sm group/param-head param-head break-all relative" id="response-name"><div class="flex-1 flex flex-col content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="absolute -top-1.5"><a href="#response-name" class="-ml-10 flex items-center opacity-0 border-0 group-hover/param-head:opacity-100 focus:opacity-100 focus:outline-0 py-2 [.expandable-content_&amp;]:-ml-[2.1rem] group/link" aria-label="Navigate to header">​<div class="w-6 h-6 rounded-md flex items-center justify-center shadow-sm 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 width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.5 6.827C8.148 6.995 7.818 7.225 7.527 7.517L7.517 7.527C6.136 8.908 6.136 11.146 7.517 12.527L9.692 14.702C11.073 16.083 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" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9.5 11.173C9.852 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.308 3.298C6.927 1.917 4.689 1.917 3.308 3.298L3.298 3.308C1.917 4.689 1.917 6.927 3.298 8.308L4.229 9.239" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></div></a></div><div class="font-semibold text-primary dark:text-primary-light overflow-wrap-anywhere cursor-pointer" data-component-part="field-name">name</div><div class="inline items-center gap-2 text-xs font-medium [&amp;_div]:inline [&amp;_div]:mr-2 [&amp;_div]:leading-5" data-component-part="field-meta"><div class="flex items-center gap-1 break-all rounded-md bg-stone-100/50 px-2 py-0.5 font-medium text-stone-600 dark:bg-white/5 dark:text-stone-200" data-component-part="field-info-pill"><span>string</span></div><div class="whitespace-nowrap rounded-md bg-red-100/50 px-2 py-0.5 font-medium text-red-600 dark:bg-red-400/10 dark:text-red-300" data-component-part="field-required-pill">required</div></div></div></div></div><div class="mt-4"><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2"><p class="whitespace-pre-line">The name of the index. Resource name must be 1-45 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or &#x27;-&#x27;.</p></div><div class="prose prose-sm prose-gray dark:prose-invert mt-6">Required string length: <code>1 - 45</code></div><div class="flex prose prose-sm prose-gray dark:prose-invert mt-6 gap-1.5"><span>Example<!-- -->:</span><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2 overflow-wrap-anywhere text-[13px] [&amp;_*]:text-[13px]"><p class="whitespace-pre-line"><code node="[object Object]"><span>"example-index"</span></code></p></div></div></div></div></div><div class="primitive-param-field border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="py-6"><div class="flex font-mono text-sm group/param-head param-head break-all relative" id="response-metric"><div class="flex-1 flex flex-col content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="absolute -top-1.5"><a href="#response-metric" class="-ml-10 flex items-center opacity-0 border-0 group-hover/param-head:opacity-100 focus:opacity-100 focus:outline-0 py-2 [.expandable-content_&amp;]:-ml-[2.1rem] group/link" aria-label="Navigate to header">​<div class="w-6 h-6 rounded-md flex items-center justify-center shadow-sm 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 width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.5 6.827C8.148 6.995 7.818 7.225 7.527 7.517L7.517 7.527C6.136 8.908 6.136 11.146 7.517 12.527L9.692 14.702C11.073 16.083 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" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9.5 11.173C9.852 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.308 3.298C6.927 1.917 4.689 1.917 3.308 3.298L3.298 3.308C1.917 4.689 1.917 6.927 3.298 8.308L4.229 9.239" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></div></a></div><div class="font-semibold text-primary dark:text-primary-light overflow-wrap-anywhere cursor-pointer" data-component-part="field-name">metric</div><div class="inline items-center gap-2 text-xs font-medium [&amp;_div]:inline [&amp;_div]:mr-2 [&amp;_div]:leading-5" data-component-part="field-meta"><div class="flex items-center gap-1 break-all rounded-md bg-stone-100/50 px-2 py-0.5 font-medium text-stone-600 dark:bg-white/5 dark:text-stone-200" data-component-part="field-info-pill"><span>enum&lt;string&gt;</span></div><div class="whitespace-nowrap rounded-md bg-red-100/50 px-2 py-0.5 font-medium text-red-600 dark:bg-red-400/10 dark:text-red-300" data-component-part="field-required-pill">required</div></div></div></div></div><div class="mt-4"><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2"><p class="whitespace-pre-line">The distance metric to be used for similarity search. You can use &#x27;euclidean&#x27;, &#x27;cosine&#x27;, or &#x27;dotproduct&#x27;. If the &#x27;vector_type&#x27; is &#x27;sparse&#x27;, the metric must be &#x27;dotproduct&#x27;. If the <code node="[object Object]"><span>vector_type</span></code> is <code node="[object Object]"><span>dense</span></code>, the metric defaults to &#x27;cosine&#x27;.</p></div><div class="whitespace-pre-wrap prose-sm mt-6">Available options<!-- -->:<!-- --> <div class="inline-block"><code>cosine</code>,<!-- --> </div><div class="inline-block"><code>euclidean</code>,<!-- --> </div><div class="inline-block"><code>dotproduct</code> </div></div></div></div></div><div class="primitive-param-field border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="py-6"><div class="flex font-mono text-sm group/param-head param-head break-all relative" id="response-host"><div class="flex-1 flex flex-col content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="absolute -top-1.5"><a href="#response-host" class="-ml-10 flex items-center opacity-0 border-0 group-hover/param-head:opacity-100 focus:opacity-100 focus:outline-0 py-2 [.expandable-content_&amp;]:-ml-[2.1rem] group/link" aria-label="Navigate to header">​<div class="w-6 h-6 rounded-md flex items-center justify-center shadow-sm 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 width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.5 6.827C8.148 6.995 7.818 7.225 7.527 7.517L7.517 7.527C6.136 8.908 6.136 11.146 7.517 12.527L9.692 14.702C11.073 16.083 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" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9.5 11.173C9.852 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.308 3.298C6.927 1.917 4.689 1.917 3.308 3.298L3.298 3.308C1.917 4.689 1.917 6.927 3.298 8.308L4.229 9.239" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></div></a></div><div class="font-semibold text-primary dark:text-primary-light overflow-wrap-anywhere cursor-pointer" data-component-part="field-name">host</div><div class="inline items-center gap-2 text-xs font-medium [&amp;_div]:inline [&amp;_div]:mr-2 [&amp;_div]:leading-5" data-component-part="field-meta"><div class="flex items-center gap-1 break-all rounded-md bg-stone-100/50 px-2 py-0.5 font-medium text-stone-600 dark:bg-white/5 dark:text-stone-200" data-component-part="field-info-pill"><span>string</span></div><div class="whitespace-nowrap rounded-md bg-red-100/50 px-2 py-0.5 font-medium text-red-600 dark:bg-red-400/10 dark:text-red-300" data-component-part="field-required-pill">required</div></div></div></div></div><div class="mt-4"><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2"><p class="whitespace-pre-line">The URL address where the index is hosted.</p></div><div class="flex prose prose-sm prose-gray dark:prose-invert mt-6 gap-1.5"><span>Example<!-- -->:</span><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2 overflow-wrap-anywhere text-[13px] [&amp;_*]:text-[13px]"><p class="whitespace-pre-line"><code node="[object Object]"><span>"semantic-search-c01b5b5.svc.us-west1-gcp.pinecone.io"</span></code></p></div></div></div></div></div><div class="object-param-field border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="py-6"><div class="flex font-mono text-sm group/param-head param-head break-all relative" id="response-spec"><div class="flex-1 flex flex-col content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="absolute -top-1.5"><a href="#response-spec" class="-ml-10 flex items-center opacity-0 border-0 group-hover/param-head:opacity-100 focus:opacity-100 focus:outline-0 py-2 [.expandable-content_&amp;]:-ml-[2.1rem] group/link" aria-label="Navigate to header">​<div class="w-6 h-6 rounded-md flex items-center justify-center shadow-sm 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 width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.5 6.827C8.148 6.995 7.818 7.225 7.527 7.517L7.517 7.527C6.136 8.908 6.136 11.146 7.517 12.527L9.692 14.702C11.073 16.083 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" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9.5 11.173C9.852 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.308 3.298C6.927 1.917 4.689 1.917 3.308 3.298L3.298 3.308C1.917 4.689 1.917 6.927 3.298 8.308L4.229 9.239" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></div></a></div><div class="font-semibold text-primary dark:text-primary-light overflow-wrap-anywhere cursor-pointer" data-component-part="field-name">spec</div><div class="inline items-center gap-2 text-xs font-medium [&amp;_div]:inline [&amp;_div]:mr-2 [&amp;_div]:leading-5" data-component-part="field-meta"><div class="flex items-center gap-1 break-all rounded-md bg-stone-100/50 px-2 py-0.5 font-medium text-stone-600 dark:bg-white/5 dark:text-stone-200" data-component-part="field-info-pill"><span>object</span></div><div class="whitespace-nowrap rounded-md bg-red-100/50 px-2 py-0.5 font-medium text-red-600 dark:bg-red-400/10 dark:text-red-300" data-component-part="field-required-pill">required</div></div></div></div></div><div class="mt-4"><div class=""><div class=""><details class="expandable mt-4 rounded-xl border-standard" data-component-part="expandable" data-testid="response-spec-children"><summary aria-controls="child-attributes-_R_ei5qlkp5d7av5tccsnisnpfiutb_-content" aria-expanded="false" class="not-prose flex w-full cursor-pointer flex-row content-center items-center text-sm rounded-t-xl px-3.5 py-3 text-stone-600 hover:bg-stone-50/50 hover:text-stone-900 dark:text-stone-300 dark:hover:bg-white/5 dark:hover:text-stone-200 list-none [&amp;::-webkit-details-marker]:hidden rounded-b-xl" data-component-part="expandable-button"><svg class="icon inline size-2.5 bg-stone-400 transition-transform" data-component-part="icon-svg" style="-webkit-mask-image:url(https://d3gk2c5xim1je2.cloudfront.net/v7.1.0/regular/angle-right.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(https://d3gk2c5xim1je2.cloudfront.net/v7.1.0/regular/angle-right.svg);mask-repeat:no-repeat;mask-position:center;display:inline-block;vertical-align:middle"></svg><div class="ml-3 text-left leading-tight"><p class="m-0" contentEditable="false">Show<!-- --> <!-- -->child attributes</p></div></summary><div class="expandable-content mx-3 border-stone-100 border-t px-2 dark:border-white/10" data-component-part="expandable-content" id="child-attributes-_R_ei5qlkp5d7av5tccsnisnpfiutb_-content"></div></details></div><div class="flex prose prose-sm prose-gray dark:prose-invert mt-6 gap-1.5 flex-col gap-y-3"><span>Example<!-- -->:</span><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2 overflow-wrap-anywhere text-[13px] [&amp;_*]:text-[13px]"><div class="relative"><pre node="[object Object]" class="shiki shiki-themes p-0 overflow-visible text-sm rounded-xl text-gray-950 bg-white codeblock-light dark:codeblock-dark dark:bg-codeblock dark:text-gray-50 border border-gray-200/70 dark:border-white/[0.14]"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px" data-component-part="scroll-area" class="min-w-0 rounded-[inherit]"><div role="presentation" data-id="base-ui-_R_1qii5qlkp5d7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] p-3 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"><code node="[object Object]"><span style="color:#1F2328;--shiki-dark:#D4D4D4">{</span><br><span style="color:#116329;--shiki-dark:#9CDCFE">  "pod"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: {</span><br><span style="color:#116329;--shiki-dark:#9CDCFE">    "environment"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">"us-east-1-aws"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span><br><span style="color:#116329;--shiki-dark:#9CDCFE">    "metadata_config"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: {</span><br><span style="color:#116329;--shiki-dark:#9CDCFE">      "indexed"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: [</span><span style="color:#0A3069;--shiki-dark:#CE9178">"genre"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#0A3069;--shiki-dark:#CE9178">"title"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#0A3069;--shiki-dark:#CE9178">"imdb_rating"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">]</span><br><span style="color:#1F2328;--shiki-dark:#D4D4D4">    },</span><br><span style="color:#116329;--shiki-dark:#9CDCFE">    "pod_type"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">"p1.x1"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span><br><span style="color:#116329;--shiki-dark:#9CDCFE">    "pods"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0550AE;--shiki-dark:#B5CEA8">1</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span><br><span style="color:#116329;--shiki-dark:#9CDCFE">    "replicas"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0550AE;--shiki-dark:#B5CEA8">1</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span><br><span style="color:#116329;--shiki-dark:#9CDCFE">    "shards"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0550AE;--shiki-dark:#B5CEA8">1</span><br><span style="color:#1F2328;--shiki-dark:#D4D4D4">  }</span><br><span style="color:#1F2328;--shiki-dark:#D4D4D4">}</span></code></div></div></div></pre></div></div></div></div></div></div></div><div class="object-param-field border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="py-6"><div class="flex font-mono text-sm group/param-head param-head break-all relative" id="response-status"><div class="flex-1 flex flex-col content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="absolute -top-1.5"><a href="#response-status" class="-ml-10 flex items-center opacity-0 border-0 group-hover/param-head:opacity-100 focus:opacity-100 focus:outline-0 py-2 [.expandable-content_&amp;]:-ml-[2.1rem] group/link" aria-label="Navigate to header">​<div class="w-6 h-6 rounded-md flex items-center justify-center shadow-sm 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 width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.5 6.827C8.148 6.995 7.818 7.225 7.527 7.517L7.517 7.527C6.136 8.908 6.136 11.146 7.517 12.527L9.692 14.702C11.073 16.083 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" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9.5 11.173C9.852 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.308 3.298C6.927 1.917 4.689 1.917 3.308 3.298L3.298 3.308C1.917 4.689 1.917 6.927 3.298 8.308L4.229 9.239" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></div></a></div><div class="font-semibold text-primary dark:text-primary-light overflow-wrap-anywhere cursor-pointer" data-component-part="field-name">status</div><div class="inline items-center gap-2 text-xs font-medium [&amp;_div]:inline [&amp;_div]:mr-2 [&amp;_div]:leading-5" data-component-part="field-meta"><div class="flex items-center gap-1 break-all rounded-md bg-stone-100/50 px-2 py-0.5 font-medium text-stone-600 dark:bg-white/5 dark:text-stone-200" data-component-part="field-info-pill"><span>object</span></div><div class="whitespace-nowrap rounded-md bg-red-100/50 px-2 py-0.5 font-medium text-red-600 dark:bg-red-400/10 dark:text-red-300" data-component-part="field-required-pill">required</div></div></div></div></div><div class="mt-4"><div class=""><div class=""><details class="expandable mt-4 rounded-xl border-standard" data-component-part="expandable" data-testid="response-status-children"><summary aria-controls="child-attributes-_R_eilqlkp5d7av5tccsnisnpfiutb_-content" aria-expanded="false" class="not-prose flex w-full cursor-pointer flex-row content-center items-center text-sm rounded-t-xl px-3.5 py-3 text-stone-600 hover:bg-stone-50/50 hover:text-stone-900 dark:text-stone-300 dark:hover:bg-white/5 dark:hover:text-stone-200 list-none [&amp;::-webkit-details-marker]:hidden rounded-b-xl" data-component-part="expandable-button"><svg class="icon inline size-2.5 bg-stone-400 transition-transform" data-component-part="icon-svg" style="-webkit-mask-image:url(https://d3gk2c5xim1je2.cloudfront.net/v7.1.0/regular/angle-right.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(https://d3gk2c5xim1je2.cloudfront.net/v7.1.0/regular/angle-right.svg);mask-repeat:no-repeat;mask-position:center;display:inline-block;vertical-align:middle"></svg><div class="ml-3 text-left leading-tight"><p class="m-0" contentEditable="false">Show<!-- --> <!-- -->child attributes</p></div></summary><div class="expandable-content mx-3 border-stone-100 border-t px-2 dark:border-white/10" data-component-part="expandable-content" id="child-attributes-_R_eilqlkp5d7av5tccsnisnpfiutb_-content"></div></details></div><div class="flex prose prose-sm prose-gray dark:prose-invert mt-6 gap-1.5 flex-col gap-y-3"><span>Example<!-- -->:</span><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2 overflow-wrap-anywhere text-[13px] [&amp;_*]:text-[13px]"><div class="relative"><pre node="[object Object]" class="shiki shiki-themes p-0 overflow-visible text-sm rounded-xl text-gray-950 bg-white codeblock-light dark:codeblock-dark dark:bg-codeblock dark:text-gray-50 border border-gray-200/70 dark:border-white/[0.14]"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px" data-component-part="scroll-area" class="min-w-0 rounded-[inherit]"><div role="presentation" data-id="base-ui-_R_1qiilqlkp5d7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] p-3 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"><code node="[object Object]"><span style="color:#1F2328;--shiki-dark:#D4D4D4">{</span><br><span style="color:#116329;--shiki-dark:#9CDCFE">  "ready"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0550AE;--shiki-dark:#569CD6">true</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span><br><span style="color:#116329;--shiki-dark:#9CDCFE">  "state"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">"ScalingUpPodSize"</span><br><span style="color:#1F2328;--shiki-dark:#D4D4D4">}</span></code></div></div></div></pre></div></div></div></div></div></div></div><div class="primitive-param-field border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="py-6"><div class="flex font-mono text-sm group/param-head param-head break-all relative" id="response-vector-type"><div class="flex-1 flex flex-col content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="absolute -top-1.5"><a href="#response-vector-type" class="-ml-10 flex items-center opacity-0 border-0 group-hover/param-head:opacity-100 focus:opacity-100 focus:outline-0 py-2 [.expandable-content_&amp;]:-ml-[2.1rem] group/link" aria-label="Navigate to header">​<div class="w-6 h-6 rounded-md flex items-center justify-center shadow-sm 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 width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.5 6.827C8.148 6.995 7.818 7.225 7.527 7.517L7.517 7.527C6.136 8.908 6.136 11.146 7.517 12.527L9.692 14.702C11.073 16.083 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" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9.5 11.173C9.852 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.308 3.298C6.927 1.917 4.689 1.917 3.308 3.298L3.298 3.308C1.917 4.689 1.917 6.927 3.298 8.308L4.229 9.239" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></div></a></div><div class="font-semibold text-primary dark:text-primary-light overflow-wrap-anywhere cursor-pointer" data-component-part="field-name">vector_type</div><div class="inline items-center gap-2 text-xs font-medium [&amp;_div]:inline [&amp;_div]:mr-2 [&amp;_div]:leading-5" data-component-part="field-meta"><div class="flex items-center gap-1 break-all rounded-md bg-stone-100/50 px-2 py-0.5 font-medium text-stone-600 dark:bg-white/5 dark:text-stone-200" data-component-part="field-info-pill"><span>string</span></div><div class="flex items-center gap-1 break-all rounded-md bg-stone-100/50 px-2 py-0.5 font-medium text-stone-600 dark:bg-white/5 dark:text-stone-200" data-component-part="field-info-pill"><span class="text-stone-400 dark:text-stone-500">default:</span><span>dense</span></div><div class="whitespace-nowrap rounded-md bg-red-100/50 px-2 py-0.5 font-medium text-red-600 dark:bg-red-400/10 dark:text-red-300" data-component-part="field-required-pill">required</div></div></div></div></div><div class="mt-4"><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2"><p class="whitespace-pre-line">The index vector type. You can use &#x27;dense&#x27; or &#x27;sparse&#x27;. If &#x27;dense&#x27;, the vector dimension must be specified.  If &#x27;sparse&#x27;, the vector dimension should not be specified.</p></div></div></div></div><div class="primitive-param-field border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="py-6"><div class="flex font-mono text-sm group/param-head param-head break-all relative" id="response-dimension"><div class="flex-1 flex flex-col content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="absolute -top-1.5"><a href="#response-dimension" class="-ml-10 flex items-center opacity-0 border-0 group-hover/param-head:opacity-100 focus:opacity-100 focus:outline-0 py-2 [.expandable-content_&amp;]:-ml-[2.1rem] group/link" aria-label="Navigate to header">​<div class="w-6 h-6 rounded-md flex items-center justify-center shadow-sm 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 width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.5 6.827C8.148 6.995 7.818 7.225 7.527 7.517L7.517 7.527C6.136 8.908 6.136 11.146 7.517 12.527L9.692 14.702C11.073 16.083 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" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9.5 11.173C9.852 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.308 3.298C6.927 1.917 4.689 1.917 3.308 3.298L3.298 3.308C1.917 4.689 1.917 6.927 3.298 8.308L4.229 9.239" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></div></a></div><div class="font-semibold text-primary dark:text-primary-light overflow-wrap-anywhere cursor-pointer" data-component-part="field-name">dimension</div><div class="inline items-center gap-2 text-xs font-medium [&amp;_div]:inline [&amp;_div]:mr-2 [&amp;_div]:leading-5" data-component-part="field-meta"><div class="flex items-center gap-1 break-all rounded-md bg-stone-100/50 px-2 py-0.5 font-medium text-stone-600 dark:bg-white/5 dark:text-stone-200" data-component-part="field-info-pill"><span>integer&lt;int32&gt;</span></div></div></div></div></div><div class="mt-4"><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2"><p class="whitespace-pre-line">The dimensions of the vectors to be inserted in the index.</p></div><div class="prose prose-sm prose-gray dark:prose-invert mt-6">Required range<!-- -->: <code>1 &lt;= x &lt;= 20000</code></div><div class="flex prose prose-sm prose-gray dark:prose-invert mt-6 gap-1.5"><span>Example<!-- -->:</span><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2 overflow-wrap-anywhere text-[13px] [&amp;_*]:text-[13px]"><p class="whitespace-pre-line"><code node="[object Object]"><span>1536</span></code></p></div></div></div></div></div><div class="primitive-param-field border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="py-6"><div class="flex font-mono text-sm group/param-head param-head break-all relative" id="response-private-host"><div class="flex-1 flex flex-col content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="absolute -top-1.5"><a href="#response-private-host" class="-ml-10 flex items-center opacity-0 border-0 group-hover/param-head:opacity-100 focus:opacity-100 focus:outline-0 py-2 [.expandable-content_&amp;]:-ml-[2.1rem] group/link" aria-label="Navigate to header">​<div class="w-6 h-6 rounded-md flex items-center justify-center shadow-sm 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 width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.5 6.827C8.148 6.995 7.818 7.225 7.527 7.517L7.517 7.527C6.136 8.908 6.136 11.146 7.517 12.527L9.692 14.702C11.073 16.083 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" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9.5 11.173C9.852 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.308 3.298C6.927 1.917 4.689 1.917 3.308 3.298L3.298 3.308C1.917 4.689 1.917 6.927 3.298 8.308L4.229 9.239" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></div></a></div><div class="font-semibold text-primary dark:text-primary-light overflow-wrap-anywhere cursor-pointer" data-component-part="field-name">private_host</div><div class="inline items-center gap-2 text-xs font-medium [&amp;_div]:inline [&amp;_div]:mr-2 [&amp;_div]:leading-5" data-component-part="field-meta"><div class="flex items-center gap-1 break-all rounded-md bg-stone-100/50 px-2 py-0.5 font-medium text-stone-600 dark:bg-white/5 dark:text-stone-200" data-component-part="field-info-pill"><span>string</span></div></div></div></div></div><div class="mt-4"><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2"><p class="whitespace-pre-line">The private endpoint URL of an index.</p></div><div class="flex prose prose-sm prose-gray dark:prose-invert mt-6 gap-1.5"><span>Example<!-- -->:</span><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2 overflow-wrap-anywhere text-[13px] [&amp;_*]:text-[13px]"><p class="whitespace-pre-line"><code node="[object Object]"><span>"semantic-search-c01b5b5.svc.private.us-west1-gcp.pinecone.io"</span></code></p></div></div></div></div></div><div class="primitive-param-field border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="py-6"><div class="flex font-mono text-sm group/param-head param-head break-all relative" id="response-deletion-protection"><div class="flex-1 flex flex-col content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="absolute -top-1.5"><a href="#response-deletion-protection" class="-ml-10 flex items-center opacity-0 border-0 group-hover/param-head:opacity-100 focus:opacity-100 focus:outline-0 py-2 [.expandable-content_&amp;]:-ml-[2.1rem] group/link" aria-label="Navigate to header">​<div class="w-6 h-6 rounded-md flex items-center justify-center shadow-sm 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 width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.5 6.827C8.148 6.995 7.818 7.225 7.527 7.517L7.517 7.527C6.136 8.908 6.136 11.146 7.517 12.527L9.692 14.702C11.073 16.083 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" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9.5 11.173C9.852 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.308 3.298C6.927 1.917 4.689 1.917 3.308 3.298L3.298 3.308C1.917 4.689 1.917 6.927 3.298 8.308L4.229 9.239" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></div></a></div><div class="font-semibold text-primary dark:text-primary-light overflow-wrap-anywhere cursor-pointer" data-component-part="field-name">deletion_protection</div><div class="inline items-center gap-2 text-xs font-medium [&amp;_div]:inline [&amp;_div]:mr-2 [&amp;_div]:leading-5" data-component-part="field-meta"><div class="flex items-center gap-1 break-all rounded-md bg-stone-100/50 px-2 py-0.5 font-medium text-stone-600 dark:bg-white/5 dark:text-stone-200" data-component-part="field-info-pill"><span>enum&lt;string&gt;</span></div><div class="flex items-center gap-1 break-all rounded-md bg-stone-100/50 px-2 py-0.5 font-medium text-stone-600 dark:bg-white/5 dark:text-stone-200" data-component-part="field-info-pill"><span class="text-stone-400 dark:text-stone-500">default:</span><span>disabled</span></div></div></div></div></div><div class="mt-4"><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2"><p class="whitespace-pre-line">Whether <a href="http://docs.pinecone.io/guides/manage-data/manage-indexes#configure-deletion-protection" target="_blank" rel="noreferrer" class="link">deletion protection</a> is enabled/disabled for the index.</p></div><div class="whitespace-pre-wrap prose-sm mt-6">Available options<!-- -->:<!-- --> <div class="inline-block"><code>disabled</code>,<!-- --> </div><div class="inline-block"><code>enabled</code> </div></div></div></div></div><div class="object-param-field border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="py-6"><div class="flex font-mono text-sm group/param-head param-head break-all relative" id="response-tags"><div class="flex-1 flex flex-col content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="absolute -top-1.5"><a href="#response-tags" class="-ml-10 flex items-center opacity-0 border-0 group-hover/param-head:opacity-100 focus:opacity-100 focus:outline-0 py-2 [.expandable-content_&amp;]:-ml-[2.1rem] group/link" aria-label="Navigate to header">​<div class="w-6 h-6 rounded-md flex items-center justify-center shadow-sm 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 width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.5 6.827C8.148 6.995 7.818 7.225 7.527 7.517L7.517 7.527C6.136 8.908 6.136 11.146 7.517 12.527L9.692 14.702C11.073 16.083 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" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9.5 11.173C9.852 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.308 3.298C6.927 1.917 4.689 1.917 3.308 3.298L3.298 3.308C1.917 4.689 1.917 6.927 3.298 8.308L4.229 9.239" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></div></a></div><div class="font-semibold text-primary dark:text-primary-light overflow-wrap-anywhere cursor-pointer" data-component-part="field-name">tags</div><div class="inline items-center gap-2 text-xs font-medium [&amp;_div]:inline [&amp;_div]:mr-2 [&amp;_div]:leading-5" data-component-part="field-meta"><div class="flex items-center gap-1 break-all rounded-md bg-stone-100/50 px-2 py-0.5 font-medium text-stone-600 dark:bg-white/5 dark:text-stone-200" data-component-part="field-info-pill"><span>object</span></div></div></div></div></div><div class="mt-4"><div class=""><div class=""><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2"><p class="whitespace-pre-line">Custom user tags added to an index. Keys must be 80 characters or less. Values must be 120 characters or less. Keys must be alphanumeric, &#x27;<em>&#x27;, or &#x27;-&#x27;.  Values must be alphanumeric, &#x27;;&#x27;, &#x27;@&#x27;, &#x27;</em>&#x27;, &#x27;-&#x27;, &#x27;.&#x27;, &#x27;+&#x27;, or &#x27; &#x27;. To unset a key, set the value to be an empty string.</p></div></div><div class=""><details class="expandable mt-4 rounded-xl border-standard" data-component-part="expandable" data-testid="response-tags-children"><summary aria-controls="child-attributes-_R_el5qlkp5d7av5tccsnisnpfiutb_-content" aria-expanded="false" class="not-prose flex w-full cursor-pointer flex-row content-center items-center text-sm rounded-t-xl px-3.5 py-3 text-stone-600 hover:bg-stone-50/50 hover:text-stone-900 dark:text-stone-300 dark:hover:bg-white/5 dark:hover:text-stone-200 list-none [&amp;::-webkit-details-marker]:hidden rounded-b-xl" data-component-part="expandable-button"><svg class="icon inline size-2.5 bg-stone-400 transition-transform" data-component-part="icon-svg" style="-webkit-mask-image:url(https://d3gk2c5xim1je2.cloudfront.net/v7.1.0/regular/angle-right.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(https://d3gk2c5xim1je2.cloudfront.net/v7.1.0/regular/angle-right.svg);mask-repeat:no-repeat;mask-position:center;display:inline-block;vertical-align:middle"></svg><div class="ml-3 text-left leading-tight"><p class="m-0" contentEditable="false">Show<!-- --> <!-- -->child attributes</p></div></summary><div class="expandable-content mx-3 border-stone-100 border-t px-2 dark:border-white/10" data-component-part="expandable-content" id="child-attributes-_R_el5qlkp5d7av5tccsnisnpfiutb_-content"></div></details></div><div class="flex prose prose-sm prose-gray dark:prose-invert mt-6 gap-1.5 flex-col gap-y-3"><span>Example<!-- -->:</span><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2 overflow-wrap-anywhere text-[13px] [&amp;_*]:text-[13px]"><div class="relative"><pre node="[object Object]" class="shiki shiki-themes p-0 overflow-visible text-sm rounded-xl text-gray-950 bg-white codeblock-light dark:codeblock-dark dark:bg-codeblock dark:text-gray-50 border border-gray-200/70 dark:border-white/[0.14]"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px" data-component-part="scroll-area" class="min-w-0 rounded-[inherit]"><div role="presentation" data-id="base-ui-_R_1qil5qlkp5d7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] p-3 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"><code node="[object Object]"><span style="color:#1F2328;--shiki-dark:#D4D4D4">{ </span><span style="color:#116329;--shiki-dark:#9CDCFE">"tag0"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">"val0"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#116329;--shiki-dark:#9CDCFE">"tag1"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">"val1"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> }</span></code></div></div></div></pre></div></div></div></div></div></div></div><div class="object-param-field border-gray-100 dark:border-gray-800 border-b last:border-b-0"><div class="py-6"><div class="flex font-mono text-sm group/param-head param-head break-all relative" id="response-embed"><div class="flex-1 flex flex-col content-start py-0.5 mr-5"><div class="flex items-center flex-wrap gap-2"><div class="absolute -top-1.5"><a href="#response-embed" class="-ml-10 flex items-center opacity-0 border-0 group-hover/param-head:opacity-100 focus:opacity-100 focus:outline-0 py-2 [.expandable-content_&amp;]:-ml-[2.1rem] group/link" aria-label="Navigate to header">​<div class="w-6 h-6 rounded-md flex items-center justify-center shadow-sm 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 width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.5 6.827C8.148 6.995 7.818 7.225 7.527 7.517L7.517 7.527C6.136 8.908 6.136 11.146 7.517 12.527L9.692 14.702C11.073 16.083 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" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9.5 11.173C9.852 11.005 10.182 10.775 10.473 10.483L10.483 10.473C11.864 9.092 11.864 6.854 10.483 5.473L8.308 3.298C6.927 1.917 4.689 1.917 3.308 3.298L3.298 3.308C1.917 4.689 1.917 6.927 3.298 8.308L4.229 9.239" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></div></a></div><div class="font-semibold text-primary dark:text-primary-light overflow-wrap-anywhere cursor-pointer" data-component-part="field-name">embed</div><div class="inline items-center gap-2 text-xs font-medium [&amp;_div]:inline [&amp;_div]:mr-2 [&amp;_div]:leading-5" data-component-part="field-meta"><div class="flex items-center gap-1 break-all rounded-md bg-stone-100/50 px-2 py-0.5 font-medium text-stone-600 dark:bg-white/5 dark:text-stone-200" data-component-part="field-info-pill"><span>object</span></div></div></div></div></div><div class="mt-4"><div class=""><div class=""><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2"><p class="whitespace-pre-line">The embedding model and document fields mapped to embedding inputs.</p></div></div><div class=""><details class="expandable mt-4 rounded-xl border-standard" data-component-part="expandable" data-testid="response-embed-children"><summary aria-controls="child-attributes-_R_ellqlkp5d7av5tccsnisnpfiutb_-content" aria-expanded="false" class="not-prose flex w-full cursor-pointer flex-row content-center items-center text-sm rounded-t-xl px-3.5 py-3 text-stone-600 hover:bg-stone-50/50 hover:text-stone-900 dark:text-stone-300 dark:hover:bg-white/5 dark:hover:text-stone-200 list-none [&amp;::-webkit-details-marker]:hidden rounded-b-xl" data-component-part="expandable-button"><svg class="icon inline size-2.5 bg-stone-400 transition-transform" data-component-part="icon-svg" style="-webkit-mask-image:url(https://d3gk2c5xim1je2.cloudfront.net/v7.1.0/regular/angle-right.svg);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(https://d3gk2c5xim1je2.cloudfront.net/v7.1.0/regular/angle-right.svg);mask-repeat:no-repeat;mask-position:center;display:inline-block;vertical-align:middle"></svg><div class="ml-3 text-left leading-tight"><p class="m-0" contentEditable="false">Show<!-- --> <!-- -->child attributes</p></div></summary><div class="expandable-content mx-3 border-stone-100 border-t px-2 dark:border-white/10" data-component-part="expandable-content" id="child-attributes-_R_ellqlkp5d7av5tccsnisnpfiutb_-content"></div></details></div><div class="flex prose prose-sm prose-gray dark:prose-invert mt-6 gap-1.5 flex-col gap-y-3"><span>Example<!-- -->:</span><div class="space-y-4 whitespace-normal prose prose-sm prose-gray dark:prose-invert overflow-wrap-anywhere [&amp;_*]:overflow-wrap-anywhere [&amp;_ul]:list-none [&amp;_ul&gt;li]:before:top-[0.75em] [&amp;_li_p.whitespace-pre-line]:!my-0 [&amp;_li.py-1]:!py-0 [&amp;_li.py-1]:!my-2 overflow-wrap-anywhere text-[13px] [&amp;_*]:text-[13px]"><div class="relative"><pre node="[object Object]" class="shiki shiki-themes p-0 overflow-visible text-sm rounded-xl text-gray-950 bg-white codeblock-light dark:codeblock-dark dark:bg-codeblock dark:text-gray-50 border border-gray-200/70 dark:border-white/[0.14]"><div role="presentation" style="position:relative;--scroll-area-corner-height:0px;--scroll-area-corner-width:0px" data-component-part="scroll-area" class="min-w-0 rounded-[inherit]"><div role="presentation" data-id="base-ui-_R_1qillqlkp5d7av5tccsnisnpfiutb_-viewport" tabindex="-1" class="size-full rounded-[inherit] [--scroll-area-fade-size:32px] p-3 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"><code node="[object Object]"><span style="color:#1F2328;--shiki-dark:#D4D4D4">{</span><br><span style="color:#116329;--shiki-dark:#9CDCFE">  "field_map"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: { </span><span style="color:#116329;--shiki-dark:#9CDCFE">"text"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">"your-text-field"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> },</span><br><span style="color:#116329;--shiki-dark:#9CDCFE">  "metric"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">"cosine"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span><br><span style="color:#116329;--shiki-dark:#9CDCFE">  "model"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">"multilingual-e5-large"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">,</span><br><span style="color:#116329;--shiki-dark:#9CDCFE">  "read_parameters"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: { </span><span style="color:#116329;--shiki-dark:#9CDCFE">"input_type"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">"query"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">, </span><span style="color:#116329;--shiki-dark:#9CDCFE">"truncate"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">"NONE"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> },</span><br><span style="color:#116329;--shiki-dark:#9CDCFE">  "write_parameters"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: { </span><span style="color:#116329;--shiki-dark:#9CDCFE">"input_type"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4">: </span><span style="color:#0A3069;--shiki-dark:#CE9178">"passage"</span><span style="color:#1F2328;--shiki-dark:#D4D4D4"> }</span><br><span style="color:#1F2328;--shiki-dark:#D4D4D4">}</span></code></div></div></div></pre></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></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-end"><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"><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"><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"></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: List indexes" 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="/reference/api/2025-04/control-plane/list_indexes"><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">List indexes</div></a><a rel="next" aria-label="Next: Create an index with integrated embedding" 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="/reference/api/2025-04/control-plane/create_for_model"><div class="truncate group-hover:text-gray-900 dark:group-hover:text-white" data-component-part="pagination-title">Create an index with integrated embedding</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 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-1/2 before:h-[200px] before:bg-transparent dark:before:bg-transparent 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/30 focus-within:border-primary dark:focus-within:border-primary-light transition-colors max-w-[386px] mx-auto"><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-500 dark:placeholder-gray-400 outline-hidden! focus:outline-hidden! focus:ring-0 py-2.5 pl-3.5 pr-10 font-bodyWeight text-sm" style="resize:none"></textarea><span class="absolute right-11 bottom-3 text-xs font-medium text-gray-400 dark:text-gray-500 select-none pointer-events-none peer-focus/input:hidden hidden sm:inline">⌘<!-- -->I</span><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><footer id="footer" class="flex gap-12 justify-between pt-10 border-t border-gray-100 sm:flex dark:border-gray-800/50 pb-28"><div class="flex gap-6 flex-wrap"><a href="https://x.com/pinecone?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor" target="_blank" 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-400 dark:bg-gray-500 hover:bg-gray-500 dark:hover:bg-gray-400" 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/pinecone-io" target="_blank" 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-400 dark:bg-gray-500 hover:bg-gray-500 dark:hover:bg-gray-400" 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://www.youtube.com/@pinecone-io" target="_blank" class="h-fit"><span class="sr-only">youtube</span><svg class="forced-colors:forced-color-adjust-none forced-colors:bg-[color:CanvasText]! w-5 h-5 bg-gray-400 dark:bg-gray-500 hover:bg-gray-500 dark:hover:bg-gray-400" aria-hidden="true" focusable="false" style="-webkit-mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/youtube.svg&quot;);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:url(&quot;https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/brands/youtube.svg&quot;);mask-repeat:no-repeat;mask-position:center"></svg></a><a href="https://github.com/pinecone-io" target="_blank" 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-400 dark:bg-gray-500 hover:bg-gray-500 dark:hover:bg-gray-400" 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></footer></div></div></main></div><!--$--><!--/$--></div><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/30 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-500 dark:placeholder-gray-400 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"></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></div></div></div></div></div><script src="/mintlify-assets/_next/static/chunks/6d55b684068fd47e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n9:I[168027,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"default\"]\n:HL[\"/mintlify-assets/_next/static/chunks/a2c16a79b30ca688.css?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"style\"]\n:HL[\"/mintlify-assets/_next/static/chunks/ea2154a47c78cbbc.css?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"style\"]\n:HL[\"/mintlify-assets/_next/static/media/83afe278b6a6bb3c.p.3a6ba036.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/mintlify-assets/_next/static/media/PaperMono_Variable.p.590789cb.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/mintlify-assets/_next/static/media/f67ad414ed34149c.p.84166d94.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"srXYXMKkfo9M11IP4K91L\",\"p\":\"/mintlify-assets\",\"c\":[\"\",\"_sites\",\"docs.pinecone.io\",\"reference\",\"api\",\"2025-04\",\"control-plane\",\"create_index\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"%5Fsites\",{\"children\":[[\"subdomain\",\"docs.pinecone.io\",\"d\"],{\"children\":[\"(multitenant)\",{\"children\":[[\"slug\",\"reference/api/2025-04/control-plane/create_index\",\"oc\"],{\"children\":[\"__PAGE__\",{}]}]}]}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/mintlify-assets/_next/static/chunks/a2c16a79b30ca688.css?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/mintlify-assets/_next/static/chunks/ea2154a47c78cbbc.css?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"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=\\\"\\\";\\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\":\"!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){}}();\"}}],[\"$\",\"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)\"}}],false]}],\"$L2\"]}]]}],{\"children\":[\"%5Fsites\",\"$L3\",{\"children\":[[\"subdomain\",\"docs.pinecone.io\",\"d\"],\"$L4\",{\"children\":[\"(multitenant)\",\"$L5\",{\"children\":[[\"slug\",\"reference/api/2025-04/control-plane/create_index\",\"oc\"],\"$L6\",{\"children\":[\"__PAGE__\",\"$L7\",{},null,false]},null,false]},null,false]},null,false]},null,false]},null,false],\"$L8\",false]],\"m\":\"$undefined\",\"G\":[\"$9\",[\"$La\",\"$Lb\"]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"c:I[667786,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"MintlifyApiPlaygroundInputsInit\"]\nd:I[339756,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"e:I[556357,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/62b598eb471da2be.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"f:I[837457,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"10:I[894587,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"ThemeProvider\"]\n"])</script><script>self.__next_f.push([1,"11:I[152823,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"ColorVariables\"]\n"])</script><script>self.__next_f.push([1,"12:I[531961,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"FontScript\"]\n"])</script><script>self.__next_f.push([1,"13:I[649328,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"RoundedVariables\"]\n"])</script><script>self.__next_f.push([1,"14:I[702910,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/bac2220deeb7d947.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"RecommendedPagesList\"]\n"])</script><script>self.__next_f.push([1,"15:I[570420,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"DataCurrentPathUpdater\"]\n"])</script><script>self.__next_f.push([1,"16:I[341175,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/739e981319ef76f2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"19:I[897367,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"OutletBoundary\"]\n1b:I[711533,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"AsyncMetadataOutlet\"]\n1d:I[897367,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"ViewportBoundary\"]\n1f:I[897367,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"MetadataBoundary\"]\n20:\"$Sreact.suspense\"\n"])</script><script>self.__next_f.push([1,"2:[\"$\",\"body\",null,{\"className\":\"antialiased\",\"children\":[[\"$\",\"$Lc\",null,{}],false,[\"$\",\"$Ld\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$e\",\"errorStyles\":[],\"errorScripts\":[[\"$\",\"script\",\"script-0\",{\"src\":\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true}],[\"$\",\"script\",\"script-1\",{\"src\":\"/mintlify-assets/_next/static/chunks/62b598eb471da2be.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true}],[\"$\",\"script\",\"script-2\",{\"src\":\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true}],[\"$\",\"script\",\"script-3\",{\"src\":\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true}],[\"$\",\"script\",\"script-4\",{\"src\":\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true}]],\"template\":[\"$\",\"$Lf\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"$L10\",null,{\"children\":[[\"$\",\"$L11\",null,{}],[\"$\",\"$L12\",null,{}],[\"$\",\"$L13\",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.\"}],[\"$\",\"$L14\",null,{}]]}]}]}]]}],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}],false,[\"$\",\"$L15\",null,{}]]}]\n"])</script><script>self.__next_f.push([1,"3:[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$Ld\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$Lf\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]\n"])</script><script>self.__next_f.push([1,"4:[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$Ld\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$16\",\"errorStyles\":[],\"errorScripts\":[[\"$\",\"script\",\"script-0\",{\"src\":\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true}],[\"$\",\"script\",\"script-1\",{\"src\":\"/mintlify-assets/_next/static/chunks/739e981319ef76f2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true}],[\"$\",\"script\",\"script-2\",{\"src\":\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true}],[\"$\",\"script\",\"script-3\",{\"src\":\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true}],[\"$\",\"script\",\"script-4\",{\"src\":\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true}]],\"template\":[\"$\",\"$Lf\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"$L10\",null,{\"children\":[[\"$\",\"$L11\",null,{}],[\"$\",\"$L12\",null,{}],[\"$\",\"$L13\",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.\"}],[\"$\",\"$L14\",null,{}]]}]}]}]]}],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]\n"])</script><script>self.__next_f.push([1,"5:[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"script\",\"script-0\",{\"src\":\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-3\",{\"src\":\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-4\",{\"src\":\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-5\",{\"src\":\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-6\",{\"src\":\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-7\",{\"src\":\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-8\",{\"src\":\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-9\",{\"src\":\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-10\",{\"src\":\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-11\",{\"src\":\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true,\"nonce\":\"$undefined\"}]],\"$L17\"]}]\n"])</script><script>self.__next_f.push([1,"6:[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$Ld\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$Lf\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]\n"])</script><script>self.__next_f.push([1,"7:[\"$\",\"$1\",\"c\",{\"children\":[\"$L18\",[[\"$\",\"script\",\"script-0\",{\"src\":\"/mintlify-assets/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/mintlify-assets/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-2\",{\"src\":\"/mintlify-assets/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-3\",{\"src\":\"/mintlify-assets/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-4\",{\"src\":\"/mintlify-assets/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-5\",{\"src\":\"/mintlify-assets/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-6\",{\"src\":\"/mintlify-assets/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-7\",{\"src\":\"/mintlify-assets/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-8\",{\"src\":\"/mintlify-assets/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L19\",null,{\"children\":[\"$L1a\",[\"$\",\"$L1b\",null,{\"promise\":\"$@1c\"}]]}]]}]\n"])</script><script>self.__next_f.push([1,"8:[\"$\",\"$1\",\"h\",{\"children\":[null,[[\"$\",\"$L1d\",null,{\"children\":\"$L1e\"}],null],[\"$\",\"$L1f\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$20\",null,{\"fallback\":null,\"children\":\"$L21\"}]}]}]]}]\na:[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/mintlify-assets/_next/static/chunks/a2c16a79b30ca688.css?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\nb:[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/mintlify-assets/_next/static/chunks/ea2154a47c78cbbc.css?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n"])</script><script>self.__next_f.push([1,"1e:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, viewport-fit=cover\"}]]\n1a:null\n"])</script><script>self.__next_f.push([1,"1c:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Create an index - Pinecone Docs\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Create a Pinecone index. This is where you specify the measure of similarity, the dimension of vectors to be stored in the index, which cloud provider you would like to deploy with, and more. For guidance and examples, see Create an index.\"}],[\"$\",\"meta\",\"2\",{\"name\":\"application-name\",\"content\":\"Pinecone Docs\"}],[\"$\",\"meta\",\"3\",{\"name\":\"generator\",\"content\":\"Mintlify\"}],[\"$\",\"meta\",\"4\",{\"name\":\"msapplication-config\",\"content\":\"/mintlify-assets/_mintlify/favicons/pinecone/JqxxUxUkDTnX7oN2/_generated/favicon/browserconfig.xml\"}],[\"$\",\"meta\",\"5\",{\"name\":\"apple-mobile-web-app-title\",\"content\":\"Pinecone Docs\"}],[\"$\",\"meta\",\"6\",{\"name\":\"msapplication-TileColor\",\"content\":\"#002BFF\"}],[\"$\",\"meta\",\"7\",{\"name\":\"google-site-verification\",\"content\":\"woTBImNAcYO-gseVfFKIzQrDRUmLWzFjBWrYbYkOTlI\"}],[\"$\",\"link\",\"8\",{\"rel\":\"canonical\",\"href\":\"https://docs.pinecone.io/reference/api/2025-04/control-plane/create_index\"}],[\"$\",\"link\",\"9\",{\"rel\":\"alternate\",\"type\":\"application/xml\",\"href\":\"/sitemap.xml\"}],[\"$\",\"link\",\"10\",{\"rel\":\"alternate\",\"type\":\"text/markdown\",\"href\":\"/reference/api/2025-04/control-plane/create_index.md\"}],[\"$\",\"meta\",\"11\",{\"property\":\"og:title\",\"content\":\"Create an index - Pinecone Docs\"}],[\"$\",\"meta\",\"12\",{\"property\":\"og:description\",\"content\":\"Create a Pinecone index. This is where you specify the measure of similarity, the dimension of vectors to be stored in the index, which cloud provider you would like to deploy with, and more. For guidance and examples, see Create an index.\"}],[\"$\",\"meta\",\"13\",{\"property\":\"og:url\",\"content\":\"https://docs.pinecone.io/reference/api/2025-04/control-plane/create_index\"}],[\"$\",\"meta\",\"14\",{\"property\":\"og:site_name\",\"content\":\"Pinecone Docs\"}],[\"$\",\"meta\",\"15\",{\"property\":\"og:image\",\"content\":\"https://www.pinecone.io/images/docs_og_image_v2.png\"}],[\"$\",\"meta\",\"16\",{\"property\":\"og:image:width\",\"content\":\"1200\"}],[\"$\",\"meta\",\"17\",{\"property\":\"og:image:height\",\"content\":\"630\"}],[\"$\",\"meta\",\"18\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"19\",{\"name\":\"twitter:card\",\"content\":\"summary_large_image\"}],[\"$\",\"meta\",\"20\",{\"name\":\"twitter:title\",\"content\":\"The vector database to build knowledgeable AI | Pinecone\"}],[\"$\",\"meta\",\"21\",{\"name\":\"twitter:description\",\"content\":\"Search through billions of items for similar matches to any object, in milliseconds. It's the next generation of search, an API call away.\"}],[\"$\",\"meta\",\"22\",{\"name\":\"twitter:image\",\"content\":\"https://www.pinecone.io/images/docs_og_image_v2.png\"}],[\"$\",\"meta\",\"23\",{\"name\":\"twitter:image:width\",\"content\":\"1200\"}],[\"$\",\"meta\",\"24\",{\"name\":\"twitter:image:height\",\"content\":\"630\"}],[\"$\",\"link\",\"25\",{\"rel\":\"icon\",\"href\":\"/mintlify-assets/_mintlify/favicons/pinecone/JqxxUxUkDTnX7oN2/_generated/favicon/android-chrome-192x192.png\",\"type\":\"image/png\",\"sizes\":\"192x192\",\"media\":\"(prefers-color-scheme: light)\"}],[\"$\",\"link\",\"26\",{\"rel\":\"apple-touch-icon\",\"href\":\"/mintlify-assets/_mintlify/favicons/pinecone/JqxxUxUkDTnX7oN2/_generated/favicon/apple-touch-icon.png\",\"type\":\"image/png\",\"sizes\":\"180x180\",\"media\":\"$undefined\"}],[\"$\",\"link\",\"27\",{\"rel\":\"icon\",\"href\":\"/mintlify-assets/_mintlify/favicons/pinecone/JqxxUxUkDTnX7oN2/_generated/favicon/favicon-16x16.png\",\"type\":\"image/png\",\"sizes\":\"16x16\",\"media\":\"(prefers-color-scheme: light)\"}],[\"$\",\"link\",\"28\",{\"rel\":\"icon\",\"href\":\"/mintlify-assets/_mintlify/favicons/pinecone/JqxxUxUkDTnX7oN2/_generated/favicon/favicon-32x32.png\",\"type\":\"image/png\",\"sizes\":\"32x32\",\"media\":\"(prefers-color-scheme: light)\"}],[\"$\",\"link\",\"29\",{\"rel\":\"shortcut icon\",\"href\":\"/mintlify-assets/_mintlify/favicons/pinecone/JqxxUxUkDTnX7oN2/_generated/favicon/favicon.ico\",\"type\":\"image/x-icon\",\"sizes\":\"$undefined\",\"media\":\"(prefers-color-scheme: light)\"}],[\"$\",\"link\",\"30\",{\"rel\":\"icon\",\"href\":\"/mintlify-assets/_mintlify/favicons/pinecone/JqxxUxUkDTnX7oN2/_generated/favicon-dark/android-chrome-192x192.png\",\"type\":\"image/png\",\"sizes\":\"192x192\",\"media\":\"(prefers-color-scheme: dark)\"}],\"$L22\",\"$L23\",\"$L24\",\"$L25\"],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"21:\"$1c:metadata\"\n"])</script><script>self.__next_f.push([1,"26:I[27201,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"IconMark\"]\n22:[\"$\",\"link\",\"31\",{\"rel\":\"icon\",\"href\":\"/mintlify-assets/_mintlify/favicons/pinecone/JqxxUxUkDTnX7oN2/_generated/favicon-dark/favicon-16x16.png\",\"type\":\"image/png\",\"sizes\":\"16x16\",\"media\":\"(prefers-color-scheme: dark)\"}]\n23:[\"$\",\"link\",\"32\",{\"rel\":\"icon\",\"href\":\"/mintlify-assets/_mintlify/favicons/pinecone/JqxxUxUkDTnX7oN2/_generated/favicon-dark/favicon-32x32.png\",\"type\":\"image/png\",\"sizes\":\"32x32\",\"media\":\"(prefers-color-scheme: dark)\"}]\n24:[\"$\",\"link\",\"33\",{\"rel\":\"shortcut icon\",\"href\":\"/mintlify-assets/_mintlify/favicons/pinecone/JqxxUxUkDTnX7oN2/_generated/favicon-dark/favicon.ico\",\"type\":\"image/x-icon\",\"sizes\":\"$undefined\",\"media\":\"(prefers-color-scheme: dark)\"}]\n25:[\"$\",\"$L26\",\"34\",{}]\n"])</script><script>self.__next_f.push([1,"27:I[707934,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"WebMcpRegistration\"]\n"])</script><script>self.__next_f.push([1,"28:I[590280,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"LivePreviewProvider\"]\n"])</script><script>self.__next_f.push([1,"29:I[479520,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"\"]\n"])</script><script>self.__next_f.push([1,"2b:I[197336,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"2c:I[91557,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"AuthProvider\"]\n"])</script><script>self.__next_f.push([1,"2d:I[91557,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"DeploymentMetadataProvider\"]\n"])</script><script>self.__next_f.push([1,"2e:I[91557,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"DocsConfigProvider\"]\n"])</script><script>self.__next_f.push([1,"30:I[597003,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"ScopedNavProvider\"]\n"])</script><script>self.__next_f.push([1,"2a:T438,"])</script><script>self.__next_f.push([1,"(function j(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  {\"global\":{\"content\":\"🎉 New: Standard and Enterprise orgs get a one-time **$250 bulk import credit** (1 TB), valid through August 30, 2026. [See details](/guides/manage-cost/understanding-cost#imports)\",\"dismissible\":true,\"color\":{\"light\":\"#002BFF\",\"dark\":\"#002BFF\"}}},\n  \"en\",\n  [],\n  \"data-banner-state\",\n  \"bannerDismissed\",\n)"])</script><script>self.__next_f.push([1,"17:[null,[\"$\",\"$L27\",null,{\"subdomain\":\"pinecone\"}],[\"$\",\"$L28\",null,{\"isLivePreviewRoute\":false,\"children\":[\"$\",\"$L10\",null,{\"appearance\":{\"default\":\"system\",\"strict\":false},\"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\":\"/llms.txt\",\"tabIndex\":-1,\"children\":\"/llms.txt\"}]]}],[\"$\",\"p\",null,{\"children\":\"Use this file to discover all available pages before exploring further.\"}]]}],false,false,null,null,[\"$\",\"$L29\",null,{\"id\":\"_mintlify-banner-script\",\"strategy\":\"beforeInteractive\",\"dangerouslySetInnerHTML\":{\"__html\":\"$2a\"}}],[\"$\",\"$L2b\",null,{\"appId\":\"$undefined\",\"autoBoot\":true,\"children\":[\"$\",\"$L2c\",null,{\"value\":{\"auth\":\"$undefined\",\"userAuth\":\"$undefined\"},\"children\":[\"$\",\"$L2d\",null,{\"value\":{\"subdomain\":\"pinecone\",\"actualSubdomain\":\"pinecone\",\"gitSource\":{\"type\":\"github\",\"owner\":\"pinecone-io\",\"repo\":\"docs\",\"deployBranch\":\"main\",\"contentDirectory\":\"\",\"isPrivate\":false,\"mountPath\":\"\",\"label\":\"\"},\"inkeep\":{\"integrationApiKey\":\"869c11f905eb3c10953283f0ea6f5e6f660b79a1ebf68cc2\"},\"chroma\":{\"liveDeploymentHistoryId\":\"6a752f0f6fd7ccecff47de9d\",\"collectionId\":\"6947488a-2174-4757-95e1-44c341566d57\",\"schemaVersion\":\"v3\",\"latestBuiltDeploymentHistoryId\":\"6a752f0f6fd7ccecff47de9d\"},\"feedback\":{\"thumbs\":true,\"issues\":false,\"edits\":false},\"entitlements\":{\"AI_CHAT\":{\"status\":\"ENABLED\"},\"REMOVE_BRANDING\":{\"status\":\"ENABLED\"},\"CONTEXTUAL_FEEDBACK\":{\"status\":\"ENABLED\"},\"CODE_SNIPPET_FEEDBACK\":{\"status\":\"ENABLED\"}},\"buildId\":\"6a752f0f6fd7ccecff47de9d:success\",\"clientVersion\":\"0.0.3414\",\"preview\":\"$undefined\",\"searchFilterCounts\":[{\"language\":\"default\",\"tag\":\"Pinecone Database\",\"count\":492},{\"language\":\"default\",\"tag\":\"Reference\",\"count\":475},{\"language\":\"default\",\"tag\":\"Database\",\"count\":227},{\"language\":\"default\",\"tag\":\"Guides\",\"count\":151},{\"language\":\"default\",\"tag\":\"Pinecone Assistant\",\"count\":135},{\"language\":\"default\",\"tag\":\"Admin\",\"count\":119},{\"language\":\"default\",\"tag\":\"Pinecone Nexus\",\"count\":74},{\"language\":\"default\",\"tag\":\"Backups\",\"count\":64},{\"language\":\"default\",\"tag\":\"Integrations\",\"count\":59},{\"language\":\"default\",\"tag\":\"Connect an integration\",\"count\":56}],\"searchSettings\":\"$undefined\"},\"children\":[\"$\",\"$L2e\",null,{\"value\":{\"docsConfig\":{\"theme\":\"mint\",\"$schema\":\"https://mintlify.com/docs.json\",\"name\":\"Pinecone Docs\",\"description\":\"Official Pinecone documentation for the vector database, Assistant, inference APIs, SDKs, and building production search and AI applications.\",\"colors\":{\"primary\":\"#002BFF\",\"light\":\"#1E86EE\",\"dark\":\"#002BFF\"},\"logo\":{\"light\":\"https://mintcdn.com/pinecone/HsZKO51bNmpAasdT/logo/Pinecone-Full-Logo-Black.svg?fit=max\u0026auto=format\u0026n=HsZKO51bNmpAasdT\u0026q=85\u0026s=211d0e7bbefc29ce3b8feee1a05d76ee\",\"dark\":\"https://mintcdn.com/pinecone/HsZKO51bNmpAasdT/logo/Pinecone-Full-Logo-White.svg?fit=max\u0026auto=format\u0026n=HsZKO51bNmpAasdT\u0026q=85\u0026s=4839c7a50a8bee830e943705c648297c\",\"href\":\"https://www.pinecone.io\"},\"favicon\":\"https://mintcdn.com/pinecone/9qvQp5nU6duJvusQ/favicon-512.png?fit=max\u0026auto=format\u0026n=9qvQp5nU6duJvusQ\u0026q=85\u0026s=a05db290834f742b6b4b5d30a8d74e90\",\"api\":{\"openapi\":[\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-01.alpha/db_control_2026-01.alpha.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-01.alpha/db_data_2026-01.alpha.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-04/assistant_control_2026-04.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-04/assistant_data_2026-04.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-04/assistant_evaluation_2026-04.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-04/admin_2026-04.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-04/oauth_2026-04.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-04/db_control_2026-04.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-04/db_data_2026-04.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-04/inference_2026-04.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-10/admin_2025-10.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-10/oauth_2025-10.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-10/assistant_control_2025-10.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-10/assistant_data_2025-10.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-10/assistant_evaluation_2025-10.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-10/db_control_2025-10.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-10/db_data_2025-10.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-10/inference_2025-10.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/admin_2025-04.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/oauth_2025-04.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/assistant_control_2025-04.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/assistant_data_2025-04.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/assistant_evaluation_2025-04.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_control_2025-04.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_data_2025-04.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/inference_2025-04.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-01/assistant_control_2025-01.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-01/assistant_data_2025-01.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-01/assistant_evaluation_2025-01.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-01/db_control_2025-01.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-01/db_data_2025-01.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-01/inference_2025-01.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2024-10/db_control_2024-10.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2024-10/db_data_2024-10.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2024-10/inference_2024-10.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2024-07/control_2024-07.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2024-07/data_2024-07.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2024-04/control_2024-04.oas.yaml\",\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2024-04/data_2024-04.oas.yaml\"],\"playground\":{\"display\":\"simple\"}},\"appearance\":\"$17:2:props:children:props:appearance\",\"background\":{\"color\":{\"light\":\"#FBFBFC\",\"dark\":\"#171717\"}},\"navbar\":{\"links\":[{\"href\":\"https://status.pinecone.io\",\"label\":\"Status\"},{\"href\":\"https://app.pinecone.io/organizations/-/settings/support\",\"label\":\"Support\"},{\"href\":\"https://app.pinecone.io/?sessionType=login\",\"label\":\"Log In\"}],\"primary\":{\"type\":\"button\",\"label\":\"Sign up free\",\"href\":\"https://app.pinecone.io/?sessionType=signup\"}},\"footer\":{\"socials\":{\"x\":\"https://x.com/pinecone?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor\",\"linkedin\":\"https://www.linkedin.com/company/pinecone-io\",\"youtube\":\"https://www.youtube.com/@pinecone-io\",\"github\":\"https://github.com/pinecone-io\"}},\"seo\":{\"metatags\":{\"og:image\":\"https://www.pinecone.io/images/docs_og_image_v2.png\",\"twitter:title\":\"The vector database to build knowledgeable AI | Pinecone\",\"twitter:description\":\"Search through billions of items for similar matches to any object, in milliseconds. It's the next generation of search, an API call away.\",\"twitter:site\":\"@pinecone\",\"twitter:image\":\"https://www.pinecone.io/images/docs_og_image_v2.png\",\"google-site-verification\":\"woTBImNAcYO-gseVfFKIzQrDRUmLWzFjBWrYbYkOTlI\"},\"indexing\":\"all\"},\"integrations\":{\"gtm\":{\"tagId\":\"GTM-5RCSPVG\"},\"heap\":{\"appId\":\"3879495182\"}},\"banner\":{\"content\":\"🎉 New: Standard and Enterprise orgs get a one-time **$250 bulk import credit** (1 TB), valid through August 30, 2026. [See details](/guides/manage-cost/understanding-cost#imports)\",\"dismissible\":true,\"color\":{\"light\":\"#002BFF\",\"dark\":\"#002BFF\"}},\"contextual\":{\"options\":[\"copy\",\"view\",\"chatgpt\",\"claude\"],\"display\":\"header\"},\"styling\":{\"latex\":false,\"codeblocks\":\"system\"},\"navigation\":{\"pages\":[]}},\"docsNavWithMetadata\":\"$undefined\",\"anonymizedNav\":\"$undefined\",\"hasFullNav\":false},\"children\":\"$L2f\"}]}]}]}]]}]}]]\n"])</script><script>self.__next_f.push([1,"18:[\"$\",\"$L30\",null,{\"scopedNav\":{\"global\":null,\"dropdowns\":[{\"dropdown\":\"Pinecone Database\",\"icon\":\"database\",\"tabs\":[{\"tab\":\"Guides\",\"pages\":[{\"title\":\"Guides\",\"href\":\"/guides/get-started/overview\"}]},{\"tab\":\"Reference\",\"versions\":[{\"version\":\"2026-01.alpha (public preview)\",\"pages\":[{\"title\":\"2026-01.alpha (public preview)\",\"href\":\"/reference/api/2026-01.alpha/control-plane/create_index\"}]},{\"version\":\"2026-04 (latest)\",\"default\":true,\"pages\":[{\"title\":\"2026-04 (latest)\",\"href\":\"/reference/api/2026-04/control-plane/create_index\"}]},{\"version\":\"2025-10\",\"pages\":[{\"title\":\"2025-10\",\"href\":\"/reference/api/2025-10/control-plane/create_index\"}]},{\"version\":\"2025-04\",\"groups\":[{\"group\":\"APIs\",\"pages\":[{\"title\":\"API reference\",\"description\":\"Pinecone REST API: Pinecone's APIs let you interact programmatically with your Pinecone account.\",\"sidebarTitle\":\"Introduction\",\"href\":\"/reference/api/introduction\"},{\"title\":\"Authentication\",\"description\":\"Pinecone REST API: All requests to Pinecone APIs must contain a valid API key for the target project.\",\"href\":\"/reference/api/authentication\"},{\"title\":\"API versioning\",\"description\":\"Pinecone REST API: Pinecone's APIs are versioned to ensure that your applications continue to work as expected as the platform evolves.\",\"sidebarTitle\":\"Versioning\",\"href\":\"/reference/api/versioning\"},{\"group\":\"Limits\",\"pages\":[{\"title\":\"Pinecone Database limits\",\"description\":\"Pinecone Database limits: This page describes different types of limits for Pinecone Database.\",\"sidebarTitle\":\"Database limits\",\"href\":\"/reference/api/database-limits\"},{\"title\":\"Known limitations\",\"description\":\"Pinecone REST API: This page describes known limitations and feature restrictions in Pinecone.\",\"href\":\"/reference/api/known-limitations\"}]},{\"title\":\"Errors\",\"description\":\"Pinecone REST API: Pinecone uses conventional HTTP response codes to indicate the success or failure of an API request. In general, codes in the range.\",\"href\":\"/reference/api/errors\"}]},{\"group\":\"Database\",\"pages\":[{\"group\":\"Indexes\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_control_2025-04.oas.yaml get /indexes\",\"title\":\"List indexes\",\"description\":\"List all indexes in a project.\",\"href\":\"/reference/api/2025-04/control-plane/list_indexes\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_control_2025-04.oas.yaml post /indexes\",\"title\":\"Create an index\",\"description\":\"Create a Pinecone index. This is where you specify the measure of similarity, the dimension of vectors to be stored in the index, which cloud provider you would like to deploy with, and more.\\n  \\nFor guidance and examples, see [Create an index](https://docs.pinecone.io/guides/index-data/create-an-index).\\n\",\"href\":\"/reference/api/2025-04/control-plane/create_index\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_control_2025-04.oas.yaml post /indexes/create-for-model\",\"title\":\"Create an index with integrated embedding\",\"description\":\"Create an index with integrated embedding.\\n\\nWith this type of index, you provide source text, and Pinecone uses a [hosted embedding model](https://docs.pinecone.io/guides/index-data/create-an-index#embedding-models) to convert the text automatically during [upsert](https://docs.pinecone.io/reference/api/2025-01/data-plane/upsert_records) and [search](https://docs.pinecone.io/reference/api/2025-01/data-plane/search_records).\\n\\nFor guidance and examples, see [Create an index](https://docs.pinecone.io/guides/index-data/create-an-index#integrated-embedding).\",\"href\":\"/reference/api/2025-04/control-plane/create_for_model\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_control_2025-04.oas.yaml get /indexes/{index_name}\",\"title\":\"Describe an index\",\"description\":\"Get a description of an index.\",\"href\":\"/reference/api/2025-04/control-plane/describe_index\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_control_2025-04.oas.yaml delete /indexes/{index_name}\",\"title\":\"Delete an index\",\"description\":\"Delete an existing index.\",\"href\":\"/reference/api/2025-04/control-plane/delete_index\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_control_2025-04.oas.yaml patch /indexes/{index_name}\",\"title\":\"Configure an index\",\"description\":\"Configure an existing index. For serverless indexes, you can configure index deletion protection, tags, and integrated inference embedding settings for the index. For pod-based indexes, you can configure the pod size, number of replicas, tags, and index deletion protection.\\n\\nIt is not possible to change the pod type of a pod-based index. However, you can create a collection from a pod-based index and then [create a new pod-based index with a different pod type](http://docs.pinecone.io/guides/indexes/pods/create-a-pod-based-index#create-a-pod-index-from-a-collection) from the collection. For guidance and examples, see [Configure an index](http://docs.pinecone.io/guides/indexes/pods/manage-pod-based-indexes).\",\"href\":\"/reference/api/2025-04/control-plane/configure_index\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_data_2025-04.oas.yaml post /describe_index_stats\",\"title\":\"Get index stats\",\"description\":\"Return statistics about the contents of an index, including the vector count per namespace, the number of dimensions, and the index fullness.\\n\\nServerless indexes scale automatically as needed, so index fullness is relevant only for pod-based indexes.\",\"href\":\"/reference/api/2025-04/data-plane/describeindexstats\"}]},{\"group\":\"Namespaces\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_data_2025-04.oas.yaml get /namespaces\",\"title\":\"List namespaces\",\"description\":\"List all namespaces in a serverless index.\\n\\nUp to 100 namespaces are returned at a time by default, in sorted order (bitwise “C” collation). If the `limit` parameter is set, up to that number of namespaces are returned instead. Whenever there are additional namespaces to return, the response also includes a `pagination_token` that you can use to get the next batch of namespaces. When the response does not include a `pagination_token`, there are no more namespaces to return.\\n\\nFor guidance and examples, see [Manage namespaces](https://docs.pinecone.io/guides/manage-data/manage-namespaces).\\n\\n**Note:** This operation is not supported for pod-based indexes.\",\"href\":\"/reference/api/2025-04/data-plane/listnamespaces\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_data_2025-04.oas.yaml get /namespaces/{namespace}\",\"title\":\"Describe a namespace\",\"description\":\"Describe a namespace in a serverless index, including the total number of vectors in the namespace.\\n\\nFor guidance and examples, see [Manage namespaces](https://docs.pinecone.io/guides/manage-data/manage-namespaces).\\n\\n**Note:** This operation is not supported for pod-based indexes.\",\"href\":\"/reference/api/2025-04/data-plane/describenamespace\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_data_2025-04.oas.yaml delete /namespaces/{namespace}\",\"title\":\"Delete a namespace\",\"description\":\"Delete a namespace from a serverless index. Deleting a namespace is irreversible; all data in the namespace is permanently deleted.\\n\\nFor guidance and examples, see [Manage namespaces](https://docs.pinecone.io/guides/manage-data/manage-namespaces).\\n\\n**Note:** This operation is not supported for pod-based indexes.\",\"href\":\"/reference/api/2025-04/data-plane/deletenamespace\"}]},{\"group\":\"Vectors\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_data_2025-04.oas.yaml post /vectors/upsert\",\"title\":\"Upsert vectors\",\"description\":\"Upsert vectors into a namespace. If a new value is upserted for an existing vector ID, it will overwrite the previous value.\\n\\nFor guidance, examples, and limits, see [Upsert data](https://docs.pinecone.io/guides/index-data/upsert-data).\",\"href\":\"/reference/api/2025-04/data-plane/upsert\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_data_2025-04.oas.yaml post /records/namespaces/{namespace}/upsert\",\"title\":\"Upsert text\",\"description\":\"Upsert text into a namespace. Pinecone converts the text to vectors automatically using the hosted embedding model associated with the index.\\n\\nUpserting text is supported only for [indexes with integrated embedding](https://docs.pinecone.io/guides/index-data/create-an-index#embedding-models).\\n\\nFor guidance, examples, and limits, see [Upsert data](https://docs.pinecone.io/guides/index-data/upsert-data).\",\"href\":\"/reference/api/2025-04/data-plane/upsert_records\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_data_2025-04.oas.yaml get /vectors/fetch\",\"title\":\"Fetch vectors\",\"description\":\"Look up and return vectors by ID from a single namespace. The returned vectors include the vector data and/or metadata.\\n\\nFor on-demand indexes, since vector values are retrieved from object storage, fetch operations may have increased latency. If you only need metadata or IDs, consider using the query operation with `includeValues` set to `false` instead.\\n\\nFor guidance and examples, see [Fetch data](https://docs.pinecone.io/guides/manage-data/fetch-data).\",\"href\":\"/reference/api/2025-04/data-plane/fetch\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_data_2025-04.oas.yaml post /vectors/update\",\"title\":\"Update a vector\",\"description\":\"Update a vector in a namespace. If a value is included, it will overwrite the previous value. If a `set_metadata` is included, the values of the fields specified in it will be added or overwrite the previous value.\\n\\nFor guidance and examples, see [Update data](https://docs.pinecone.io/guides/manage-data/update-data).\",\"href\":\"/reference/api/2025-04/data-plane/update\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_data_2025-04.oas.yaml post /vectors/delete\",\"title\":\"Delete vectors\",\"description\":\"Delete vectors by id from a single namespace.\\n\\nFor guidance and examples, see [Delete data](https://docs.pinecone.io/guides/manage-data/delete-data).\",\"href\":\"/reference/api/2025-04/data-plane/delete\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_data_2025-04.oas.yaml get /vectors/list\",\"title\":\"List vector IDs\",\"description\":\"List the IDs of vectors in a single namespace of a serverless index. An optional prefix can be passed to limit the results to IDs with a common prefix.\\n\\nReturns up to 100 IDs at a time by default in sorted order (bitwise \\\"C\\\" collation). If the `limit` parameter is set, `list` returns up to that number of IDs instead. Whenever there are additional IDs to return, the response also includes a `pagination_token` that you can use to get the next batch of IDs. When the response does not include a `pagination_token`, there are no more IDs to return.\\n\\nFor guidance and examples, see [List record IDs](https://docs.pinecone.io/guides/manage-data/list-record-ids).\\n\\n**Note:** `list` is supported only for serverless indexes.\",\"href\":\"/reference/api/2025-04/data-plane/list\"}]},{\"group\":\"Search\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_data_2025-04.oas.yaml post /query\",\"title\":\"Search with a vector\",\"description\":\"Search a namespace using a query vector. It retrieves the ids of the most similar items in a namespace, along with their similarity scores.\\n\\nFor guidance, examples, and limits, see [Search](https://docs.pinecone.io/guides/search/search-overview).\",\"href\":\"/reference/api/2025-04/data-plane/query\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_data_2025-04.oas.yaml post /records/namespaces/{namespace}/search\",\"title\":\"Search with text\",\"description\":\"Search a namespace with a query text, query vector, or record ID and return the most similar records, along with their similarity scores. Optionally, rerank the initial results based on their relevance to the query. \\n\\nSearching with text is supported only for [indexes with integrated embedding](https://docs.pinecone.io/guides/indexes/create-an-index#integrated-embedding). Searching with a query vector or record ID is supported for all indexes. \\n\\nFor guidance, examples, and limits, see [Search](https://docs.pinecone.io/guides/search/search-overview).\",\"href\":\"/reference/api/2025-04/data-plane/search_records\"}]},{\"group\":\"Imports\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_data_2025-04.oas.yaml post /bulk/imports\",\"title\":\"Start import\",\"description\":\"Start an asynchronous import of vectors from object storage into an index.\\n\\nFor guidance and examples, see [Import data](https://docs.pinecone.io/guides/index-data/import-data).\",\"href\":\"/reference/api/2025-04/data-plane/start_import\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_data_2025-04.oas.yaml get /bulk/imports\",\"title\":\"List imports\",\"description\":\"List all recent and ongoing import operations.\\n\\nBy default, `list_imports` returns up to 100 imports per page. If the `limit` parameter is set, `list` returns up to that number of imports instead. Whenever there are additional IDs to return, the response also includes a `pagination_token` that you can use to get the next batch of imports. When the response does not include a `pagination_token`, there are no more imports to return.\\n\\nFor guidance and examples, see [Import data](https://docs.pinecone.io/guides/index-data/import-data).\",\"href\":\"/reference/api/2025-04/data-plane/list_imports\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_data_2025-04.oas.yaml get /bulk/imports/{id}\",\"title\":\"Describe an import\",\"description\":\"Return details of a specific import operation.\\n\\nFor guidance and examples, see [Import data](https://docs.pinecone.io/guides/index-data/import-data).\",\"href\":\"/reference/api/2025-04/data-plane/describe_import\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_data_2025-04.oas.yaml delete /bulk/imports/{id}\",\"title\":\"Cancel an import\",\"description\":\"Cancel an import operation if it is not yet finished. It has no effect if the operation is already finished.\\n\\nFor guidance and examples, see [Import data](https://docs.pinecone.io/guides/index-data/import-data).\",\"href\":\"/reference/api/2025-04/data-plane/cancel_import\"}]},{\"group\":\"Backups\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_control_2025-04.oas.yaml post /indexes/{index_name}/backups\",\"title\":\"Create a backup of an index\",\"description\":\"Create a backup of an index.\\n\",\"href\":\"/reference/api/2025-04/control-plane/create_backup\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_control_2025-04.oas.yaml get /backups\",\"title\":\"List backups for all indexes in a project\",\"description\":\"List all backups for a project.\",\"href\":\"/reference/api/2025-04/control-plane/list_project_backups\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_control_2025-04.oas.yaml get /indexes/{index_name}/backups\",\"title\":\"List backups for an index\",\"description\":\"List all backups for an index.\",\"href\":\"/reference/api/2025-04/control-plane/list_index_backups\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_control_2025-04.oas.yaml get /backups/{backup_id}\",\"title\":\"Describe a backup\",\"description\":\"Get a description of a backup.\",\"href\":\"/reference/api/2025-04/control-plane/describe_backup\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_control_2025-04.oas.yaml delete /backups/{backup_id}\",\"title\":\"Delete a backup\",\"description\":\"Delete a backup.\",\"href\":\"/reference/api/2025-04/control-plane/delete_backup\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_control_2025-04.oas.yaml post /backups/{backup_id}/create-index\",\"title\":\"Create an index from a backup\",\"description\":\"Create an index from a backup.\",\"href\":\"/reference/api/2025-04/control-plane/create_index_from_backup\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_control_2025-04.oas.yaml get /restore-jobs\",\"title\":\"List restore jobs\",\"description\":\"List all restore jobs for a project.\",\"href\":\"/reference/api/2025-04/control-plane/list_restore_jobs\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_control_2025-04.oas.yaml get /restore-jobs/{job_id}\",\"title\":\"Describe a restore job\",\"description\":\"Get a description of a restore job.\",\"href\":\"/reference/api/2025-04/control-plane/describe_restore_job\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_control_2025-04.oas.yaml get /collections\",\"title\":\"List collections\",\"description\":\"List all collections in a project.\\nServerless indexes do not support collections.\\n\",\"href\":\"/reference/api/2025-04/control-plane/list_collections\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_control_2025-04.oas.yaml post /collections\",\"title\":\"Create a collection\",\"description\":\"Create a Pinecone collection.\\n  \\nServerless indexes do not support collections.\\n\",\"href\":\"/reference/api/2025-04/control-plane/create_collection\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_control_2025-04.oas.yaml get /collections/{collection_name}\",\"title\":\"Describe a collection\",\"description\":\"Get a description of a collection.\\nServerless indexes do not support collections.\\n\",\"href\":\"/reference/api/2025-04/control-plane/describe_collection\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_control_2025-04.oas.yaml delete /collections/{collection_name}\",\"title\":\"Delete a collection\",\"description\":\"Delete an existing collection.\\nServerless indexes do not support collections.\\n\",\"href\":\"/reference/api/2025-04/control-plane/delete_collection\"}]}]},{\"group\":\"Inference\",\"pages\":[{\"group\":\"Embed\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/inference_2025-04.oas.yaml post /embed\",\"title\":\"Generate vectors\",\"description\":\"Generate vector embeddings for input data. This endpoint uses Pinecone's [hosted embedding models](https://docs.pinecone.io/guides/index-data/create-an-index#embedding-models).\",\"href\":\"/reference/api/2025-04/inference/generate-embeddings\"}]},{\"group\":\"Rerank\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/inference_2025-04.oas.yaml post /rerank\",\"title\":\"Rerank documents\",\"description\":\"Rerank results according to their relevance to a query.\\n\\nFor guidance and examples, see [Rerank results](https://docs.pinecone.io/guides/search/rerank-results).\",\"href\":\"/reference/api/2025-04/inference/rerank\"}]},{\"group\":\"Models\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/inference_2025-04.oas.yaml get /models\",\"title\":\"List available models\",\"description\":\"List the embedding and reranking models hosted by Pinecone. \\n\\nYou can use hosted models as an integrated part of Pinecone operations or for standalone embedding and reranking. For more details, see [Vector embedding](https://docs.pinecone.io/guides/index-data/indexing-overview#vector-embedding) and [Rerank results](https://docs.pinecone.io/guides/search/rerank-results).\",\"href\":\"/reference/api/2025-04/inference/list_models\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/inference_2025-04.oas.yaml get /models/{model_name}\",\"title\":\"Describe a model\",\"description\":\"Get a description of a model hosted by Pinecone. \\n\\nYou can use hosted models as an integrated part of Pinecone operations or for standalone embedding and reranking. For more details, see [Vector embedding](https://docs.pinecone.io/guides/index-data/indexing-overview#vector-embedding) and [Rerank results](https://docs.pinecone.io/guides/search/rerank-results).\",\"href\":\"/reference/api/2025-04/inference/describe_model\"}]}]},{\"group\":\"Admin\",\"pages\":[{\"group\":\"API keys\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/admin_2025-04.oas.yaml post /admin/projects/{project_id}/api-keys\",\"title\":\"Create an API key\",\"description\":\"Create a new API key for a project. Developers can use the API key to authenticate requests to Pinecone's Data Plane and Control Plane APIs.\\n\",\"href\":\"/reference/api/2025-04/admin/create_api_key\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/admin_2025-04.oas.yaml get /admin/projects/{project_id}/api-keys\",\"title\":\"List API keys\",\"description\":\"List all API keys in a project.\",\"href\":\"/reference/api/2025-04/admin/list_api_keys\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/admin_2025-04.oas.yaml get /admin/api-keys/{api_key_id}\",\"title\":\"Get API key details\",\"description\":\"Get the details of an API key, excluding the API key secret.\",\"href\":\"/reference/api/2025-04/admin/fetch_api_key\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/admin_2025-04.oas.yaml patch /admin/api-keys/{api_key_id}\",\"title\":\"Update an API key\",\"description\":\"Update the name and roles of an API key.\\n\",\"href\":\"/reference/api/2025-04/admin/update_api_key\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/admin_2025-04.oas.yaml delete /admin/api-keys/{api_key_id}\",\"title\":\"Delete an API key\",\"description\":\"Delete an API key from a project.\",\"href\":\"/reference/api/2025-04/admin/delete_api_key\"}]},{\"group\":\"Projects\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/admin_2025-04.oas.yaml post /admin/projects\",\"title\":\"Create a new project\",\"description\":\"Creates a new project.\",\"href\":\"/reference/api/2025-04/admin/create_project\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/admin_2025-04.oas.yaml get /admin/projects\",\"title\":\"List projects\",\"description\":\"List all projects in an organization.\",\"href\":\"/reference/api/2025-04/admin/list_projects\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/admin_2025-04.oas.yaml get /admin/projects/{project_id}\",\"title\":\"Get project details\",\"description\":\"Get details about a project.\",\"href\":\"/reference/api/2025-04/admin/fetch_project\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/admin_2025-04.oas.yaml patch /admin/projects/{project_id}\",\"title\":\"Update a project\",\"description\":\"Update a project's configuration details.\\nYou can update the project's name, maximum number of Pods, or enable encryption with a customer-managed encryption key (CMEK).\\n\",\"href\":\"/reference/api/2025-04/admin/update_project\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/admin_2025-04.oas.yaml delete /admin/projects/{project_id}\",\"title\":\"Delete a project\",\"description\":\"Delete a project and all its associated configuration.\\nBefore deleting a project, you must delete all indexes, assistants, backups, and collections associated with the project. Other project resources, such as API keys, are automatically deleted when the project is deleted.\\n\",\"href\":\"/reference/api/2025-04/admin/delete_project\"}]},{\"group\":\"Service accounts\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/oauth_2025-04.oas.yaml post /oauth/token\",\"title\":\"Get an access token\",\"description\":\"Obtain an access token for a service account using the OAuth2 client credentials flow. An access token is needed to authorize requests to the Pinecone Admin API.\\nThe host domain for OAuth endpoints is `login.pinecone.io`.\\n\",\"href\":\"/reference/api/2025-04/admin/get_token\"}]}]},{\"group\":\"SDKs\",\"pages\":[{\"title\":\"Pinecone SDKs overview\",\"description\":\"Browse official Pinecone SDKs for Python, Node.js, Java, and Go, including the version mappings between SDK releases and API versions.\",\"href\":\"/reference/pinecone-sdks\"},{\"group\":\"Python\",\"pages\":[{\"title\":\"Pinecone Python SDK\",\"description\":\"Install and use the Pinecone SDK for Pinecone Python SDK: auth, typed clients, and API operations. For installation instructions, usage examples, and.\",\"sidebarTitle\":\"Overview\",\"href\":\"/reference/sdks/python/overview\"},{\"title\":\"Reference\",\"description\":\"Browse the Pinecone SDK reference for Reference: types and methods.\",\"url\":\"https://sdk.pinecone.io/python/\",\"href\":\"/reference/sdks/python/reference\"}]},{\"group\":\"Node.js\",\"pages\":[{\"title\":\"Pinecone Node.js SDK\",\"description\":\"Install and use the Pinecone SDK for Pinecone Node.js SDK: auth, typed clients, and API operations. For installation instructions, usage examples, and.\",\"sidebarTitle\":\"Overview\",\"href\":\"/reference/sdks/node/overview\"},{\"title\":\"Reference\",\"description\":\"Browse the Pinecone SDK reference for Reference: types and methods.\",\"url\":\"https://sdk.pinecone.io/typescript/\",\"href\":\"/reference/sdks/node/reference\"}]},{\"group\":\"Java\",\"pages\":[{\"title\":\"Pinecone Java SDK\",\"description\":\"Install and use the Pinecone SDK for Pinecone Java SDK: auth, typed clients, and API operations. For installation instructions and usage examples, see the.\",\"sidebarTitle\":\"Overview\",\"href\":\"/reference/sdks/java/overview\"},{\"title\":\"Reference\",\"description\":\"Browse the Pinecone SDK reference for Reference: types and methods.\",\"url\":\"https://github.com/pinecone-io/pinecone-java-client\",\"href\":\"/reference/sdks/java/reference\"},{\"title\":\"OpenTelemetry support\",\"sidebarTitle\":\"OpenTelemetry\",\"description\":\"Monitor Pinecone Java SDK operations with OpenTelemetry metrics, including latency breakdowns and error tracking.\",\"href\":\"/reference/sdks/java/open-telemetry\"}]},{\"group\":\"Go\",\"pages\":[{\"title\":\"Pinecone Go SDK\",\"description\":\"Install and use the Pinecone SDK for Pinecone Go SDK: auth, typed clients, and API operations. For installation instructions and usage examples, see the Go.\",\"sidebarTitle\":\"Overview\",\"href\":\"/reference/sdks/go/overview\"},{\"title\":\"Reference\",\"description\":\"Browse the Pinecone SDK reference for Reference: types and methods.\",\"url\":\"https://github.com/pinecone-io/go-pinecone\",\"href\":\"/reference/sdks/go/reference\"}]}]},{\"group\":\"CLI\",\"pages\":[{\"title\":\"CLI quickstart\",\"description\":\"Pinecone CLI: The Pinecone CLI ( ) lets you manage Pinecone resources directly from your terminal.\",\"sidebarTitle\":\"Quickstart\",\"href\":\"/reference/cli/quickstart\"},{\"title\":\"CLI command reference\",\"description\":\"CLI command reference: This document provides a complete reference for all Pinecone CLI commands.\",\"sidebarTitle\":\"Command reference\",\"href\":\"/reference/cli/command-reference\"},{\"title\":\"CLI authentication\",\"description\":\"Pinecone CLI: This document describes how to authenticate the Pinecone CLI to manage your Pinecone resources.\",\"sidebarTitle\":\"Authentication\",\"href\":\"/reference/cli/authentication\"},{\"title\":\"CLI target context\",\"description\":\"Pinecone CLI: The CLI's **target context** determines which organization and project your commands operate on. You must authenticate before setting target.\",\"sidebarTitle\":\"Target context\",\"href\":\"/reference/cli/target-context\"}]},{\"group\":\"Tools\",\"pages\":[{\"title\":\"Spark-Pinecone connector\",\"description\":\"Pinecone data tools: Use the connector to efficiently create, ingest, and update vector embeddings at scale with Databricks and Pinecone.\",\"href\":\"/reference/tools/pinecone-spark-connector\"}]}]},{\"version\":\"2025-01\",\"pages\":[{\"title\":\"2025-01\",\"href\":\"/reference/api/2025-01/control-plane/create_index\"}]},{\"version\":\"2024-10\",\"pages\":[{\"title\":\"2024-10\",\"href\":\"/reference/api/2024-10/control-plane/create_index\"}]},{\"version\":\"2024-07\",\"pages\":[{\"title\":\"2024-07\",\"href\":\"/reference/api/2024-07/control-plane/create_index\"}]},{\"version\":\"2024-04\",\"pages\":[{\"title\":\"2024-04\",\"href\":\"/reference/api/2024-04/control-plane/create_index\"}]}]},{\"tab\":\"Examples\",\"pages\":[{\"title\":\"Examples\",\"href\":\"/examples/notebooks\"}]},{\"tab\":\"Models\",\"pages\":[{\"title\":\"Models\",\"href\":\"/models/overview\"}]},{\"tab\":\"Integrations\",\"pages\":[{\"title\":\"Integrations\",\"href\":\"/integrations/overview\"}]},{\"tab\":\"Troubleshooting\",\"pages\":[{\"title\":\"Troubleshooting\",\"href\":\"/troubleshooting/contact-support\"}]},{\"tab\":\"Releases\",\"pages\":[{\"title\":\"Releases\",\"href\":\"/release-notes/2026\"}]}]},{\"dropdown\":\"Pinecone Assistant\",\"icon\":\"comments\",\"tabs\":[{\"tab\":\"Guides\",\"groups\":[{\"group\":\"Get started\",\"pages\":[{\"title\":\"Pinecone Assistant\",\"sidebarTitle\":\"Overview\",\"description\":\"Pinecone Assistant is a service that allow you to build production-grade chat and agent-based applications quickly.\",\"mode\":\"wide\",\"href\":\"/guides/assistant/overview\"},{\"group\":\"Quickstart\",\"pages\":[{\"title\":\"Pinecone Assistant: SDK quickstart\",\"sidebarTitle\":\"SDK quickstart\",\"description\":\"Use a Pinecone SDK to create an assistant, upload documents, and chat with the assistant.\",\"og:image\":\"https://www.pinecone.io/api/og/?title=Pinecone Assistant: SDK quickstart\",\"href\":\"/guides/assistant/quickstart/sdk-quickstart\"},{\"title\":\"Pinecone Assistant: n8n quickstart\",\"sidebarTitle\":\"n8n quickstart\",\"description\":\"Create an n8n workflow to chat with documents using Pinecone Assistant and OpenAI.\",\"og:image\":\"https://www.pinecone.io/api/og/?title=Pinecone Assistant: n8n quickstart\",\"href\":\"/guides/assistant/quickstart/n8n-quickstart\"}]},{\"title\":\"Pricing and limits\",\"description\":\"Understand Pinecone Assistant pricing and service limits.\",\"href\":\"/guides/assistant/pricing-and-limits\"}]},{\"group\":\"Build an assistant\",\"pages\":[{\"title\":\"Create an assistant\",\"mode\":\"wide\",\"description\":\"Create and deploy a Pinecone Assistant with uploaded files for context.\",\"href\":\"/guides/assistant/create-assistant\"},{\"title\":\"Manage assistants\",\"description\":\"View, update, and delete, and check the status of assistants.\",\"href\":\"/guides/assistant/manage-assistants\"}]},{\"group\":\"Upload your data\",\"pages\":[{\"title\":\"Files in Pinecone Assistant\",\"sidebarTitle\":\"Overview\",\"description\":\"Understand supported file types and metadata in Pinecone Assistant.\",\"href\":\"/guides/assistant/files-overview\"},{\"title\":\"Upload files\",\"description\":\"Upload local files to an assistant.\",\"href\":\"/guides/assistant/upload-files\"},{\"title\":\"Multimodal context for assistants\",\"sidebarTitle\":\"Multimodal context\",\"description\":\"Process images and charts in PDFs with multimodal assistants.\",\"href\":\"/guides/assistant/multimodal\"},{\"title\":\"Manage files\",\"description\":\"List, check status, and delete files from your assistant.\",\"href\":\"/guides/assistant/manage-files\"}]},{\"group\":\"Chat with an assistant\",\"pages\":[{\"title\":\"Chat through the standard interface\",\"sidebarTitle\":\"Standard interface\",\"description\":\"Chat with your assistant using the standard interface and API.\",\"href\":\"/guides/assistant/chat-with-assistant\"},{\"title\":\"Chat through the OpenAI-compatible interface\",\"sidebarTitle\":\"OpenAI-compatible interface\",\"description\":\"Integrate OpenAI-compatible chat interface with Pinecone Assistant.\",\"href\":\"/guides/assistant/chat-through-the-openai-compatible-interface\"}]},{\"group\":\"Evaluate answers\",\"pages\":[{\"title\":\"Evaluation overview\",\"sidebarTitle\":\"Overview\",\"description\":\"Learn about evaluating the correctness and completeness of assistant responses.\",\"href\":\"/guides/assistant/evaluation-overview\"},{\"title\":\"Evaluate answers\",\"mode\":\"wide\",\"description\":\"Measure assistant response quality with LLM-based evaluation.\",\"href\":\"/guides/assistant/evaluate-answers\"}]},{\"group\":\"Retrieve context snippets\",\"pages\":[{\"title\":\"Context snippets overview\",\"sidebarTitle\":\"Overview\",\"description\":\"Retrieve context snippets from files uploaded to your assistant.\",\"href\":\"/guides/assistant/context-snippets-overview\"},{\"title\":\"Retrieve context snippets\",\"description\":\"Access relevant context and citations from Pinecone Assistant.\",\"href\":\"/guides/assistant/retrieve-context-snippets\"}]},{\"group\":\"Integrate with AI agents\",\"pages\":[{\"title\":\"Use an Assistant MCP server\",\"sidebarTitle\":\"Use an MCP server\",\"description\":\"Connect AI agents to Pinecone Assistant via Model Context Protocol.\",\"href\":\"/guides/assistant/mcp-server\"}]},{\"group\":\"Admin\",\"pages\":[{\"group\":\"Manage billing\",\"pages\":[{\"title\":\"Upgrade your plan\",\"description\":\"Upgrade to a paid plan to access advanced features and limits.\",\"href\":\"/guides/assistant/admin/upgrade-billing-plan\"},{\"title\":\"Change your payment method\",\"description\":\"Update billing payment method for your organization.\",\"href\":\"/guides/assistant/admin/change-payment-method\"},{\"title\":\"Downgrade your plan\",\"description\":\"Downgrade from a paid plan to the free Starter plan.\",\"href\":\"/guides/assistant/admin/downgrade-billing-plan\"},{\"title\":\"Download a usage report\",\"description\":\"Export organization usage and cost reports.\",\"href\":\"/guides/assistant/admin/download-usage-report\"},{\"title\":\"Access your invoices\",\"description\":\"View and download billing invoices from Pinecone.\",\"href\":\"/guides/assistant/admin/access-your-invoices\"}]},{\"group\":\"Manage security\",\"pages\":[{\"title\":\"Security overview\",\"sidebarTitle\":\"Overview\",\"description\":\"Understand Pinecone's security features, including authentication, encryption, and audit logs.\",\"href\":\"/guides/assistant/admin/security-overview\"},{\"title\":\"Manage roles and access\",\"sidebarTitle\":\"Manage roles and access\",\"description\":\"Assign and manage roles for users, service accounts, and API keys using the Pinecone console or the Admin API.\",\"href\":\"/guides/assistant/admin/manage-rbac\"},{\"title\":\"Configure SSO with Okta\",\"description\":\"Enable SSO authentication using Okta integration.\",\"href\":\"/guides/assistant/admin/configure-sso-with-okta\"},{\"title\":\"Configure audit logs\",\"description\":\"Track user and API actions with audit log configuration.\",\"href\":\"/guides/assistant/admin/configure-audit-logs\"}]},{\"group\":\"Manage organizations\",\"pages\":[{\"title\":\"Organizations overview\",\"sidebarTitle\":\"Overview\",\"description\":\"Understand organization structure, projects, and billing.\",\"href\":\"/guides/assistant/admin/organizations-overview\"},{\"title\":\"Monitor usage and cost\",\"description\":\"Set monthly spend alerts and monitor usage across your organization.\",\"href\":\"/guides/assistant/admin/monitor-spend-and-usage\"},{\"title\":\"Manage organization members\",\"description\":\"Invite and control organization member access levels.\",\"href\":\"/guides/assistant/admin/manage-organization-members\"},{\"title\":\"Manage service accounts at the organization-level\",\"sidebarTitle\":\"Manage service accounts\",\"description\":\"Create service accounts for organization-level API access.\",\"href\":\"/guides/assistant/admin/manage-organization-service-accounts\"}]},{\"group\":\"Manage projects\",\"pages\":[{\"title\":\"Projects overview\",\"sidebarTitle\":\"Overview\",\"description\":\"Learn about projects, roles, and collaboration.\",\"href\":\"/guides/assistant/admin/projects-overview\"},{\"title\":\"Create a project\",\"mode\":\"wide\",\"description\":\"Create a new Pinecone project in your organization.\",\"href\":\"/guides/assistant/admin/create-a-project\"},{\"title\":\"Manage projects\",\"description\":\"View, rename, and delete projects in your organization.\",\"href\":\"/guides/assistant/admin/manage-projects\"},{\"title\":\"Manage project members\",\"description\":\"Add and manage team members in your project.\",\"href\":\"/guides/assistant/admin/manage-project-members\"},{\"title\":\"Manage API keys\",\"description\":\"Create and manage API keys with custom permissions.\",\"href\":\"/guides/assistant/admin/manage-api-keys\"},{\"title\":\"Manage service accounts at the project-level\",\"sidebarTitle\":\"Manage service accounts\",\"description\":\"Enable programmatic access with project-level service accounts.\",\"href\":\"/guides/assistant/admin/manage-project-service-accounts\"}]}]}]},{\"tab\":\"Reference\",\"versions\":[{\"version\":\"2026-04 (latest)\",\"default\":true,\"pages\":[{\"title\":\"2026-04 (latest)\",\"href\":\"/reference/api/2026-04/control-plane/create_index\"}]},{\"version\":\"2025-10\",\"pages\":[{\"title\":\"2025-10\",\"href\":\"/reference/api/2025-10/control-plane/create_index\"}]},{\"version\":\"2025-04\",\"groups\":[{\"group\":\"APIs\",\"pages\":[{\"title\":\"Assistant API reference\",\"description\":\"Pinecone REST API: Use the Assistant API to upload documents, ask questions, and receive responses that reference your documents.\",\"sidebarTitle\":\"Introduction\",\"href\":\"/reference/api/assistant/introduction\"},{\"title\":\"Authentication\",\"description\":\"Pinecone REST API: All requests to the Pinecone Assistant API must contain a valid API key for the target project.\",\"href\":\"/reference/api/assistant/authentication\"},{\"title\":\"Pinecone Assistant limits\",\"description\":\"Pinecone REST API:\",\"sidebarTitle\":\"Limits\",\"href\":\"/reference/api/assistant/assistant-limits\"}]},{\"group\":\"Assistants\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/assistant_control_2025-04.oas.yaml GET /assistants\",\"title\":\"List assistants\",\"description\":\"List of all assistants in a project.\\n\\nFor guidance and examples, see [Manage assistants](https://docs.pinecone.io/guides/assistant/manage-assistants#list-assistants-for-a-project).\",\"href\":\"/reference/api/2025-04/assistant/list_assistants\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/assistant_control_2025-04.oas.yaml POST /assistants\",\"title\":\"Create an assistant\",\"description\":\"Create an assistant. This is where you specify the underlying training model, which cloud provider you would like to deploy with, and more.\\n\\nFor guidance and examples, see [Create an assistant](https://docs.pinecone.io/guides/assistant/create-assistant)\",\"href\":\"/reference/api/2025-04/assistant/create_assistant\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/assistant_control_2025-04.oas.yaml GET /assistants/{assistant_name}\",\"title\":\"Check assistant status\",\"description\":\"Get the status of an assistant.\\n\\nFor guidance and examples, see [Manage assistants](https://docs.pinecone.io/guides/assistant/manage-assistants#get-the-status-of-an-assistant)\",\"href\":\"/reference/api/2025-04/assistant/describe_assistant\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/assistant_control_2025-04.oas.yaml PATCH /assistants/{assistant_name}\",\"title\":\"Update an assistant\",\"description\":\"Update an existing assistant. You can modify the assistant's instructions.\\n\\nFor guidance and examples, see [Manage assistants](https://docs.pinecone.io/guides/assistant/manage-assistants#add-instructions-to-an-assistant).\",\"href\":\"/reference/api/2025-04/assistant/update_assistant\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/assistant_control_2025-04.oas.yaml DELETE /assistants/{assistant_name}\",\"title\":\"Delete an assistant\",\"description\":\"Delete an existing assistant.\\n\\nFor guidance and examples, see [Manage assistants](https://docs.pinecone.io/guides/assistant/manage-assistants#delete-an-assistant)\",\"href\":\"/reference/api/2025-04/assistant/delete_assistant\"}]},{\"group\":\"Files\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/assistant_data_2025-04.oas.yaml GET /files/{assistant_name}\",\"title\":\"List Files\",\"description\":\"List all files in an assistant, with an option to filter files with metadata.\\n\\nFor guidance and examples, see [Manage files](https://docs.pinecone.io/guides/assistant/manage-files#list-files-in-an-assistant).\",\"href\":\"/reference/api/2025-04/assistant/list_files\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/assistant_data_2025-04.oas.yaml POST /files/{assistant_name}\",\"title\":\"Upload file to assistant\",\"description\":\"Upload a file to the specified assistant.\\n\\nFor guidance and examples, see [Manage files](https://docs.pinecone.io/guides/assistant/manage-files#upload-a-local-file).\",\"href\":\"/reference/api/2025-04/assistant/upload_file\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/assistant_data_2025-04.oas.yaml GET /files/{assistant_name}/{assistant_file_id}\",\"title\":\"Describe a file upload\",\"description\":\"Get the status and metadata of a file uploaded to an assistant.\\n\\nFor guidance and examples, see [Manage files](https://docs.pinecone.io/guides/assistant/manage-files#get-the-status-of-a-file).\",\"href\":\"/reference/api/2025-04/assistant/describe_file\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/assistant_data_2025-04.oas.yaml DELETE /files/{assistant_name}/{assistant_file_id}\",\"title\":\"Delete an uploaded file\",\"description\":\"Delete an uploaded file from an assistant.\\n\\nFor guidance and examples, see [Manage files](https://docs.pinecone.io/guides/assistant/manage-files#delete-a-file).\",\"href\":\"/reference/api/2025-04/assistant/delete_file\"}]},{\"group\":\"Chat\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/assistant_data_2025-04.oas.yaml POST /chat/{assistant_name}\",\"title\":\"Chat with an assistant\",\"description\":\"Chat with an assistant and get back citations in structured form. \\n\\nThis is the recommended way to chat with an assistant, as it offers more functionality and control over the assistant's responses and references than the OpenAI-compatible chat interface.\\n\\nFor guidance and examples, see [Chat with an assistant](https://docs.pinecone.io/guides/assistant/chat-with-assistant).\",\"href\":\"/reference/api/2025-04/assistant/chat_assistant\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/assistant_data_2025-04.oas.yaml POST /chat/{assistant_name}/chat/completions\",\"title\":\"Chat through an OpenAI-compatible interface\",\"description\":\"Chat with an assistant. This endpoint is based on the OpenAI Chat Completion API, a commonly used and adopted API. \\n\\nIt is useful if you need inline citations or OpenAI-compatible responses, but has limited functionality compared to the standard chat interface.\\n\\nFor guidance and examples, see [Chat with an assistant](https://docs.pinecone.io/guides/assistant/chat-with-assistant).\",\"href\":\"/reference/api/2025-04/assistant/chat_completion_assistant\"}]},{\"group\":\"Evaluation\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/assistant_evaluation_2025-04.oas.yaml POST /evaluation/metrics/alignment\",\"title\":\"Evaluate an answer\",\"description\":\"Evaluate the correctness and completeness of a response from an assistant or a RAG system. The correctness and completeness are evaluated based on the precision and recall of the generated answer with respect to the ground truth answer facts. Alignment is the harmonic mean of correctness and completeness.\\n\\nFor guidance and examples, see [Evaluate answers](https://docs.pinecone.io/guides/assistant/evaluate-answers).\",\"href\":\"/reference/api/2025-04/assistant/metrics_alignment\"}]},{\"group\":\"Context snippets\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/assistant_data_2025-04.oas.yaml POST /chat/{assistant_name}/context\",\"title\":\"Retrieve context from an assistant\",\"description\":\"Retrieve context snippets from an assistant to use as part of RAG or any agentic flow.\\n\\nFor guidance and examples, see [Retrieve context snippets](https://docs.pinecone.io/guides/assistant/retrieve-context-snippets).\",\"href\":\"/reference/api/2025-04/assistant/context_assistant\"}]},{\"group\":\"Admin\",\"pages\":[{\"group\":\"API keys\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/admin_2025-04.oas.yaml post /admin/projects/{project_id}/api-keys\",\"title\":\"Create an API key\",\"description\":\"Create a new API key for a project. Developers can use the API key to authenticate requests to Pinecone's Data Plane and Control Plane APIs.\\n\",\"href\":\"/reference/api/2025-04/admin-assistant/create_api_key\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/admin_2025-04.oas.yaml get /admin/projects/{project_id}/api-keys\",\"title\":\"List API keys\",\"description\":\"List all API keys in a project.\",\"href\":\"/reference/api/2025-04/admin-assistant/list_api_keys\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/admin_2025-04.oas.yaml get /admin/api-keys/{api_key_id}\",\"title\":\"Get API key details\",\"description\":\"Get the details of an API key, excluding the API key secret.\",\"href\":\"/reference/api/2025-04/admin-assistant/fetch_api_key\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/admin_2025-04.oas.yaml patch /admin/api-keys/{api_key_id}\",\"title\":\"Update an API key\",\"description\":\"Update the name and roles of an API key.\\n\",\"href\":\"/reference/api/2025-04/admin-assistant/update_api_key\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/admin_2025-04.oas.yaml delete /admin/api-keys/{api_key_id}\",\"title\":\"Delete an API key\",\"description\":\"Delete an API key from a project.\",\"href\":\"/reference/api/2025-04/admin-assistant/delete_api_key\"}]},{\"group\":\"Projects\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/admin_2025-04.oas.yaml post /admin/projects\",\"title\":\"Create a new project\",\"description\":\"Creates a new project.\",\"href\":\"/reference/api/2025-04/admin-assistant/create_project\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/admin_2025-04.oas.yaml get /admin/projects\",\"title\":\"List projects\",\"description\":\"List all projects in an organization.\",\"href\":\"/reference/api/2025-04/admin-assistant/list_projects\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/admin_2025-04.oas.yaml get /admin/projects/{project_id}\",\"title\":\"Get project details\",\"description\":\"Get details about a project.\",\"href\":\"/reference/api/2025-04/admin-assistant/fetch_project\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/admin_2025-04.oas.yaml patch /admin/projects/{project_id}\",\"title\":\"Update a project\",\"description\":\"Update a project's configuration details.\\nYou can update the project's name, maximum number of Pods, or enable encryption with a customer-managed encryption key (CMEK).\\n\",\"href\":\"/reference/api/2025-04/admin-assistant/update_project\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/admin_2025-04.oas.yaml delete /admin/projects/{project_id}\",\"title\":\"Delete a project\",\"description\":\"Delete a project and all its associated configuration.\\nBefore deleting a project, you must delete all indexes, assistants, backups, and collections associated with the project. Other project resources, such as API keys, are automatically deleted when the project is deleted.\\n\",\"href\":\"/reference/api/2025-04/admin-assistant/delete_project\"}]},{\"group\":\"Service accounts\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/oauth_2025-04.oas.yaml post /oauth/token\",\"title\":\"Get an access token\",\"description\":\"Obtain an access token for a service account using the OAuth2 client credentials flow. An access token is needed to authorize requests to the Pinecone Admin API.\\nThe host domain for OAuth endpoints is `login.pinecone.io`.\\n\",\"href\":\"/reference/api/2025-04/admin-assistant/get_token\"}]}]},{\"group\":\"Architecture\",\"pages\":[{\"title\":\"Pinecone Assistant architecture\",\"description\":\"Pinecone Assistant architecture: This page describes the architecture for Pinecone Assistant.\",\"sidebarTitle\":\"Assistant architecture\",\"href\":\"/reference/architecture/assistant-architecture\"}]}]},{\"version\":\"2025-01\",\"pages\":[{\"title\":\"2025-01\",\"href\":\"/reference/api/2025-01/control-plane/create_index\"}]}]},{\"tab\":\"Examples\",\"pages\":[{\"title\":\"Assistant examples\",\"description\":\"Notebooks and sample apps for Pinecone Assistant: quickstart, context snippets, and a full-stack chat UI.\",\"href\":\"/examples/assistant\"}]},{\"tab\":\"Releases\",\"groups\":[{\"group\":\"Release notes\",\"pages\":[{\"title\":\"2026 releases\",\"description\":\"Pinecone release notes — 2026 releases:\",\"href\":\"/assistant-release-notes/2026\"},{\"title\":\"2025 releases\",\"description\":\"Pinecone release notes — 2025 releases:\",\"href\":\"/assistant-release-notes/2025\"},{\"title\":\"2024 releases\",\"description\":\"Pinecone release notes — 2024 releases:\",\"href\":\"/assistant-release-notes/2024\"},{\"title\":\"2023 releases\",\"description\":\"Pinecone release notes — 2023 releases:\",\"mode\":\"wide\",\"href\":\"/assistant-release-notes/2023\"},{\"title\":\"2022 releases\",\"description\":\"Pinecone release notes — 2022 releases:\",\"mode\":\"wide\",\"href\":\"/assistant-release-notes/2022\"}]},{\"group\":\"Policies\",\"pages\":[{\"title\":\"Feature availability\",\"description\":\"Pinecone release notes — Feature availability:\",\"href\":\"/assistant-release-notes/feature-availability\"}]}]}]},{\"dropdown\":\"Pinecone Nexus\",\"icon\":\"brain-circuit\",\"tabs\":[{\"tab\":\"Guides\",\"groups\":[{\"group\":\"Get started\",\"pages\":[{\"title\":\"Pinecone Nexus\",\"sidebarTitle\":\"Overview\",\"description\":\"Pinecone Nexus is the knowledge engine for agents. It compiles your data into queryable knowledge once, then serves grounded, cited answers to agents on every call.\",\"mode\":\"wide\",\"href\":\"/guides/nexus/overview\"},{\"title\":\"Nexus quickstart\",\"sidebarTitle\":\"Quickstart\",\"description\":\"Deploy Nexus in your own cloud, then create a context and query it.\",\"href\":\"/guides/nexus/quickstart\"},{\"title\":\"Nexus key concepts\",\"sidebarTitle\":\"Key concepts\",\"description\":\"Contexts, manifests, artifacts, sessions, and the Query API, and how they fit together.\",\"href\":\"/guides/nexus/concepts\"}]},{\"group\":\"The knowledge engine\",\"pages\":[{\"title\":\"How Nexus works\",\"sidebarTitle\":\"How Nexus works\",\"description\":\"How Nexus distills curated artifacts for retrieval, then answers with code over a retrieval SDK.\",\"href\":\"/guides/nexus/how-it-works\"},{\"title\":\"Context design\",\"sidebarTitle\":\"Context design\",\"description\":\"The manifest, the information stack (chunks, artifacts, and edges), and the artifact-kind reference.\",\"href\":\"/guides/nexus/context-design\"},{\"title\":\"Curation\",\"sidebarTitle\":\"Curation\",\"description\":\"The write path that turns sources into chunks and artifacts, incrementally, driven by the manifest.\",\"href\":\"/guides/nexus/how-curation-works\"},{\"group\":\"Queries and sessions\",\"pages\":[{\"title\":\"Queries\",\"sidebarTitle\":\"Queries\",\"description\":\"The query runtime that gathers evidence and composes a grounded, cited answer.\",\"href\":\"/guides/nexus/how-queries-work\"},{\"title\":\"Query tracing\",\"sidebarTitle\":\"Query tracing\",\"description\":\"Trace any query to see the steps, retrieval code, tokens, and cost behind its answer.\",\"href\":\"/guides/nexus/query-tracing\"}]}]},{\"group\":\"Tools\",\"pages\":[{\"title\":\"MCP server\",\"sidebarTitle\":\"MCP server\",\"description\":\"Query your Pinecone Nexus contexts from any Model Context Protocol client, such as Claude Desktop, over Streamable HTTP.\",\"href\":\"/guides/nexus/mcp-server\"}]},{\"group\":\"Bring your own cloud\",\"pages\":[{\"title\":\"Nexus BYOC overview\",\"sidebarTitle\":\"Overview\",\"description\":\"What Nexus bring your own cloud is, how it relates to Database BYOC, and its architecture.\",\"href\":\"/guides/nexus/byoc/overview\"},{\"title\":\"Data residency and limits\",\"sidebarTitle\":\"Residency and limits\",\"description\":\"Where your data lives and travels in Nexus BYOC, plus authentication, encryption, cluster footprint, and limitations.\",\"href\":\"/guides/nexus/byoc/reference\"},{\"title\":\"Deploy Nexus BYOC\",\"sidebarTitle\":\"Deploy\",\"description\":\"Install and operate Pinecone Nexus in your own cloud account.\",\"href\":\"/guides/nexus/byoc/deploy\"}]}]},{\"tab\":\"Reference\",\"groups\":[{\"group\":\"APIs\",\"pages\":[{\"title\":\"Pinecone Nexus API\",\"sidebarTitle\":\"Introduction\",\"description\":\"Programmatic access to Nexus: manage contexts and sources, curate, and query with KnowQL.\",\"href\":\"/reference/api/nexus/introduction\"},{\"title\":\"Authentication\",\"sidebarTitle\":\"Authentication\",\"description\":\"Authenticate to the Nexus API with your Pinecone API key, sent directly or exchanged for a short-lived session token.\",\"href\":\"/reference/api/nexus/authentication\"}]},{\"group\":\"Auth\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /auth\",\"title\":\"Current identity (whoami)\",\"description\":null,\"href\":\"/reference/api/nexus/get_identity\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml POST /auth/login\",\"title\":\"Exchange a Pinecone API key for a session token\",\"description\":null,\"href\":\"/reference/api/nexus/login\"}]},{\"group\":\"Project\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /project\",\"title\":\"Get the active project\",\"description\":null,\"href\":\"/reference/api/nexus/get_project\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /stats\",\"title\":\"Project-wide task stats\",\"description\":\"Aggregate task counters across the whole project (all contexts), broken down by state and workflow. The per-context equivalent is `GET /contexts/{slug}/tasks/stats`.\",\"href\":\"/reference/api/nexus/get_project_task_stats\"}]},{\"group\":\"Contexts\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /contexts\",\"title\":\"List contexts (newest first, with stats)\",\"description\":null,\"href\":\"/reference/api/nexus/list_contexts\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml POST /contexts\",\"title\":\"Create a context\",\"description\":\"The context is created empty and is not queryable until you import sources and curate them (curate is explicit — there is no auto-curate). Optionally seed a `manifest`. A `work` context is the exception: it is queryable from day zero and is built from traces of work rather than source documents.\",\"href\":\"/reference/api/nexus/create_context\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /contexts/{slug}\",\"title\":\"Get a context\",\"description\":null,\"href\":\"/reference/api/nexus/get_context\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml PUT /contexts/{slug}\",\"title\":\"Update a context\",\"description\":\"All fields optional; absent leaves untouched. Empty string clears description/guide; `{}` clears the manifest back to defaults. A supplied manifest is validated against the manifest schema.\",\"href\":\"/reference/api/nexus/update_context\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml DELETE /contexts/{slug}\",\"title\":\"Delete a context (and its Pinecone indexes)\",\"description\":null,\"href\":\"/reference/api/nexus/delete_context\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml POST /contexts/{slug}/explore\",\"title\":\"Run the Design-flow explore agent (propose a manifest)\",\"description\":\"Inspects the uploaded source and proposes manifest-template matches, returned in the task's `output` (see `ExploreOutput`). Persists nothing on the index — review the proposal, then apply it via the manifest update + a forced curate. Body is optional.\",\"href\":\"/reference/api/nexus/explore_context\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml POST /contexts/{slug}/fork\",\"title\":\"Fork a context (copy manifest into a fresh target)\",\"description\":\"Copies the source context's manifest and lifecycle metadata onto an **already-created** target context in the same project, so the target's query and curate gates pass. It does not create the target — create it first with `POST /contexts`. The target's index stays empty until curated. The source must have been optimized (`last_optimized_at` set) and must not be optimizing.\",\"href\":\"/reference/api/nexus/fork_context\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml POST /contexts/{slug}/optimize\",\"title\":\"Trigger an on-demand self-tuning optimize\",\"description\":\"Tunes the manifest from real query traffic and chains a forced re-curate. A body is required but every field in it is optional, so `{}` is valid — and a no-op when no `candidate_queries` are supplied. The context must have been curated, and only one optimize runs at a time.\",\"href\":\"/reference/api/nexus/optimize_context\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml POST /contexts/{slug}/profile\",\"title\":\"Estimate the token + time cost of curating the in-progress manifest\",\"description\":\"Spins up the `profile` runtime to estimate the token + time cost of curating the sources under the in-progress manifest (sent in the request body), returned as the task's `output` (see `ProfileEstimateOutput`). Persists nothing; the console polls it for the Design-page cost box. Body is optional.\",\"href\":\"/reference/api/nexus/profile_context\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /contexts/{slug}/tasks/stats\",\"title\":\"Per-context task statistics\",\"description\":null,\"href\":\"/reference/api/nexus/get_context_task_stats\"}]},{\"group\":\"Source Files\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml POST /contexts/{slug}/import\",\"title\":\"Import source documents from a project connector\",\"description\":\"Pull source documents from a linked project connector (Box, ...) into the context. Supply either `folder` or `files`. Stages the source only — curate explicitly before querying.\",\"href\":\"/reference/api/nexus/import_context_sources\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml POST /contexts/{slug}/import/upload\",\"title\":\"Upload a source file or archive\",\"description\":\"One file per request, max 2 GiB. Archives (`.zip`, `.tar`, `.tar.gz`, `.tgz`) are expanded by the import runtime. Stages the source only — it does not index anything. Curate explicitly with `POST /contexts/{slug}/curate` before querying.\",\"href\":\"/reference/api/nexus/upload_context_source\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /contexts/{slug}/source/list\",\"title\":\"List the source file tree (root)\",\"description\":null,\"href\":\"/reference/api/nexus/list_source_files\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /contexts/{slug}/source/manifest\",\"title\":\"Flat manifest of source files (path, size, last_modified)\",\"description\":\"Flat source-object inventory used to render the source page without walking the tree. Excludes the `_inbox/` staging directory.\",\"href\":\"/reference/api/nexus/get_source_manifest\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /contexts/{slug}/source/stats\",\"title\":\"Source file/dir/size counts\",\"description\":\"Aggregate counts. Under preview mode the response also carries the per-context quota (`max_files_per_context`, `max_bytes_per_context`, `used_files`, `used_bytes`); those fields are absent otherwise.\",\"href\":\"/reference/api/nexus/get_source_stats\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml DELETE /contexts/{slug}/source/delete/{path}\",\"title\":\"Delete a source file\",\"description\":null,\"href\":\"/reference/api/nexus/delete_source_file\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /contexts/{slug}/source/list/{path}\",\"title\":\"List the source file tree under a path\",\"description\":null,\"href\":\"/reference/api/nexus/list_source_files_by_path\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /contexts/{slug}/source/read/{path}\",\"title\":\"Read a source file (raw bytes)\",\"description\":null,\"href\":\"/reference/api/nexus/read_source_file\"}]},{\"group\":\"Manifest\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /manifest/templates\",\"title\":\"List the built-in manifest templates\",\"description\":\"The catalog the console seeds new contexts from.\",\"href\":\"/reference/api/nexus/list_manifest_templates\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /contexts/{slug}/manifest\",\"title\":\"Get the context's manifest\",\"description\":\"The context's pinned manifest document. A context with no pinned manifest returns `{}` — the runtime fills defaults. Writes go through the `manifest` field on `PUT /contexts/{slug}`.\",\"href\":\"/reference/api/nexus/get_context_manifest\"}]},{\"group\":\"Curation\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /contexts/{slug}/curate\",\"title\":\"Get the curation ledger\",\"description\":\"The full ledger: per-source hashes, edges, corpus groups, chunk-id lineage, version pin, reclaim intents, pointers, and glossary. This pays an O(corpus) chunk-id-lineage read — use `GET /contexts/{slug}/curate/version/pin` on the per-turn path.\",\"href\":\"/reference/api/nexus/get_curation_ledger\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml POST /contexts/{slug}/curate\",\"title\":\"(Re)build the context's index from its sources\",\"description\":\"Curate the staged sources under the active manifest. **Required before querying** — there is no auto-curate. Body is optional. Set `force: true` to do a full rebuild (use after editing the manifest); the default is an incremental curate. Search contexts only — a work context builds via `work`/`groom` instead.\",\"href\":\"/reference/api/nexus/curate_context\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml POST /contexts/{slug}/curate/delete-sources\",\"title\":\"Drop named sources from the index + ledger\",\"description\":null,\"href\":\"/reference/api/nexus/delete_curated_sources\"}]},{\"group\":\"Knowledge\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /contexts/{slug}/knowledge/list\",\"title\":\"List curated knowledge (root)\",\"description\":null,\"href\":\"/reference/api/nexus/list_knowledge\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /contexts/{slug}/knowledge/stats\",\"title\":\"Knowledge file/dir/size counts\",\"description\":null,\"href\":\"/reference/api/nexus/get_knowledge_stats\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /contexts/{slug}/knowledge/list/{path}\",\"title\":\"List curated knowledge under a path\",\"description\":null,\"href\":\"/reference/api/nexus/list_knowledge_by_path\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /contexts/{slug}/knowledge/read/{path}\",\"title\":\"Read a curated knowledge file (raw bytes)\",\"description\":null,\"href\":\"/reference/api/nexus/read_knowledge_file\"}]},{\"group\":\"Query\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /models\",\"title\":\"List the selectable query models\",\"description\":\"The model catalog the `model` field on `POST /query` draws from. Returns the default model, every catalog entry, the tier → model-id map, per-phase defaults, and the curate-capable model ids. Only entries with `available: true` are selectable (others are coming soon and rejected with `400`).\",\"href\":\"/reference/api/nexus/list_models\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml POST /query\",\"title\":\"Run one KnowQL query turn\",\"description\":\"Send `ask` (the natural-language question) and, when starting a new session, a `scope` of 1–10 contexts. Continue an existing session with `session_id` or `previous_query_id`. Scoped search contexts must be curated (work contexts are queryable immediately), and a scope may not mix work and search contexts.\\n\\n`stream` and `background` are mutually exclusive. With `background: true` the API returns `202` with an `in_progress` query and the client polls `GET /queries/{id}`. With `stream: true` the API emits an SSE stream whose `event:` names are the event `type` (`response.created`, `response.step`, `response.output_text.delta`, `response.turn_rollup`, `response.synthesis`, `response.trace`, and a terminal `response.completed` / `response.failed` / `response.cancelled`), followed by a final `query` event carrying the full query object. Read the answer from `output[].content[].text`.\",\"href\":\"/reference/api/nexus/query\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /sessions\",\"title\":\"List project-wide query sessions (newest first)\",\"description\":null,\"href\":\"/reference/api/nexus/list_sessions\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /queries/{id}\",\"title\":\"Fetch one query (turn)\",\"description\":null,\"href\":\"/reference/api/nexus/get_query\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /sessions/{id}\",\"title\":\"Get a session with its queries (conversation order)\",\"description\":null,\"href\":\"/reference/api/nexus/get_session\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml DELETE /sessions/{id}\",\"title\":\"Delete a session and its queries\",\"description\":null,\"href\":\"/reference/api/nexus/delete_session\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml POST /queries/{id}/cancel\",\"title\":\"Cancel an in-progress query turn\",\"description\":\"Idempotent — an already-terminal query is returned unchanged. On success the turn's `status` becomes `cancelled`.\",\"href\":\"/reference/api/nexus/cancel_query\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /queries/{id}/events\",\"title\":\"Stream a query turn's events (SSE)\",\"description\":\"Server-sent event stream of the turn's events as they land — the same `type`-named events POST /query emits with `stream: true`, but as a standalone, resumable subscription. Reconnect with `Last-Event-ID` to replay from where the stream dropped.\",\"href\":\"/reference/api/nexus/stream_query_events\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml POST /queries/{id}/feedback\",\"title\":\"Record thumbs-up/down feedback on a query turn\",\"description\":null,\"href\":\"/reference/api/nexus/create_query_feedback\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /queries/{id}/trace\",\"title\":\"Fetch the recorded trace for a query turn\",\"description\":\"The per-turn debug trace (steps, tool calls, strategy, cost, rollup). Trace persistence is unconditional — every turn lands a trace blob — so this is available once the turn is terminal.\",\"href\":\"/reference/api/nexus/get_query_trace\"}]},{\"group\":\"Tasks\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /tasks\",\"title\":\"List tasks (project-wide, paginated)\",\"description\":null,\"href\":\"/reference/api/nexus/list_tasks\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /tasks/{id}\",\"title\":\"Get a task (with steps)\",\"description\":null,\"href\":\"/reference/api/nexus/get_task\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml DELETE /tasks/{id}\",\"title\":\"Cancel/terminate a task\",\"description\":\"Body is optional. Max body 1 MiB.\",\"href\":\"/reference/api/nexus/cancel_task\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /tasks/{id}/stats\",\"title\":\"Live token + runtime stats for a task\",\"description\":null,\"href\":\"/reference/api/nexus/get_task_stats\"}]},{\"group\":\"Task Files\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /tasks/{id}/files/list\",\"title\":\"List a task's working-directory files\",\"description\":null,\"href\":\"/reference/api/nexus/list_task_files\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml DELETE /tasks/{id}/files/delete/{path}\",\"title\":\"Delete a task file\",\"description\":null,\"href\":\"/reference/api/nexus/delete_task_file\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /tasks/{id}/files/list/{path}\",\"title\":\"List a task's files under a path\",\"description\":null,\"href\":\"/reference/api/nexus/list_task_files_by_path\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /tasks/{id}/files/metadata/{path}\",\"title\":\"Stat a task file\",\"description\":null,\"href\":\"/reference/api/nexus/get_task_file_metadata\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /tasks/{id}/files/read/{path}\",\"title\":\"Read a task file (raw bytes)\",\"description\":\"Serves from the live container while the task runs, and from the archived blob store afterwards. This is how a finished pack's `\u003cslug\u003e.context.zip` is downloaded.\",\"href\":\"/reference/api/nexus/read_task_file\"}]},{\"group\":\"Connectors\",\"pages\":[{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /connectors\",\"title\":\"List the project's linked connectors\",\"description\":null,\"href\":\"/reference/api/nexus/list_connectors\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /connectors/{id}\",\"title\":\"Get a connector\",\"description\":null,\"href\":\"/reference/api/nexus/get_connector\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml DELETE /connectors/{id}\",\"title\":\"Unlink a connector\",\"description\":null,\"href\":\"/reference/api/nexus/delete_connector\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml POST /connectors/keys/{provider}\",\"title\":\"Link a connector with an API key\",\"description\":null,\"href\":\"/reference/api/nexus/create_connector\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /connectors/{id}/items\",\"title\":\"Browse a connector's folders/files\",\"description\":null,\"href\":\"/reference/api/nexus/list_connector_items\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /contexts/{slug}/connectors\",\"title\":\"List a context's connectors (with per-context enabled flag)\",\"description\":null,\"href\":\"/reference/api/nexus/list_context_connectors\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml GET /connectors/oauth/{provider}/start\",\"title\":\"Start the OAuth link flow for a provider\",\"description\":\"Returns an `authorize_url` for the user to open in a browser. The connector is persisted by the provider's OAuth redirect callback once the user approves access.\",\"href\":\"/reference/api/nexus/start_connector_oauth\"},{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/nexus_2026-07.oas.yaml PUT /contexts/{slug}/connectors/{connector_id}\",\"title\":\"Enable or disable a connector for a context\",\"description\":null,\"href\":\"/reference/api/nexus/update_context_connector\"}]}]},{\"tab\":\"Releases\",\"groups\":[{\"group\":\"Release notes\",\"pages\":[{\"title\":\"2026 releases\",\"description\":\"Pinecone Nexus release notes for 2026.\",\"href\":\"/nexus-release-notes/2026\"}]},{\"group\":\"Policies\",\"pages\":[{\"title\":\"Feature availability\",\"description\":\"Feature availability phases for Pinecone Nexus.\",\"href\":\"/nexus-release-notes/feature-availability\"}]}]}]},{\"dropdown\":\"Pinecone Marketplace\",\"icon\":\"store\",\"tabs\":[{\"tab\":\"Guides\",\"groups\":[{\"group\":\"Get started\",\"pages\":[{\"title\":\"Pinecone Marketplace\",\"sidebarTitle\":\"Overview\",\"description\":\"Pinecone Marketplace is a no-code platform for creating, publishing, and operating knowledge applications powered by Pinecone.\",\"mode\":\"wide\",\"href\":\"/guides/marketplace/overview\"},{\"title\":\"Marketplace quickstart\",\"sidebarTitle\":\"Quickstart\",\"description\":\"Pick a template, connect a folder of documents, and publish your first Pinecone Marketplace knowledge application.\",\"href\":\"/guides/marketplace/quickstart\"},{\"title\":\"Marketplace concepts\",\"sidebarTitle\":\"Concepts\",\"description\":\"Core concepts in Pinecone Marketplace: knowledge applications, deployments, templates, manifests, KAT, layouts, and components.\",\"href\":\"/guides/marketplace/concepts\"},{\"title\":\"Marketplace pricing and limits\",\"sidebarTitle\":\"Pricing and limits\",\"description\":\"How Pinecone Marketplace usage is billed and what limits apply.\",\"href\":\"/guides/marketplace/pricing-and-limits\"}]},{\"group\":\"Templates\",\"pages\":[{\"title\":\"Templates overview\",\"sidebarTitle\":\"Overview\",\"description\":\"How Pinecone Marketplace templates work, what they define, and how operators customize a deployment after creating it from a template.\",\"href\":\"/guides/marketplace/templates-overview\"},{\"title\":\"Template catalog\",\"sidebarTitle\":\"Template catalog\",\"description\":\"The bundled vertical templates available in Pinecone Marketplace.\",\"href\":\"/guides/marketplace/template-catalog\"}]},{\"group\":\"Build a knowledge application\",\"pages\":[{\"title\":\"Create a deployment\",\"sidebarTitle\":\"Create a deployment\",\"description\":\"Create a new deployment in Pinecone Marketplace from a vertical template.\",\"href\":\"/guides/marketplace/create-a-deployment\"},{\"title\":\"Configure operating parameters\",\"sidebarTitle\":\"Operating parameters\",\"description\":\"Tune the system prompt and response behavior of a Pinecone Marketplace knowledge application.\",\"href\":\"/guides/marketplace/configure-operating-parameters\"},{\"title\":\"Configure layouts\",\"sidebarTitle\":\"Layouts\",\"description\":\"Choose the consumer layout for a Pinecone Marketplace knowledge application.\",\"href\":\"/guides/marketplace/configure-layouts\"},{\"title\":\"Configure components\",\"sidebarTitle\":\"Components\",\"description\":\"Enable visual components in a Pinecone Marketplace knowledge application.\",\"href\":\"/guides/marketplace/configure-components\"}]},{\"group\":\"Connect data sources\",\"pages\":[{\"title\":\"Connectors overview\",\"sidebarTitle\":\"Connectors\",\"description\":\"How Pinecone Marketplace connectors ingest documents, keep them in sync with source systems, and let operators add manually uploaded files.\",\"href\":\"/guides/marketplace/connectors-overview\"}]},{\"group\":\"Multi-domain orchestration\",\"pages\":[{\"title\":\"Knowledge Agent Toolkit (KAT) overview\",\"sidebarTitle\":\"KAT overview\",\"description\":\"How the Knowledge Agent Toolkit orchestrates multi-domain knowledge applications in Pinecone Marketplace, including manifests, disambiguation, slot filling, and guardrails.\",\"href\":\"/guides/marketplace/kat-overview\"},{\"title\":\"Multi-domain routing\",\"sidebarTitle\":\"Multi-domain routing\",\"description\":\"How KAT routes queries across multiple knowledge bases in a Pinecone Marketplace deployment.\",\"href\":\"/guides/marketplace/multi-domain-routing\"}]},{\"group\":\"Publish and operate\",\"pages\":[{\"title\":\"Publish a deployment\",\"sidebarTitle\":\"Publish\",\"description\":\"How to publish a Pinecone Marketplace deployment so end users can use it.\",\"href\":\"/guides/marketplace/publish-a-deployment\"},{\"title\":\"Manage versions and rollback\",\"sidebarTitle\":\"Versions and rollback\",\"description\":\"Use versioned publishing in Pinecone Marketplace to ship safer changes and roll back when needed.\",\"href\":\"/guides/marketplace/manage-versions-and-rollback\"},{\"title\":\"Evaluations\",\"sidebarTitle\":\"Evaluations\",\"description\":\"How Pinecone Marketplace evaluates a knowledge application on every publish.\",\"href\":\"/guides/marketplace/evaluations\"},{\"title\":\"Analytics and event logs\",\"sidebarTitle\":\"Analytics and event logs\",\"description\":\"Monitor end-user activity, refusals, and feedback for a Pinecone Marketplace deployment.\",\"href\":\"/guides/marketplace/analytics-and-event-logs\"}]},{\"group\":\"Access control\",\"pages\":[{\"title\":\"Deployer authentication\",\"sidebarTitle\":\"Deployer authentication\",\"description\":\"How operators sign in to Pinecone Marketplace.\",\"href\":\"/guides/marketplace/deployer-auth\"},{\"title\":\"Consumer authentication\",\"sidebarTitle\":\"Consumer authentication\",\"description\":\"Choose how end users sign in to a Pinecone Marketplace knowledge application: link access or Google sign-in.\",\"href\":\"/guides/marketplace/consumer-auth-overview\"}]}]},{\"tab\":\"End user guide\",\"groups\":[{\"group\":\"Use a knowledge application\",\"pages\":[{\"title\":\"End user guide\",\"sidebarTitle\":\"Overview\",\"description\":\"What a Pinecone Marketplace knowledge application is and how to sign in to one.\",\"href\":\"/guides/marketplace/end-user/overview\"},{\"title\":\"Ask questions\",\"sidebarTitle\":\"Ask questions\",\"description\":\"Get the most out of a Pinecone Marketplace knowledge application by asking clear, specific questions.\",\"href\":\"/guides/marketplace/end-user/ask-questions\"},{\"title\":\"Understand answers\",\"sidebarTitle\":\"Understand answers\",\"description\":\"Read citations, work with visual components, export and share answers, and give feedback in a Pinecone Marketplace knowledge application.\",\"href\":\"/guides/marketplace/end-user/citations\"}]}]},{\"tab\":\"Reference\",\"groups\":[{\"group\":\"APIs\",\"pages\":[{\"title\":\"Pinecone Marketplace API\",\"sidebarTitle\":\"Introduction\",\"description\":\"Programmatic access to Pinecone Marketplace deployments, templates, connectors, versions, and analytics.\",\"href\":\"/reference/api/marketplace/introduction\"},{\"title\":\"Authentication\",\"sidebarTitle\":\"Authentication\",\"description\":\"Authenticate to the Pinecone Marketplace API.\",\"href\":\"/reference/api/marketplace/authentication\"}]},{\"group\":\"Deployments\",\"pages\":[{\"title\":\"Deployments\",\"sidebarTitle\":\"Deployments\",\"description\":\"Create and manage Pinecone Marketplace deployments programmatically.\",\"href\":\"/reference/api/marketplace/deployments\"}]},{\"group\":\"Templates\",\"pages\":[{\"title\":\"Templates\",\"sidebarTitle\":\"Templates\",\"description\":\"List the vertical templates available in Pinecone Marketplace.\",\"href\":\"/reference/api/marketplace/templates\"}]},{\"group\":\"Connectors\",\"pages\":[{\"title\":\"Connectors\",\"sidebarTitle\":\"Connectors\",\"description\":\"Manage source connectors for Pinecone Marketplace deployments.\",\"href\":\"/reference/api/marketplace/connectors\"}]},{\"group\":\"Versions and publishing\",\"pages\":[{\"title\":\"Versions and publishing\",\"sidebarTitle\":\"Versions\",\"description\":\"Programmatically publish, list, and roll back Pinecone Marketplace deployment versions.\",\"href\":\"/reference/api/marketplace/versions\"}]},{\"group\":\"Evaluations\",\"pages\":[{\"title\":\"Evaluations\",\"sidebarTitle\":\"Evaluations\",\"description\":\"Trigger and retrieve Pinecone Marketplace evaluation results.\",\"href\":\"/reference/api/marketplace/evaluations\"}]},{\"group\":\"Events and analytics\",\"pages\":[{\"title\":\"Events and analytics\",\"sidebarTitle\":\"Events and analytics\",\"description\":\"Read deployment events and analytics counters from Pinecone Marketplace.\",\"href\":\"/reference/api/marketplace/events\"}]}]}]}]},\"maps\":{\"firstHrefInVersion\":{\"2026-01.alpha (public preview)\":{\"href\":\"/reference/api/2026-01.alpha/control-plane/create_index\",\"matchLevel\":1},\"2026-04 (latest)\":{\"href\":\"/reference/api/2026-04/control-plane/create_index\",\"matchLevel\":1},\"2025-10\":{\"href\":\"/reference/api/2025-10/control-plane/create_index\",\"matchLevel\":1},\"2025-04\":{\"href\":\"/reference/api/2025-04/control-plane/create_index\",\"matchLevel\":0},\"2025-01\":{\"href\":\"/reference/api/2025-01/control-plane/create_index\",\"matchLevel\":1},\"2024-10\":{\"href\":\"/reference/api/2024-10/control-plane/create_index\",\"matchLevel\":1},\"2024-07\":{\"href\":\"/reference/api/2024-07/control-plane/create_index\",\"matchLevel\":1},\"2024-04\":{\"href\":\"/reference/api/2024-04/control-plane/create_index\",\"matchLevel\":1}},\"firstHrefInLanguage\":{}},\"children\":\"$L31\"}]\n"])</script><script>self.__next_f.push([1,"32:I[604804,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"LoginButtonProvider\"]\n"])</script><script>self.__next_f.push([1,"33:I[141180,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"SidebarLoginButtonProvider\"]\n"])</script><script>self.__next_f.push([1,"34:I[343590,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"NavigationContextController\"]\n"])</script><script>self.__next_f.push([1,"35:I[378486,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"PageListProvider\"]\n"])</script><script>self.__next_f.push([1,"36:I[742977,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"PrefetchProvider\"]\n"])</script><script>self.__next_f.push([1,"37:I[237978,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"PageModeOverrideProvider\"]\n"])</script><script>self.__next_f.push([1,"38:I[378896,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"ConfiguredVariationProvider\"]\n"])</script><script>self.__next_f.push([1,"39:I[557611,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"Fonts\"]\n"])</script><script>self.__next_f.push([1,"3a:I[330080,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"BannerProvider\"]\n"])</script><script>self.__next_f.push([1,"3b:I[864506,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"NavbarTransitionScript\"]\n"])</script><script>self.__next_f.push([1,"3d:I[540345,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"ConsentProvider\"]\n"])</script><script>self.__next_f.push([1,"3e:I[529058,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"LocalStorageAndAnalyticsProviders\"]\n"])</script><script>self.__next_f.push([1,"3f:I[958547,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"41:I[763509,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"ThemeLayout\"]\n"])</script><script>self.__next_f.push([1,"42:I[91557,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"ApiReferenceProvider\"]\n"])</script><script>self.__next_f.push([1,"43:I[91557,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"PageProvider\"]\n"])</script><script>self.__next_f.push([1,"3c:T865,"])</script><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;document.documentElement.style.setProperty(\"--scroll-mt\",`${e}px`)};\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()}))}new MutationObserver(f).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><script>self.__next_f.push([1,"2f:[\"$\",\"$L32\",null,{\"children\":[\"$\",\"$L33\",null,{\"children\":[\"$\",\"$L34\",null,{\"children\":[\"$\",\"$L35\",null,{\"pageListDataMap\":{},\"children\":[\"$\",\"$L36\",null,{\"disabled\":\"$undefined\",\"children\":[\"$\",\"$L37\",null,{\"children\":[\"$\",\"$L38\",null,{\"children\":[[\"$\",\"$L12\",null,{\"fonts\":\"$undefined\",\"theme\":\"mint\",\"subdomain\":\"pinecone\"}],[[\"$\",\"$L11\",null,{\"docsConfig\":\"$17:2:props:children:props:children:6:props:children:props:children:props:children:props:value:docsConfig\"}],null,[\"$\",\"$L13\",null,{\"theme\":\"mint\"}],[\"$\",\"$L39\",null,{\"fonts\":\"$undefined\",\"children\":[\"$\",\"$L3a\",null,{\"bannersByLocale\":{\"global\":\"$17:2:props:children:props:children:6:props:children:props:children:props:children:props:value:docsConfig:banner\"},\"subdomain\":\"pinecone\",\"children\":[[\"$\",\"$L3b\",null,{\"theme\":\"mint\"}],[\"$\",\"$L29\",null,{\"strategy\":\"beforeInteractive\",\"id\":\"_mintlify-scroll-margin-script\",\"dangerouslySetInnerHTML\":{\"__html\":\"$3c\"},\"suppressHydrationWarning\":true}],[\"$\",\"$L3d\",null,{\"privacy\":\"$undefined\",\"children\":[\"$\",\"$L3e\",null,{\"subdomain\":\"pinecone\",\"isAtlas\":false,\"children\":[\"$\",\"$L3f\",null,{\"toggles\":[{\"name\":\"tiered-billing\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"editor-profile-v2\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"dashboard-editor-theseus\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"self-serve-sso\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"force-workflows-vercel-harness\",\"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\":\"autumn-billing-mar-2026\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"cloudflare-cache-invalidation\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"workflows-vercel-harness\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"gitlab-workflows\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"autopilot-dashboard\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"live-preview-client\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"direct-chroma-search\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"mintlify-credits-autumn-apr-2026\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"agent_harness_kb\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"agent-page\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"dashboard-auth-revamp\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"client-credentials-grant\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"agent_harness_slack_agent\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"workflows-v2\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"assistant-integrations\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"dashboard-comments\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"workflows-in-onboarding\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"viewer-role\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"agent-panel\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"autumn-enforcement-mar-2026\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"autumn-webhooks-mar-2026\",\"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\":\"workflows-onboarding\",\"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\":\"atlas-vercel-harness\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"onboarding-vercel-harness\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"refresh-token-auth-mcp\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"use-run-task-generate-docs-phase-queue\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"per-tenant-auth\",\"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\":\"per-tenant-auth-mcp\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"async-editor-publish\",\"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\":\"assistant-widget\",\"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\":\"composio-integrations\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"zendesk-integration\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"process-on-consumer\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"workflows-run-detail-page\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"credits-v2-jul-2026\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"call-agent-tool\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"pylon-integration\",\"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\":\"queue-git-webhooks-produce\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"slack-agent-chat-sdk\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"org-credit-pool-jul-2026\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"preview-search-indexing\",\"enabled\":true,\"variant\":{\"name\":\"disabled\",\"enabled\":false,\"feature_enabled\":true},\"impressionData\":false},{\"name\":\"approve-review-flow\",\"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}],\"children\":\"$L40\"}]}]}]]}]}]]]}]}]}]}]}]}]}]\n"])</script><script>self.__next_f.push([1,"44:T463,"])</script><script>self.__next_f.push([1,"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n  const _components = {\n    a: \"a\",\n    p: \"p\",\n    ..._provideComponents(),\n    ...props.components\n  };\n  return _jsxs(_Fragment, {\n    children: [_jsx(_components.p, {\n      children: \"Create a Pinecone index. This is where you specify the measure of similarity, the dimension of vectors to be stored in the index, which cloud provider you would like to deploy with, and more.\"\n    }), \"\\n\", _jsxs(_components.p, {\n      children: [\"For guidance and examples, see \", _jsx(_components.a, {\n        href: \"https://docs.pinecone.io/guides/index-data/create-an-index\",\n        children: \"Create an index\"\n      }), \".\"]\n    })]\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"])</script><script>self.__next_f.push([1,"45:Te21,"])</script><script>self.__next_f.push([1,"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"python\"\u003e\u003ccode language=\"python\" numberOfLines=\"16\"\u003e\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\"\u003e# pip install \"pinecone[grpc]\"\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"\u003efrom\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e pinecone.grpc \u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"\u003eimport\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e PineconeGRPC \u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"\u003eas\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e Pinecone\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"\u003efrom\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e pinecone \u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"\u003eimport\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e ServerlessSpec\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003epc \u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e=\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e Pinecone(\u003c/span\u003e\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"\u003eapi_key\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e=\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e\"YOUR_API_KEY\"\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e)\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003epc.create_index(\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"\u003e  name\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e=\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e\"docs-example1\"\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e,\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"\u003e  dimension\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e=\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\"\u003e1536\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e,\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"\u003e  metric\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e=\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e\"cosine\"\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e,\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"\u003e  spec\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e=\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003eServerlessSpec(\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"\u003e    cloud\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e=\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e\"aws\"\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e,\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"\u003e    region\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e=\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e\"us-east-1\"\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e,\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e  ),\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"\u003e  deletion_protection\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e=\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e\"disabled\"\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e)\u003c/span\u003e\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e"])</script><script>self.__next_f.push([1,"46:Te20,"])</script><script>self.__next_f.push([1,"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"javascript\"\u003e\u003ccode language=\"javascript\" numberOfLines=\"19\"\u003e\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\"\u003e// npm install @pinecone-database/pinecone\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"\u003eimport\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e { \u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003ePinecone\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e } \u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"\u003efrom\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e '@pinecone-database/pinecone'\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"\u003econst\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"\u003e pc\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e =\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"\u003e new\u003c/span\u003e\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"\u003e Pinecone\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e({\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e  apiKey:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e 'YOUR_API_KEY'\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e});\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"\u003eawait\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e pc\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e.\u003c/span\u003e\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"\u003ecreateIndex\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e({\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e  name:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e 'docs-example1'\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e,\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e  dimension:\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\"\u003e 1536\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e,\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e  metric:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e 'cosine'\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e,\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e  spec:\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e {\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e    serverless:\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e {\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e      cloud:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e 'aws'\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e,\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e      region:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e 'us-east-1'\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e    }\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e  },\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e  deletionProtection:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e 'disabled'\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e,\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e});\u003c/span\u003e\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e"])</script><script>self.__next_f.push([1,"47:Tcff,"])</script><script>self.__next_f.push([1,"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"java\"\u003e\u003ccode language=\"java\" numberOfLines=\"8\"\u003e\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"\u003eimport\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e io.pinecone.clients.Pinecone;\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"\u003epublic\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"\u003e class\u003c/span\u003e\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"\u003e CreateServerlessIndexExample\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e {\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"\u003e    public\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"\u003e static\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#4EC9B0\"\u003e void\u003c/span\u003e\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"\u003e main\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e(\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#4EC9B0\"\u003eString\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e[] \u003c/span\u003e\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"\u003eargs\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e) {\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#4EC9B0\"\u003e        Pinecone\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e pc\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e =\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"\u003e new\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e Pinecone.\u003c/span\u003e\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"\u003eBuilder\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e(\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e\"YOUR_API_KEY\"\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e).\u003c/span\u003e\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"\u003ebuild\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e();\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e        pc\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e.\u003c/span\u003e\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"\u003ecreateServerlessIndex\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e(\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e\"docs-example1\"\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e, \u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e\"cosine\"\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e, \u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\"\u003e1536\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e, \u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e\"aws\"\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e, \u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e\"us-east-1\"\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e, \u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003eDeletionProtection\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e.\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003edisabled\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e);\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e    }\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e}\u003c/span\u003e\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e"])</script><script>self.__next_f.push([1,"48:T26df,"])</script><script>self.__next_f.push([1,"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"go\"\u003e\u003ccode language=\"go\" numberOfLines=\"36\"\u003e\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"\u003epackage\u003c/span\u003e\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"\u003e main\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"\u003eimport\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e (\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e    \"\u003c/span\u003e\u003cspan style=\"color:#953800;--shiki-dark:#CE9178\"\u003econtext\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e\"\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e    \"\u003c/span\u003e\u003cspan style=\"color:#953800;--shiki-dark:#CE9178\"\u003efmt\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e\"\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e    \"\u003c/span\u003e\u003cspan style=\"color:#953800;--shiki-dark:#CE9178\"\u003elog\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e\"\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e    \"\u003c/span\u003e\u003cspan style=\"color:#953800;--shiki-dark:#CE9178\"\u003egithub.com/pinecone-io/go-pinecone/v4/pinecone\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e\"\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e)\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"\u003efunc\u003c/span\u003e\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"\u003e main\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e() {\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e    ctx\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e :=\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e context\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e.\u003c/span\u003e\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"\u003eBackground\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e()\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e    pc\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e, \u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003eerr\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e :=\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e pinecone\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e.\u003c/span\u003e\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"\u003eNewClient\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e(\u003c/span\u003e\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"\u003epinecone\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e.\u003c/span\u003e\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"\u003eNewClientParams\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e{\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e        ApiKey\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e: \u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e\"YOUR_API_KEY\"\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e,\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e    })\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"\u003e    if\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e err\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e !=\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"\u003e nil\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e {\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e        log\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e.\u003c/span\u003e\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"\u003eFatalf\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e(\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e\"Failed to create Client: \u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#9CDCFE\"\u003e%v\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e\"\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e, \u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003eerr\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e)\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e    }\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e    deletionProtection\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e :=\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e pinecone\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e.\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003eDeletionProtectionDisabled\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e    idx\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e, \u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003eerr\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e :=\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e pc\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e.\u003c/span\u003e\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"\u003eCreateServerlessIndex\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e(\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003ectx\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e, \u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e\u0026#x26;\u003c/span\u003e\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"\u003epinecone\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e.\u003c/span\u003e\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"\u003eCreateServerlessIndexRequest\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e{\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e        Name\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e:      \u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e\"docs-example1\"\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e,\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e        Dimension\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e: \u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\"\u003e1536\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e,\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e        Metric\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e:    \u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003epinecone\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e.\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003eCosine\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e,\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e        Cloud\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e:     \u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003epinecone\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e.\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003eAws\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e,\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e        Region\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e:    \u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e\"us-east-1\"\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e,\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e        DeletionProtection\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e: \u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e\u0026#x26;\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003edeletionProtection\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e,\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e    })\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"\u003e  \tif\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e err\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e !=\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"\u003e nil\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e {\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e        log\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e.\u003c/span\u003e\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"\u003eFatalf\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e(\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e\"Failed to create serverless index: \u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#9CDCFE\"\u003e%v\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e\"\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e, \u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003eerr\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e)\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e    } \u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"\u003eelse\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e {\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e        fmt\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e.\u003c/span\u003e\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"\u003ePrintf\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e(\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e\"Successfully created serverless index: \u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#9CDCFE\"\u003e%v\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e\"\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e, \u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003eidx\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e.\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003eName\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e)\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e    }\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e}\u003c/span\u003e\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e"])</script><script>self.__next_f.push([1,"49:T12b0,"])</script><script>self.__next_f.push([1,"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"csharp\"\u003e\u003ccode language=\"csharp\" numberOfLines=\"19\"\u003e\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"\u003eusing\u003c/span\u003e\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"\u003e Pinecone\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e;\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"\u003evar\u003c/span\u003e\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"\u003e pinecone\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e =\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"\u003e new\u003c/span\u003e\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"\u003e PineconeClient\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e(\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e\"YOUR_API_KEY\"\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e);\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"\u003evar\u003c/span\u003e\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"\u003e createIndexRequest\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e =\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"\u003e await\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e pinecone\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e.\u003c/span\u003e\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"\u003eCreateIndexAsync\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e(\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"\u003enew\u003c/span\u003e\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"\u003e CreateIndexRequest\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e{\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e    Name\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e =\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"docs-example1\"\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e,\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e    Dimension\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e =\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\"\u003e 1536\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e,\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e    Metric\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e =\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e MetricType\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e.\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003eCosine\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e,\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e    Spec\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e =\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"\u003e new\u003c/span\u003e\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"\u003e ServerlessIndexSpec\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e    {\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e        Serverless\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e =\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"\u003e new\u003c/span\u003e\u003cspan style=\"color:#953800;--shiki-dark:#4EC9B0\"\u003e ServerlessSpec\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e        {\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e            Cloud\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e =\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e ServerlessSpecCloud\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e.\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003eAws\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e,\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e            Region\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e =\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"us-east-1\"\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e,\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e        }\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e    },\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e    DeletionProtection\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e =\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e DeletionProtection\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e.\u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003eDisabled\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e});\u003c/span\u003e\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e"])</script><script>self.__next_f.push([1,"4a:T1b2a,"])</script><script>self.__next_f.push([1,"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\"\u003e\u003ccode language=\"shellscript\" numberOfLines=\"46\"\u003e\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003ePINECONE_API_KEY\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"\u003e=\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e\"YOUR_API_KEY\"\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\"\u003e# Serverless index\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003ecurl\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"\u003e -X\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e POST\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"https://api.pinecone.io/indexes\"\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"\u003e \\\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"\u003e     -H\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"Accept: application/json\"\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"\u003e \\\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"\u003e     -H\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"Content-Type: application/json\"\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"\u003e \\\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"\u003e     -H\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"Api-Key: \u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e$PINECONE_API_KEY\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e\"\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"\u003e \\\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"\u003e     -H\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"X-Pinecone-Api-Version: 2025-04\"\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"\u003e \\\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"\u003e     -d\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e '{\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e           \"name\": \"docs-example1\",\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e           \"vector_type\": \"dense\",\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e           \"dimension\": 1536,\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e           \"metric\": \"cosine\",\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e           \"spec\": {\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e               \"serverless\": {\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e                   \"cloud\": \"aws\",\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e                   \"region\": \"us-east-1\"\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e               }\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e           },\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e           \"tags\": {\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e               \"example\": \"tag\"\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e           },\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e           \"deletion_protection\": \"disabled\"\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e         }'\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\"\u003e# BYOC index\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003ecurl\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"\u003e -X\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e POST\"https://api.pinecone.io/indexes\"\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"\u003e \\\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"\u003e     -H\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"Accept: application/json\"\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"\u003e \\\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"\u003e     -H\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"Content-Type: application/json\"\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"\u003e \\\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"\u003e     -H\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"Api-Key: \u003c/span\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"\u003e$PINECONE_API_KEY\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e\"\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"\u003e \\\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"\u003e     -H\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"X-Pinecone-Api-Version: 2025-04\"\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"\u003e \\\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"\u003e     -d\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e '{\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e           \"name\": \"example-byoc-index\",\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e           \"vector_type\": \"dense\",\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e           \"dimension\": 1536,\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e           \"metric\": \"cosine\",\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e           \"spec\": {\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e               \"byoc\": {\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e                   \"environment\": \"aws-us-east-1-b921\"\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e               }\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e           },\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e           \"tags\": {\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e               \"example\": \"tag\"\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e           },\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e           \"deletion_protection\": \"disabled\"\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e         }'\u003c/span\u003e\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e"])</script><script>self.__next_f.push([1,"4b:Ta59,"])</script><script>self.__next_f.push([1,"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\"\u003e\u003ccode language=\"shellscript\" numberOfLines=\"11\"\u003e\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\"\u003e# Target the project where you'd like to create the index.\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003epc\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e target\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"\u003e -o\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"example-org\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"\u003e -p\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"example-project\"\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\"\u003e# Create the index.\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003epc\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e index\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e create\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"\u003e \\\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"\u003e  --name\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"docs-example1\"\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"\u003e \\\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"\u003e  --dimension\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\"\u003e 1536\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"\u003e \\\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"\u003e  --metric\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"cosine\"\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"\u003e \\\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"\u003e  --cloud\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"aws\"\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"\u003e \\\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"\u003e  --region\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"us-east-1\"\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"\u003e \\\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"\u003e  --deletion_protection\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"disabled\"\u003c/span\u003e\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"\u003e \\\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"\u003e  --tags\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"example=tag,example2=tag2\"\u003c/span\u003e\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e"])</script><script>self.__next_f.push([1,"4c:T1f99,"])</script><script>self.__next_f.push([1,"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\"\u003e\u003ccode language=\"shellscript\" numberOfLines=\"44\"\u003e\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\"\u003e# Serverless index\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e{\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003e    \"name\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"\u003e:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"docs-example1\",\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003e    \"vector_type\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"\u003e:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"dense\",\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003e    \"metric\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"\u003e:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"cosine\",\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003e    \"dimension\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"\u003e:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e 1536,\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003e    \"status\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"\u003e:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e {\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003e        \"ready\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"\u003e:\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"\u003e true\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e,\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003e        \"state\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"\u003e:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"Ready\"\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e    },\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003e    \"host\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"\u003e:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"example-serverless-index-govk0nt.svc.aped-4627-b74a.pinecone.io\",\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003e    \"spec\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"\u003e:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e {\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003e        \"serverless\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"\u003e:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e {\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003e            \"region\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"\u003e:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"us-east-1\",\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003e            \"cloud\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"\u003e:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"aws\"\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e        }\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e    },\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003e    \"deletion_protection\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"\u003e:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"disabled\",\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003e    \"tags\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"\u003e:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e {\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003e        \"example\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"\u003e:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"tag\"\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e    }\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e}\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\"\u003e# BYOC index\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e{\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003e    \"name\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"\u003e:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"example-byoc-index\",\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003e    \"vector_type\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"\u003e:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"dense\",\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003e    \"metric\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"\u003e:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"cosine\",\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003e    \"dimension\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"\u003e:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e 1536,\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003e    \"status\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"\u003e:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e {\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003e        \"ready\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"\u003e:\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"\u003e true\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e,\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003e        \"state\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"\u003e:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"Ready\"\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e    },\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003e    \"host\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"\u003e:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"example-byoc-index-govk0nt.svc.private.aped-4627-b74a.pinecone.io\",\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003e    \"spec\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"\u003e:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e {\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003e        \"byoc\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"\u003e:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e {\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003e            \"environment\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"\u003e:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"aws-us-east-1-b921\"\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e        }\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e    },\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003e    \"deletion_protection\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"\u003e:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"disabled\",\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003e    \"tags\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"\u003e:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e {\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\"\u003e        \"example\"\u003c/span\u003e\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\"\u003e:\u003c/span\u003e\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"\u003e \"tag\"\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e    }\u003c/span\u003e\u003c/span\u003e\n\u003cspan class=\"line\"\u003e\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"\u003e}\u003c/span\u003e\u003c/span\u003e\n\u003c/code\u003e\u003c/pre\u003e"])</script><script>self.__next_f.push([1,"31:[\"$\",\"$L41\",null,{\"theme\":\"mint\",\"pageMetadata\":{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_control_2025-04.oas.yaml post /indexes\",\"title\":\"Create an index\",\"description\":\"Create a Pinecone index. This is where you specify the measure of similarity, the dimension of vectors to be stored in the index, which cloud provider you would like to deploy with, and more.\\n  \\nFor guidance and examples, see [Create an index](https://docs.pinecone.io/guides/index-data/create-an-index).\\n\",\"href\":\"/reference/api/2025-04/control-plane/create_index\"},\"children\":[\"$\",\"$L42\",null,{\"value\":{\"apiReferenceData\":{},\"graphqlReferenceData\":\"$undefined\"},\"children\":[\"$\",\"$L43\",null,{\"value\":{\"pageMetadata\":\"$31:props:pageMetadata\",\"lastModified\":\"2026-01-28T17:44:02.031Z\",\"gitLastModified\":\"$undefined\",\"originalFileLocation\":\"reference/api/2025-04/control-plane/create_index.mdx\",\"description\":{\"compiledSource\":\"$44\",\"frontmatter\":{},\"scope\":{}},\"mdxExtracts\":{\"tableOfContents\":[],\"codeExamples\":{\"request\":{\"type\":\"RequestExample\",\"children\":[{\"filename\":\"Python\",\"html\":\"$45\"},{\"filename\":\"JavaScript\",\"html\":\"$46\"},{\"filename\":\"Java\",\"html\":\"$47\"},{\"filename\":\"Go\",\"html\":\"$48\"},{\"filename\":\"C#\",\"html\":\"$49\"},{\"filename\":\"curl\",\"html\":\"$4a\"},{\"filename\":\"CLI\",\"html\":\"$4b\"}],\"attributes\":[]},\"response\":{\"type\":\"ResponseExample\",\"children\":[{\"filename\":\"Response\",\"html\":\"$4c\"}],\"attributes\":[]}}},\"pageType\":\"$undefined\",\"panelMdxSource\":\"$undefined\",\"panelMdxSourceWithNoJs\":\"$undefined\",\"contextualStarterQuestions\":\"$undefined\",\"relatedPages\":\"$undefined\"},\"children\":\"$L4d\"}]}]}]\n"])</script><script>self.__next_f.push([1,"4e:I[604780,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"CaptchaProvider\"]\n"])</script><script>self.__next_f.push([1,"4f:I[601054,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"SearchProvider\"]\n"])</script><script>self.__next_f.push([1,"50:I[28330,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"SkipToContent\"]\n"])</script><script>self.__next_f.push([1,"51:I[87732,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"AssistantLayoutWrapper\"]\n"])</script><script>self.__next_f.push([1,"52:I[118717,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/bbe9a3c9a38b4577.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"NotFoundHydrator\"]\n"])</script><script>self.__next_f.push([1,"53:I[91557,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"OpenApiProvider\"]\n"])</script><script>self.__next_f.push([1,"40:[\"$\",\"$L4e\",null,{\"enabled\":true,\"isPreview\":false,\"children\":[\"$\",\"$L4f\",null,{\"subdomain\":\"pinecone\",\"hasChatPermissions\":true,\"isLoggedInCli\":false,\"assistantConfig\":{},\"starterQuestions\":\"$undefined\",\"children\":[[\"$\",\"$L50\",null,{}],[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"(function i(a,b,c,d){try{if(window.matchMedia(\\\"(max-width: 1024px)\\\").matches||!d){document.documentElement.style.setProperty(c,\\\"0px\\\"),document.documentElement.setAttribute(\\\"data-assistant-state\\\",\\\"closed\\\"),d||localStorage.setItem(a,\\\"false\\\");return}let e=localStorage.getItem(a);if(null===e){document.documentElement.style.setProperty(c,\\\"0px\\\"),document.documentElement.setAttribute(\\\"data-assistant-state\\\",\\\"closed\\\");return}let f=JSON.parse(e),g=localStorage.getItem(b),h=null!==g?JSON.parse(g):368;document.documentElement.style.setProperty(c,f?h+\\\"px\\\":\\\"0px\\\"),document.documentElement.setAttribute(\\\"data-assistant-state\\\",f?\\\"open\\\":\\\"closed\\\")}catch(a){document.documentElement.style.setProperty(c,\\\"0px\\\"),document.documentElement.setAttribute(\\\"data-assistant-state\\\",\\\"closed\\\")}})(\\n    \\\"chat-assistant-sheet-open\\\",\\n    \\\"chat-assistant-sheet-width\\\",\\n    \\\"--assistant-sheet-width\\\",\\n    true\\n  )\"}}],false,[\"$\",\"$L51\",null,{\"children\":[[\"$\",\"$Ld\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$Lf\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"$L52\",null,{\"source\":\"multitenant\"}],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}],\"$undefined\"]}]]}]}]\n"])</script><script>self.__next_f.push([1,"4d:[\"$\",\"$L53\",null,{\"pageMetadata\":\"$31:props:pageMetadata\",\"mdxExtracts\":\"$31:props:children:props:children:props:value:mdxExtracts\",\"openApiReferenceData\":{\"operation\":{\"tags\":[\"Manage Indexes\"],\"summary\":\"Create an index\",\"description\":\"Create a Pinecone index. This is where you specify the measure of similarity, the dimension of vectors to be stored in the index, which cloud provider you would like to deploy with, and more.\\n  \\nFor guidance and examples, see [Create an index](https://docs.pinecone.io/guides/index-data/create-an-index).\\n\",\"operationId\":\"create_index\",\"requestBody\":\"0549338b-b46f-4d06-a111-68a3e0fab91f\",\"responses\":{\"201\":\"1aa9174f-c22c-4d06-909f-9ace6f286154\",\"400\":\"6c643214-6fab-4bf6-8021-00ddb9a5b80a\",\"401\":\"64d00745-f857-453b-8839-a44a10d9e8da\",\"402\":\"e81d8a4b-3c12-4cb8-aba9-fa8f1ec56d6d\",\"403\":\"65bf4df2-030b-41a1-badd-b70b53fcae3f\",\"404\":\"04cca980-f616-4336-9394-b562b4c81d06\",\"409\":\"3137e477-b97f-4be8-ad6e-eef5fe3896d8\",\"422\":\"f2f3f1b4-19db-4eb0-a8d6-71adf5b0ab2b\",\"500\":\"f7fa24b9-b57a-4eac-a0a6-3eeb5903549a\"},\"method\":\"post\",\"type\":\"path\",\"servers\":[\"478deb61-350b-4d8f-afc0-4b5c28a8b7c7\"],\"security\":[\"adfa3c28-e523-4b97-a481-05f675632e60\"],\"path\":\"/indexes\",\"baseUrlOptions\":[\"https://api.pinecone.io\"],\"title\":\"Create an index\",\"codeSamples\":[]},\"dependencies\":{\"parameters\":{},\"requestBody\":{\"description\":\"The desired configuration for the index.\",\"content\":{\"application/json\":{\"schema\":{\"description\":\"The configuration needed to create a Pinecone index.\",\"type\":\"object\",\"properties\":{\"name\":{\"example\":\"example-index\",\"description\":\"The name of the index. Resource name must be 1-45 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.\\n\",\"type\":\"string\",\"minLength\":1,\"maxLength\":45,\"isRequired\":true,\"uniqueKey\":\"name\",\"typeLabel\":\"string\"},\"spec\":{\"oneOf\":[{\"type\":\"object\",\"description\":\"The spec object defines how the index should be deployed.\\n\\nFor serverless indexes, you set only the [cloud and region](http://docs.pinecone.io/guides/index-data/create-an-index#cloud-regions) where the index should be hosted. For pod-based indexes, you set the [environment](http://docs.pinecone.io/guides/indexes/pods/understanding-pod-based-indexes#pod-environments) where the index should be hosted, the [pod type and size](http://docs.pinecone.io/guides/indexes/pods/understanding-pod-based-indexes#pod-types) to use, and other index characteristics. For [BYOC indexes](http://docs.pinecone.io/guides/production/bring-your-own-cloud), you set the environment name provided to you during onboarding.\\n\",\"required\":[\"serverless\"],\"properties\":{\"serverless\":{\"description\":\"Configuration needed to deploy a serverless index.\",\"type\":\"object\",\"properties\":{\"cloud\":{\"example\":\"aws\",\"description\":\"The public cloud where you would like your index hosted.\",\"type\":\"string\",\"enum\":[\"gcp\",\"aws\",\"azure\"],\"isRequired\":true,\"uniqueKey\":\"spec.oneOf.0.serverless.cloud\",\"typeLabel\":\"enum\u003cstring\u003e\"},\"region\":{\"example\":\"us-east-1\",\"description\":\"The region where you would like your index to be created.\",\"type\":\"string\",\"isRequired\":true,\"uniqueKey\":\"spec.oneOf.0.serverless.region\",\"typeLabel\":\"string\"},\"source_collection\":{\"type\":\"string\",\"description\":\"The name of the collection to be used as the source for the index.\",\"uniqueKey\":\"spec.oneOf.0.serverless.source_collection\",\"typeLabel\":\"string\"}},\"required\":[\"cloud\",\"region\"],\"isRequired\":true,\"uniqueKey\":\"spec.oneOf.0.serverless\",\"typeLabel\":\"object\"},\"pod\":{\"example\":{\"environment\":\"us-east1-gcp\",\"metadata_config\":{\"indexed\":[\"genre\",\"title\",\"imdb_rating\"]},\"pod_type\":\"p1.x1\",\"pods\":1,\"replicas\":1,\"shards\":1,\"source_collection\":\"movie-embeddings\"},\"description\":\"Configuration needed to deploy a pod-based index.\",\"type\":\"object\",\"properties\":{\"environment\":{\"example\":\"us-east1-gcp\",\"description\":\"The environment where the index is hosted.\",\"type\":\"string\",\"isRequired\":true,\"uniqueKey\":\"spec.oneOf.0.pod.environment\",\"typeLabel\":\"string\"},\"pod_type\":{\"description\":\"The type of pod to use. One of `s1`, `p1`, or `p2` appended with `.` and one of `x1`, `x2`, `x4`, or `x8`.\",\"default\":\"p1.x1\",\"type\":\"string\",\"isRequired\":true,\"uniqueKey\":\"spec.oneOf.0.pod.pod_type\",\"typeLabel\":\"string\"},\"replicas\":{\"description\":\"The number of replicas. Replicas duplicate your index. They provide higher availability and throughput. Replicas can be scaled up or down as your needs change.\",\"default\":1,\"type\":\"integer\",\"format\":\"int32\",\"minimum\":1,\"uniqueKey\":\"spec.oneOf.0.pod.replicas\",\"typeLabel\":\"integer\u003cint32\u003e\"},\"shards\":{\"description\":\"The number of shards. Shards split your data across multiple pods so you can fit more data into an index.\",\"default\":1,\"type\":\"integer\",\"format\":\"int32\",\"minimum\":1,\"uniqueKey\":\"spec.oneOf.0.pod.shards\",\"typeLabel\":\"integer\u003cint32\u003e\"},\"pods\":{\"example\":1,\"description\":\"The number of pods to be used in the index. This should be equal to `shards` x `replicas`.'\",\"default\":1,\"type\":\"integer\",\"minimum\":1,\"uniqueKey\":\"spec.oneOf.0.pod.pods\",\"typeLabel\":\"integer\"},\"metadata_config\":{\"example\":{\"indexed\":[\"genre\",\"title\",\"imdb_rating\"]},\"description\":\"Configuration for the behavior of Pinecone's internal metadata index. By default, all metadata is indexed; when `metadata_config` is present, only specified metadata fields are indexed. These configurations are only valid for use with pod-based indexes.\",\"type\":\"object\",\"properties\":{\"indexed\":{\"description\":\"By default, all metadata is indexed; to change this behavior, use this property to specify an array of metadata fields that should be indexed.\",\"type\":\"array\",\"items\":{\"type\":\"string\",\"uniqueKey\":\"spec.oneOf.0.pod.metadata_config.indexed.items.[INDEX]\",\"typeLabel\":\"string\"},\"uniqueKey\":\"spec.oneOf.0.pod.metadata_config.indexed\",\"typeLabel\":\"string[]\"}},\"uniqueKey\":\"spec.oneOf.0.pod.metadata_config\",\"typeLabel\":\"object\"},\"source_collection\":{\"example\":\"movie-embeddings\",\"description\":\"The name of the collection to be used as the source for the index.\",\"type\":\"string\",\"uniqueKey\":\"spec.oneOf.0.pod.source_collection\",\"typeLabel\":\"string\"}},\"required\":[\"environment\",\"pod_type\"],\"uniqueKey\":\"spec.oneOf.0.pod\",\"typeLabel\":\"object\"},\"byoc\":{\"example\":{\"environment\":\"aws-us-east-1-b921\"},\"description\":\"Configuration needed to deploy an index in a BYOC environment.\",\"type\":\"object\",\"properties\":{\"environment\":{\"example\":\"aws-us-east-1-b921\",\"description\":\"The environment where the index is hosted.\",\"type\":\"string\",\"isRequired\":true,\"uniqueKey\":\"spec.oneOf.0.byoc.environment\",\"typeLabel\":\"string\"}},\"required\":[\"environment\"],\"uniqueKey\":\"spec.oneOf.0.byoc\",\"typeLabel\":\"object\"}},\"additionalProperties\":false,\"isRequired\":true,\"uniqueKey\":\"spec.oneOf.0\",\"typeLabel\":\"object\"},{\"type\":\"object\",\"description\":\"The spec object defines how the index should be deployed.\\n\\nFor serverless indexes, you set only the [cloud and region](http://docs.pinecone.io/guides/index-data/create-an-index#cloud-regions) where the index should be hosted. For pod-based indexes, you set the [environment](http://docs.pinecone.io/guides/indexes/pods/understanding-pod-based-indexes#pod-environments) where the index should be hosted, the [pod type and size](http://docs.pinecone.io/guides/indexes/pods/understanding-pod-based-indexes#pod-types) to use, and other index characteristics. For [BYOC indexes](http://docs.pinecone.io/guides/production/bring-your-own-cloud), you set the environment name provided to you during onboarding.\\n\",\"required\":[\"pod\"],\"properties\":{\"pod\":{\"example\":{\"environment\":\"us-east1-gcp\",\"metadata_config\":{\"indexed\":[\"genre\",\"title\",\"imdb_rating\"]},\"pod_type\":\"p1.x1\",\"pods\":1,\"replicas\":1,\"shards\":1,\"source_collection\":\"movie-embeddings\"},\"description\":\"Configuration needed to deploy a pod-based index.\",\"type\":\"object\",\"properties\":{\"environment\":{\"example\":\"us-east1-gcp\",\"description\":\"The environment where the index is hosted.\",\"type\":\"string\",\"isRequired\":true,\"uniqueKey\":\"spec.oneOf.1.pod.environment\",\"typeLabel\":\"string\"},\"pod_type\":{\"description\":\"The type of pod to use. One of `s1`, `p1`, or `p2` appended with `.` and one of `x1`, `x2`, `x4`, or `x8`.\",\"default\":\"p1.x1\",\"type\":\"string\",\"isRequired\":true,\"uniqueKey\":\"spec.oneOf.1.pod.pod_type\",\"typeLabel\":\"string\"},\"replicas\":{\"description\":\"The number of replicas. Replicas duplicate your index. They provide higher availability and throughput. Replicas can be scaled up or down as your needs change.\",\"default\":1,\"type\":\"integer\",\"format\":\"int32\",\"minimum\":1,\"uniqueKey\":\"spec.oneOf.1.pod.replicas\",\"typeLabel\":\"integer\u003cint32\u003e\"},\"shards\":{\"description\":\"The number of shards. Shards split your data across multiple pods so you can fit more data into an index.\",\"default\":1,\"type\":\"integer\",\"format\":\"int32\",\"minimum\":1,\"uniqueKey\":\"spec.oneOf.1.pod.shards\",\"typeLabel\":\"integer\u003cint32\u003e\"},\"pods\":{\"example\":1,\"description\":\"The number of pods to be used in the index. This should be equal to `shards` x `replicas`.'\",\"default\":1,\"type\":\"integer\",\"minimum\":1,\"uniqueKey\":\"spec.oneOf.1.pod.pods\",\"typeLabel\":\"integer\"},\"metadata_config\":{\"example\":{\"indexed\":[\"genre\",\"title\",\"imdb_rating\"]},\"description\":\"Configuration for the behavior of Pinecone's internal metadata index. By default, all metadata is indexed; when `metadata_config` is present, only specified metadata fields are indexed. These configurations are only valid for use with pod-based indexes.\",\"type\":\"object\",\"properties\":{\"indexed\":{\"description\":\"By default, all metadata is indexed; to change this behavior, use this property to specify an array of metadata fields that should be indexed.\",\"type\":\"array\",\"items\":{\"type\":\"string\",\"uniqueKey\":\"spec.oneOf.1.pod.metadata_config.indexed.items.[INDEX]\",\"typeLabel\":\"string\"},\"uniqueKey\":\"spec.oneOf.1.pod.metadata_config.indexed\",\"typeLabel\":\"string[]\"}},\"uniqueKey\":\"spec.oneOf.1.pod.metadata_config\",\"typeLabel\":\"object\"},\"source_collection\":{\"example\":\"movie-embeddings\",\"description\":\"The name of the collection to be used as the source for the index.\",\"type\":\"string\",\"uniqueKey\":\"spec.oneOf.1.pod.source_collection\",\"typeLabel\":\"string\"}},\"required\":[\"environment\",\"pod_type\"],\"isRequired\":true,\"uniqueKey\":\"spec.oneOf.1.pod\",\"typeLabel\":\"object\"},\"serverless\":{\"description\":\"Configuration needed to deploy a serverless index.\",\"type\":\"object\",\"properties\":{\"cloud\":{\"example\":\"aws\",\"description\":\"The public cloud where you would like your index hosted.\",\"type\":\"string\",\"enum\":[\"gcp\",\"aws\",\"azure\"],\"isRequired\":true,\"uniqueKey\":\"spec.oneOf.1.serverless.cloud\",\"typeLabel\":\"enum\u003cstring\u003e\"},\"region\":{\"example\":\"us-east-1\",\"description\":\"The region where you would like your index to be created.\",\"type\":\"string\",\"isRequired\":true,\"uniqueKey\":\"spec.oneOf.1.serverless.region\",\"typeLabel\":\"string\"},\"source_collection\":{\"type\":\"string\",\"description\":\"The name of the collection to be used as the source for the index.\",\"uniqueKey\":\"spec.oneOf.1.serverless.source_collection\",\"typeLabel\":\"string\"}},\"required\":[\"cloud\",\"region\"],\"uniqueKey\":\"spec.oneOf.1.serverless\",\"typeLabel\":\"object\"},\"byoc\":{\"example\":{\"environment\":\"aws-us-east-1-b921\"},\"description\":\"Configuration needed to deploy an index in a BYOC environment.\",\"type\":\"object\",\"properties\":{\"environment\":{\"example\":\"aws-us-east-1-b921\",\"description\":\"The environment where the index is hosted.\",\"type\":\"string\",\"isRequired\":true,\"uniqueKey\":\"spec.oneOf.1.byoc.environment\",\"typeLabel\":\"string\"}},\"required\":[\"environment\"],\"uniqueKey\":\"spec.oneOf.1.byoc\",\"typeLabel\":\"object\"}},\"additionalProperties\":false,\"isRequired\":true,\"uniqueKey\":\"spec.oneOf.1\",\"typeLabel\":\"object\"},{\"type\":\"object\",\"description\":\"The spec object defines how the index should be deployed.\\n\\nFor serverless indexes, you set only the [cloud and region](http://docs.pinecone.io/guides/index-data/create-an-index#cloud-regions) where the index should be hosted. For pod-based indexes, you set the [environment](http://docs.pinecone.io/guides/indexes/pods/understanding-pod-based-indexes#pod-environments) where the index should be hosted, the [pod type and size](http://docs.pinecone.io/guides/indexes/pods/understanding-pod-based-indexes#pod-types) to use, and other index characteristics. For [BYOC indexes](http://docs.pinecone.io/guides/production/bring-your-own-cloud), you set the environment name provided to you during onboarding.\\n\",\"required\":[\"byoc\"],\"properties\":{\"byoc\":{\"example\":{\"environment\":\"aws-us-east-1-b921\"},\"description\":\"Configuration needed to deploy an index in a BYOC environment.\",\"type\":\"object\",\"properties\":{\"environment\":{\"example\":\"aws-us-east-1-b921\",\"description\":\"The environment where the index is hosted.\",\"type\":\"string\",\"isRequired\":true,\"uniqueKey\":\"spec.oneOf.2.byoc.environment\",\"typeLabel\":\"string\"}},\"required\":[\"environment\"],\"isRequired\":true,\"uniqueKey\":\"spec.oneOf.2.byoc\",\"typeLabel\":\"object\"},\"serverless\":{\"description\":\"Configuration needed to deploy a serverless index.\",\"type\":\"object\",\"properties\":{\"cloud\":{\"example\":\"aws\",\"description\":\"The public cloud where you would like your index hosted.\",\"type\":\"string\",\"enum\":[\"gcp\",\"aws\",\"azure\"],\"isRequired\":true,\"uniqueKey\":\"spec.oneOf.2.serverless.cloud\",\"typeLabel\":\"enum\u003cstring\u003e\"},\"region\":{\"example\":\"us-east-1\",\"description\":\"The region where you would like your index to be created.\",\"type\":\"string\",\"isRequired\":true,\"uniqueKey\":\"spec.oneOf.2.serverless.region\",\"typeLabel\":\"string\"},\"source_collection\":{\"type\":\"string\",\"description\":\"The name of the collection to be used as the source for the index.\",\"uniqueKey\":\"spec.oneOf.2.serverless.source_collection\",\"typeLabel\":\"string\"}},\"required\":[\"cloud\",\"region\"],\"uniqueKey\":\"spec.oneOf.2.serverless\",\"typeLabel\":\"object\"},\"pod\":{\"example\":{\"environment\":\"us-east1-gcp\",\"metadata_config\":{\"indexed\":[\"genre\",\"title\",\"imdb_rating\"]},\"pod_type\":\"p1.x1\",\"pods\":1,\"replicas\":1,\"shards\":1,\"source_collection\":\"movie-embeddings\"},\"description\":\"Configuration needed to deploy a pod-based index.\",\"type\":\"object\",\"properties\":{\"environment\":{\"example\":\"us-east1-gcp\",\"description\":\"The environment where the index is hosted.\",\"type\":\"string\",\"isRequired\":true,\"uniqueKey\":\"spec.oneOf.2.pod.environment\",\"typeLabel\":\"string\"},\"pod_type\":{\"description\":\"The type of pod to use. One of `s1`, `p1`, or `p2` appended with `.` and one of `x1`, `x2`, `x4`, or `x8`.\",\"default\":\"p1.x1\",\"type\":\"string\",\"isRequired\":true,\"uniqueKey\":\"spec.oneOf.2.pod.pod_type\",\"typeLabel\":\"string\"},\"replicas\":{\"description\":\"The number of replicas. Replicas duplicate your index. They provide higher availability and throughput. Replicas can be scaled up or down as your needs change.\",\"default\":1,\"type\":\"integer\",\"format\":\"int32\",\"minimum\":1,\"uniqueKey\":\"spec.oneOf.2.pod.replicas\",\"typeLabel\":\"integer\u003cint32\u003e\"},\"shards\":{\"description\":\"The number of shards. Shards split your data across multiple pods so you can fit more data into an index.\",\"default\":1,\"type\":\"integer\",\"format\":\"int32\",\"minimum\":1,\"uniqueKey\":\"spec.oneOf.2.pod.shards\",\"typeLabel\":\"integer\u003cint32\u003e\"},\"pods\":{\"example\":1,\"description\":\"The number of pods to be used in the index. This should be equal to `shards` x `replicas`.'\",\"default\":1,\"type\":\"integer\",\"minimum\":1,\"uniqueKey\":\"spec.oneOf.2.pod.pods\",\"typeLabel\":\"integer\"},\"metadata_config\":{\"example\":{\"indexed\":[\"genre\",\"title\",\"imdb_rating\"]},\"description\":\"Configuration for the behavior of Pinecone's internal metadata index. By default, all metadata is indexed; when `metadata_config` is present, only specified metadata fields are indexed. These configurations are only valid for use with pod-based indexes.\",\"type\":\"object\",\"properties\":{\"indexed\":{\"description\":\"By default, all metadata is indexed; to change this behavior, use this property to specify an array of metadata fields that should be indexed.\",\"type\":\"array\",\"items\":{\"type\":\"string\",\"uniqueKey\":\"spec.oneOf.2.pod.metadata_config.indexed.items.[INDEX]\",\"typeLabel\":\"string\"},\"uniqueKey\":\"spec.oneOf.2.pod.metadata_config.indexed\",\"typeLabel\":\"string[]\"}},\"uniqueKey\":\"spec.oneOf.2.pod.metadata_config\",\"typeLabel\":\"object\"},\"source_collection\":{\"example\":\"movie-embeddings\",\"description\":\"The name of the collection to be used as the source for the index.\",\"type\":\"string\",\"uniqueKey\":\"spec.oneOf.2.pod.source_collection\",\"typeLabel\":\"string\"}},\"required\":[\"environment\",\"pod_type\"],\"uniqueKey\":\"spec.oneOf.2.pod\",\"typeLabel\":\"object\"}},\"additionalProperties\":false,\"isRequired\":true,\"uniqueKey\":\"spec.oneOf.2\",\"typeLabel\":\"object\"}],\"isRequired\":true,\"uniqueKey\":\"spec\",\"typeLabel\":\"object\"},\"dimension\":{\"example\":1536,\"description\":\"The dimensions of the vectors to be inserted in the index.\",\"type\":\"integer\",\"format\":\"int32\",\"minimum\":1,\"maximum\":20000,\"uniqueKey\":\"dimension\",\"typeLabel\":\"integer\u003cint32\u003e\"},\"metric\":{\"description\":\"The distance metric to be used for similarity search. You can use 'euclidean', 'cosine', or 'dotproduct'. If the 'vector_type' is 'sparse', the metric must be 'dotproduct'. If the `vector_type` is `dense`, the metric defaults to 'cosine'.\",\"type\":\"string\",\"enum\":[\"cosine\",\"euclidean\",\"dotproduct\"],\"uniqueKey\":\"metric\",\"typeLabel\":\"enum\u003cstring\u003e\"},\"deletion_protection\":{\"description\":\"Whether [deletion protection](http://docs.pinecone.io/guides/manage-data/manage-indexes#configure-deletion-protection) is enabled/disabled for the index.\\n\",\"default\":\"disabled\",\"type\":\"string\",\"enum\":[\"disabled\",\"enabled\"],\"uniqueKey\":\"deletion_protection\",\"typeLabel\":\"enum\u003cstring\u003e\"},\"tags\":{\"example\":{\"tag0\":\"val0\",\"tag1\":\"val1\"},\"description\":\"Custom user tags added to an index. Keys must be 80 characters or less. Values must be 120 characters or less. Keys must be alphanumeric, '_', or '-'.  Values must be alphanumeric, ';', '@', '_', '-', '.', '+', or ' '. To unset a key, set the value to be an empty string.\",\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\",\"uniqueKey\":\"tags.additionalProperties\",\"typeLabel\":\"string\"},\"uniqueKey\":\"tags\",\"typeLabel\":\"object\"},\"vector_type\":{\"description\":\"The index vector type. You can use 'dense' or 'sparse'. If 'dense', the vector dimension must be specified.  If 'sparse', the vector dimension should not be specified.\",\"default\":\"dense\",\"type\":\"string\",\"uniqueKey\":\"vector_type\",\"typeLabel\":\"string\"}},\"required\":[\"name\",\"spec\"],\"uniqueKey\":\"\",\"typeLabel\":\"object\"},\"examples\":{\"serverless-index\":{\"title\":\"serverless-index\",\"value\":{\"deletion_protection\":\"enabled\",\"dimension\":1536,\"metric\":\"cosine\",\"name\":\"movie-recommendations\",\"spec\":{\"serverless\":{\"cloud\":\"gcp\",\"region\":\"us-east1\",\"source_collection\":\"movie-embeddings\"}}}},\"serverless-sparse-index\":{\"title\":\"serverless-sparse-index\",\"value\":{\"deletion_protection\":\"enabled\",\"metric\":\"dotproduct\",\"name\":\"sparse-index\",\"spec\":{\"serverless\":{\"cloud\":\"gcp\",\"region\":\"us-east1\"}},\"vector_type\":\"sparse\"}},\"pod-index\":{\"title\":\"pod-index\",\"value\":{\"deletion_protection\":\"enabled\",\"dimension\":1536,\"metric\":\"cosine\",\"name\":\"movie-recommendations\",\"spec\":{\"pod\":{\"environment\":\"us-east-1-aws\",\"metadata_config\":{\"indexed\":[\"genre\",\"title\",\"imdb_rating\"]},\"pod_type\":\"p1.x1\",\"pods\":1,\"replicas\":1,\"shards\":1,\"source_collection\":\"movie-embeddings\"}}}}}}},\"required\":true,\"exampleType\":\"examples\"},\"responses\":{\"1aa9174f-c22c-4d06-909f-9ace6f286154\":{\"description\":\"The index has been successfully created.\",\"content\":{\"application/json\":{\"schema\":{\"description\":\"The IndexModel describes the configuration and status of a Pinecone index.\",\"type\":\"object\",\"properties\":{\"name\":{\"example\":\"example-index\",\"description\":\"The name of the index. Resource name must be 1-45 characters long, start and end with an alphanumeric character, and consist only of lower case alphanumeric characters or '-'.\\n\",\"type\":\"string\",\"minLength\":1,\"maxLength\":45,\"isRequired\":true,\"uniqueKey\":\"name\",\"typeLabel\":\"string\"},\"metric\":{\"description\":\"The distance metric to be used for similarity search. You can use 'euclidean', 'cosine', or 'dotproduct'. If the 'vector_type' is 'sparse', the metric must be 'dotproduct'. If the `vector_type` is `dense`, the metric defaults to 'cosine'.\",\"type\":\"string\",\"enum\":[\"cosine\",\"euclidean\",\"dotproduct\"],\"isRequired\":true,\"uniqueKey\":\"metric\",\"typeLabel\":\"enum\u003cstring\u003e\"},\"host\":{\"example\":\"semantic-search-c01b5b5.svc.us-west1-gcp.pinecone.io\",\"description\":\"The URL address where the index is hosted.\",\"type\":\"string\",\"isRequired\":true,\"uniqueKey\":\"host\",\"typeLabel\":\"string\"},\"spec\":{\"example\":{\"pod\":{\"environment\":\"us-east-1-aws\",\"metadata_config\":{\"indexed\":[\"genre\",\"title\",\"imdb_rating\"]},\"pod_type\":\"p1.x1\",\"pods\":1,\"replicas\":1,\"shards\":1}},\"type\":\"object\",\"properties\":{\"byoc\":{\"example\":{\"environment\":\"aws-us-east-1-b921\"},\"description\":\"Configuration needed to deploy an index in a BYOC environment.\",\"type\":\"object\",\"properties\":{\"environment\":{\"example\":\"aws-us-east-1-b921\",\"description\":\"The environment where the index is hosted.\",\"type\":\"string\",\"isRequired\":true,\"uniqueKey\":\"spec.byoc.environment\",\"typeLabel\":\"string\"}},\"required\":[\"environment\"],\"uniqueKey\":\"spec.byoc\",\"typeLabel\":\"object\"},\"pod\":{\"example\":{\"environment\":\"us-east1-gcp\",\"metadata_config\":{\"indexed\":[\"genre\",\"title\",\"imdb_rating\"]},\"pod_type\":\"p1.x1\",\"pods\":1,\"replicas\":1,\"shards\":1,\"source_collection\":\"movie-embeddings\"},\"description\":\"Configuration needed to deploy a pod-based index.\",\"type\":\"object\",\"properties\":{\"environment\":{\"example\":\"us-east1-gcp\",\"description\":\"The environment where the index is hosted.\",\"type\":\"string\",\"isRequired\":true,\"uniqueKey\":\"spec.pod.environment\",\"typeLabel\":\"string\"},\"pod_type\":{\"description\":\"The type of pod to use. One of `s1`, `p1`, or `p2` appended with `.` and one of `x1`, `x2`, `x4`, or `x8`.\",\"default\":\"p1.x1\",\"type\":\"string\",\"isRequired\":true,\"uniqueKey\":\"spec.pod.pod_type\",\"typeLabel\":\"string\"},\"replicas\":{\"description\":\"The number of replicas. Replicas duplicate your index. They provide higher availability and throughput. Replicas can be scaled up or down as your needs change.\",\"default\":1,\"type\":\"integer\",\"format\":\"int32\",\"minimum\":1,\"uniqueKey\":\"spec.pod.replicas\",\"typeLabel\":\"integer\u003cint32\u003e\"},\"shards\":{\"description\":\"The number of shards. Shards split your data across multiple pods so you can fit more data into an index.\",\"default\":1,\"type\":\"integer\",\"format\":\"int32\",\"minimum\":1,\"uniqueKey\":\"spec.pod.shards\",\"typeLabel\":\"integer\u003cint32\u003e\"},\"pods\":{\"example\":1,\"description\":\"The number of pods to be used in the index. This should be equal to `shards` x `replicas`.'\",\"default\":1,\"type\":\"integer\",\"minimum\":1,\"uniqueKey\":\"spec.pod.pods\",\"typeLabel\":\"integer\"},\"metadata_config\":{\"example\":{\"indexed\":[\"genre\",\"title\",\"imdb_rating\"]},\"description\":\"Configuration for the behavior of Pinecone's internal metadata index. By default, all metadata is indexed; when `metadata_config` is present, only specified metadata fields are indexed. These configurations are only valid for use with pod-based indexes.\",\"type\":\"object\",\"properties\":{\"indexed\":{\"description\":\"By default, all metadata is indexed; to change this behavior, use this property to specify an array of metadata fields that should be indexed.\",\"type\":\"array\",\"items\":{\"type\":\"string\",\"uniqueKey\":\"spec.pod.metadata_config.indexed.items.[INDEX]\",\"typeLabel\":\"string\"},\"uniqueKey\":\"spec.pod.metadata_config.indexed\",\"typeLabel\":\"string[]\"}},\"uniqueKey\":\"spec.pod.metadata_config\",\"typeLabel\":\"object\"},\"source_collection\":{\"example\":\"movie-embeddings\",\"description\":\"The name of the collection to be used as the source for the index.\",\"type\":\"string\",\"uniqueKey\":\"spec.pod.source_collection\",\"typeLabel\":\"string\"}},\"required\":[\"environment\",\"pod_type\"],\"uniqueKey\":\"spec.pod\",\"typeLabel\":\"object\"},\"serverless\":{\"description\":\"Configuration needed to deploy a serverless index.\",\"type\":\"object\",\"properties\":{\"cloud\":{\"example\":\"aws\",\"description\":\"The public cloud where you would like your index hosted.\",\"type\":\"string\",\"enum\":[\"gcp\",\"aws\",\"azure\"],\"isRequired\":true,\"uniqueKey\":\"spec.serverless.cloud\",\"typeLabel\":\"enum\u003cstring\u003e\"},\"region\":{\"example\":\"us-east-1\",\"description\":\"The region where you would like your index to be created.\",\"type\":\"string\",\"isRequired\":true,\"uniqueKey\":\"spec.serverless.region\",\"typeLabel\":\"string\"},\"source_collection\":{\"type\":\"string\",\"description\":\"The name of the collection to be used as the source for the index.\",\"uniqueKey\":\"spec.serverless.source_collection\",\"typeLabel\":\"string\"}},\"required\":[\"cloud\",\"region\"],\"uniqueKey\":\"spec.serverless\",\"typeLabel\":\"object\"}},\"isRequired\":true,\"uniqueKey\":\"spec\",\"typeLabel\":\"object\"},\"status\":{\"example\":{\"ready\":true,\"state\":\"ScalingUpPodSize\"},\"type\":\"object\",\"properties\":{\"ready\":{\"type\":\"boolean\",\"isRequired\":true,\"uniqueKey\":\"status.ready\",\"typeLabel\":\"boolean\"},\"state\":{\"type\":\"string\",\"enum\":[\"Initializing\",\"InitializationFailed\",\"ScalingUp\",\"ScalingDown\",\"ScalingUpPodSize\",\"ScalingDownPodSize\",\"Terminating\",\"Ready\",\"Disabled\"],\"isRequired\":true,\"uniqueKey\":\"status.state\",\"typeLabel\":\"enum\u003cstring\u003e\"}},\"required\":[\"ready\",\"state\"],\"isRequired\":true,\"uniqueKey\":\"status\",\"typeLabel\":\"object\"},\"vector_type\":{\"description\":\"The index vector type. You can use 'dense' or 'sparse'. If 'dense', the vector dimension must be specified.  If 'sparse', the vector dimension should not be specified.\",\"default\":\"dense\",\"type\":\"string\",\"isRequired\":true,\"uniqueKey\":\"vector_type\",\"typeLabel\":\"string\"},\"dimension\":{\"example\":1536,\"description\":\"The dimensions of the vectors to be inserted in the index.\",\"type\":\"integer\",\"format\":\"int32\",\"minimum\":1,\"maximum\":20000,\"uniqueKey\":\"dimension\",\"typeLabel\":\"integer\u003cint32\u003e\"},\"private_host\":{\"example\":\"semantic-search-c01b5b5.svc.private.us-west1-gcp.pinecone.io\",\"description\":\"The private endpoint URL of an index.\",\"type\":\"string\",\"uniqueKey\":\"private_host\",\"typeLabel\":\"string\"},\"deletion_protection\":{\"description\":\"Whether [deletion protection](http://docs.pinecone.io/guides/manage-data/manage-indexes#configure-deletion-protection) is enabled/disabled for the index.\\n\",\"default\":\"disabled\",\"type\":\"string\",\"enum\":[\"disabled\",\"enabled\"],\"uniqueKey\":\"deletion_protection\",\"typeLabel\":\"enum\u003cstring\u003e\"},\"tags\":{\"example\":{\"tag0\":\"val0\",\"tag1\":\"val1\"},\"description\":\"Custom user tags added to an index. Keys must be 80 characters or less. Values must be 120 characters or less. Keys must be alphanumeric, '_', or '-'.  Values must be alphanumeric, ';', '@', '_', '-', '.', '+', or ' '. To unset a key, set the value to be an empty string.\",\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\",\"uniqueKey\":\"tags.additionalProperties\",\"typeLabel\":\"string\"},\"uniqueKey\":\"tags\",\"typeLabel\":\"object\"},\"embed\":{\"example\":{\"field_map\":{\"text\":\"your-text-field\"},\"metric\":\"cosine\",\"model\":\"multilingual-e5-large\",\"read_parameters\":{\"input_type\":\"query\",\"truncate\":\"NONE\"},\"write_parameters\":{\"input_type\":\"passage\"}},\"description\":\"The embedding model and document fields mapped to embedding inputs.\",\"type\":\"object\",\"properties\":{\"model\":{\"example\":\"multilingual-e5-large\",\"description\":\"The name of the embedding model used to create the index.\",\"type\":\"string\",\"isRequired\":true,\"uniqueKey\":\"embed.model\",\"typeLabel\":\"string\"},\"metric\":{\"description\":\"The distance metric to be used for similarity search. You can use 'euclidean', 'cosine', or 'dotproduct'. If not specified, the metric will be defaulted according to the model. Cannot be updated once set.\",\"type\":\"string\",\"enum\":[\"cosine\",\"euclidean\",\"dotproduct\"],\"uniqueKey\":\"embed.metric\",\"typeLabel\":\"enum\u003cstring\u003e\"},\"dimension\":{\"example\":1536,\"description\":\"The dimensions of the vectors to be inserted in the index.\",\"type\":\"integer\",\"format\":\"int32\",\"minimum\":1,\"maximum\":20000,\"uniqueKey\":\"embed.dimension\",\"typeLabel\":\"integer\u003cint32\u003e\"},\"vector_type\":{\"description\":\"The index vector type. You can use 'dense' or 'sparse'. If 'dense', the vector dimension must be specified.  If 'sparse', the vector dimension should not be specified.\",\"default\":\"dense\",\"type\":\"string\",\"uniqueKey\":\"embed.vector_type\",\"typeLabel\":\"string\"},\"field_map\":{\"example\":{\"text\":\"your-text-field\"},\"description\":\"Identifies the name of the text field from your document model that is embedded.\",\"type\":\"object\",\"uniqueKey\":\"embed.field_map\",\"typeLabel\":\"object\"},\"read_parameters\":{\"description\":\"The read parameters for the embedding model.\",\"type\":\"object\",\"uniqueKey\":\"embed.read_parameters\",\"typeLabel\":\"object\"},\"write_parameters\":{\"description\":\"The write parameters for the embedding model.\",\"type\":\"object\",\"uniqueKey\":\"embed.write_parameters\",\"typeLabel\":\"object\"}},\"required\":[\"model\"],\"uniqueKey\":\"embed\",\"typeLabel\":\"object\"}},\"required\":[\"name\",\"metric\",\"status\",\"spec\",\"host\",\"vector_type\"],\"uniqueKey\":\"\",\"typeLabel\":\"object\"},\"examples\":{\"Example\":{\"title\":\"Example\",\"value\":{\"name\":\"example-index\",\"host\":\"semantic-search-c01b5b5.svc.us-west1-gcp.pinecone.io\",\"spec\":{\"pod\":{\"environment\":\"us-east-1-aws\",\"metadata_config\":{\"indexed\":[\"genre\",\"title\",\"imdb_rating\"]},\"pod_type\":\"p1.x1\",\"pods\":1,\"replicas\":1,\"shards\":1}},\"status\":{\"ready\":true,\"state\":\"ScalingUpPodSize\"},\"vector_type\":\"dense\",\"dimension\":1536,\"private_host\":\"semantic-search-c01b5b5.svc.private.us-west1-gcp.pinecone.io\",\"deletion_protection\":\"disabled\",\"tags\":{\"tag0\":\"val0\",\"tag1\":\"val1\"},\"embed\":{\"field_map\":{\"text\":\"your-text-field\"},\"metric\":\"cosine\",\"model\":\"multilingual-e5-large\",\"read_parameters\":{\"input_type\":\"query\",\"truncate\":\"NONE\"},\"write_parameters\":{\"input_type\":\"passage\"}}}}}}},\"exampleType\":\"generated\"},\"6c643214-6fab-4bf6-8021-00ddb9a5b80a\":{\"description\":\"Bad request. The request body included invalid request parameters.\",\"content\":{\"application/json\":{\"schema\":{\"example\":{\"error\":{\"code\":\"QUOTA_EXCEEDED\",\"message\":\"The index exceeds the project quota of 5 pods by 2 pods. Upgrade your account or change the project settings to increase the quota.\"},\"status\":429},\"description\":\"The response shape used for all error responses.\",\"type\":\"object\",\"properties\":{\"status\":{\"example\":500,\"description\":\"The HTTP status code of the error.\",\"type\":\"integer\",\"isRequired\":true,\"uniqueKey\":\"status\",\"typeLabel\":\"integer\"},\"error\":{\"example\":{\"code\":\"INVALID_ARGUMENT\",\"message\":\"Index name must contain only lowercase alphanumeric characters or hyphens, and must not begin or end with a hyphen.\"},\"description\":\"Detailed information about the error that occurred.\",\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"string\",\"enum\":[\"OK\",\"UNKNOWN\",\"INVALID_ARGUMENT\",\"DEADLINE_EXCEEDED\",\"QUOTA_EXCEEDED\",\"NOT_FOUND\",\"ALREADY_EXISTS\",\"PERMISSION_DENIED\",\"UNAUTHENTICATED\",\"RESOURCE_EXHAUSTED\",\"FAILED_PRECONDITION\",\"ABORTED\",\"OUT_OF_RANGE\",\"UNIMPLEMENTED\",\"INTERNAL\",\"UNAVAILABLE\",\"DATA_LOSS\",\"FORBIDDEN\",\"UNPROCESSABLE_ENTITY\",\"PAYMENT_REQUIRED\"],\"isRequired\":true,\"uniqueKey\":\"error.code\",\"typeLabel\":\"enum\u003cstring\u003e\"},\"message\":{\"example\":\"Index name must contain only lowercase alphanumeric characters or hyphens, and must not begin or end with a hyphen.\",\"type\":\"string\",\"isRequired\":true,\"uniqueKey\":\"error.message\",\"typeLabel\":\"string\"},\"details\":{\"description\":\"Additional information about the error. This field is not guaranteed to be present.\",\"type\":\"object\",\"uniqueKey\":\"error.details\",\"typeLabel\":\"object\"}},\"required\":[\"code\",\"message\"],\"isRequired\":true,\"uniqueKey\":\"error\",\"typeLabel\":\"object\"}},\"required\":[\"status\",\"error\"],\"uniqueKey\":\"\",\"typeLabel\":\"object\"},\"examples\":{\"index-metric-validation-error\":{\"title\":\"index-metric-validation-error\",\"value\":{\"error\":{\"code\":\"INVALID_ARGUMENT\",\"message\":\"Bad request. The request body included invalid request parameters.\"},\"status\":400}}}}},\"exampleType\":\"examples\"},\"64d00745-f857-453b-8839-a44a10d9e8da\":{\"description\":\"Unauthorized. Possible causes: Invalid API key.\",\"content\":{\"application/json\":{\"schema\":{\"example\":{\"error\":{\"code\":\"QUOTA_EXCEEDED\",\"message\":\"The index exceeds the project quota of 5 pods by 2 pods. Upgrade your account or change the project settings to increase the quota.\"},\"status\":429},\"description\":\"The response shape used for all error responses.\",\"type\":\"object\",\"properties\":{\"status\":{\"example\":500,\"description\":\"The HTTP status code of the error.\",\"type\":\"integer\",\"isRequired\":true,\"uniqueKey\":\"status\",\"typeLabel\":\"integer\"},\"error\":{\"example\":{\"code\":\"INVALID_ARGUMENT\",\"message\":\"Index name must contain only lowercase alphanumeric characters or hyphens, and must not begin or end with a hyphen.\"},\"description\":\"Detailed information about the error that occurred.\",\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"string\",\"enum\":[\"OK\",\"UNKNOWN\",\"INVALID_ARGUMENT\",\"DEADLINE_EXCEEDED\",\"QUOTA_EXCEEDED\",\"NOT_FOUND\",\"ALREADY_EXISTS\",\"PERMISSION_DENIED\",\"UNAUTHENTICATED\",\"RESOURCE_EXHAUSTED\",\"FAILED_PRECONDITION\",\"ABORTED\",\"OUT_OF_RANGE\",\"UNIMPLEMENTED\",\"INTERNAL\",\"UNAVAILABLE\",\"DATA_LOSS\",\"FORBIDDEN\",\"UNPROCESSABLE_ENTITY\",\"PAYMENT_REQUIRED\"],\"isRequired\":true,\"uniqueKey\":\"error.code\",\"typeLabel\":\"enum\u003cstring\u003e\"},\"message\":{\"example\":\"Index name must contain only lowercase alphanumeric characters or hyphens, and must not begin or end with a hyphen.\",\"type\":\"string\",\"isRequired\":true,\"uniqueKey\":\"error.message\",\"typeLabel\":\"string\"},\"details\":{\"description\":\"Additional information about the error. This field is not guaranteed to be present.\",\"type\":\"object\",\"uniqueKey\":\"error.details\",\"typeLabel\":\"object\"}},\"required\":[\"code\",\"message\"],\"isRequired\":true,\"uniqueKey\":\"error\",\"typeLabel\":\"object\"}},\"required\":[\"status\",\"error\"],\"uniqueKey\":\"\",\"typeLabel\":\"object\"},\"examples\":{\"unauthorized\":{\"title\":\"unauthorized\",\"value\":{\"error\":{\"code\":\"UNAUTHENTICATED\",\"message\":\"Invalid API key.\"},\"status\":401}}}}},\"exampleType\":\"examples\"},\"e81d8a4b-3c12-4cb8-aba9-fa8f1ec56d6d\":{\"description\":\"Payment required. Organization is on a paid plan and is delinquent on payment.\",\"content\":{\"application/json\":{\"schema\":{\"example\":{\"error\":{\"code\":\"QUOTA_EXCEEDED\",\"message\":\"The index exceeds the project quota of 5 pods by 2 pods. Upgrade your account or change the project settings to increase the quota.\"},\"status\":429},\"description\":\"The response shape used for all error responses.\",\"type\":\"object\",\"properties\":{\"status\":{\"example\":500,\"description\":\"The HTTP status code of the error.\",\"type\":\"integer\",\"isRequired\":true,\"uniqueKey\":\"status\",\"typeLabel\":\"integer\"},\"error\":{\"example\":{\"code\":\"INVALID_ARGUMENT\",\"message\":\"Index name must contain only lowercase alphanumeric characters or hyphens, and must not begin or end with a hyphen.\"},\"description\":\"Detailed information about the error that occurred.\",\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"string\",\"enum\":[\"OK\",\"UNKNOWN\",\"INVALID_ARGUMENT\",\"DEADLINE_EXCEEDED\",\"QUOTA_EXCEEDED\",\"NOT_FOUND\",\"ALREADY_EXISTS\",\"PERMISSION_DENIED\",\"UNAUTHENTICATED\",\"RESOURCE_EXHAUSTED\",\"FAILED_PRECONDITION\",\"ABORTED\",\"OUT_OF_RANGE\",\"UNIMPLEMENTED\",\"INTERNAL\",\"UNAVAILABLE\",\"DATA_LOSS\",\"FORBIDDEN\",\"UNPROCESSABLE_ENTITY\",\"PAYMENT_REQUIRED\"],\"isRequired\":true,\"uniqueKey\":\"error.code\",\"typeLabel\":\"enum\u003cstring\u003e\"},\"message\":{\"example\":\"Index name must contain only lowercase alphanumeric characters or hyphens, and must not begin or end with a hyphen.\",\"type\":\"string\",\"isRequired\":true,\"uniqueKey\":\"error.message\",\"typeLabel\":\"string\"},\"details\":{\"description\":\"Additional information about the error. This field is not guaranteed to be present.\",\"type\":\"object\",\"uniqueKey\":\"error.details\",\"typeLabel\":\"object\"}},\"required\":[\"code\",\"message\"],\"isRequired\":true,\"uniqueKey\":\"error\",\"typeLabel\":\"object\"}},\"required\":[\"status\",\"error\"],\"uniqueKey\":\"\",\"typeLabel\":\"object\"},\"examples\":{\"payment-required\":{\"title\":\"payment-required\",\"value\":{\"error\":{\"code\":\"PAYMENT_REQUIRED\",\"message\":\"Request failed. Pay all past due invoices to lift restrictions on your account.\"},\"status\":402}}}}},\"exampleType\":\"examples\"},\"65bf4df2-030b-41a1-badd-b70b53fcae3f\":{\"description\":\"You've exceed your pod quota.\",\"content\":{\"application/json\":{\"schema\":{\"example\":{\"error\":{\"code\":\"QUOTA_EXCEEDED\",\"message\":\"The index exceeds the project quota of 5 pods by 2 pods. Upgrade your account or change the project settings to increase the quota.\"},\"status\":429},\"description\":\"The response shape used for all error responses.\",\"type\":\"object\",\"properties\":{\"status\":{\"example\":500,\"description\":\"The HTTP status code of the error.\",\"type\":\"integer\",\"isRequired\":true,\"uniqueKey\":\"status\",\"typeLabel\":\"integer\"},\"error\":{\"example\":{\"code\":\"INVALID_ARGUMENT\",\"message\":\"Index name must contain only lowercase alphanumeric characters or hyphens, and must not begin or end with a hyphen.\"},\"description\":\"Detailed information about the error that occurred.\",\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"string\",\"enum\":[\"OK\",\"UNKNOWN\",\"INVALID_ARGUMENT\",\"DEADLINE_EXCEEDED\",\"QUOTA_EXCEEDED\",\"NOT_FOUND\",\"ALREADY_EXISTS\",\"PERMISSION_DENIED\",\"UNAUTHENTICATED\",\"RESOURCE_EXHAUSTED\",\"FAILED_PRECONDITION\",\"ABORTED\",\"OUT_OF_RANGE\",\"UNIMPLEMENTED\",\"INTERNAL\",\"UNAVAILABLE\",\"DATA_LOSS\",\"FORBIDDEN\",\"UNPROCESSABLE_ENTITY\",\"PAYMENT_REQUIRED\"],\"isRequired\":true,\"uniqueKey\":\"error.code\",\"typeLabel\":\"enum\u003cstring\u003e\"},\"message\":{\"example\":\"Index name must contain only lowercase alphanumeric characters or hyphens, and must not begin or end with a hyphen.\",\"type\":\"string\",\"isRequired\":true,\"uniqueKey\":\"error.message\",\"typeLabel\":\"string\"},\"details\":{\"description\":\"Additional information about the error. This field is not guaranteed to be present.\",\"type\":\"object\",\"uniqueKey\":\"error.details\",\"typeLabel\":\"object\"}},\"required\":[\"code\",\"message\"],\"isRequired\":true,\"uniqueKey\":\"error\",\"typeLabel\":\"object\"}},\"required\":[\"status\",\"error\"],\"uniqueKey\":\"\",\"typeLabel\":\"object\"},\"examples\":{\"unauthorized\":{\"title\":\"unauthorized\",\"value\":{\"error\":{\"code\":\"FORBIDDEN\",\"message\":\"Increase your quota or upgrade to create more indexes.\"},\"status\":403}}}}},\"exampleType\":\"examples\"},\"04cca980-f616-4336-9394-b562b4c81d06\":{\"description\":\"Unknown cloud or region when creating a serverless index.\",\"content\":{\"application/json\":{\"schema\":{\"example\":{\"error\":{\"code\":\"QUOTA_EXCEEDED\",\"message\":\"The index exceeds the project quota of 5 pods by 2 pods. Upgrade your account or change the project settings to increase the quota.\"},\"status\":429},\"description\":\"The response shape used for all error responses.\",\"type\":\"object\",\"properties\":{\"status\":{\"example\":500,\"description\":\"The HTTP status code of the error.\",\"type\":\"integer\",\"isRequired\":true,\"uniqueKey\":\"status\",\"typeLabel\":\"integer\"},\"error\":{\"example\":{\"code\":\"INVALID_ARGUMENT\",\"message\":\"Index name must contain only lowercase alphanumeric characters or hyphens, and must not begin or end with a hyphen.\"},\"description\":\"Detailed information about the error that occurred.\",\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"string\",\"enum\":[\"OK\",\"UNKNOWN\",\"INVALID_ARGUMENT\",\"DEADLINE_EXCEEDED\",\"QUOTA_EXCEEDED\",\"NOT_FOUND\",\"ALREADY_EXISTS\",\"PERMISSION_DENIED\",\"UNAUTHENTICATED\",\"RESOURCE_EXHAUSTED\",\"FAILED_PRECONDITION\",\"ABORTED\",\"OUT_OF_RANGE\",\"UNIMPLEMENTED\",\"INTERNAL\",\"UNAVAILABLE\",\"DATA_LOSS\",\"FORBIDDEN\",\"UNPROCESSABLE_ENTITY\",\"PAYMENT_REQUIRED\"],\"isRequired\":true,\"uniqueKey\":\"error.code\",\"typeLabel\":\"enum\u003cstring\u003e\"},\"message\":{\"example\":\"Index name must contain only lowercase alphanumeric characters or hyphens, and must not begin or end with a hyphen.\",\"type\":\"string\",\"isRequired\":true,\"uniqueKey\":\"error.message\",\"typeLabel\":\"string\"},\"details\":{\"description\":\"Additional information about the error. This field is not guaranteed to be present.\",\"type\":\"object\",\"uniqueKey\":\"error.details\",\"typeLabel\":\"object\"}},\"required\":[\"code\",\"message\"],\"isRequired\":true,\"uniqueKey\":\"error\",\"typeLabel\":\"object\"}},\"required\":[\"status\",\"error\"],\"uniqueKey\":\"\",\"typeLabel\":\"object\"},\"examples\":{\"serverless-spec-cloud-not-found\":{\"title\":\"serverless-spec-cloud-not-found\",\"value\":{\"error\":{\"code\":\"NOT_FOUND\",\"message\":\"Resource cloud: aws region: us-west1 not found.\"},\"status\":404}}}}},\"exampleType\":\"examples\"},\"3137e477-b97f-4be8-ad6e-eef5fe3896d8\":{\"description\":\"Index of given name already exists.\",\"content\":{\"application/json\":{\"schema\":{\"example\":{\"error\":{\"code\":\"QUOTA_EXCEEDED\",\"message\":\"The index exceeds the project quota of 5 pods by 2 pods. Upgrade your account or change the project settings to increase the quota.\"},\"status\":429},\"description\":\"The response shape used for all error responses.\",\"type\":\"object\",\"properties\":{\"status\":{\"example\":500,\"description\":\"The HTTP status code of the error.\",\"type\":\"integer\",\"isRequired\":true,\"uniqueKey\":\"status\",\"typeLabel\":\"integer\"},\"error\":{\"example\":{\"code\":\"INVALID_ARGUMENT\",\"message\":\"Index name must contain only lowercase alphanumeric characters or hyphens, and must not begin or end with a hyphen.\"},\"description\":\"Detailed information about the error that occurred.\",\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"string\",\"enum\":[\"OK\",\"UNKNOWN\",\"INVALID_ARGUMENT\",\"DEADLINE_EXCEEDED\",\"QUOTA_EXCEEDED\",\"NOT_FOUND\",\"ALREADY_EXISTS\",\"PERMISSION_DENIED\",\"UNAUTHENTICATED\",\"RESOURCE_EXHAUSTED\",\"FAILED_PRECONDITION\",\"ABORTED\",\"OUT_OF_RANGE\",\"UNIMPLEMENTED\",\"INTERNAL\",\"UNAVAILABLE\",\"DATA_LOSS\",\"FORBIDDEN\",\"UNPROCESSABLE_ENTITY\",\"PAYMENT_REQUIRED\"],\"isRequired\":true,\"uniqueKey\":\"error.code\",\"typeLabel\":\"enum\u003cstring\u003e\"},\"message\":{\"example\":\"Index name must contain only lowercase alphanumeric characters or hyphens, and must not begin or end with a hyphen.\",\"type\":\"string\",\"isRequired\":true,\"uniqueKey\":\"error.message\",\"typeLabel\":\"string\"},\"details\":{\"description\":\"Additional information about the error. This field is not guaranteed to be present.\",\"type\":\"object\",\"uniqueKey\":\"error.details\",\"typeLabel\":\"object\"}},\"required\":[\"code\",\"message\"],\"isRequired\":true,\"uniqueKey\":\"error\",\"typeLabel\":\"object\"}},\"required\":[\"status\",\"error\"],\"uniqueKey\":\"\",\"typeLabel\":\"object\"},\"examples\":{\"index-name-already-exists\":{\"title\":\"index-name-already-exists\",\"value\":{\"error\":{\"code\":\"ALREADY_EXISTS\",\"message\":\"Resource already exists.\"},\"status\":409}}}}},\"exampleType\":\"examples\"},\"f2f3f1b4-19db-4eb0-a8d6-71adf5b0ab2b\":{\"description\":\"Unprocessable entity. The request body could not be deserialized.\",\"content\":{\"application/json\":{\"schema\":{\"example\":{\"error\":{\"code\":\"QUOTA_EXCEEDED\",\"message\":\"The index exceeds the project quota of 5 pods by 2 pods. Upgrade your account or change the project settings to increase the quota.\"},\"status\":429},\"description\":\"The response shape used for all error responses.\",\"type\":\"object\",\"properties\":{\"status\":{\"example\":500,\"description\":\"The HTTP status code of the error.\",\"type\":\"integer\",\"isRequired\":true,\"uniqueKey\":\"status\",\"typeLabel\":\"integer\"},\"error\":{\"example\":{\"code\":\"INVALID_ARGUMENT\",\"message\":\"Index name must contain only lowercase alphanumeric characters or hyphens, and must not begin or end with a hyphen.\"},\"description\":\"Detailed information about the error that occurred.\",\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"string\",\"enum\":[\"OK\",\"UNKNOWN\",\"INVALID_ARGUMENT\",\"DEADLINE_EXCEEDED\",\"QUOTA_EXCEEDED\",\"NOT_FOUND\",\"ALREADY_EXISTS\",\"PERMISSION_DENIED\",\"UNAUTHENTICATED\",\"RESOURCE_EXHAUSTED\",\"FAILED_PRECONDITION\",\"ABORTED\",\"OUT_OF_RANGE\",\"UNIMPLEMENTED\",\"INTERNAL\",\"UNAVAILABLE\",\"DATA_LOSS\",\"FORBIDDEN\",\"UNPROCESSABLE_ENTITY\",\"PAYMENT_REQUIRED\"],\"isRequired\":true,\"uniqueKey\":\"error.code\",\"typeLabel\":\"enum\u003cstring\u003e\"},\"message\":{\"example\":\"Index name must contain only lowercase alphanumeric characters or hyphens, and must not begin or end with a hyphen.\",\"type\":\"string\",\"isRequired\":true,\"uniqueKey\":\"error.message\",\"typeLabel\":\"string\"},\"details\":{\"description\":\"Additional information about the error. This field is not guaranteed to be present.\",\"type\":\"object\",\"uniqueKey\":\"error.details\",\"typeLabel\":\"object\"}},\"required\":[\"code\",\"message\"],\"isRequired\":true,\"uniqueKey\":\"error\",\"typeLabel\":\"object\"}},\"required\":[\"status\",\"error\"],\"uniqueKey\":\"\",\"typeLabel\":\"object\"},\"examples\":{\"missing-field\":{\"title\":\"missing-field\",\"value\":{\"error\":{\"code\":\"UNPROCESSABLE_ENTITY\",\"message\":\"Failed to deserialize the JSON body into the target type: missing field `metric` at line 1 column 16\"},\"status\":422}}}}},\"exampleType\":\"examples\"},\"f7fa24b9-b57a-4eac-a0a6-3eeb5903549a\":{\"description\":\"Internal server error.\",\"content\":{\"application/json\":{\"schema\":{\"example\":{\"error\":{\"code\":\"QUOTA_EXCEEDED\",\"message\":\"The index exceeds the project quota of 5 pods by 2 pods. Upgrade your account or change the project settings to increase the quota.\"},\"status\":429},\"description\":\"The response shape used for all error responses.\",\"type\":\"object\",\"properties\":{\"status\":{\"example\":500,\"description\":\"The HTTP status code of the error.\",\"type\":\"integer\",\"isRequired\":true,\"uniqueKey\":\"status\",\"typeLabel\":\"integer\"},\"error\":{\"example\":{\"code\":\"INVALID_ARGUMENT\",\"message\":\"Index name must contain only lowercase alphanumeric characters or hyphens, and must not begin or end with a hyphen.\"},\"description\":\"Detailed information about the error that occurred.\",\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"string\",\"enum\":[\"OK\",\"UNKNOWN\",\"INVALID_ARGUMENT\",\"DEADLINE_EXCEEDED\",\"QUOTA_EXCEEDED\",\"NOT_FOUND\",\"ALREADY_EXISTS\",\"PERMISSION_DENIED\",\"UNAUTHENTICATED\",\"RESOURCE_EXHAUSTED\",\"FAILED_PRECONDITION\",\"ABORTED\",\"OUT_OF_RANGE\",\"UNIMPLEMENTED\",\"INTERNAL\",\"UNAVAILABLE\",\"DATA_LOSS\",\"FORBIDDEN\",\"UNPROCESSABLE_ENTITY\",\"PAYMENT_REQUIRED\"],\"isRequired\":true,\"uniqueKey\":\"error.code\",\"typeLabel\":\"enum\u003cstring\u003e\"},\"message\":{\"example\":\"Index name must contain only lowercase alphanumeric characters or hyphens, and must not begin or end with a hyphen.\",\"type\":\"string\",\"isRequired\":true,\"uniqueKey\":\"error.message\",\"typeLabel\":\"string\"},\"details\":{\"description\":\"Additional information about the error. This field is not guaranteed to be present.\",\"type\":\"object\",\"uniqueKey\":\"error.details\",\"typeLabel\":\"object\"}},\"required\":[\"code\",\"message\"],\"isRequired\":true,\"uniqueKey\":\"error\",\"typeLabel\":\"object\"}},\"required\":[\"status\",\"error\"],\"uniqueKey\":\"\",\"typeLabel\":\"object\"},\"examples\":{\"internal-server-error\":{\"title\":\"internal-server-error\",\"value\":{\"error\":{\"code\":\"UNKNOWN\",\"message\":\"Internal server error\"},\"status\":500}}}}},\"exampleType\":\"examples\"}},\"security\":{\"adfa3c28-e523-4b97-a481-05f675632e60\":{\"ApiKeyAuth\":{\"type\":\"apiKey\",\"in\":\"header\",\"name\":\"Api-Key\",\"description\":\"An API Key is required to call Pinecone APIs. Get yours from the [console](https://app.pinecone.io/).\",\"scopes\":[]}}},\"servers\":{\"478deb61-350b-4d8f-afc0-4b5c28a8b7c7\":{\"url\":\"https://api.pinecone.io\",\"description\":\"Production API endpoints\"}}},\"originalFileLocation\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_control_2025-04.oas.yaml\"},\"children\":\"$L54\"}]\n"])</script><script>self.__next_f.push([1,"55:I[525343,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"TabSyncContextProvider\"]\n"])</script><script>self.__next_f.push([1,"57:I[228341,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"PageModeUpdater\"]\n"])</script><script>self.__next_f.push([1,"58:I[575126,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"Background\"]\n"])</script><script>self.__next_f.push([1,"56:Ta4a,"])</script><script>self.__next_f.push([1,"{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.pinecone.io/#organization\",\"name\":\"Pinecone Docs\",\"url\":\"https://docs.pinecone.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/pinecone/HsZKO51bNmpAasdT/logo/Pinecone-Full-Logo-Black.svg?fit=max\u0026auto=format\u0026n=HsZKO51bNmpAasdT\u0026q=85\u0026s=211d0e7bbefc29ce3b8feee1a05d76ee\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.pinecone.io#website\",\"name\":\"Pinecone Docs\",\"url\":\"https://docs.pinecone.io\",\"publisher\":{\"@id\":\"https://docs.pinecone.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.pinecone.io/reference/api/2025-04/control-plane/create_index#webpage\",\"url\":\"https://docs.pinecone.io/reference/api/2025-04/control-plane/create_index\",\"name\":\"Create an index\",\"description\":\"Create a Pinecone index. This is where you specify the measure of similarity, the dimension of vectors to be stored in the index, which cloud provider you would like to deploy with, and more. For guidance and examples, see Create an index.\",\"dateModified\":\"2026-01-28T17:44:02.031Z\",\"isPartOf\":{\"@id\":\"https://docs.pinecone.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.pinecone.io/reference/api/2025-04/control-plane/create_index#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.pinecone.io/reference/api/2025-04/control-plane/create_index#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Database\",\"item\":\"https://docs.pinecone.io/reference/api/2025-04/control-plane/list_indexes\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Indexes\",\"item\":\"https://docs.pinecone.io/reference/api/2025-04/control-plane/list_indexes\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create an index\",\"item\":\"https://docs.pinecone.io/reference/api/2025-04/control-plane/create_index\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.pinecone.io/reference/api/2025-04/control-plane/create_index#apireference\",\"headline\":\"Create an index\",\"name\":\"Create an index\",\"description\":\"Create a Pinecone index. This is where you specify the measure of similarity, the dimension of vectors to be stored in the index, which cloud provider you would like to deploy with, and more. For guidance and examples, see Create an index.\",\"url\":\"https://docs.pinecone.io/reference/api/2025-04/control-plane/create_index\",\"mainEntityOfPage\":{\"@id\":\"https://docs.pinecone.io/reference/api/2025-04/control-plane/create_index#webpage\"},\"image\":\"https://www.pinecone.io/images/docs_og_image_v2.png\",\"dateModified\":\"2026-01-28T17:44:02.031Z\",\"publisher\":{\"@id\":\"https://docs.pinecone.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.pinecone.io#website\"}}]}"])</script><script>self.__next_f.push([1,"59:T68d9,"])</script><script>self.__next_f.push([1,"/* Global styles */\n\n:root {\n  --brand-blue: #002BFF;\n  --primary-main: #002BFF;\n  --primary-dark: #222160;\n  --text-contrast: #FFFFFF;\n  --background: #FBFBFC;\n  --paper: #FFFFFF;\n  --surface: #F2F3F6;\n  --divider: #D8DDDF;\n  --secondary: #72788D;\n  --error: #E31957;\n  --warning: #DD815D;\n  --success: #15B077;\n  --info: #0028FF;\n  --text-primary: #1C1917;\n  --text-secondary: #72788D;\n  --text-disabled: #121142;\n  --white: #FFFFFF;\n  --black: #121142;\n  --overlay: #2B3244;\n  --border: #e7e5e4;\n}\n\n.dark {\n  --brand-blue: #1E86EE;\n  --primary-main: #002BFF;\n  --primary-dark: #222160;\n  --text-contrast: #FFFFFF;\n  --background: #171717;\n  --paper: #1E1E1E;\n  --surface: #252525;\n  --divider: #2A2A2A;\n  --secondary: #72788D;\n  --error: #E31957;\n  --warning: #DD815D;\n  --success: #15B077;\n  --info: #0028FF;\n  --text-primary: #FFFFFF;\n  --text-secondary: #A0A0A0;\n  --text-disabled: #666666;\n  --white: #FFFFFF;\n  --black: #000000;\n  --overlay: #2B3244;\n  --border: #303030;\n}\n\n.dark .dark-inverted {\n  filter: invert(1);\n}\n\n#topbar-cta-button {\n  margin-left: 1rem;\n}\n\n#topbar-cta-button \u003e a {\n  display: flex;\n  align-items: center;\n  padding: 0.375rem 1rem !important;\n  gap: 0.5rem;\n  background-color: var(--brand-blue);\n  color: var(--text-contrast) !important;\n  border-radius: 0.25rem;\n  font-weight: 500;\n  letter-spacing: 0.4px;\n}\n\n#topbar-cta-button a:hover {\n  background-color: var(--primary-dark) !important;\n}\n\n\n/* #topbar-cta-button span {\n  border-radius: 4px;\n  font-weight: 500;\n  letter-spacing: 0.4px;\n} */\n\n/* #topbar-cta-button div \u003e svg {\n  display: none;\n} */\n\n/* inserting svg via :after isn't working for some reason, used js instead */\n/* #topbar-cta-button div::after {\n  content: url('data:image/svg+xml;utf8,\u003csvg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\u003e\u003cg id=\"Icon Right\"\u003e\u003cpath id=\"Vector\" d=\"M8.08906 5L6.91406 6.175L10.7307 10L6.91406 13.825L8.08906 15L13.0891 10L8.08906 5Z\" fill=\"white\"/\u003e\u003c/g\u003e\u003c/svg\u003e');\n  content: \"test\";\n  display: block;\n  width: 20px;\n  height: 20px;\n  margin-left: 8px;\n  background-image: url('data:image/svg+xml;utf8,\u003csvg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\u003e\u003cg id=\"Icon Right\"\u003e\u003cpath id=\"Vector\" d=\"M8.08906 5L6.91406 6.175L10.7307 10L6.91406 13.825L8.08906 15L13.0891 10L8.08906 5Z\" fill=\"white\"/\u003e\u003c/g\u003e\u003c/svg\u003e');\n  background-color: #000000;\n  background-size: contain;\n  background-repeat: no-repeat;\n  background-position: center;\n} */\n\n\n.documentation-link {\n  color: var(--brand-blue);\n  text-decoration: none;\n}\n\n.documentation-link:hover {\n  color: #000000;\n  /* Black color when hovering */\n}\n\n.custom-button {\n  display: inline-block;\n  padding: 2px 8px;\n  background-color: var(--surface);\n  color: var(--text-primary);\n  /* Text color */\n  border: 1px solid var(--border);\n  /* Border color */\n  border-radius: 25px;\n  /* Rounded borders */\n  text-align: center;\n  user-select: none;\n  transition: background-color 0.3s ease;\n  /* Smooth transition for background color */\n}\n\n/* Change the button color on hover (make it unclickable) */\n.custom-button:hover {\n  background-color: var(--primary-main);\n  color: var(--text-contrast);\n}\n\n/* Adjust the width for the second column */\n/* td:nth-child(2) {\n  width: 200px; /* Adjust the width as per your requirement\n} */\n\n/* \nAdd an announcement bar \nTODO: This can be version specific if you add a page-specific class/ID, but it doesn't seem to work for the OpenAI docs without rewriting the JSON\n*/\n/*  #navbar:before {\n  background-color: #ff4c04;\n  content: \"The legacy version of the API, which required regional URLs for control plane operations, is deprecated as of April 15, 2024 and will be removed in a future, to be announced, release.\";\n  color: rgb(255, 255, 255);\n  display: block;\n  text-align: center;\n  padding: 6px;\n  font-size: 90%;\n}\n*/\n/* Text color */\n/* body {\n  color: #121142 !important;\n} */\n\n/* Header */\n#navbar {\n  background: var(--background);\n  position: fixed;\n  /* position: sticky !important; */\n  /* top: 0 !important; */\n}\n\n#navbar-transition {\n  border-bottom: 1px solid var(--border);\n}\n\n#navbar .max-w-8xl {\n  max-width: 100%;\n}\n\n/* Logo + \"Docs\" text + version select */\n#navbar\u003ediv:first-of-type\u003ediv:first-of-type\u003ediv:first-of-type\u003ediv:first-of-type {\n  flex: initial;\n}\n\n#navbar\u003ediv:first-of-type\u003ediv:first-of-type\u003ediv:first-of-type\u003ediv:first-of-type\u003ea:first-of-type {\n  flex: initial;\n  display: flex;\n}\n\n#navbar img[alt=\"logo\"] {\n  max-width: 150px;\n  min-width: 150px;\n}\n\n/* Ensure logo has min width*/\n#navbar \u003e div \u003e div \u003e div \u003e div \u003e div \u003e div.flex-1.flex.items-center \u003e a:first-child {\n  min-width: 209px;\n}\n\n/* Version select */\n[aria-haspopup=\"menu\"] {\n  border-radius: 0.25rem;\n  border: 1px solid var(--border);\n  background-color: transparent !important;\n  color: var(--text-primary)\n}\n\n[aria-labelledby=\"headlessui-menu-button-:r0:\"] {\n  width: 11rem;\n}\n\n/* Right side nav container */\n#navbar\u003ediv:first-of-type\u003ediv:first-of-type\u003ediv:first-of-type\u003ediv:nth-of-type(3) {\n  flex: initial;\n  margin-left: 0;\n}\n\n/* Prevent nav items from shrinking */\n#navbar\u003ediv:first-of-type\u003ediv:first-of-type\u003ediv:first-of-type\u003ediv:nth-of-type(3)\u003enav {\n  flex-shrink: 0;\n}\n\n/* nav links */\n#navbar nav a {\n  color: var(--text-primary);\n  padding: 0.6rem 1rem;\n  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n/* #navbar a:hover {\n  background-color: var(--paper);\n  border-radius: 0.25rem;\n} */\n\n#navbar nav ul li:not(:last-of-type) {\n  margin-left: 0;\n}\n\n/* Hide dark mode toggle */\n/* #navbar\u003ediv:first-of-type\u003ediv:first-of-type\u003ediv:first-of-type\u003ediv:nth-of-type(3)\u003ediv {\n  display: none;\n} */\n\n/* Second nav container */\n/* Links */\n#navbar a {\n  color: var(--text-primary);\n  margin: 0;\n  padding-left: 0.875rem;\n  padding-right: 0.875rem;\n}\n\n#navbar .nav-tabs {\n  gap: 0 !important;\n}\n\n/* Selected links */\n#navbar a.font-semibold {\n  color: var(--brand-blue);\n  border-bottom-width: 0.1875rem;\n  border-color: var(--brand-blue);\n}\n\n#navbar div.absolute.bottom-0 {\n  display: none;\n}\n\n/* Sidebar */\n#sidebar {\n  left: 0rem;\n  padding-left: 3rem;\n  background: var(--background);\n  border-right: 1px solid var(--border);\n  /* position: sticky; */\n  /* flex-shrink: 0; */\n  /* top: 0; */\n}\n\n#sidebar div.sticky {\n  visibility: hidden;\n}\n\n#sidebar-content {\n  padding-left: 2rem;\n}\n\n/* Sidebar headings and link color */\n#sidebar-content h5,\n#sidebar a,\n#sidebar li div {\n  color: var(--text-primary);\n}\n\n/* Sidebar Introduction link */\n#sidebar\u003ediv\u003eul\u003ediv:first-of-type\u003eli:only-of-type {\n  margin-left: 0;\n}\n\n#sidebar\u003ediv\u003eul\u003ediv:first-of-type\u003eli:only-of-type\u003ea {\n  font-weight: 600;\n}\n\n/* Nav items */\n#navigation-items\u003ediv\u003eul\u003eli {\n  margin-left: 0.75rem;\n}\n\n/* Selected nav items */\n#navigation-items\u003ediv\u003eul\u003eli a.font-semibold {\n  font-weight: 400;\n  background-color: var(--surface);\n}\n\n#navigation-items #mobile-divider {\n  display: none;\n}\n\n/* Main content area */\n/* main \u003e div:first-of-type \u003e div:last-of-type \u003e div:first-of-type {\n  display: flex;\n} */\n@media screen and (min-width: 1024px) {\n  #content-area\u003ediv:first-child:not(#header)\u003ediv.relative.w-full.flex.items-center.justify-center:first-child {\n    margin-top: 7rem\n  }\n}\n\n\n/* Content container */\n/* #content-container {\n  padding-left: 3.5rem !important;\n} */\n#content-container\u003ediv {\n  padding-top: 10rem;\n}\n\n@media (min-width: 1024px) {\n  #content-container\u003ediv {\n    gap: 3rem;\n  }\n\n  #content-container #table-of-contents {\n    padding-left: 0;\n  }\n}\n\n/* Title eyebrow */\n#header .eyebrow {\n  text-transform: uppercase;\n  color: var(--text-primary);\n  font-size: 0.625rem;\n  letter-spacing: 1px;\n  line-height: 160%;\n}\n\n/* Hide empty eyebrow */\n#header .eyebrow:empty {\n  display: none;\n}\n\n/* Title container */\n#header\u003ediv:first-of-type\u003ediv:nth-of-type(2) {\n  margin-top: 0;\n}\n\n/* Title */\n#header h1 {\n  color: var(--text-primary);\n}\n\n/* Article text */\n.prose h2,\n.prose h3,\n.prose h4,\n.prose p,\n.prose li {\n  color: var(--text-primary);\n}\n\n.prose table th, .prose table td {\n  color: var(--text-primary) !important;\n}\n\n.prose a {\n  color: var(--brand-blue) !important;\n  font-weight: 400;\n}\n\n/* Overwrite tailwind max-width */\n.max-w-8xl {\n  max-width: 94.5rem;\n}\n\n.card {\n  box-shadow: none;\n  border: 1px solid var(--border) !important;\n  border-radius: 0.25rem;\n  transition: box-shadow 0.3s ease;\n  background-color: var(--paper) !important;\n}\n\n.card:hover {\n  border: 1px solid var(--border) !important;\n}\n\n:not(.dark) .card:hover {\n  box-shadow: 0px 5px 5px -3px rgba(163, 169, 175, 0.20), 0px 8px 10px 1px rgba(163, 169, 175, 0.14), 0px 3px 14px 2px rgba(163, 169, 175, 0.12) !important;\n}\n\n.dark .card:hover {\n  box-shadow: none !important;\n}\n\n.card\u003ediv {\n  padding: 1.5rem;\n}\n\n.card h2,\n.example-card h2 {\n  font-size: 1.25rem;\n}\n\n.card p,\n.example-card p, .example-card span[data-as=\"p\"] {\n  margin-top: 0.625rem;\n  font-size: 0.875rem;\n  color: var(--text-primary);\n}\n\n.card .eyebrow {\n  font-size: 0.625rem;\n  text-transform: uppercase;\n  line-height: 160%;\n  letter-spacing: 1px;\n}\n\n.card .integration-logo { \n  width: 3.125rem;  \n  height: 3.125rem; \n  display: flex; \n  justify-content: center; \n  align-items: center; \n} \n.card .integration-logo-long { \n  width: 5.125rem; \n  height: 3.125rem; \n  display: flex; \n  justify-content: center; \n  align-items: center; \n}\n\n.card-grid {\n  display: grid;\n  gap: 1.5rem;\n}\n\n@media (min-width: 640px) {\n  .card-grid {\n    grid-template-columns: 1fr 1fr;\n  }\n}\n\n@media (min-width: 1024px) {\n  .card-grid {\n    grid-template-columns: 1fr 1fr 1fr;\n  }\n}\n\n.example-card {\n  box-shadow: none;\n  border: 1px solid var(--border);\n  border-radius: 0.25rem;\n  transition: box-shadow 0.3s ease;\n  padding: 1.5rem;\n  display: flex;\n  flex-direction: column;\n  flex-grow: 1;\n  background-color: var(--paper);\n}\n\n.example-card .arrow {\n  margin-left: auto;\n  margin-top: auto;\n  opacity: 0;\n  transition: opacity 0.3s ease;\n}\n\n.example-card:hover .arrow {\n  opacity: 1;\n}\n\n.example-card:hover {\n  border: 1px solid var(--border) !important;\n}\n\n:not(.dark) .example-card:hover {\n  box-shadow: 0px 5px 5px -3px rgba(163, 169, 175, 0.20), 0px 8px 10px 1px rgba(163, 169, 175, 0.14), 0px 3px 14px 2px rgba(163, 169, 175, 0.12);\n}\n\n.dark .example-card:hover {\n  box-shadow: none !important;\n}\n\n.example-card .tags {\n  display: flex;\n  flex-wrap: wrap;\n  gap: 0.75rem;\n  margin-top: 1.5rem;\n}\n\n.example-card .card-tag {\n  border-radius: 1rem;\n  background-color: var(--background);\n  color: var(--text-primary);\n  font-size: 0.8125rem;\n  line-height: 138%;\n  letter-spacing: 0.16px;\n  padding: 0.1875rem 0.375rem;\n  display: flex;\n  gap: 0.375rem;\n  align-items: center;\n}\n\n.example-card .vectors {\n  color: var(--background);\n  display: flex;\n  flex-wrap: wrap;\n  justify-content: space-between;\n  gap: 1rem;\n  font-size: 0.875rem;\n  line-height: 150%;\n  letter-spacing: 0.15px;\n  padding-top: 2.875rem;\n  margin-top: auto;\n}\n\n.examples-h2 {\n  font-size: 1.25rem;\n  margin-bottom: 1.5rem;\n}\n\n/* Integrations related articles */\n#related-articles {\n  display: flex;\n  flex-direction: column;\n  width: 100%;\n}\n\n#related-articles h2 {\n  color: var(--text-primary);\n  font-size: 1.25rem;\n  font-weight: 600;\n  letter-spacing: 0.15px;\n  line-height: 150%;\n  margin-bottom: 1rem;\n}\n\n#related-articles a {\n  padding: 1.0625rem 0;\n  display: flex;\n  align-items: flex-start;\n  justify-content: space-between;\n  gap: 1rem;\n  color: var(--text-primary);\n  font-size: 0.875rem;\n  line-height: 150%;\n  letter-spacing: 0.15px;\n}\n\n#related-articles a:not(:last-of-type) {\n  border-bottom: 1px solid var(--border);\n}\n\n#related-articles a:hover {\n  opacity: 0.7;\n}\n\n#related-articles a\u003esvg {\n  flex-shrink: 0;\n}\n\n/* Integrations back button */\n#back-button {\n  display: flex;\n  gap: 0.5rem;\n  align-items: center;\n  color: var(--text-primary) !important;\n  font-size: 0.875rem;\n  line-height: 150%;\n  letter-spacing: 0.15px;\n  margin-bottom: 1.5rem;\n}\n\n#back-button:hover {\n  opacity: 0.7;\n}\n\n#back-button\u003esvg {\n  flex-shrink: 0;\n}\n\n/* Sample apps */\n\n.sample-app {\n  color: var(--text-primary);\n}\n\n.sample-app h2 {\n  font-size: 2.125rem;\n  font-weight: 600;\n  line-height: 123.5%;\n  letter-spacing: 0.25px;\n}\n\n.sample-app h2:not(:first-of-type) {\n  margin: 4rem 0 0 0;\n}\n\n.sample-app h2:first-of-type {\n  margin: 0;\n}\n\n.sample-app h3 {\n  font-size: 1.25rem;\n  font-weight: 600;\n  line-height: 150%;\n  letter-spacing: 0.15px;\n  margin: 3rem 0 0 0;\n}\n\n.sample-app h4 {\n  font-size: 0.875rem;\n  font-weight: 700;\n  line-height: 150%;\n  letter-spacing: 0.15px;\n  margin: 3rem 0 0 0;\n}\n\n.sample-app p,\n.sample-app ul {\n  margin: 1.5rem 0 0 0;\n  font-size: 0.875rem;\n  list-style-type: disc;\n}\n\n.sample-app li::before {\n  display: none;\n}\n\n.sample-app li {\n  padding-left: 0 !important;\n  margin-left: 1.25rem;\n}\n\n.sample-app li::marker {\n  color: var(--text-primary);\n}\n\n.sample-app-heading {\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  text-align: center;\n}\n\n.sample-app-heading .eyebrow {\n  color: var(--text-primary);\n  font-size: 0.625rem;\n  line-height: 160%;\n  letter-spacing: 1px;\n  text-transform: uppercase;\n}\n\n.sample-app-heading h1 {\n  color: var(--text-primary);\n  margin: 0.5rem 0 0 0;\n  font-size: 2.125rem;\n  font-weight: 600;\n  line-height: 123.5%;\n  letter-spacing: 0.25px;\n}\n\n.sample-app-heading p {\n  color: var(--text-primary);\n  margin: 0.5rem 0 1.5rem 0;\n  font-size: 1.25rem;\n  font-weight: 600;\n  line-height: 150%;\n  letter-spacing: 0.15px;\n}\n\n/* Sample apps content area with sidebar */\n.sample-app-split {\n  display: flex;\n  flex-direction: column;\n  gap: 3rem;\n}\n\n.sample-app-split .sidebar a:not(.connect-with-pinecone) {\n  font-size: 0.875rem;\n  color: var(--text-primary);\n  border-bottom: none;\n}\n\n.sample-app-split .toc-list {\n  display: flex;\n  flex-direction: column;\n  gap: 1rem;\n}\n\n.sample-app-split .toc-list a.bold {\n  font-weight: 700;\n  margin-top: 0.5rem;\n}\n\n.sample-app-split\u003e.content.no-margin\u003ep:first-of-type {\n  margin-top: 0 !important;\n}\n\n.connect-with-pinecone {\n  border: 1px solid var(--border);\n  border-radius: 0.25rem;\n  padding: 0.5rem 1rem;\n  display: inline-flex;\n  align-items: center;\n  gap: 0.5rem;\n  font-size: 0.875rem;\n  font-weight: 500;\n  line-height: 1.5rem;\n  letter-spacing: 0.4px;\n  color: var(--text-primary) !important;\n  text-decoration: none;\n  align-self: flex-start;\n}\n\n@media (min-width: 1280px) {\n  .sample-app-split {\n    flex-direction: row;\n  }\n\n  .sample-app-split .content {\n    overflow-x: auto;\n  }\n\n  .sample-app-split .sidebar {\n    width: 20.625rem;\n    flex-shrink: 0;\n  }\n}\n\n/* Hacky codeblock targeting */\n/* div[class*=\"bg-codeblock\"].relative {\n  border-radius: 0.25rem; */\n  /* border: 1px solid var(--border); */\n/* } */\n\n/* :not(.dark) div[class*=\"bg-codeblock\"].relative {\n  background: var(--black);\n}\n\n.dark div[class*=\"bg-codeblock\"].relative {\n  background: var(--paper);\n}  */\n\np\u003ecode {\n  font-size: 0.75rem;\n  line-height: 150%;\n  letter-spacing: 0.5px;\n  border-radius: 0.25rem;\n  padding: 0.125rem 0.5rem;\n  background-color: var(--paper) !important;\n  color: var(--text-primary) !important;\n  border: none;\n}\n\ncode .api-key.set {\n  color: orange;\n}\n\n.pinecone-connect-connected {\n  width: 100%;\n  max-width: 31.25rem;\n  background-color: var(--paper);\n  transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n  border-radius: 0.25rem;\n  padding: 1.5rem;\n  margin: 1.5rem 0;\n  border: 1px solid var(--border);\n}\n\n.pinecone-connect-connected img {\n  height: 1.875rem;\n  margin: 0;\n}\n\n.pinecone-connect-connected p {\n  color: var(--text-primary) !important;\n}\n\n.pinecone-connect-connected p:last-of-type {\n  margin-top: 0.75rem;\n}\n\n.remove-api-key {\n  display: flex;\n  width: 100%;\n  max-width: 31.25rem;\n  margin-top: -1.25rem;\n}\n\n.remove-api-key\u003ebutton {\n  font-size: 0.8125rem;\n  font-weight: 500;\n  color: var(--brand-blue);\n  margin-left: auto;\n}\n\n.connect-widget-skeleton {\n  margin-block: 45px;\n  width: 100%;\n  max-width: 31.25rem;\n  height: 180px;\n  background: var(--paper);\n  border-radius: 4px;\n  overflow: hidden;\n  position: relative;\n  border: 1px solid var(--border);\n}\n\n.skeleton-content {\n  width: 100%;\n  max-width: 450px;\n  height: 180px;\n  background: linear-gradient(90deg,\n      rgba(255, 255, 255, 0) 0%,\n      rgba(255, 255, 255, 0.6) 50%,\n      rgba(255, 255, 255, 0) 100%);\n  animation: shimmer 1.5s infinite;\n  position: absolute;\n  top: 0;\n  left: 0;\n}\n\n@keyframes shimmer {\n  0% {\n    transform: translateX(-100%);\n  }\n\n  100% {\n    transform: translateX(100%);\n  }\n}\n\n/* Model Gallery */\n\n.featured-card-container {\n  padding: 0 1rem;\n  position: relative;\n  width: 100%;\n  margin: 1rem 0;\n  overflow: visible;\n  -webkit-overflow-scrolling: touch;\n}\n\n.featured-model-cards {\n  display: grid;\n  grid-auto-flow: column;\n  grid-auto-columns: calc(25% - 0.75rem);\n  gap: 1rem;\n  overflow-x: auto;\n  scroll-behavior: smooth;\n  scroll-snap-type: x mandatory;\n  -webkit-overflow-scrolling: touch;\n  padding: 1rem 0;\n  margin: -1rem 0;\n  scrollbar-width: none;\n  -ms-overflow-style: none;\n  cursor: grab;\n}\n\n.featured-model-cards\u003e* {\n  scroll-snap-align: start;\n}\n\n.carousel-button {\n  position: absolute;\n  top: 50%;\n  transform: translateY(-50%);\n  width: 2.5rem;\n  height: 2.5rem;\n  border-radius: 9999px;\n  background: var(--paper);\n  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  z-index: 10;\n  cursor: pointer;\n  border: 1px solid var(--border);\n  padding: 0;\n}\n\n.carousel-button:hover {\n  background-color: var(--background);\n  transform: translateY(-50%) scale(1.05);\n  box-shadow: 0 6px 8px -2px rgb(0 0 0 / 0.15);\n}\n\n.carousel-button.prev {\n  left: -1.25rem;\n}\n\n.carousel-button.next {\n  right: -1.25rem;\n}\n\n/* Make sure parent containers don't clip the buttons */\n#content-container,\n#content-area,\nmain {\n  overflow: visible !important;\n}\n\n@media (max-width: 1280px) {\n  .featured-model-cards {\n    grid-auto-columns: calc(33.333% - 0.67rem);\n  }\n}\n\n@media (max-width: 1024px) {\n  .featured-model-cards {\n    grid-auto-columns: calc(50% - 0.5rem);\n  }\n}\n\n@media (max-width: 768px) {\n  .featured-model-cards {\n    grid-auto-columns: 90%;\n    padding-bottom: 1rem;\n  }\n\n  .carousel-button {\n    display: none !important;\n  }\n\n  .featured-card-container {\n    padding: 0;\n  }\n}\n\n:not(.dark) .model-card:hover {\n  box-shadow: 0px 5px 5px -3px rgba(163, 169, 175, 0.20), 0px 8px 10px 1px rgba(163, 169, 175, 0.14), 0px 3px 14px 2px rgba(163, 169, 175, 0.12);\n}\n\n.dark .model-card:hover {\n  box-shadow: none !important;\n}\n\n.outlined-button {\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n  width: 150px;\n  height: 36px;\n  padding: 4px;\n  border-radius: 4px;\n  border: 1px solid var(--border);\n  color: var(--paper);\n  text-decoration: none;\n  font-size: 14px;\n  letter-spacing: 0.4;\n  text-align: center;\n  color: var(--text-primary);\n  font-weight: 500;\n  transition: background-color 0.3s ease, border 0.3s ease, color 0.3s ease;\n}\n\n.outlined-button:hover {\n  background-color: var(--paper);\n  border: 1px solid var(--brand-blue);\n  color: var(--text-primary);\n}\n\n\n.control {\n  position: absolute;\n  top: 50%;\n  transform: translateY(-50%);\n  background-color: rgba(255, 255, 255, 0.7);\n  border-radius: 50%;\n  width: 40px;\n  height: 40px;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  cursor: pointer;\n  opacity: 0.5;\n  transition: opacity 0.3s ease;\n}\n\n.control:hover {\n  opacity: 1;\n}\n\n.prev-slide {\n  left: 10px;\n}\n\n.next-slide {\n  right: 10px;\n}\n\n.inference-text p {\n  margin-top: 0rem;\n}\n\n\n/* Model page */\n.model-page-card {\n  padding: 1.5rem;\n  border-radius: 0.25rem;\n  border: 1px solid var(--border);\n  background: var(--paper);\n  margin-bottom: 2.5rem;\n}\n\n.model-page-card-title {\n  display: flex;\n  flex-wrap: wrap;\n  gap: 1rem;\n  align-items: center;\n}\n\n.model-page-card-title\u003eh1 {\n  font-size: 1.5rem;\n  color: var(--text-primary);\n}\n\n.model-page-card-logo {\n  width: 2.125rem;\n  height: 2.125rem;\n  flex-shrink: 0;\n}\n\n.model-page-card-logo\u003eimg {\n  width: 100%;\n  height: 100%;\n  object-fit: contain;\n}\n\n.model-page-card-inference {\n  border-radius: 1rem;\n  border: 1px solid var(--border);\n  padding: 0.25rem 0.375rem 0.25rem 0.25rem;\n  display: flex;\n  align-items: center;\n  gap: 0.375rem;\n  font-size: 0.8125rem;\n}\n\n.model-page-card-stats {\n  display: flex;\n  gap: 1.5rem;\n  flex-wrap: wrap;\n  margin-top: 1rem;\n}\n\n.model-page-card-stats\u003ediv\u003espan {\n  font-size: 0.625rem;\n  color: var(--text-secondary);\n  letter-spacing: 0.2px;\n  font-weight: 500;\n}\n\n.model-page-card-stats\u003ediv\u003ep, .model-page-card-stats\u003ediv\u003espan[data-as=\"p\"] {\n  display: block;\n  font-size: 0.75rem;\n  color: var(--text-primary);\n  letter-spacing: 0.17px;\n}\n\n.model-page-card-stats\u003ediv.price {\n  margin-left: auto;\n}\n\n.model-page-card-stats\u003ediv.price\u003ep {\n  margin-left: auto;\n  font-weight: 600;\n}\n\n.model-page-tabs {\n  display: flex;\n  width: 100%;\n  border-bottom: 1px solid var(--border);\n  margin-bottom: 2rem;\n}\n\n.model-page-tabs\u003ebutton {\n  padding: 0.5625rem 1rem;\n  border-bottom: 1px solid transparent;\n  color: var(--secondary);\n  display: flex;\n  align-items: center;\n  gap: 0.375rem;\n  font-weight: 500;\n  letter-spacing: 0.4px;\n}\n\n.model-page-tabs\u003ebutton\u003esvg\u003epath {\n  fill: var(--secondary);\n}\n\n.model-page-tabs\u003ebutton.active {\n  border-bottom: 2px solid var(--brand-blue);\n  color: var(--brand-blue);\n}\n\n.model-page-tabs\u003ebutton.active\u003esvg\u003epath {\n  fill: var(--brand-blue);\n}\n\n.model-page-playground {\n  display: none;\n}\n\n.model-page-guides {\n  display: flex;\n  flex-direction: column;\n  gap: 3rem;\n}\n\n.model-page-content {\n  flex-shrink: 1;\n  width: auto;\n  max-width: 1050px;\n\n  @media (max-width: 1500px) {\n    max-width: 700px;\n  }\n}\n\n.model-page-content\u003e :first-child {\n  margin-top: 0;\n}\n\n.model-page-content pre {\n  white-space: pre-wrap;\n}\n\n.model-page-sidebar {\n  width: 100%;\n  flex-shrink: 1;\n}\n\n.model-page-sidebar .iframe-placeholder {\n  height: 800px;\n}\n\n/* removing inline padding for now */\n@media (min-width: 1280px) {\n  .model-search-container {\n    padding-inline: 0px;\n  }\n}\n\n.model-page-sidebar-readmore {\n  font-size: 0.875rem;\n  font-style: normal;\n  font-weight: 500;\n  line-height: 150%;\n  letter-spacing: 0.15px\n}\n\n.model-page-sidebar-readmore svg {\n  margin-bottom: 2px;\n}\n\n.model-search-container {\n  min-height: 2000px;\n\n  @media (max-width: 768px) {\n    min-height: 2000px;\n  }\n}\n\n#model-search-iframe {\n  min-height: 2000px;\n}\n\n@media (min-width: 1080px) {\n  .model-page-guides {\n    flex-direction: row;\n  }\n\n  .model-page-sidebar {\n    max-width: 20.6875rem;\n    flex-shrink: 0;\n  }\n\n}\n\n/* Hide scrollbar for Chrome/Safari */\n.featured-model-cards::-webkit-scrollbar {\n  display: none;\n}\n\n/* Show grabbing cursor while actively scrolling */\n.featured-model-cards:active {\n  cursor: grabbing;\n}\n\n/* Add minimum width for model card buttons */\n.featured-model-cards .example-card button,\n.featured-model-cards .model-card button {\n  min-width: 200px;\n  /* Ensures button doesn't shrink below this width */\n  width: 100%;\n  /* Allows button to grow with container */\n  max-width: 400px;\n  /* Prevents button from getting too wide */\n  margin: 0 auto;\n  /* Centers the button if container is wider */\n}\n\n@media (max-width: 576px) {\n  #pinecone-connect-widget {\n    scale: 0.95 !important;\n    transform-origin: top left;\n  }\n  .connect-widget-skeleton {\n    height: 180px;\n    margin-block: 30px;\n  }\n  \n  .skeleton-content {\n    height: 180px;\n  }\n}\n\n/* Target the iframe specifically */\n#pinecone-connect-widget iframe {\n  width: 100% !important;\n  max-width: 500px !important;\n}\n\n/* Media query for smaller screens */\n@media (max-width: 576px) {\n  #pinecone-connect-widget,\n  #pinecone-connect-widget \u003e div,\n  #pinecone-connect-widget iframe {\n    width: 100% !important;\n    min-width: 0 !important;\n    max-width: 100% !important;\n  }\n  \n  /* Also adjust parent container if needed */\n  div[style*=\"min-width\"] {\n    min-width: 0 !important;\n    width: 100% !important;\n  }\n}\n\n\n/* Style for the copy tooltip */\n.absolute.top-11.left-1\\/2.transform.-translate-x-1\\/2.-translate-y-1\\/2.peer-hover\\:opacity-100.opacity-0.text-black.rounded-lg.px-1\\.5.py-0\\.5.text-xs.bg-white,\ndiv[class*=\"absolute top-11 left-1/2 transform -translate-x-1/2 -translate-y-1/2\"][class*=\"text-black rounded-lg px-1.5 py-0.5 text-xs bg-white\"],\ndiv[aria-hidden=\"true\"][class*=\"absolute top-11 left-1/2 transform -translate-x-1/2 -translate-y-1/2\"][class*=\"opacity-0\"][class*=\"text-white rounded-lg px-1.5 py-0.5 text-xs\"] {\n  background-color: var(--brand-blue) !important;\n  color: white !important;\n}\n\n/* Also target the tooltip in the InlineCode component */\n.absolute.top-11.left-1\\/2.transform.-translate-x-1\\/2.-translate-y-1\\/2.hidden.group-hover\\:block.text-white.rounded-lg.px-1\\.5.py-0\\.5.text-xs {\n  background-color: var(--brand-blue) !important;\n  color: white !important;\n}\n\n/* Styles for when embedded in the Console. See console-iframe.js for more details. */\n.pinecone-console-embed {\n  /* Hide logo */\n  #navbar img {\n    display: none;\n  }\n\n  /* Hide top part of navbar */\n  #navbar .relative:first-of-type \u003e div:first-of-type {\n    height: 0 !important;\n  }\n\n  /* Hide navbar links */\n  #navbar nav {\n    display: none;\n  }\n\n  /* Hide dark mode toggle */\n  #navbar [aria-label=\"Toggle dark mode\"] {\n    display: none;\n  }\n\n  /* Move API version selector to the right edge */\n  #navbar button[aria-haspopup=\"menu\"] {\n    position: absolute;\n    top: 12px;\n    right: 0px;\n  }\n\n  /* Move content up to account for smaller navbar */\n  #content-container,\n  #sidebar {\n    margin-top: -4rem;\n  }\n\n  /* Hide mobile and desktop search button */\n  #search-bar-entry-mobile,\n  #search-bar-entry {\n    display: none;\n  }\n\n  /* Hide actions menu */\n  button[aria-label='More actions'] {\n    display: none;\n  }\n\n  /* Move header link action to the right edge */\n  h2 \u003e .absolute:first-of-type,\n  h3 \u003e .absolute:first-of-type,\n  h4 \u003e .absolute:first-of-type {\n    right: -12px;\n  }\n}\n\n/* Make specific buttons have non-rounded corners */\n#page-context-menu-button {\n  border-start-start-radius: 0.25rem !important;\n  border-end-start-radius: 0.25rem !important;\n}\n\n#page-context-menu button:last-child {\n  border-radius: 0 !important;\n  border-start-end-radius: 0.25rem !important;\n  border-end-end-radius: 0.25rem !important;\n}\n\n/*\n * Agent tool callout on quickstart page.\n * Visually distinguishes the portable search function\n * as a \"grab this and go\" artifact.\n */\n.agent-tool {\n  border-left: 4px solid var(--brand-blue, #002BFF);\n  padding: 1rem 1.25rem;\n  border-radius: 0.375rem;\n  background-color: #f0f4ff;\n  margin: 0.5rem 0 1rem 0;\n}\n\n.agent-tool \u003e p:first-child {\n  margin-top: 0;\n  font-size: 0.875rem;\n  letter-spacing: 0.025em;\n}\n\n.dark .agent-tool {\n  background-color: rgba(0, 43, 255, 0.08);\n  border-left-color: #4d6fff;\n}\n"])</script><script>self.__next_f.push([1,"54:[\"$\",\"$L55\",null,{\"children\":[[\"$\",\"script\",null,{\"type\":\"application/ld+json\",\"dangerouslySetInnerHTML\":{\"__html\":\"$56\"}}],[[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"document.documentElement.setAttribute('data-page-mode', \\\"none\\\");\"}}],[\"$\",\"$L57\",null,{\"pageMetadata\":\"$31:props:pageMetadata\"}]],[\"$\",\"$L58\",null,{\"pageMetadata\":\"$31:props:pageMetadata\"}],[[\"$\",\"style\",\"0\",{\"data-custom-css-index\":0,\"data-custom-css-path\":\"styles.css\",\"dangerouslySetInnerHTML\":{\"__html\":\"$59\"}}]],\"$L5a\",\"$L5b\"]}]\n"])</script><script>self.__next_f.push([1,"5c:I[36098,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"CustomJsFiles\"]\n"])</script><script>self.__next_f.push([1,"60:I[530359,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"MDXContentController\"]\n"])</script><script>self.__next_f.push([1,"61:I[448287,[\"/mintlify-assets/_next/static/chunks/dbec6d618ca953dc.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/b664fc8bb1e7ab0d.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/adc25738f338aef0.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/a5edc6734daa1561.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/5cef6355575ab0a2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8f67bf095c00b60e.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/e4d69de8ddb9d80c.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/4127f9e533468a46.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/28168a9f128ca063.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/93547d7f17b78422.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/23bc28adc0570f79.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/eea398f2a77f0884.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d1e2d2b721e56bbf.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d619bd614f0bfd6b.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/94496c4479252ca1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/0eb894a8519f24ea.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/be7f34c551fcffd1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/0534993a51af00f5.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d9ca228e7af9807a.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/ac544a47bf6b23f1.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/d48636393ee0b554.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/1353a205bc2072e2.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\",\"/mintlify-assets/_next/static/chunks/8bb4281d16257889.js?dpl=dpl_3HLYFPUThDQT9pEnWB3n7vKA6JFC\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"5d:T5f2,"])</script><script>self.__next_f.push([1,"/**\n * This script is used when the Pinecone docs are embedded in the Pinecone Console.\n * \n * IMPORTANT: You must coordinate changes to this file with changes in Console's DocsDrawer component.\n*/\nconst DOCS_MESSAGE_TYPES = {\n  LOAD: \"pinecone-docs-load\",\n  UNLOAD: 'pinecone-docs-unload',\n  INIT: \"pinecone-docs-init\",\n  READY: \"pinecone-docs-ready\",\n  GET_URL: \"pinecone-docs-get-url\",\n  SEND_URL: \"pinecone-docs-send-url\",\n  SEARCH: 'pinecone-docs-search',\n};\n\nwindow.addEventListener(\"message\", (event) =\u003e {\n  switch (event.data.type) {\n    case DOCS_MESSAGE_TYPES.INIT:\n      init();\n      break;\n\n    case DOCS_MESSAGE_TYPES.GET_URL:\n      sendMessage(DOCS_MESSAGE_TYPES.SEND_URL, {\n        url: window.location.href,\n      });\n      break;\n\n    case DOCS_MESSAGE_TYPES.SEARCH:\n      const searchInput = document.querySelector(\"#search-bar-entry\");\n\n      if (searchInput) {\n        searchInput.dispatchEvent(new Event(\"click\", { bubbles: true }));\n      }\n      break;\n\n    default:\n      break;\n  }\n});\n\nwindow.self.addEventListener(\"load\", () =\u003e {\n  if (window.self !== window.top) {\n    sendMessage(DOCS_MESSAGE_TYPES.LOAD);\n  }\n});\n\nwindow.self.addEventListener(\"beforeunload\", () =\u003e {\n  if (window.self !== window.top) {\n    sendMessage(DOCS_MESSAGE_TYPES.UNLOAD);\n  }\n});\n\n\nfunction init() { \n  document.body.classList.add(\"pinecone-console-embed\");\n  sendMessage(DOCS_MESSAGE_TYPES.READY);\n};\n\nfunction sendMessage(type, data) {\n  parent.postMessage(\n    {\n      type,\n      ...data,\n    },\n    \"*\"\n  );\n}\n\n"])</script><script>self.__next_f.push([1,"5e:T732f,"])</script><script>self.__next_f.push([1,"\"use client\";\n\n// Handle theme\nconst theme = getCookie(\"pinecone_theme_mode\");\n\nif (theme === \"system\") {\n  window.matchMedia(\"(prefers-color-scheme: dark)\").matches\n    ? document.documentElement.classList.add(\"dark\")\n    : document.documentElement.classList.remove(\"dark\");\n} else if (theme === \"dark\") {\n  setTimeout(() =\u003e {\n    document.documentElement.classList.add(\"dark\");\n  }, 0);\n} else {\n  document.documentElement.classList.remove(\"dark\");\n}\n\nlet currentTheme = theme;\nconsole.log(\"Initial theme:\", currentTheme);\n\n// Add visibility change listener to detect theme changes when tab becomes active\ndocument.addEventListener(\"visibilitychange\", () =\u003e {\n  // Only check when tab becomes visible again\n  if (document.visibilityState === \"visible\") {\n    console.log(\"Tab became visible, checking theme\");\n    const newTheme = getCookie(\"pinecone_theme_mode\");\n    console.log(\"Current theme:\", currentTheme, \"New theme:\", newTheme);\n\n    // Only update if the theme actually changed\n    if (newTheme !== currentTheme) {\n      currentTheme = newTheme;\n\n      // First remove dark class regardless of the new theme\n      document.documentElement.classList.remove(\"dark\");\n\n      if (newTheme === \"dark\") {\n        document.documentElement.classList.add(\"dark\");\n      } else if (newTheme === \"system\") {\n        // Apply system preference\n        const systemPreference = window.matchMedia(\n          \"(prefers-color-scheme: dark)\"\n        ).matches;\n\n        if (systemPreference) {\n          document.documentElement.classList.add(\"dark\");\n        }\n      }\n      // If theme is light, we already removed the dark class above\n    }\n    // No theme change detected, no action needed\n  }\n});\n\n// Find mintlify dark mode button and replace with our own handler\nconst darkModeButton = document.querySelector(\n  'button[aria-label=\"Toggle dark mode\"]'\n);\nif (darkModeButton) {\n  const newButton = darkModeButton.cloneNode(true);\n  newButton.addEventListener(\"click\", function (event) {\n    toggleTheme();\n  });\n\n  darkModeButton.parentNode.replaceChild(newButton, darkModeButton);\n}\n\nfunction toggleTheme() {\n  const theme = getCookie(\"pinecone_theme_mode\");\n  if (theme === \"system\") {\n    window.matchMedia(\"(prefers-color-scheme: dark)\").matches\n      ? document.documentElement.classList.add(\"dark\")\n      : document.documentElement.classList.remove(\"dark\");\n    document.cookie =\n      \"pinecone_theme_mode=dark; path=/; max-age=31536000; SameSite=lax; domain=.pinecone.io;\";\n  } else if (theme === \"dark\") {\n    document.documentElement.classList.remove(\"dark\");\n    document.cookie =\n      \"pinecone_theme_mode=light; path=/; max-age=31536000; SameSite=lax; domain=.pinecone.io;\";\n  } else {\n    document.documentElement.classList.add(\"dark\");\n    document.cookie =\n      \"pinecone_theme_mode=dark; path=/; max-age=31536000; SameSite=lax; domain=.pinecone.io;\";\n  }\n\n  // Reload iframe after theme change\n  const currentPath = window.location.pathname;\n\n  if (currentPath.includes(\"/models/\")) {\n    const iframe = document.querySelector(\"#model-search-iframe\");\n\n    if (iframe) {\n      iframe.src = iframe.src;\n    }\n  }\n\n  if (currentPath.includes(\"/quickstart\") || currentPath.includes(\"/reference/api/authentication\")) {\n    const iframe = document.querySelector(\"#pinecone-connect-widget iframe\");\n\n    if (iframe) {\n      iframe.src = iframe.src;\n    }\n  }\n\n  if (currentPath.includes(\"/sample-apps\")) {\n    const iframes = document.querySelectorAll(\"#sample-app-iframe, #pinecone-connect-widget iframe\");\n\n    if (iframes.length \u003e 0) {\n      iframes.forEach((iframe) =\u003e {\n        iframe.src = iframe.src;\n      });\n    }\n  }\n}\n\nfunction getCookie(name) {\n  const cookieName = name + \"=\";\n  const cookies = document.cookie.split(\";\");\n\n  for (let i = 0; i \u003c cookies.length; i++) {\n    let cookie = cookies[i].trim();\n\n    if (cookie.indexOf(cookieName) === 0) {\n      return cookie.substring(cookieName.length, cookie.length);\n    }\n  }\n\n  return null;\n}\n\n// Handle anchor links after dynamic content loads\nconst anchorObserver = new MutationObserver((mutations) =\u003e {\n  if (window.location.hash) {\n    const target = document.querySelector(window.location.hash);\n    if (target) {\n      // Disconnect observer once we find our target\n      anchorObserver.disconnect();\n\n      // Small delay to ensure final layout is settled\n      setTimeout(() =\u003e {\n        target.scrollIntoView();\n        window.scrollBy(0, -120); // Adjust for fixed header\n      }, 100);\n    }\n  }\n});\n\n// Start observing document for content changes\nanchorObserver.observe(document.body, {\n  childList: true,\n  subtree: true,\n});\n\n// Insert skeleton loader immediately\nconst pineconeConnectWidget = document.getElementById(\n  \"pinecone-connect-widget\"\n);\nif (pineconeConnectWidget) {\n  pineconeConnectWidget.innerHTML = `\n    \u003cdiv class=\"connect-widget-skeleton\"\u003e\n      \u003cdiv class=\"skeleton-content\"\u003e\u003c/div\u003e\n    \u003c/div\u003e\n  `;\n}\n\nwindow.onload = function () { };\n\n\nconst pineconeConnectWidgetScript = document.createElement(\"script\");\ndocument.body.appendChild(pineconeConnectWidgetScript);\n\nfunction debounce(func, delay) {\n  let timerId;\n  return function (...args) {\n    clearTimeout(timerId);\n    timerId = setTimeout(() =\u003e {\n      func.apply(this, args);\n    }, delay);\n  };\n}\n\n// Find instances of {{YOUR_API_KEY}} in code blocks and replace them with a span\nconst prepareApiKeys = () =\u003e {\n  const codeElements = document.querySelectorAll(\n    \"code:not(.inline-flex.gap-2.items-center)\"\n  );\n\n  codeElements.forEach((el) =\u003e {\n    el.innerHTML = el.innerHTML.replace(\n      /{{YOUR_API_KEY}}/g,\n      `\u003cspan class=\"api-key\"\u003eYOUR_API_KEY\u003c/span\u003e`\n    );\n\n    // Handle cases where the curly braces are in a different span\n    const tokens = el.querySelectorAll(\"span span\");\n    const apiKeyTokens = Array.from(tokens).filter((token) =\u003e\n      token.innerHTML.includes(\"YOUR_API_KEY\")\n    );\n\n    apiKeyTokens.forEach((token) =\u003e {\n      if (\n        token.previousElementSibling \u0026\u0026\n        token.previousElementSibling.textContent === \"{{\" \u0026\u0026\n        token.nextElementSibling \u0026\u0026\n        token.nextElementSibling.textContent === \"}}\"\n      ) {\n        token.previousElementSibling.remove();\n        token.nextElementSibling.remove();\n        token.innerHTML = `\u003cspan class=\"api-key\"\u003eYOUR_API_KEY\u003c/span\u003e`;\n      }\n    });\n  });\n};\n\n// Set api keys inside codeblocks\nconst setApiKeys = () =\u003e {\n  prepareApiKeys();\n  const apiKey = sessionStorage.getItem(\"apiKey\");\n  const codeBlocks = document.querySelectorAll(\"div.mt-5.mb-8.not-prose\");\n\n  // Replace the copy function in each code block so that it works with the added API keys\n  codeBlocks.forEach((codeBlock) =\u003e {\n    const copyButton = codeBlock.querySelector(\n      'button[data-testid=\"copy-code-button\"]'\n    );\n    const clonedElement = copyButton.cloneNode(true);\n    copyButton.parentNode.replaceChild(clonedElement, copyButton);\n\n    clonedElement.addEventListener(\"click\", () =\u003e {\n      const codeElement = codeBlock.querySelector(\"code\");\n      navigator.clipboard.writeText(codeElement.textContent);\n\n      const statusElement = clonedElement.nextElementSibling;\n\n      statusElement.textContent = \"Copied!\";\n      clonedElement.innerHTML = `\u003csvg class=\"fill-primary-light\" width=\"16\" height=\"11\" viewBox=\"0 0 16 11\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\u003e\u003cpath d=\"M14.7813 1.21873C15.0751 1.51248 15.0751 1.98748 14.7813 2.2781L6.53135 10.5312C6.2376 10.825 5.7626 10.825 5.47197 10.5312L1.21885 6.28123C0.925098 5.98748 0.925098 5.51248 1.21885 5.22185C1.5126 4.93123 1.9876 4.9281 2.27822 5.22185L5.99697 8.9406L13.7188 1.21873C14.0126 0.924976 14.4876 0.924976 14.7782 1.21873H14.7813Z\"\u003e\u003c/path\u003e\u003c/svg\u003e`;\n\n      setTimeout(() =\u003e {\n        statusElement.textContent = \"Copy\";\n        clonedElement.innerHTML = `\u003csvg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" class=\"w-4 h-4 text-gray-400 group-hover/copy-button:text-gray-500 dark:text-white/40 dark:group-hover/copy-button:text-white/60\"\u003e\u003cpath 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\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\u003e\u003c/path\u003e\u003cpath 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\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\u003e\u003c/path\u003e\u003c/svg\u003e`;\n      }, 2000);\n    });\n  });\n\n  if (apiKey) {\n    const apiKeys = document.querySelectorAll(\".api-key\");\n    apiKeys.forEach((el) =\u003e {\n      el.innerHTML = apiKey;\n      el.classList.add(\"set\");\n    });\n\n    // Add remove api key button\n    // Remove previous button to prevent duplicates\n    const removeButton = document.querySelector(\".remove-api-key\");\n    if (removeButton) {\n      removeButton.remove();\n    }\n\n    const widgetContainer = document.getElementById(\"pinecone-connect-widget\");\n\n    const div = document.createElement(\"div\");\n    div.classList.add(\"remove-api-key\");\n    const button = document.createElement(\"button\");\n    button.textContent = \"Remove API Key from guide\";\n    button.addEventListener(\"click\", () =\u003e {\n      sessionStorage.removeItem(\"apiKey\");\n      widgetContainer.innerHTML = \"\";\n      div.remove();\n      loadConnectWidget();\n\n      const setApiKeyElements = document.querySelectorAll(\".api-key.set\");\n      setApiKeyElements.forEach((el) =\u003e {\n        el.innerHTML = \"YOUR_API_KEY\";\n        el.classList.remove(\"set\");\n      });\n    });\n\n    div.appendChild(button);\n    widgetContainer.insertAdjacentElement(\"afterend\", div);\n  }\n};\n\nconst debouncedSetApiKeys = debounce(() =\u003e {\n  setApiKeys();\n}, 1000);\n\n// Function to re-set the API keys after codeblock language changes\nconst refreshApiKeys = () =\u003e {\n  try {\n    prepareApiKeys();\n    const apiKey = sessionStorage.getItem(\"apiKey\");\n    if (!apiKey) return;\n\n    const apiKeys = document.querySelectorAll(\".api-key:not(.set)\");\n    if (apiKeys.length \u003e 0) {\n      apiKeys.forEach((el) =\u003e {\n        el.innerHTML = apiKey;\n        el.classList.add(\"set\");\n      });\n    }\n  } catch (error) {\n    console.error(\"Error refreshing API keys:\", error);\n  }\n};\n\nconst debouncedRefreshApiKeys = debounce(() =\u003e {\n  refreshApiKeys();\n}, 1000);\n\nconst loadConnectWidget = () =\u003e {\n  const apiKey = sessionStorage.getItem(\"apiKey\");\n  const widgetContainer = document.getElementById(\"pinecone-connect-widget\");\n\n  if (!apiKey) {\n    import(\"https://connect.pinecone.io/embed.js\")\n      .then(() =\u003e {\n        try {\n          console.log(\"Trying to initialize connectToPinecone\");\n\n          // Clear the skeleton loader before initializing the widget\n          widgetContainer.innerHTML = \"\";\n\n          let integrationId = \"docs\"; // default\n          const currentPath = window.location.pathname;\n\n          if (currentPath === \"/guides/get-started/quickstart\") {\n            integrationId = \"db-quickstart\";\n          } else if (currentPath.startsWith(\"/guides/assistant/quickstart/\")) {\n            integrationId = \"assistant-quickstart\";\n          }\n\n          window.connectToPinecone(\n            (apiKey) =\u003e {\n              console.log(apiKey);\n              sessionStorage.setItem(\"apiKey\", apiKey);\n              setApiKeys();\n            },\n            {\n              integrationId,\n              container: widgetContainer,\n            }\n          );\n        } catch (error) {\n          console.error(\"Error initializing Pinecone widget:\", error);\n        }\n      })\n      .catch((error) =\u003e {\n        console.error(\"Error importing embed.js:\", error);\n      });\n  } else {\n    widgetContainer.innerHTML = `\n      \u003cdiv class=\"pinecone-connect-connected\"\u003e\n        \u003cimg src=\"https://www.pinecone.io/images/Pinecone-Logo-Black.png\" width=\"180\" height=\"auto\" alt=\"Pinecone\" style=\"object-fit: contain;\"\u003e\n        \u003cdiv style=\"font-size:14px\"\u003e\n          \u003cp\u003eYou're all set! An API key has been generated and provided to Pinecone Docs.\u003c/p\u003e\n          \u003cp\u003eYou can manage your API keys in the \u003ca href=\"https://app.pinecone.io\" target=\"_blank\"\u003ePinecone console\u003c/a\u003e.\u003c/p\u003e\n        \u003c/div\u003e\n      \u003c/div\u003e\n    `;\n  }\n};\n\nconst debouncedLoadConnectWidget = debounce(() =\u003e {\n  try {\n    loadConnectWidget();\n  } catch (error) {\n    console.error(\"Error loading connect widget:\", error);\n  }\n}, 1000);\n\nfunction addRelatedArticles(titles, links) {\n  const existing = document.querySelector(\"#related-articles\");\n  if (existing) return;\n\n  const sidebar = document.querySelector(\"#table-of-contents\");\n  const relatedArticles = document.createElement(\"div\");\n  relatedArticles.id = \"related-articles\";\n\n  const title = document.createElement(\"h2\");\n  title.textContent = \"Related Articles\";\n  relatedArticles.appendChild(title);\n\n  titles.forEach((title, index) =\u003e {\n    const relatedArticle = document.createElement(\"a\");\n    relatedArticle.href = links[index];\n    relatedArticle.textContent = title;\n    relatedArticle.insertAdjacentHTML(\n      \"beforeend\",\n      '\u003csvg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\u003e\u003cg id=\"ChevronRightFilled\"\u003e\u003cpath id=\"Vector\" d=\"M9.70492 6L8.29492 7.41L12.8749 12L8.29492 16.59L9.70492 18L15.7049 12L9.70492 6Z\" fill=\"#1B17F5\"/\u003e\u003c/g\u003e\u003c/svg\u003e'\n    );\n    relatedArticles.appendChild(relatedArticle);\n  });\n\n  sidebar.appendChild(relatedArticles);\n}\n\nconst relatedArticles = {\n  airbyte: {\n    titles: [\n      \"Data Sync and Search: Pinecone and Airbyte\",\n      \"Introduction to Airbyte and the Pinecone connector\",\n      \"Postgres to Pinecone Syncing\",\n    ],\n    links: [\n      \"https://www.pinecone.io/learn/series/airbyte/\",\n      \"https://www.pinecone.io/learn/series/airbyte/airbyte-and-pinecone-intro/\",\n      \"https://www.pinecone.io/learn/series/airbyte/airbyte-postgres-to-pinecone/\",\n    ],\n  },\n\n  bedrock: {\n    titles: [\"Pinecone as a Knowledge Base for Amazon Bedrock\"],\n    links: [\"https://www.pinecone.io/blog/amazon-bedrock-integration/\"],\n  },\n\n  sagemaker: {\n    titles: [\n      \"Mitigate hallucinations through Retrieval Augmented Generation using Pinecone vector database \u0026 Llama-2 from Amazon SageMaker JumpStart\",\n    ],\n    links: [\n      \"https://aws.amazon.com/blogs/machine-learning/mitigate-hallucinations-through-retrieval-augmented-generation-using-pinecone-vector-database-llama-2-from-amazon-sagemaker-jumpstart/\",\n    ],\n  },\n\n  langchain: {\n    titles: [\"LangChain AI Handbook\"],\n    links: [\"https://www.pinecone.io/learn/series/langchain/\"],\n  },\n\n  openai: {\n    titles: [\n      \"Generative Question-Answering with Long-Term Memory\",\n      \"OpenAI's Text Embeddings v3\",\n    ],\n    links: [\n      \"https://www.pinecone.io/learn/openai-gen-qa/\",\n      \"https://www.pinecone.io/learn/openai-embeddings-v3/\",\n    ],\n  },\n\n  snowflake: {\n    titles: [\n      \"Snowpark Container Services: Securely Deploy and run Sophisticated Generative AI and full-stack apps in Snowflake\",\n    ],\n    links: [\n      \"https://www.snowflake.com/blog/snowpark-container-services-deploy-genai-full-stack-apps/\",\n    ],\n  },\n};\n\nlet isScrollListenerAdded = false;\nlet scrollListener = null;\n\n// Mutation observer to handle page changes\nconst observer = new MutationObserver(function (mutations) {\n  mutations.forEach(function (mutation) {\n    if (mutation.type === \"childList\") {\n      try {\n        // Pinecone connect widget\n        const pineconeConnectWidget = document.querySelector(\n          \"#pinecone-connect-widget\"\n        );\n        if (\n          pineconeConnectWidget \u0026\u0026\n          !pineconeConnectWidget.classList.contains(\"loaded\")\n        ) {\n          debouncedLoadConnectWidget();\n          pineconeConnectWidget.classList.add(\"loaded\");\n        }\n\n        // console.log(\"mutation\")\n\n        if (\n          pineconeConnectWidget \u0026\u0026\n          !pineconeConnectWidget.classList.contains(\"apiKeysSet\")\n        ) {\n          debouncedSetApiKeys();\n          pineconeConnectWidget.classList.add(\"apiKeysSet\");\n        }\n\n        const [path, page, page2] = window.location.pathname\n          .split(\"/\")\n          .slice(1);\n\n        var contentContainer = document.querySelector(\"#content-container\");\n        var contentArea = document.querySelector(\"#content-area\");\n\n        //** Model Gallery **/\n        if (path !== \"models\") {\n          const sidebar = document.querySelector(\"#sidebar\");\n          if (sidebar) sidebar.style.display = \"\";\n          if (contentContainer) contentContainer.style.paddingLeft = \"\";\n        } else {\n          const sidebar = document.querySelector(\"#sidebar\");\n          if (sidebar) sidebar.style.display = \"none\";\n          const rightSidebar = document.querySelector(\"#content-side-layout\");\n          if (rightSidebar) rightSidebar.style.display = \"none\";\n          if (contentContainer) contentContainer.style.paddingLeft = \"0px\";\n          if (contentArea) contentArea.style.paddingLeft = \"0px\";\n          if (contentArea) contentArea.style.marginLeft = \"12px\";\n          const header = document.querySelector(\"#header\");\n          if (header) header.remove();\n          const tableOfContents = document.querySelector(\"#table-of-contents\");\n          if (tableOfContents) tableOfContents.remove();\n        }\n\n        //** References **/\n\n        // On /reference/api/database-limits, only show h2 headings in TOC (hide h3 and h4)\n        if (\n          path === \"reference\" \u0026\u0026\n          page === \"api\" \u0026\u0026\n          page2 === \"database-limits\"\n        ) {\n          document.querySelectorAll('li.toc-item[data-depth=\"1\"], li.toc-item[data-depth=\"2\"]').forEach((li) =\u003e {\n            li.style.display = \"none\";\n          });\n        }\n\n        // Hide toc items with class 'toc-item relevant' and data-depth=\"2\" on /guides/manage-cost/understanding-cost page\n        if (\n          path === \"guides\" \u0026\u0026\n          page === \"manage-cost\" \u0026\u0026\n          page2 === \"understanding-cost\"\n        ) {\n          document.querySelectorAll('li.toc-item[data-depth=\"2\"]').forEach((li) =\u003e {\n            li.style.display = \"none\";\n          });\n        }\n\n        //** Integrations **/\n\n        if (path === \"integrations\" \u0026\u0026 page === \"overview\") {\n          const toc = document.querySelector(\"#table-of-contents\");\n          if (toc) toc.style.display = \"none\";\n\n          const sidebar = document.querySelector(\"#content-side-layout\");\n          if (sidebar) sidebar.style.display = \"none\";\n        } else {\n          // Set sample apps side nav link to active for all sample apps\n          if (page === \"sample-apps\") {\n            const aElement = document.querySelector(\n              'a[href=\"/examples/sample-apps\"]'\n            );\n            if (aElement) {\n              aElement.className =\n                \"group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 rounded-lg focus:outline-primary dark:focus:outline-primary-light bg-primary/10 text-primary font-semibold dark:text-primary-light dark:bg-primary-light/10\";\n            }\n          } else if (page === \"notebooks\") {\n            const aElement = document.querySelector(\n              'li \u003e a[href=\"/examples/sample-apps\"]'\n            );\n            if (aElement) {\n              aElement.className =\n                \"group mt-2 lg:mt-0 flex items-center pr-3 py-1.5 rounded-lg focus:outline-primary dark:focus:outline-primary-light 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\";\n            }\n          }\n          if (path === \"integrations\" \u0026\u0026 page !== \"overview\") {\n            // Insert back button\n            const backButton = document.querySelector(\"#back-button\");\n            if (!backButton) {\n              const link = document.createElement(\"a\");\n              link.id = \"back-button\";\n              link.href = \"/integrations/overview\";\n              link.textContent = \"Back to Integrations\";\n              link.insertAdjacentHTML(\n                \"afterbegin\",\n                '\u003csvg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"17\" viewBox=\"0 0 16 17\" fill=\"none\"\u003e\u003cpath d=\"M10.4693 5.44L9.5293 4.5L5.5293 8.5L9.5293 12.5L10.4693 11.56L7.41596 8.5L10.4693 5.44Z\" fill=\"var(--brand-blue)\"/\u003e\u003c/svg\u003e'\n              );\n\n              const header = document.querySelector(\"#header\");\n              header.insertAdjacentElement(\"afterbegin\", link);\n            }\n\n            // Add related articles\n            switch (\n            page /* Hide related articles for now\n            case \"airbyte\":\n              addRelatedArticles(\n                relatedArticles.airbyte.titles,\n                relatedArticles.airbyte.links\n              );\n              break;\n              airbyte;\n            case \"amazon-bedrock\":\n              addRelatedArticles(\n                relatedArticles.bedrock.titles,\n                relatedArticles.bedrock.links\n              );\n              break;\n            case \"amazon-sagemaker\":\n              addRelatedArticles(\n                relatedArticles.sagemaker.titles,\n                relatedArticles.sagemaker.links\n              );\n              break;\n            case \"langchain\":\n              addRelatedArticles(\n                relatedArticles.langchain.titles,\n                relatedArticles.langchain.links\n              );\n              break;\n            case \"openai\":\n              addRelatedArticles(\n                relatedArticles.openai.titles,\n                relatedArticles.openai.links\n              );\n              break;\n            case \"snowflake\":\n              addRelatedArticles(relatedArticles.snowflake.titles, relatedArticles.snowflake.links)\n              break; */\n            ) {\n              default:\n                break;\n            }\n          }\n\n          // Sample apps\n          if (page === \"sample-apps\" \u0026\u0026 !!page2) {\n            const header = document.querySelector(\"#header\");\n            if (header) header.style.display = \"none\";\n\n            const toc = document.querySelector(\"#table-of-contents\");\n            if (toc) toc.style.display = \"none\";\n\n            const contentArea = document.querySelector(\n              \"#content-area \u003e div.mt-8\"\n            );\n            contentArea.style.marginTop = \"0\";\n\n            // Create toc\n            document.querySelectorAll(\".sample-app-split\").forEach((div) =\u003e {\n              const toc = div.querySelector(\".toc\");\n              const content = div.querySelector(\".content\");\n              const existing = div.querySelector(\".toc-list\");\n\n              if (toc \u0026\u0026 content \u0026\u0026 !existing) {\n                const tocList = document.createElement(\"div\");\n                tocList.className = \"toc-list\";\n\n                const headers = content.querySelectorAll(\n                  \"h2, h3, .connect-with-pinecone\"\n                );\n\n                headers.forEach((header) =\u003e {\n                  // If connect btn, clone it and append\n                  if (header.classList.contains(\"connect-with-pinecone\")) {\n                    const cloned = header.cloneNode(true);\n                    tocList.appendChild(cloned);\n                    return;\n                  }\n                  // Slugify heading text and create id\n                  const slugify = (text) =\u003e\n                    text\n                      .toLowerCase()\n                      .replace(/[^a-z0-9]+/g, \"-\")\n                      .replace(/^-|-$/g, \"\");\n                  const id = slugify(header.textContent);\n                  header.id = id; // Set ID on the header using the slugified text\n\n                  // Create an anchor link and append it to the TOC\n                  const anchor = document.createElement(\"a\");\n                  anchor.href = `#${id}`;\n                  anchor.textContent = header.textContent;\n                  anchor.className = header.tagName === \"H2\" ? \"bold\" : \"\";\n\n                  tocList.appendChild(anchor);\n                });\n\n                toc.appendChild(tocList);\n\n                const initialTopOffset =\n                  tocList.getBoundingClientRect().top + window.scrollY - 148;\n                const stickySidebar = () =\u003e {\n                  if (window.innerWidth \u003e 1280) {\n                    if (window.scrollY \u003e= initialTopOffset) {\n                      tocList.style.position = \"fixed\";\n                      tocList.style.top = \"148px\";\n                    } else {\n                      tocList.style.position = \"relative\";\n                      tocList.style.top = \"\";\n                    }\n                  } else {\n                    tocList.style.position = \"relative\";\n                    tocList.style.top = \"\";\n                  }\n                };\n\n                stickySidebar();\n                window.addEventListener(\"scroll\", stickySidebar);\n                window.addEventListener(\"resize\", stickySidebar);\n              }\n            });\n          }\n\n          // Notebooks\n          if (\n            path === \"examples\" \u0026\u0026\n            (page === \"notebooks\" ||\n              page === \"sample-apps\" ||\n              page == \"reference-architectures\")\n          ) {\n            const toc = document.querySelector(\"#table-of-contents\");\n            if (toc) toc.style.display = \"none\";\n\n            const sidebar = document.querySelector(\"#content-side-layout\");\n            if (sidebar) sidebar.style.display = \"none\";\n\n            const heading = document.querySelector(\"#header h1\");\n            if (heading) heading.style.fontSize = \"1.5rem\";\n          }\n        }\n\n        // Detect when codeblock languages change and rerun the function to replace API keys\n        if (mutation.target.dataset.componentPart === \"code-block-root\") {\n          debouncedRefreshApiKeys();\n        }\n      } catch (error) {\n        console.error(\"Error handling mutation:\", error);\n      }\n    }\n  });\n});\n\nobserver.observe(document.body, { childList: true, subtree: true });\n\n// Replace the header cta button since replacing the svg via css ::after is not working\nwindow.addEventListener(\"load\", () =\u003e {\n  const ctaButton = document.querySelector(\"#topbar-cta-button\");\n\n  if (ctaButton) {\n    ctaButton.innerHTML = \"\";\n    const a = document.createElement(\"a\");\n    a.href = \"https://app.pinecone.io/?sessionType=signup\";\n    a.target = \"_blank\";\n    a.textContent = \"Sign up free\";\n\n    const svg =\n      '\u003csvg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"\u003e\u003cpath d=\"M8.08906 5L6.91406 6.175L10.7307 10L6.91406 13.825L8.08906 15L13.0891 10L8.08906 5Z\" fill=\"white\"/\u003e\u003c/svg\u003e';\n\n    a.insertAdjacentHTML(\"beforeend\", svg);\n    ctaButton.appendChild(a);\n  }\n  localStorage.setItem(\"isDarkMode\", \"false\");\n  const [path, page, page2] = window.location.pathname.split(\"/\").slice(1);\n  if (path !== \"reference\") {\n    // Remove version picker from home page on load\n    const versionToggle = document.getElementById(\n      \"headlessui-menu-button-:r0:\"\n    );\n    if (versionToggle) {\n      versionToggle.style.visibility = \"hidden\";\n    }\n  }\n});\n// Model Carousel\ndocument.addEventListener(\"DOMContentLoaded\", () =\u003e {\n  const carousel = document.getElementById(\"modelCarousel\");\n  const prevButton = document.getElementById(\"prevButton\");\n  const nextButton = document.getElementById(\"nextButton\");\n\n  if (!carousel || !prevButton || !nextButton) return;\n\n  const handleScroll = (direction) =\u003e {\n    const cardWidth = carousel.offsetWidth / 3;\n    carousel.scrollBy({\n      left: direction * cardWidth,\n      behavior: \"smooth\",\n    });\n  };\n\n  prevButton.addEventListener(\"click\", (e) =\u003e {\n    e.preventDefault();\n    handleScroll(-1);\n  });\n\n  nextButton.addEventListener(\"click\", (e) =\u003e {\n    e.preventDefault();\n    handleScroll(1);\n  });\n});\n\n// Fix for Radix popper content wrapper used in page context menu\nconst fixRadixPoppers = () =\u003e {\n  // Handle page context menu popper elements that appear in the DOM\n  new MutationObserver((mutations) =\u003e {\n    document\n      .querySelectorAll(\"[data-radix-popper-content-wrapper]\")\n      .forEach((el) =\u003e {\n        // Check if this is the page context menu by looking for specific identifiers\n        const menuContent = el.querySelector(\"[data-radix-menu-content]\");\n        // Only target the specific page context menu with the copy/markdown/ChatGPT/Claude options\n        if (\n          menuContent \u0026\u0026\n          (menuContent.textContent.includes(\"Copy page\") ||\n            menuContent.textContent.includes(\"View as Markdown\") ||\n            menuContent.textContent.includes(\"Open in ChatGPT\") ||\n            menuContent.textContent.includes(\"Open in Claude\"))\n        ) {\n          // Unset the min-width style for the page context menu\n          el.style.minWidth = \"\";\n          el.style.zIndex = \"10\";\n        }\n      });\n  }).observe(document, { childList: true, subtree: true });\n\n  // Also check for existing page context menu elements\n  document\n    .querySelectorAll(\"[data-radix-popper-content-wrapper]\")\n    .forEach((el) =\u003e {\n      const menuContent = el.querySelector(\"[data-radix-menu-content]\");\n      // Only target the specific page context menu with the copy/markdown/ChatGPT/Claude options\n      if (\n        menuContent \u0026\u0026\n        (menuContent.textContent.includes(\"Copy page\") ||\n          menuContent.textContent.includes(\"View as Markdown\") ||\n          menuContent.textContent.includes(\"Open in ChatGPT\") ||\n          menuContent.textContent.includes(\"Open in Claude\"))\n      ) {\n        el.style.minWidth = \"\";\n        el.style.zIndex = \"10\";\n      }\n    });\n};\n// End of Selection"])</script><script>self.__next_f.push([1,"5f:T3359,"])</script><script>self.__next_f.push([1,"const styles = `\n.ikp-ai-chat-wrapper {\n  border-radius: 0.5rem;\n}\n\n.ikp-ai-chat-wrapper \u003e :first-child {\n  border-radius: inherit;\n}\n\n.ikp-ai-chat-input__fieldset {\n  box-shadow: none;\n  border: 1px solid var(--ikp-color-gray-200);\n  background: transparent;\n}\n\n[data-theme=\"dark\"] .ikp-ai-chat-input__fieldset {\n  border-color: var(--ikp-color-gray-dark-700);\n  background: transparent;\n}\n\n/* for the logo version */\n\n.ikp-ai-chat-tagline__container, .ikp-ai-search-tagline__container {\n  align-items: center;\n  position: relative;\n}\n\n.ikp-ai-chat-tagline__text, .ikp-ai-search-tagline__text {\n  visibility: hidden;\n  width: 20px;\n  color: var(--ikp-color-gray-600);\n}\n\n.ikp-ai-chat-tagline__text:before, .ikp-ai-search-tagline__text:before {\n  content: 'By';\n  font-weight: normal;\n  visibility: visible;\n}\n\n.ikp-ai-chat-tagline__container:after, .ikp-ai-search-tagline__container:after {\n  content: '';\n  margin-left: 1.35rem;\n  width: 80px;\n  height: 16px;\n  background: url(\"https://storage.googleapis.com/customer-imgs/pinecone-gray.svg\");\n  background-size: cover;\n  background-position: center;\n  background-repeat: no-repeat;\n}\n\n.ikp-ai-chat-tagline__container:before, .ikp-ai-search-tagline__container:before {\n  content: '\u0026';\n  position: absolute;\n  right: 80px;\n  color: #8d8c87;\n  margin-left: 0.35rem;\n  margin-right: 0.35rem;\n  font-size: 0.875rem;\n  font-weight: 600;\n  transform: translateY(-50%);\n  top: 50%;\n}\n\n[data-theme='dark'] .ikp-ai-chat-tagline__container:before, [data-theme='dark'] .ikp-ai-search-tagline__container:before {\n  color: #ffffff7a;\n}\n\n[data-theme='dark'] .ikp-ai-chat-tagline__container:after, [data-theme='dark'] .ikp-ai-search-tagline__container:after {\n  background: url(\"https://storage.googleapis.com/customer-imgs/pinecone-logo-white.svg\");\n  background-size: cover;\n  background-position: center;\n  background-repeat: no-repeat;\n}\n\n\n.ikp-ai-chat-wrapper, #inkeep-widget-root, .ikp-ai-chat-header, .ikp-ai-chat-footer, .ikp-ai-search-wrapper {\n  background-color: var(--paper) !important;\n}\n\n.ikp-icon {\n  color: var(--brand-blue) !important;\n}\n\n.ikp-markdown-code {\n  background-color: rgba(0, 0, 0, 0.06) !important;\n  color: inherit !important;\n  padding: 0.1em 0.3em !important;\n  border-radius: 3px !important;\n}\n\n[data-theme=\"dark\"] .ikp-markdown-code {\n  background-color: rgba(255, 255, 255, 0.1) !important;\n}\n\n.ikp-ai-search-results__item {\n  border-color: var(--border) !important;\n}\n\n.ikp-ai-chat-footer::before, .ikp-ai-chat-header::after {\n  background: none !important;\n}\n\n.ikp-ai-chat-message-avatar-content \u003e svg {\n  color: var(--text-primary) !important;\n}\n\n.ikp-ai-chat-input__fieldset {\n  border-radius: 0px !important;\n}`\n\n\nconst escalationSchema = {\n  type: \"object\",\n  description: \"Schema describing the answer confidence classification and its explanation.\",\n  \"properties\": {\n    \"explanation\": {\n      \"type\": \"string\",\n      \"description\": \"A brief few word justification of why a specific confidence level was chosen.\"\n    },\n    \"answerConfidence\": {\n      \"type\": \"string\",\n      \"description\": \"A measure of how confidently the AI Assistant completely and directly answered the User Question.\",\n      \"oneOf\": [\n        {\n          \"const\": \"very_confident\",\n          \"description\": \"The AI Assistant provided a complete and direct answer to all parts of the User Question. The answer fully resolved the issue without requiring any further action from the User. Every part of the answer was cited from the information sources. The assistant did not ask for more information or provide options requiring User action. This is the highest Answer Confidence level and should be used sparingly.\"\n        },\n        {\n          \"const\": \"somewhat_confident\",\n          \"description\": \"The AI Assistant provided a complete and direct answer to the User Question, but the answer contained minor caveats or uncertainties. Examples include asking follow-up questions, requesting additional information, suggesting uncertainty, or mentioning potential exceptions.\"\n        },\n        {\n          \"const\": \"not_confident\",\n          \"description\": \"The AI Assistant tried to answer the User Question but did not fully resolve it. The assistant provided options requiring further action from the User, asked for more information, showed uncertainty, suggested contacting support, or provided an indirect or incomplete answer.\"\n        },\n        {\n          \"const\": \"no_sources\",\n          \"description\": \"The AI Assistant did not use or cite any sources from the information sources to answer the User Question.\"\n        },\n        {\n          \"const\": \"other\",\n          \"description\": \"The User Question is unclear or unrelated to the subject matter.\"\n        }\n      ]\n    }\n  },\n  \"required\": [\"answerConfidence\", \"explanation\"],\n  \"additionalProperties\": false\n}\n\nfunction loadScript(url, callback) {\n  const script = document.createElement(\"script\");\n  script.src = url;\n  script.type = \"text/javascript\";\n  script.onload = callback;\n  document.head.appendChild(script);\n}\n\nloadScript(\n  \"https://cdn.jsdelivr.net/npm/@inkeep/cxkit-mintlify@0.5/dist/index.js\",\n  () =\u003e {\n    const supportFormConfig = {\n      heading: \"Contact support\",\n      successView: {\n        heading: \"Submission successful\",\n        message:\n          \"To view your open tickets, go to the Support page on the Pinecone console.\",\n      },\n      fields: [\n        {\n          label: \"Email (associated with Pinecone account)\",\n          name: \"email\",\n          inputType: \"email\",\n          isRequired: true,\n        },\n        {\n          label: \"Subject\",\n          name: \"subject\",\n          inputType: \"text\",\n          isRequired: true,\n        },\n\n        {\n          _type: 'include_chat_session',\n          defaultValue: true,\n          label: 'Include chat history',\n          name: 'include_chat_session',\n        },\n        {\n          label: \"Additional details\",\n          name: \"additional_details\",\n          inputType: \"textarea\",\n        },\n      ],\n      buttons: {\n        submit: {\n          onSubmit: async ({ values, conversation }) =\u003e {\n            const { subject, email, additional_details } = values;\n            const formData = new FormData();\n            formData.append(\"subject\", subject);\n            formData.append(\"email\", email);\n            formData.append(\"additional_details\", additional_details);\n            formData.append(\"chatbot_source\", \"docs\");\n\n            if (conversation) {\n              formData.append(\"chatSession\", JSON.stringify(conversation));\n            }\n\n            try {\n              await fetch(\"https://www.pinecone.io/api/submitTicket\", {\n                method: \"POST\",\n                body: formData,\n                mode: \"no-cors\",\n              });\n              return { success: true };\n            } catch (error) {\n              console.error(\"Error submitting support form:\", error);\n              return { success: false };\n            }\n          },\n        }\n      }\n    };\n    // Customization settings\n    const settings = {\n      baseSettings: {\n        //  PROD key (as recommended by Inkeep)\n        apiKey: \"aaecfcf1b69e03895ee83831eb78d000d6a1c5d14b83d91c\", \n        primaryBrandColor: \"#1c17ff\",\n        theme: {\n          styles: [\n            // {\n            //   key: \"pinecone-stylesheet\",\n            //   type: \"link\",\n            //   value: \"https://www.pinecone.io/customerStylesheets/pinecone.css\",\n            // },\n            {\n              key: \"pinecone-stylesheet\",\n              type: \"style\",\n              value: styles,\n            },\n          ],\n          primaryColors: {\n            textColorOnPrimary: \"white\",\n          },\n          colors: {\n            gray: {\n              50: \"rgb(242 243 251)\",\n              100: \"rgb(236 237 246)\",\n              200: \"rgb(223 225 236)\",\n              300: \"rgb(203 207 220)\",\n              400: \"rgb(152 159 177)\",\n              500: \"rgb(105 111 132)\",\n              600: \"rgb(74 83 104)\",\n              700: \"rgb(54 64 86)\",\n              800: \"rgb(31 40 61)\",\n              900: \"rgb(17 24 46)\",\n            },\n          },\n        },\n\n        transformSource: source =\u003e {\n          const urlPatterns = {\n            docs: 'docs.pinecone.io',\n            learn: 'www.pinecone.io/learn',\n            blog: 'www.pinecone.io/blog',\n            home: 'pinecone.io',\n          }\n\n          const tabConfig = {\n            [urlPatterns.docs]: {\n              getBreadcrumbs: (crumbs) =\u003e ['Docs', ...crumbs.slice(1)],\n              tab: 'Docs',\n            },\n            [urlPatterns.learn]: {\n              getBreadcrumbs: (crumbs) =\u003e ['Learn', ...crumbs.slice(1)],\n              icon: 'IoBookOutline',\n              tab: 'Learn',\n            },\n            [urlPatterns.blog]: {\n              getBreadcrumbs: (crumbs) =\u003e ['Blog', ...crumbs.slice(1)],\n              icon: 'IoPencilOutline',\n              tab: 'Blog',\n            },\n\n            [urlPatterns.home]: {\n              getBreadcrumbs: (crumbs) =\u003e ['Home', ...crumbs.slice(1)],\n              icon: 'IoHomeOutline',\n              tab: 'Home',\n            },\n          };\n\n          // Find matching config based on URL\n          const matchingPattern = Object.keys(tabConfig).find(pattern =\u003e source.url.includes(pattern));\n          const config = matchingPattern ? tabConfig[matchingPattern] : null;\n\n          if (!config) {\n            return source;\n          }\n\n          const breadcrumbs = config.getBreadcrumbs(source.breadcrumbs);\n          const existingTabs = source.tabs ?? [];\n\n          // Check if tab already exists\n          const tabExists = existingTabs.some(existingTab =\u003e\n            typeof existingTab === 'string'\n              ? existingTab === config.tab\n              : Array.isArray(existingTab) \u0026\u0026 existingTab[0] === config.tab,\n          );\n\n          const tabs = tabExists\n            ? existingTabs\n            : [\n              ...existingTabs,\n              [config.tab, { breadcrumbs: breadcrumbs[0] === config.tab ? breadcrumbs.slice(1) : breadcrumbs }],\n            ];\n\n          return {\n            ...source,\n            breadcrumbs,\n            icon: { builtIn: config.icon },\n            tabs,\n          };\n        },\n      },\n      aiChatSettings: {\n        chatSubjectName: \"Pinecone\",\n        aiAssistantAvatar: {\n          light: \"https://storage.googleapis.com/organization-image-assets/pinecone-botAvatarSrcUrl-1707422859519.svg\",\n          dark: \"https://storage.googleapis.com/organization-image-assets/pinecone-botAvatarDarkSrcUrl-1707422858768.svg\",\n        },\n        getHelpOptions: [\n          {\n            name: \"Community\",\n            action: {\n              type: 'open_link',\n              url: \"https://community.pinecone.io/\",\n            },\n            icon: {\n              builtIn: \"IoPeopleOutline\",\n            },\n          },\n          {\n            name: \"Support Center\",\n            action: {\n              type: 'open_link',\n              url: \"https://app.pinecone.io/organizations/-/settings/support\",\n            },\n            icon: {\n              builtIn: \"IoHelpBuoyOutline\",\n            },\n          },\n          {\n            name: \"Create Support Ticket\",\n            action: {\n              type: 'open_form',\n              formSettings: supportFormConfig,\n            },\n            icon: {\n              builtIn: \"info\",\n            },\n          },\n        ],\n        exampleQuestions: [\n          \"What are the benefits of serverless?\",\n          \"How do I do a dense and sparse search?\",\n          \"What are the primary ways to minimize latency?\",\n        ],\n        getTools: () =\u003e {\n          return [\n            {\n              type: 'function',\n              function: {\n                name: 'answerConfidence',\n                description: \"Determine how confident the AI assistant was and whether or not to escalate to humans.\",\n\n                parameters: escalationSchema,\n              },\n              renderMessageButtons: ({ args }) =\u003e {\n                const confidence = args?.answerConfidence;\n                // if the answer confidence is not very confident, show a button that will open the support form\n                if ([\"not_confident\", \"no_sources\", \"other\"].includes(confidence)) {\n                  const action = {\n                    label: 'Contact Support',\n                    icon: { builtIn: 'LuUsers' },\n                    action: {\n                      type: 'open_form',\n                      formSettings: supportFormConfig,\n                    },\n                  }\n                  return [action]\n                }\n                return []\n              },\n            },\n          ]\n        },\n      },\n      searchSettings: {\n        view: 'dual-pane',\n        // If the docs are embedded, open links in a new tab\n        shouldOpenLinksInNewTab: window.self !== window.top,\n        tabs: [[\n          'Docs', { isAlwaysVisible: true }],\n          'Learn',\n          'Blog',\n          'Home',\n          'GitHub',\n        ],\n      },\n    };\n\n\n    // Initialize the UI components\n    Inkeep.ModalSearchAndChat(settings); // Search Bar\n  }\n);"])</script><script>self.__next_f.push([1,"5a:[\"$\",\"$L5c\",null,{\"customJsDisabled\":false,\"jsFiles\":[{\"_id\":\"67fc3ec4a310f0d378eb5619\",\"filePath\":\"console-iframe.js\",\"subdomain\":\"pinecone\",\"__v\":0,\"content\":\"$5d\"},{\"_id\":\"67fc3ec7a310f0d378eb56d6\",\"filePath\":\"script.js\",\"subdomain\":\"pinecone\",\"__v\":0,\"content\":\"$5e\"},{\"_id\":\"6971122df45ad9b071c218f8\",\"filePath\":\"inkeep.js\",\"subdomain\":\"pinecone\",\"__v\":0,\"content\":\"$5f\"}]}]\n62:T107c7,"])</script><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={code:`code`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,RequestExample,ResponseExample}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);return _jsxs(_Fragment,{children:[_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`Python`,numberOfLines:`16`,language:`python`,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:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# pip install \"pinecone[grpc]\"`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` pinecone.grpc `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` PineconeGRPC `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`as`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Pinecone`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` pinecone `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ServerlessSpec`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`pc `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Pinecone(`}),_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:`\"YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`pc.create_index(`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`  name`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"docs-example1\"`}),_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:`  dimension`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1536`}),_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:`  metric`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"cosine\"`}),_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:`  spec`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`ServerlessSpec(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`    cloud`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"aws\"`}),_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:`    region`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"us-east-1\"`}),_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:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`  deletion_protection`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"disabled\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`19`,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:`19`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// npm install @pinecone-database/pinecone`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Pinecone`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '@pinecone-database/pinecone'`})]}),`\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:` pc`}),_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:` Pinecone`}),_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:` 'YOUR_API_KEY'`})]}),`\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\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` pc`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`createIndex`}),_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:`  name:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'docs-example1'`}),_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:`  dimension:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1536`}),_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:`  metric:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'cosine'`}),_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:`  spec:`}),_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:`    serverless:`}),_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:`      cloud:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'aws'`}),_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:`      region:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'us-east-1'`})]}),`\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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`  deletionProtection:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'disabled'`}),_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(CodeBlock,{filename:`Java`,numberOfLines:`8`,language:`java`,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:`java`,children:_jsxs(_components.code,{language:`java`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` io.pinecone.clients.Pinecone;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`public`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` class`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` CreateServerlessIndexExample`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`    public`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` static`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#4EC9B0`},children:` void`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` main`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[] `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`args`}),_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\":`#4EC9B0`},children:`        Pinecone`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` pc`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` new`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Pinecone.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`Builder`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`).`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`build`}),_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:`        pc`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`createServerlessIndex`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"docs-example1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"cosine\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1536`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"aws\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"us-east-1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`DeletionProtection`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`disabled`}),_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(CodeBlock,{filename:`Go`,numberOfLines:`36`,language:`go`,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:`go`,children:_jsxs(_components.code,{language:`go`,numberOfLines:`36`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`package`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` main`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_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:`    \"`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#CE9178`},children:`context`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`    \"`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#CE9178`},children:`fmt`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`    \"`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#CE9178`},children:`log`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`    \"`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#CE9178`},children:`github.com/pinecone-io/go-pinecone/v4/pinecone`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\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:`func`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` main`}),_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:`    ctx`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` context`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`Background`}),_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\":`#9CDCFE`},children:`    pc`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`err`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` pinecone`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`NewClient`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`pinecone`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`NewClientParams`}),_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:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_API_KEY\"`}),_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:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`    if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` err`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` !=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` nil`}),_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:`        log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`Fatalf`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Failed to create Client: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#9CDCFE`},children:`%v`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`err`}),_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`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`    deletionProtection`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` pinecone`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`DeletionProtectionDisabled`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`    idx`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`err`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` pc`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`CreateServerlessIndex`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ctx`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`pinecone`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`CreateServerlessIndexRequest`}),_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:`        Name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:      `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"docs-example1\"`}),_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:`        Dimension`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1536`}),_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:`        Metric`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:    `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`pinecone`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Cosine`}),_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:`        Cloud`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:     `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`pinecone`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Aws`}),_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:`        Region`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:    `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"us-east-1\"`}),_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:`        DeletionProtection`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`deletionProtection`}),_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:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`  \tif`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` err`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` !=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` nil`}),_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:`        log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`Fatalf`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Failed to create serverless index: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#9CDCFE`},children:`%v`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`err`}),_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:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`else`}),_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:`        fmt`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`Printf`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Successfully created serverless index: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#9CDCFE`},children:`%v`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`idx`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Name`}),_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(CodeBlock,{filename:`C#`,numberOfLines:`19`,language:`csharp`,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:`csharp`,children:_jsxs(_components.code,{language:`csharp`,numberOfLines:`19`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`using`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` Pinecone`}),_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:`var`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` pinecone`}),_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:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` PineconeClient`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_API_KEY\"`}),_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:`var`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` createIndexRequest`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` pinecone`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`CreateIndexAsync`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`new`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` CreateIndexRequest`})]}),`\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:`    Name`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"docs-example1\"`}),_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:`    Dimension`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1536`}),_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:`    Metric`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` MetricType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Cosine`}),_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:`    Spec`}),_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:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` ServerlessIndexSpec`})]}),`\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:`        Serverless`}),_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:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` ServerlessSpec`})]}),`\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:`            Cloud`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ServerlessSpecCloud`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Aws`}),_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:`            Region`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"us-east-1\"`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`    DeletionProtection`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` DeletionProtection`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Disabled`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`curl`,numberOfLines:`46`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`46`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`PINECONE_API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_API_KEY\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Serverless index`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.pinecone.io/indexes\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`     -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Accept: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`     -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`     -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Api-Key: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$PINECONE_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`     -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-Pinecone-Api-Version: 2025-04\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`     -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`           \"name\": \"docs-example1\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`           \"vector_type\": \"dense\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`           \"dimension\": 1536,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`           \"metric\": \"cosine\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`           \"spec\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`               \"serverless\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`                   \"cloud\": \"aws\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`                   \"region\": \"us-east-1\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`               }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`           },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`           \"tags\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`               \"example\": \"tag\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`           },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`           \"deletion_protection\": \"disabled\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`         }'`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# BYOC index`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST\"https://api.pinecone.io/indexes\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`     -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Accept: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`     -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`     -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Api-Key: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$PINECONE_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`     -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-Pinecone-Api-Version: 2025-04\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`     -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`           \"name\": \"example-byoc-index\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`           \"vector_type\": \"dense\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`           \"dimension\": 1536,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`           \"metric\": \"cosine\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`           \"spec\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`               \"byoc\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`                   \"environment\": \"aws-us-east-1-b921\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`               }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`           },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`           \"tags\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`               \"example\": \"tag\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`           },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`           \"deletion_protection\": \"disabled\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`         }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`CLI`,numberOfLines:`11`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Target the project where you'd like to create the index.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`pc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` target`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -o`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"example-org\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -p`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"example-project\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Create the index.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`pc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` index`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`  --name`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"docs-example1\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`  --dimension`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1536`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`  --metric`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"cosine\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`  --cloud`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"aws\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`  --region`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"us-east-1\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`  --deletion_protection`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"disabled\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`  --tags`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"example=tag,example2=tag2\"`})]}),`\n`]})})})]}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response`,numberOfLines:`44`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`44`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Serverless index`})}),`\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:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`    \"name\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"docs-example1\",`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`    \"vector_type\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"dense\",`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`    \"metric\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"cosine\",`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`    \"dimension\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 1536,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`    \"status\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`        \"ready\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`        \"state\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Ready\"`})]}),`\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:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`    \"host\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"example-serverless-index-govk0nt.svc.aped-4627-b74a.pinecone.io\",`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`    \"spec\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`        \"serverless\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`            \"region\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"us-east-1\",`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`            \"cloud\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"aws\"`})]}),`\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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`    \"deletion_protection\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"disabled\",`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`    \"tags\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`        \"example\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"tag\"`})]}),`\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`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# BYOC index`})}),`\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:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`    \"name\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"example-byoc-index\",`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`    \"vector_type\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"dense\",`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`    \"metric\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"cosine\",`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`    \"dimension\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 1536,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`    \"status\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`        \"ready\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`        \"state\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Ready\"`})]}),`\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:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`    \"host\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"example-byoc-index-govk0nt.svc.private.aped-4627-b74a.pinecone.io\",`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`    \"spec\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`        \"byoc\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`            \"environment\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"aws-us-east-1-b921\"`})]}),`\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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`    \"deletion_protection\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"disabled\",`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`    \"tags\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`        \"example\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"tag\"`})]}),`\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`]})})})})]})}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><script>self.__next_f.push([1,"5b:[\"$\",\"$L60\",null,{\"slug\":\"reference/api/2025-04/control-plane/create_index\",\"pageMetadata\":\"$31:props:pageMetadata\",\"theme\":\"mint\",\"children\":[\"$\",\"$L61\",null,{\"mdxSource\":{\"compiledSource\":\"\\\"use strict\\\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}\",\"frontmatter\":{},\"scope\":{\"config\":{},\"pageMetadata\":{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_control_2025-04.oas.yaml post /indexes\",\"title\":\"Create an index\",\"description\":\"Create a Pinecone index. This is where you specify the measure of similarity, the dimension of vectors to be stored in the index, which cloud provider you would like to deploy with, and more.\\n  \\nFor guidance and examples, see [Create an index](https://docs.pinecone.io/guides/index-data/create-an-index).\\n\",\"href\":\"/reference/api/2025-04/control-plane/create_index\",\"hidden\":false}}},\"mdxSourceWithNoJs\":{\"compiledSource\":\"$62\",\"frontmatter\":{},\"scope\":{\"config\":{},\"pageMetadata\":{\"openapi\":\"https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2025-04/db_control_2025-04.oas.yaml post /indexes\",\"title\":\"Create an index\",\"description\":\"Create a Pinecone index. This is where you specify the measure of similarity, the dimension of vectors to be stored in the index, which cloud provider you would like to deploy with, and more.\\n  \\nFor guidance and examples, see [Create an index](https://docs.pinecone.io/guides/index-data/create-an-index).\\n\",\"href\":\"/reference/api/2025-04/control-plane/create_index\",\"hidden\":false}}},\"displayDomain\":\"docs.pinecone.io\"}]}]\n"])</script></body></html>