[{"data":1,"prerenderedAt":526},["ShallowReactive",2],{"navigation_docs":3,"-features-applications":98,"-features-applications-surround":521},[4,26,77],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":25},"Getting Started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,15,20],{"title":11,"path":12,"stem":13,"icon":14},"Overview","\u002Fgetting-started\u002Foverview","1.getting-started\u002F1.overview","i-lucide-info",{"title":16,"path":17,"stem":18,"icon":19},"Platform Navigation","\u002Fgetting-started\u002Fplatform-navigation","1.getting-started\u002F2.platform-navigation","i-lucide-compass",{"title":21,"path":22,"stem":23,"icon":24},"Quickstart","\u002Fgetting-started\u002Fquickstart","1.getting-started\u002F3.quickstart","i-lucide-play-circle",false,{"title":27,"icon":28,"path":29,"stem":30,"children":31,"page":25},"Features","i-lucide-star","\u002Ffeatures","2.features",[32,37,42,47,52,57,62,67,72],{"title":33,"path":34,"stem":35,"icon":36},"Feature Overview","\u002Ffeatures\u002Foverview","2.features\u002F1.overview","i-lucide-list",{"title":38,"path":39,"stem":40,"icon":41},"Company Setup","\u002Ffeatures\u002Fcompany-setup","2.features\u002F2.company-setup","i-lucide-building-2",{"title":43,"path":44,"stem":45,"icon":46},"Applications","\u002Ffeatures\u002Fapplications","2.features\u002F3.applications","i-lucide-box",{"title":48,"path":49,"stem":50,"icon":51},"Observability","\u002Ffeatures\u002Fobservability","2.features\u002F4.observability","i-lucide-activity",{"title":53,"path":54,"stem":55,"icon":56},"Guardrails","\u002Ffeatures\u002Fguardrails","2.features\u002F5.guardrails","i-lucide-shield-alert",{"title":58,"path":59,"stem":60,"icon":61},"Data Integrations","\u002Ffeatures\u002Fdata-integrations","2.features\u002F6.data-integrations","i-lucide-database",{"title":63,"path":64,"stem":65,"icon":66},"Models and Routing","\u002Ffeatures\u002Fmodels-and-routing","2.features\u002F7.models-and-routing","i-lucide-git-branch",{"title":68,"path":69,"stem":70,"icon":71},"Governance","\u002Ffeatures\u002Fgovernance","2.features\u002F8.governance","i-lucide-shield-check",{"title":73,"path":74,"stem":75,"icon":76},"Tools","\u002Ffeatures\u002Ftools","2.features\u002F9.tools","i-lucide-globe",{"title":78,"icon":79,"path":80,"stem":81,"children":82,"page":25},"Integrations","i-lucide-plug","\u002Fintegrations","3.integrations",[83,88,93],{"title":84,"path":85,"stem":86,"icon":87},"Using the API","\u002Fintegrations\u002Fapi-usage","3.integrations\u002F3.api-usage","i-lucide-terminal-square",{"title":89,"path":90,"stem":91,"icon":92},"API Keys","\u002Fintegrations\u002Fapi-keys","3.integrations\u002Fapi-keys","i-lucide-key-round",{"title":94,"path":95,"stem":96,"icon":97},"Providers","\u002Fintegrations\u002Fproviders","3.integrations\u002Fproviders","i-lucide-cpu",{"id":99,"title":43,"body":100,"description":514,"extension":515,"links":516,"meta":517,"navigation":518,"path":44,"seo":519,"stem":45,"__hash__":520},"docs\u002F2.features\u002F3.applications.md",{"type":101,"value":102,"toc":496},"minimark",[103,107,112,115,149,160,164,170,190,196,200,206,210,213,216,230,233,240,243,246,249,252,276,279,283,286,289,292,294,314,317,321,324,331,338,342,345,352,355,368,375,378,381,384,387,439,442,445,448,451,455,461,475,478,481,484,487,490],[104,105,106],"p",{},"An application represents one AI-powered project, service, environment, or product surface. It is the unit that owns external API credentials and application-specific module settings.",[108,109,111],"h2",{"id":110},"application-structure","Application Structure",[104,113,114],{},"Each application includes:",[116,117,118,125,131,137,143],"ul",{},[119,120,121,124],"li",{},[122,123,11],"strong",{}," - Usage, reliability, cost, budget, and model breakdown for that application.",[119,126,127,130],{},[122,128,129],{},"Requests"," - A request-by-request trace view with status, selected model, provider, latency, tokens, cost, and timeline.",[119,132,133,136],{},[122,134,135],{},"Modules"," - Application-level configuration for guardrails, data integrations, tools, models, Smart Router, inference defaults, and cost budget.",[119,138,139,142],{},[122,140,141],{},"Credentials"," - Application API keys used by external services to call the public Gateway API.",[119,144,145,148],{},[122,146,147],{},"Settings"," - Admin-only controls such as pausing or deleting the application.",[104,150,151,152,155,156,159],{},"Applications can be ",[122,153,154],{},"Active"," or ",[122,157,158],{},"Paused",". Paused applications keep their configuration and credentials, but Gateway API requests for that application are rejected until the application is activated again.",[108,161,163],{"id":162},"creating-an-application","Creating an Application",[104,165,166,167,169],{},"When creating an application, provide a name and optional description, then configure the same module areas available later in ",[122,168,135],{},":",[116,171,172,174,176,178,181,184,187],{},[119,173,53],{},[119,175,58],{},[119,177,73],{},[119,179,180],{},"Models",[119,182,183],{},"Smart Router",[119,185,186],{},"Inference",[119,188,189],{},"Cost",[104,191,192,193,195],{},"These settings can be changed after creation. Admins can also edit the application name and slug from ",[122,194,147],{},". Slugs use lowercase letters, numbers, and single hyphens.",[108,197,199],{"id":198},"module-settings","Module Settings",[104,201,202,203,205],{},"The ",[122,204,135],{}," tab is where admins tune how requests behave.",[207,208,53],"h3",{"id":209},"guardrails",[104,211,212],{},"Guardrails let an application apply safety policies to AI traffic.",[104,214,215],{},"Optiak supports:",[116,217,218,224],{},[119,219,220,223],{},[122,221,222],{},"Prompt Injection Detection"," - Identifies attempts to override system instructions.",[119,225,226,229],{},[122,227,228],{},"PII Detection"," - Identifies personal and sensitive information so it can be handled according to policy.",[104,231,232],{},"Depending on configuration, detections can be audited, blocked, or redacted.",[104,234,235,236,239],{},"Read more in ",[237,238,53],"a",{"href":54},".",[207,241,58],{"id":242},"data-integrations",[104,244,245],{},"Vector Search augments prompts with relevant content from selected organization data sources.",[104,247,248],{},"The organization must enable vector search and make at least one data source available before an application can use it.",[104,250,251],{},"Application modes:",[116,253,254,264,270],{},[119,255,256,259,260,239],{},[122,257,258],{},"Per request"," - Vector search is available, but requests must opt in with ",[261,262,263],"code",{},"vector_search_enabled",[119,265,266,269],{},[122,267,268],{},"Always on"," - Vector search is active for all requests to the application.",[119,271,272,275],{},[122,273,274],{},"Disabled"," - Vector search cannot run for the application.",[104,277,278],{},"Applications can enable multiple data sources. A request only searches data sources enabled at both the organization and application levels.",[104,280,235,281,239],{},[237,282,58],{"href":59},[207,284,73],{"id":285},"tools",[104,287,288],{},"Web Search augments prompts with current web results.",[104,290,291],{},"The organization must enable web search before an application can use it.",[104,293,251],{},[116,295,296,304,309],{},[119,297,298,300,301,239],{},[122,299,258],{}," - Web search is available, but requests must opt in with ",[261,302,303],{},"web_search_enabled",[119,305,306,308],{},[122,307,268],{}," - Web search is active for all requests to the application.",[119,310,311,313],{},[122,312,274],{}," - Web search cannot run for the application.",[104,315,316],{},"When web search is blocked by organization settings, the application cannot enable it.",[104,318,235,319,239],{},[237,320,73],{"href":74},[207,322,180],{"id":323},"models",[104,325,326,327,330],{},"Application models are selected from the organization-enabled catalog. If a model is not enabled in ",[122,328,329],{},"Company Setup -> Models",", the application cannot use it.",[104,332,333,334,337],{},"Use this to keep different applications on different model sets. The public ",[261,335,336],{},"\u002Fmodels"," endpoint returns the final model list available to an application API key.",[104,339,235,340,239],{},[237,341,63],{"href":64},[207,343,183],{"id":344},"smart-router",[104,346,347,348,351],{},"Smart Router lets requests use ",[261,349,350],{},"model: \"smart\""," instead of naming a specific model.",[104,353,354],{},"When enabled, Optiak chooses from smart-routing-eligible models that are also enabled for the application. The available strategies are:",[116,356,357,363],{},[119,358,359,362],{},[122,360,361],{},"Balanced"," - Balance cost and quality.",[119,364,365,367],{},[122,366,189],{}," - Prefer lower cost per token.",[104,369,370,371,374],{},"If Smart Router is disabled, requests using ",[261,372,373],{},"smart"," are rejected. Use a specific public model ID instead.",[104,376,377],{},"If Smart Router is enabled but no smart-routing-eligible models are enabled for the application, requests cannot be routed until at least one eligible model is enabled.",[207,379,186],{"id":380},"inference",[104,382,383],{},"Inference settings define application-level defaults for model requests.",[104,385,386],{},"You can configure:",[116,388,389,395,433],{},[119,390,391,394],{},[122,392,393],{},"System prompt"," - A default instruction applied by the application.",[119,396,397,400,401,404,405,408,409,412,413],{},[122,398,399],{},"Application prompt behavior"," - How the application system prompt is combined with request-level instructions (",[261,402,403],{},"system","\u002F",[261,406,407],{},"developer"," messages or Responses ",[261,410,411],{},"instructions","):\n",[116,414,415,421,427],{},[119,416,417,420],{},[122,418,419],{},"Append"," - Keep request-level instructions first and add the application system prompt after them.",[119,422,423,426],{},[122,424,425],{},"Replace"," - Ignore request-level instructions and use only the application system prompt.",[119,428,429,432],{},[122,430,431],{},"Prepend"," - Put the application system prompt before request-level instructions.",[119,434,435,438],{},[122,436,437],{},"Max completion tokens"," - A default cap for generated response length.",[104,440,441],{},"Temperature is not an application-level default. Send it per request following the Chat Completions or Responses API semantics.",[207,443,189],{"id":444},"cost",[104,446,447],{},"Cost budget lets admins set a monthly budget for an application and decide how Optiak should react when that budget is reached.",[104,449,450],{},"When a budget is set, Optiak can surface budget status in the application experience and apply the configured budget action, such as alerting the team or pausing the application when the monthly limit is reached.",[108,452,454],{"id":453},"application-settings","Application Settings",[104,456,457,458,460],{},"Admins can use ",[122,459,147],{}," to:",[116,462,463,466,469,472],{},[119,464,465],{},"Edit the application name.",[119,467,468],{},"Edit the application slug.",[119,470,471],{},"Pause or activate the application.",[119,473,474],{},"Delete the application.",[104,476,477],{},"Deleting an application is permanent. Pausing is reversible and does not delete credentials, but traffic authenticated with that application's keys is rejected while it is paused.",[108,479,141],{"id":480},"credentials",[104,482,483],{},"Application API keys authenticate external services against one application.",[104,485,486],{},"Keys can include a name, optional label, optional description, and optional expiration. The full key is displayed once at creation time. After that, the UI only shows the prefix.",[104,488,489],{},"Revoking a key immediately prevents new traffic authenticated with that key.",[104,491,492,493,495],{},"Provider keys are different. Provider keys are added in ",[122,494,329],{}," and let Optiak call upstream model providers.",{"title":497,"searchDepth":498,"depth":498,"links":499},"",2,[500,501,502,512,513],{"id":110,"depth":498,"text":111},{"id":162,"depth":498,"text":163},{"id":198,"depth":498,"text":199,"children":503},[504,506,507,508,509,510,511],{"id":209,"depth":505,"text":53},3,{"id":242,"depth":505,"text":58},{"id":285,"depth":505,"text":73},{"id":323,"depth":505,"text":180},{"id":344,"depth":505,"text":183},{"id":380,"depth":505,"text":186},{"id":444,"depth":505,"text":189},{"id":453,"depth":498,"text":454},{"id":480,"depth":498,"text":141},"How applications work in Optiak.","md",null,{},{"icon":46},{"title":43,"description":514},"-TfTkoFNOceRP9Lc5BN6qKH3JrNloGG7qfiRazm-IqM",[522,524],{"title":38,"path":39,"stem":40,"description":523,"icon":41,"children":-1},"Organization-level setup for governance, tools, data, and models.",{"title":48,"path":49,"stem":50,"description":525,"icon":51,"children":-1},"Understand platform visibility for AI traffic.",1789640937839]