[{"data":1,"prerenderedAt":694},["ShallowReactive",2],{"navigation_docs":3,"-getting-started-introduction":160,"-getting-started-introduction-surround":691},[4,21,62,82,103,149],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":20},"Get Started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction","i-lucide-info",{"title":16,"path":17,"stem":18,"icon":19},"Quickstart","\u002Fgetting-started\u002Fquickstart","1.getting-started\u002F2.quickstart","i-lucide-play-circle",false,{"title":22,"icon":23,"path":24,"stem":25,"children":26,"page":20},"Gateway","i-lucide-network","\u002Fgateway","2.gateway",[27,32,37,42,47,52,57],{"title":28,"path":29,"stem":30,"icon":31},"Overview","\u002Fgateway\u002Foverview","2.gateway\u002F1.overview","i-lucide-waypoints",{"title":33,"path":34,"stem":35,"icon":36},"Models and Routing","\u002Fgateway\u002Fmodels-and-routing","2.gateway\u002F2.models-and-routing","i-lucide-brain",{"title":38,"path":39,"stem":40,"icon":41},"Smart Router","\u002Fgateway\u002Fsmart-routing","2.gateway\u002F3.smart-routing","i-lucide-route",{"title":43,"path":44,"stem":45,"icon":46},"Context Engine","\u002Fgateway\u002Fcontext-engine","2.gateway\u002F4.context-engine","i-product-context-engine",{"title":48,"path":49,"stem":50,"icon":51},"Data Integrations","\u002Fgateway\u002Fdata-integrations","2.gateway\u002F5.data-integrations","i-lucide-database",{"title":53,"path":54,"stem":55,"icon":56},"Tools","\u002Fgateway\u002Ftools","2.gateway\u002F6.tools","i-lucide-wrench",{"title":58,"path":59,"stem":60,"icon":61},"Guardrails","\u002Fgateway\u002Fguardrails","2.gateway\u002F7.guardrails","i-lucide-shield-alert",{"title":63,"icon":64,"path":65,"stem":66,"children":67,"page":20},"Compliance","i-lucide-shield-check","\u002Fcompliance","3.compliance",[68,72,77],{"title":69,"path":70,"stem":71,"icon":64},"Data Governance","\u002Fcompliance\u002Fdata-governance","3.compliance\u002F01.data-governance",{"title":73,"path":74,"stem":75,"icon":76},"Network Access","\u002Fcompliance\u002Fnetwork-access","3.compliance\u002F02.network-access","i-lucide-lock",{"title":78,"path":79,"stem":80,"icon":81},"Audit Logs","\u002Fcompliance\u002Faudit-logs","3.compliance\u002F03.audit-logs","i-lucide-scroll-text",{"title":83,"icon":84,"path":85,"stem":86,"children":87,"page":20},"Observability","i-lucide-eye","\u002Fobservability","4.observability",[88,93,98],{"title":89,"path":90,"stem":91,"icon":92},"Organization","\u002Fobservability\u002Forganization","4.observability\u002F1.organization","i-lucide-building-2",{"title":94,"path":95,"stem":96,"icon":97},"Application","\u002Fobservability\u002Fapplication","4.observability\u002F2.application","i-lucide-activity",{"title":99,"path":100,"stem":101,"icon":102},"Metrics","\u002Fobservability\u002Fmetrics","4.observability\u002F3.metrics","i-lucide-bar-chart-2",{"title":104,"icon":105,"path":106,"stem":107,"children":108,"page":20},"Administration","i-lucide-settings","\u002Fadministration","5.administration",[109,114,119,129,144],{"title":110,"path":111,"stem":112,"icon":113},"Organization and Projects","\u002Fadministration\u002Forganizations-and-projects","5.administration\u002F1.organizations-and-projects","i-lucide-box",{"title":115,"path":116,"stem":117,"icon":118},"Members and Access","\u002Fadministration\u002Fmembers-and-access","5.administration\u002F2.members-and-access","i-lucide-shield-user",{"title":120,"path":121,"stem":122,"children":123,"icon":76},"Authentication","\u002Fadministration\u002Fauthentication","5.administration\u002F3.authentication",[124],{"title":125,"path":126,"stem":127,"icon":128},"Connect Model APIs","\u002Fadministration\u002Fauthentication\u002Fconnect-model-apis","5.administration\u002F3.authentication\u002F31.connect-model-apis","i-lucide-cpu",{"title":130,"path":131,"stem":132,"children":133,"icon":143},"Connections","\u002Fadministration\u002Fconnections","5.administration\u002F4.connections",[134,139],{"title":135,"path":136,"stem":137,"icon":138},"Connect MCP Servers","\u002Fadministration\u002Fconnections\u002Fmcp-connections","5.administration\u002F4.connections\u002F42.mcp-connections","i-lucide-plug",{"title":140,"path":141,"stem":142,"icon":51},"Connect Data Sources","\u002Fadministration\u002Fconnections\u002Fdata-sources-connections","5.administration\u002F4.connections\u002F43.data-sources-connections","i-lucide-link",{"title":145,"path":146,"stem":147,"icon":148},"Budgets","\u002Fadministration\u002Fbudgets","5.administration\u002F5.budgets","i-lucide-wallet",{"title":150,"icon":151,"path":152,"stem":153,"children":154,"page":20},"Reference","i-lucide-book-open","\u002Freference","6.reference",[155],{"title":156,"path":157,"stem":158,"icon":159},"Using the API","\u002Freference\u002Fapi-usage","6.reference\u002F1.api-usage","i-lucide-terminal-square",{"id":161,"title":11,"body":162,"description":684,"extension":685,"links":686,"meta":687,"navigation":688,"path":12,"seo":689,"stem":13,"__hash__":690},"docs\u002F1.getting-started\u002F1.introduction.md",{"type":163,"value":164,"toc":669},"minimark",[165,169,174,177,200,203,208,211,215,219,222,242,246,249,257,261,267,274,278,289,293,301,634,637],[166,167,168],"p",{},"Optiak is one operating layer between your AI applications and any downstream service, including model providers, MCP servers, document vaults, guardrails and optimization engines. It applies your organization's configured rules to every request as it happens, so every team gets control, choice and efficiency without building them into each application.",[170,171,173],"h2",{"id":172},"why-use-optiak","Why use Optiak",[166,175,176],{},"AI adoption moves faster than companies can run it. Each team picks its own providers, keys, safety checks and logs, and the company ends up with as many AI stacks as it has teams. That fragmentation is the root problem:",[178,179,180,188,194],"ul",{},[181,182,183,187],"li",{},[184,185,186],"strong",{},"Nothing is comparable."," Four teams mean four logs, four cost lines and four definitions of \"approved\".",[181,189,190,193],{},[184,191,192],{},"Nothing compounds."," What one team learns, the rest of the company doesn't.",[181,195,196,199],{},[184,197,198],{},"Nothing scales."," One change in the market, such as a new model or a price change, has to be handled again by every team.",[166,201,202],{},"Optiak removes the fragmentation: every application uses the same control layer, the same rules and the same records. Once AI runs through one place, the company can control it.",[204,205,207],"h3",{"id":206},"control-and-compliance","Control and compliance",[166,209,210],{},"Control is where fragmentation hurts most: nobody can say what AI is running, which data leaves the company, or what happened after the fact. With Optiak, the organization sets these controls once, and they apply to every application.",[212,213],"feature-cards",{":items":214},"[{\"icon\":\"i-lucide-eye\",\"title\":\"Visibility\",\"text\":\"Every request from every application is recorded, and dashboards show usage and cost across teams.\"},{\"icon\":\"i-lucide-shield\",\"title\":\"Security\",\"text\":\"The organization approves models and sets data residency, retention and processing policies restricting available downstream service providers. Guardrails can block, redact or record personal data according to your policy.\"},{\"icon\":\"i-lucide-file-check\",\"title\":\"Compliance\",\"text\":\"Each request generates a trace of every step it went through, and audit logs record every administrative change.\"},{\"icon\":\"i-lucide-gavel\",\"title\":\"Enforcement\",\"text\":\"Guardrails block unsafe requests, network access rules reject unknown callers, and blocking budgets stop spending at the limit. All in one place and before any provider is called.\"}]",[204,216,218],{"id":217},"choice-and-efficiency","Choice and efficiency",[166,220,221],{},"The same layer also solves the problems that come next:",[178,223,224,230,236],{},[181,225,226,229],{},[184,227,228],{},"No lock-in."," Use any supported provider or your own models, with your own keys. Switching is a change of model ID, not a migration.",[181,231,232,235],{},[184,233,234],{},"Optimized cost."," Smart Router picks the right model for each request, and Context Engine trims what it sends.",[181,237,238,241],{},[184,239,240],{},"Less fragile."," Your applications call one OpenAI-compatible API, and fallback models keep requests flowing when a provider fails.",[170,243,245],{"id":244},"how-it-works","How it works",[166,247,248],{},"Keep your stack and add one operating layer. Your applications send their requests to Optiak instead of to each provider. Optiak enforces each request against your policies, adds the data it needs, protects what must be protected, picks the model, gives it the tools it needs and records every decision.",[250,251],"operating-layer",{":apps":252,":providers":253,":stages":254,"caption":255,"observability":256},"[{\"icon\":\"i-lucide-message-square\",\"label\":\"Chatbot\"},{\"icon\":\"i-lucide-bot\",\"label\":\"Agent\"},{\"icon\":\"i-lucide-app-window\",\"label\":\"AI app\"}]","[{\"icon\":\"i-lucide-cloud\",\"label\":\"Cloud providers\"},{\"icon\":\"i-lucide-server\",\"label\":\"Your own models\"}]","[{\"icon\":\"i-lucide-square-check\",\"title\":\"Governance\",\"feature\":\"Policy compliance · Budgets\"},{\"icon\":\"i-lucide-database-zap\",\"title\":\"Data retrieval\",\"feature\":\"Data Integrations\"},{\"icon\":\"i-lucide-lock\",\"title\":\"Security\",\"feature\":\"Guardrails · Network access\"},{\"icon\":\"i-lucide-git-fork\",\"title\":\"Optimization\",\"feature\":\"Smart Router · Context Engine\"},{\"icon\":\"i-lucide-wrench\",\"title\":\"Tools\",\"feature\":\"MCP servers\"}]","You set the rules at every stage; Optiak applies them to every request.","End-to-end observability: every request traced, every change audited.",[204,258,260],{"id":259},"five-steps-and-only-the-first-three-need-you","Five steps, and only the first three need you",[262,263],"setup-steps",{":steps":264,"optiaks":265,"yours":266},"[{\"title\":\"Set up your organization\",\"when\":\"Once, in the console\",\"text\":\"Provider keys, approved models, governance rules, data and tools.\",\"owner\":\"you\"},{\"title\":\"Configure each application\",\"when\":\"Minutes per application\",\"text\":\"Pick its models, data, tools and Guardrails.\",\"owner\":\"you\"},{\"title\":\"Connect your app\",\"when\":\"One URL change\",\"text\":\"Create an API key and point your app at Optiak.\",\"owner\":\"you\"},{\"title\":\"Analyze\",\"when\":\"On every request\",\"text\":\"Cost, latency, tokens and a trace, in one place.\",\"owner\":\"optiak\"},{\"title\":\"Optimize\",\"when\":\"Continuously\",\"text\":\"Tune routing, context and models without changing your apps.\",\"owner\":\"optiak\"}]","Optiak runs it from then on","You set this up, once",[166,268,269,270,273],{},"The ",[271,272,16],"a",{"href":17}," walks you through the first three steps.",[204,275,277],{"id":276},"the-organization-enables-the-application-narrows","The organization enables, the application narrows",[166,279,280,281,284,285,288],{},"The first two steps follow one rule used across Optiak: the organization decides what is allowed, in ",[184,282,283],{},"Company setup",", and each application turns on only what it needs, in its ",[184,286,287],{},"Configuration"," tab. An application can never use more than the organization allows; for example, it can enable only models the organization has enabled.",[170,290,292],{"id":291},"core-concepts","Core concepts",[166,294,295,296,300],{},"These are the terms used across the docs. Other pages link here instead of redefining them. Follow the links to learn more about each concept, but if you are new to Optiak we suggest first checking the ",[271,297,299],{"href":298},"#where-to-go-next","Where to go next"," section.",[302,303,304,317],"table",{},[305,306,307],"thead",{},[308,309,310,314],"tr",{},[311,312,313],"th",{},"Term",[311,315,316],{},"Definition",[318,319,320,337,358,377,392,412,441,456,470,488,509,523,542,557,578,599,615],"tbody",{},[308,321,322,327],{},[323,324,325],"td",{},[184,326,89],{},[323,328,329,330,333,334,336],{},"Your ",[184,331,332],{},"company's account"," in Optiak. It holds members, groups, projects, provider keys, the models the organization allows and its organization-wide policies; see ",[271,335,110],{"href":111},".",[308,338,339,344],{},[323,340,341],{},[184,342,343],{},"Project",[323,345,346,347,350,351,354,355,336],{},"A ",[184,348,349],{},"group of related applications",". Access to applications is ",[184,352,353],{},"granted per project","; see ",[271,356,110],{"href":357},"\u002Fadministration\u002Forganizations-and-projects#projects",[308,359,360,364],{},[323,361,362],{},[184,363,94],{},[323,365,366,367,370,371,354,374,336],{},"A product, service or environment that ",[184,368,369],{},"sends AI traffic"," through Optiak. It belongs to one project and has its ",[184,372,373],{},"own API keys, enabled models and configuration",[271,375,110],{"href":376},"\u002Fadministration\u002Forganizations-and-projects#applications",[308,378,379,383],{},[323,380,381],{},[184,382,22],{},[323,384,269,385,388,389,336],{},[184,386,387],{},"part of Optiak your applications call",". It receives LLM requests and tool calls, applies the application's settings and forwards them to providers and tools; see ",[271,390,391],{"href":29},"Gateway overview",[308,393,394,399],{},[323,395,396],{},[184,397,398],{},"MCP Gateway",[323,400,401,402,405,406,354,409,336],{},"The Gateway endpoint for ",[184,403,404],{},"tool calls",", using the ",[184,407,408],{},"Model Context Protocol (MCP)",[271,410,53],{"href":411},"\u002Fgateway\u002Ftools#how-it-works",[308,413,414,419],{},[323,415,416],{},[184,417,418],{},"Model ID",[323,420,269,421,424,425,429,430,433,434,437,438,336],{},[184,422,423],{},"public identifier of a model"," in requests, in the form ",[426,427,428],"code",{},"provider\u002Fmodel",", for example ",[426,431,432],{},"openai\u002Fgpt-6-luna",". The special ID ",[426,435,436],{},"smart"," asks Smart Router to choose the model; see ",[271,439,33],{"href":440},"\u002Fgateway\u002Fmodels-and-routing#model-ids",[308,442,443,447],{},[323,444,445],{},[184,446,38],{},[323,448,449,450,453,454,336],{},"The Gateway capability that ",[184,451,452],{},"chooses a model for each request"," among the application's eligible models; see ",[271,455,38],{"href":39},[308,457,458,462],{},[323,459,460],{},[184,461,43],{},[323,463,449,464,467,468,336],{},[184,465,466],{},"fits the conversation and retrieved context"," to what the model needs, for example by compressing repeated content or keeping only recent messages; see ",[271,469,43],{"href":44},[308,471,472,476],{},[323,473,474],{},[184,475,58],{},[323,477,478,479,482,483,354,486,336],{},"Checks on each request for ",[184,480,481],{},"prompt injection, personal data and toxic content",". Depending on the application's policy, a detection is ",[184,484,485],{},"recorded, redacted or blocked",[271,487,58],{"href":59},[308,489,490,495],{},[323,491,492],{},[184,493,494],{},"Budget",[323,496,346,497,500,501,504,505,508],{},[184,498,499],{},"monthly spending limit"," for the organization, a project, an application or an API key. ",[184,502,503],{},"Track only"," records spend without blocking; ",[184,506,507],{},"Block requests"," rejects new requests when the limit is reached.",[308,510,511,515],{},[323,512,513],{},[184,514,53],{},[323,516,517,520,521,336],{},[184,518,519],{},"Capabilities exposed by connected MCP servers"," that applications can call through the MCP Gateway; see ",[271,522,53],{"href":54},[308,524,525,530],{},[323,526,527],{},[184,528,529],{},"Data Integration",[323,531,346,532,535,536,539,540,336],{},[184,533,534],{},"source of documents",", such as uploaded files, a Google Drive folder or a Notion workspace, that the Gateway can ",[184,537,538],{},"search to add context"," to a request; see ",[271,541,48],{"href":49},[308,543,544,549],{},[323,545,546],{},[184,547,548],{},"Provider key",[323,550,329,551,554,555,336],{},[184,552,553],{},"organization's key for a model provider",", such as OpenAI. Optiak uses it to call the provider on your applications' behalf; see ",[271,556,125],{"href":126},[308,558,559,564],{},[323,560,561],{},[184,562,563],{},"Application API key",[323,565,566,567,570,571,574,575,336],{},"The key your service sends to Optiak to ",[184,568,569],{},"authenticate requests for one application",". It is ",[184,572,573],{},"shown once",", when you create it; see ",[271,576,120],{"href":577},"\u002Fadministration\u002Fauthentication#application-api-keys",[308,579,580,585],{},[323,581,582],{},[184,583,584],{},"Request",[323,586,587,590,591,594,595,336],{},[184,588,589],{},"One call to the Gateway",", such as a chat completion. Each request is recorded with its status, model, latency, tokens and cost, and with a ",[184,592,593],{},"trace"," of the steps it went through; see ",[271,596,598],{"href":597},"\u002Fobservability\u002Fapplication#requests","Application Observability",[308,600,601,606],{},[323,602,603],{},[184,604,605],{},"Group",[323,607,346,608,611,612,336],{},[184,609,610],{},"named set of organization members"," that can receive role assignments together; see ",[271,613,115],{"href":614},"\u002Fadministration\u002Fmembers-and-access#groups",[308,616,617,622],{},[323,618,619],{},[184,620,621],{},"Role assignment",[323,623,346,624,627,628,354,631,336],{},[184,625,626],{},"role given to a member or group"," at organization or project level. Roles decide ",[184,629,630],{},"what each person can see and change",[271,632,115],{"href":633},"\u002Fadministration\u002Fmembers-and-access#roles",[170,635,299],{"id":636},"where-to-go-next",[178,638,639,644,649,654,659,664],{},[181,640,641,643],{},[271,642,16],{"href":17},": send your first request through the Gateway in a few minutes.",[181,645,646,648],{},[271,647,22],{"href":29},": everything that acts on a request, from models and Smart Router to Tools and Guardrails.",[181,650,651,653],{},[271,652,63],{"href":70},": organization-wide controls for data residency, network access and audit logs.",[181,655,656,658],{},[271,657,83],{"href":100},": the dashboards and request views, and how each metric is calculated.",[181,660,661,663],{},[271,662,104],{"href":111},": organizations, projects, members, roles, keys and budgets.",[181,665,666,668],{},[271,667,150],{"href":157},": endpoints, parameters and errors of the Optiak API.",{"title":670,"searchDepth":671,"depth":671,"links":672},"",2,[673,678,682,683],{"id":172,"depth":671,"text":173,"children":674},[675,677],{"id":206,"depth":676,"text":207},3,{"id":217,"depth":676,"text":218},{"id":244,"depth":671,"text":245,"children":679},[680,681],{"id":259,"depth":676,"text":260},{"id":276,"depth":676,"text":277},{"id":291,"depth":671,"text":292},{"id":636,"depth":671,"text":299},"What Optiak is, the terms the docs use and where to find each topic.","md",null,{},{"icon":14},{"title":11,"description":684},"anM4xu4kpJuyMB3qCXxQVWHBJZSKST1bDlm6kZM0et0",[686,692],{"title":16,"path":17,"stem":18,"description":693,"icon":19,"children":-1},"Send your first inference request, then optionally test a tool through MCP.",1795006117825]