{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Nia AI Documentation","colors":{"primary":"#387CCD","light":"#387CCD","dark":"#387CCD"},"logo":{"light":"https://mintcdn.com/niaai/2tmL2EDH28LsR3_0/logo/light.png?fit=max\u0026auto=format\u0026n=2tmL2EDH28LsR3_0\u0026q=85\u0026s=41bb26fbd731d7817b8d4ab5ddf34b9c","dark":"https://mintcdn.com/niaai/2tmL2EDH28LsR3_0/logo/dark.png?fit=max\u0026auto=format\u0026n=2tmL2EDH28LsR3_0\u0026q=85\u0026s=741aa3aaefd5e9ee75262af4097fd1f1"},"favicon":"https://mintcdn.com/niaai/j1728uuVdAI4aurH/favicon.svg?fit=max\u0026auto=format\u0026n=j1728uuVdAI4aurH\u0026q=85\u0026s=76a1cb5480aa32ed01c1a9219ce28591","background":{"decoration":"gradient","color":{"dark":"#18181B"}},"navbar":{"links":[{"href":"mailto:arlan@nozomio.com","label":"Support"}],"primary":{"type":"button","label":"Get your API key","href":"https://app.trynia.ai"}},"footer":{"socials":{"x":"https://x.com/nozomioai","github":"https://github.com/nozomio-labs","linkedin":"https://www.linkedin.com/company/nozomiolabs"}},"seo":{"indexing":"all"},"fonts":{"family":"Alliance","source":"https://mintlify-assets.b-cdn.net/fonts/7faaa559c4eeae89-s.p.woff2","format":"woff2"},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/BBSwUMrrfn"},{"anchor":"GitHub","icon":"github","href":"https://github.com/nozomio-labs/nia"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"niaai","hasAudioNarration":false,"actualSubdomain":"niaai","customDomains":["docs.trynia.ai"],"gitSource":{"type":"github","owner":"nozomio-labs","repo":"nia-new","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a67698af30b413b6be3170c","collectionId":"788358d0-da33-447b-a3ab-5febf9fdd411","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6a67698af30b413b6be3170c"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6a67698af30b413b6be3170c:success","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API Reference","count":168},{"language":"default","tag":"Usage","count":117},{"language":"default","tag":"Guides","count":36},{"language":"default","tag":"Sources","count":21},{"language":"default","tag":"Capabilities","count":12},{"language":"default","tag":"Getting Started","count":10},{"language":"default","tag":"GitHub Search","count":9},{"language":"default","tag":"Context Sharing","count":7},{"language":"default","tag":"Source Types","count":6},{"language":"default","tag":"SDKs","count":6}]},"assistantConfig":{"enableStarterQuestions":true,"deflection":{"enabled":true,"email":"arlan@nozomio.com","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[{"_id":"693b7b0e4cdf1411c3fcf815","deploymentId":"67a30db3f9cf0affe25b6a46","questionText":"How to use Nia API?","status":"active","generatedBy":"manual","createdAt":"2025-12-12T02:16:46.647Z","updatedAt":"2025-12-12T02:16:46.647Z","__v":0},{"_id":"693b7b064cdf1411c3fcf72a","deploymentId":"67a30db3f9cf0affe25b6a46","questionText":"What can I search with Nia?","status":"active","generatedBy":"manual","createdAt":"2025-12-12T02:16:38.293Z","updatedAt":"2025-12-12T02:16:38.293Z","__v":0},{"_id":"693b7b024cdf1411c3fcf6aa","deploymentId":"67a30db3f9cf0affe25b6a46","questionText":"How do I get started with Nia?","status":"active","generatedBy":"manual","createdAt":"2025-12-12T02:16:34.518Z","updatedAt":"2025-12-12T02:16:34.518Z","__v":0}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/advisor/context-aware-code-advisor","slug":"/api-reference/advisor/context-aware-code-advisor","pageMetadata":{"title":"Context-aware code advisor","description":"Analyze codebase context against Nia's indexed documentation to get tailored recommendations.","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /advisor","href":"/api-reference/advisor/context-aware-code-advisor","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Analyze codebase context against Nia’s indexed documentation to get tailored recommendations.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"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":{"title":"Context-aware code advisor","description":"Analyze codebase context against Nia's indexed documentation to get tailored recommendations.","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /advisor","href":"/api-reference/advisor/context-aware-code-advisor","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Advisor"],"summary":"Context-aware code advisor","description":"Analyze codebase context against Nia's indexed documentation to get tailored recommendations.","operationId":"analyze_codebase_v2_advisor_post","requestBody":"ed401016-0f64-4443-98ef-3a73cdc6d46f","responses":{"200":"c1d9e7cd-4e3a-447a-a14d-a563651eba89","422":"12ab02d5-3e96-43e0-a2d7-21ecb2b7eed7"},"method":"post","type":"path","servers":["ecd9f3c1-37e7-4a31-b837-f55ef0b862df","b67096c5-ca1a-49d6-b949-cd25d5cccbe7"],"security":["f4a830ff-f296-4574-a89a-90513a087414"],"path":"/advisor","baseUrlOptions":["https://apigcp.trynia.ai/v2","http://localhost:8000/v2"],"title":"Context-aware code advisor","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"properties":{"query":{"type":"string","title":"Query","description":"User's question","isRequired":true,"uniqueKey":"query","typeLabel":"string"},"codebase":{"properties":{"files":{"additionalProperties":{"type":"string","uniqueKey":"codebase.files.additionalProperties","typeLabel":"string"},"type":"object","title":"Files","description":"Map of file_path -> file_content","uniqueKey":"codebase.files","typeLabel":"Files · object"},"file_tree":{"oneOf":[{"type":"string","title":"File Tree","description":"Directory structure (from tree command or similar)","uniqueKey":"codebase.file_tree.oneOf.0","typeLabel":"string"},{"type":"null","title":"File Tree","description":"Directory structure (from tree command or similar)","uniqueKey":"codebase.file_tree.oneOf.1","typeLabel":"null"}],"uniqueKey":"codebase.file_tree","typeLabel":"string | null"},"dependencies":{"oneOf":[{"type":"object","title":"Dependencies","description":"Dependency files: package.json, requirements.txt, etc.","additionalProperties":{"type":"string","uniqueKey":"codebase.dependencies.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"codebase.dependencies.oneOf.0","typeLabel":"Dependencies · object"},{"type":"null","title":"Dependencies","description":"Dependency files: package.json, requirements.txt, etc.","uniqueKey":"codebase.dependencies.oneOf.1","typeLabel":"null"}],"uniqueKey":"codebase.dependencies","typeLabel":"Dependencies · object | null"},"git_diff":{"oneOf":[{"type":"string","title":"Git Diff","description":"Git diff for migration/upgrade scenarios","uniqueKey":"codebase.git_diff.oneOf.0","typeLabel":"string"},{"type":"null","title":"Git Diff","description":"Git diff for migration/upgrade scenarios","uniqueKey":"codebase.git_diff.oneOf.1","typeLabel":"null"}],"uniqueKey":"codebase.git_diff","typeLabel":"string | null"},"summary":{"oneOf":[{"type":"string","title":"Summary","description":"High-level description of the codebase","uniqueKey":"codebase.summary.oneOf.0","typeLabel":"string"},{"type":"null","title":"Summary","description":"High-level description of the codebase","uniqueKey":"codebase.summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"codebase.summary","typeLabel":"string | null"},"focus_paths":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"codebase.focus_paths.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Focus Paths","description":"Paths to prioritize in analysis","uniqueKey":"codebase.focus_paths.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Focus Paths","description":"Paths to prioritize in analysis","uniqueKey":"codebase.focus_paths.oneOf.1","typeLabel":"null"}],"uniqueKey":"codebase.focus_paths","typeLabel":"string[] | null"}},"type":"object","title":"CodebaseContext","description":"User's codebase context","isRequired":true,"uniqueKey":"codebase","typeLabel":"CodebaseContext · object"},"search_scope":{"oneOf":[{"type":"object","title":"SearchScope","description":"Nia search scope","properties":{"repositories":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"search_scope.oneOf.0.repositories.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Repositories","description":"Repository identifiers to search","uniqueKey":"search_scope.oneOf.0.repositories.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Repositories","description":"Repository identifiers to search","uniqueKey":"search_scope.oneOf.0.repositories.oneOf.1","typeLabel":"null"}],"uniqueKey":"search_scope.oneOf.0.repositories","typeLabel":"string[] | null"},"data_sources":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"search_scope.oneOf.0.data_sources.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Data Sources","description":"Documentation source IDs to search","uniqueKey":"search_scope.oneOf.0.data_sources.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Data Sources","description":"Documentation source IDs to search","uniqueKey":"search_scope.oneOf.0.data_sources.oneOf.1","typeLabel":"null"}],"uniqueKey":"search_scope.oneOf.0.data_sources","typeLabel":"string[] | null"}},"uniqueKey":"search_scope.oneOf.0","typeLabel":"SearchScope · object"},{"type":"null","description":"Nia search scope","uniqueKey":"search_scope.oneOf.1","typeLabel":"null"}],"uniqueKey":"search_scope","typeLabel":"SearchScope · object | null"},"output_format":{"type":"string","enum":["explanation","checklist","diff","structured"],"title":"Output Format","description":"Output format","default":"explanation","uniqueKey":"output_format","typeLabel":"enum\u003cstring>"}},"type":"object","required":["query","codebase"],"title":"AdvisorRequest","description":"Request model for advisor endpoint.","uniqueKey":"","typeLabel":"AdvisorRequest · object"},"examples":{"Example":{"title":"Example","value":{"query":"\u003cstring>","codebase":{"files":{},"file_tree":"\u003cstring>","dependencies":{},"git_diff":"\u003cstring>","summary":"\u003cstring>","focus_paths":["\u003cstring>"]},"search_scope":{"repositories":["\u003cstring>"],"data_sources":["\u003cstring>"]},"output_format":"explanation"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"c1d9e7cd-4e3a-447a-a14d-a563651eba89":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"advice":{"type":"string","title":"Advice","description":"Tailored advice","isRequired":true,"uniqueKey":"advice","typeLabel":"string"},"sources_searched":{"type":"integer","title":"Sources Searched","description":"Number of sources searched","default":0,"uniqueKey":"sources_searched","typeLabel":"integer"},"output_format":{"type":"string","title":"Output Format","default":"explanation","uniqueKey":"output_format","typeLabel":"string"}},"type":"object","required":["advice"],"title":"AdvisorResponse","description":"Response model for advisor endpoint.","uniqueKey":"","typeLabel":"AdvisorResponse · object"},"examples":{"Example":{"title":"Example","value":{"advice":"\u003cstring>","sources_searched":0,"output_format":"explanation"}}},"exampleType":"generated"}},"exampleType":"generated"},"12ab02d5-3e96-43e0-a2d7-21ecb2b7eed7":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"f4a830ff-f296-4574-a89a-90513a087414":{"ApiKeyAuth":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"API key must be provided in the Authorization header","scopes":[]}}},"servers":{"ecd9f3c1-37e7-4a31-b837-f55ef0b862df":{"url":"https://apigcp.trynia.ai/v2","description":"Production API"},"b67096c5-ca1a-49d6-b949-cd25d5cccbe7":{"url":"http://localhost:8000/v2","description":"Local development"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"API key must be provided in the Authorization header","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API key must be provided in the Authorization header","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"ApiKeyAuth","name":"Authorization"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"openapi-docs.yaml"},"subdomain":"niaai","siteName":"Nia AI Documentation","title":"Context-aware code advisor - Nia AI Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-18T21:15:13.445Z","originalFileLocation":"api-reference/advisor/context-aware-code-advisor.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Analyze codebase context against Nia\u0026#x27;s indexed documentation to get tailored recommendations.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Nia AI Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/niaai/IVtwLsySxKYb1M2g/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/niaai/IVtwLsySxKYb1M2g/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/niaai/IVtwLsySxKYb1M2g/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/niaai/IVtwLsySxKYb1M2g/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/niaai/IVtwLsySxKYb1M2g/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/niaai/IVtwLsySxKYb1M2g/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/niaai/IVtwLsySxKYb1M2g/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/niaai/IVtwLsySxKYb1M2g/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/niaai/IVtwLsySxKYb1M2g/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Context-aware code advisor - Nia AI Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Analyze codebase context against Nia\u0026#x27;s indexed documentation to get tailored recommendations.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Nia AI Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.trynia.ai/api-reference/advisor/context-aware-code-advisor\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://niaai.mintlify.app/_mintlify/api/og/v2?division=Advisor\u0026amp;title=Context-aware+code+advisor\u0026amp;description=Analyze+codebase+context+against+Nia%27s+indexed+documentation+to+get+tailored+recommendations.\u0026amp;theme=b98edd9c34b7f60b60497a4f\u0026amp;signature=a8cd5d3e0b5701e2e239a989d237e5fb189335f0a700963e1ca37eb768c9824e\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Context-aware code advisor - Nia AI Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Analyze codebase context against Nia\u0026#x27;s indexed documentation to get tailored recommendations.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://niaai.mintlify.app/_mintlify/api/og/v2?division=Advisor\u0026amp;title=Context-aware+code+advisor\u0026amp;description=Analyze+codebase+context+against+Nia%27s+indexed+documentation+to+get+tailored+recommendations.\u0026amp;theme=b98edd9c34b7f60b60497a4f\u0026amp;signature=a8cd5d3e0b5701e2e239a989d237e5fb189335f0a700963e1ca37eb768c9824e\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/niaai/IVtwLsySxKYb1M2g/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Nia AI Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#387CCD\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.trynia.ai/api-reference/advisor/context-aware-code-advisor\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/advisor/context-aware-code-advisor.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.trynia.ai/#organization\",\"name\":\"Nia AI Documentation\",\"url\":\"https://docs.trynia.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/niaai/2tmL2EDH28LsR3_0/logo/light.png?fit=max\u0026auto=format\u0026n=2tmL2EDH28LsR3_0\u0026q=85\u0026s=41bb26fbd731d7817b8d4ab5ddf34b9c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.trynia.ai#website\",\"name\":\"Nia AI Documentation\",\"url\":\"https://docs.trynia.ai\",\"publisher\":{\"@id\":\"https://docs.trynia.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.trynia.ai/api-reference/advisor/context-aware-code-advisor#webpage\",\"url\":\"https://docs.trynia.ai/api-reference/advisor/context-aware-code-advisor\",\"name\":\"Context-aware code advisor\",\"description\":\"Analyze codebase context against Nia's indexed documentation to get tailored recommendations.\",\"dateModified\":\"2026-04-18T21:15:13.445Z\",\"isPartOf\":{\"@id\":\"https://docs.trynia.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.trynia.ai/api-reference/advisor/context-aware-code-advisor#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.trynia.ai/api-reference/advisor/context-aware-code-advisor#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Nia AI Documentation\",\"item\":\"https://docs.trynia.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Context-aware code advisor\",\"item\":\"https://docs.trynia.ai/api-reference/advisor/context-aware-code-advisor\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.trynia.ai/api-reference/advisor/context-aware-code-advisor#apireference\",\"headline\":\"Context-aware code advisor\",\"name\":\"Context-aware code advisor\",\"description\":\"Analyze codebase context against Nia's indexed documentation to get tailored recommendations.\",\"url\":\"https://docs.trynia.ai/api-reference/advisor/context-aware-code-advisor\",\"mainEntityOfPage\":{\"@id\":\"https://docs.trynia.ai/api-reference/advisor/context-aware-code-advisor#webpage\"},\"dateModified\":\"2026-04-18T21:15:13.445Z\",\"publisher\":{\"@id\":\"https://docs.trynia.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.trynia.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Nia AI Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Nia AI Documentation","nav":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/BBSwUMrrfn"},{"anchor":"GitHub","icon":"github","href":"https://github.com/nozomio-labs/nia"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/welcome"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations/21st-dev"}]},{"tab":"Plugins","pages":[{"title":"Plugins","href":"/plugins/overview"}]},{"tab":"API Reference","groups":[{"group":"Usage","pages":[{"title":"Export Account","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /account/export","href":"/api-reference/usage/export-account"},{"title":"Import Account","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /account/import","href":"/api-reference/usage/import-account"},{"title":"Bulk delete resources","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /bulk-delete","href":"/api-reference/usage/bulk-delete-resources"},{"title":"List Available Connectors","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /connectors","href":"/api-reference/usage/list-available-connectors"},{"title":"List Installations","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /connectors/installations","href":"/api-reference/usage/list-installations"},{"title":"Delete Installation","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml delete /connectors/installations/{installation_id}","href":"/api-reference/usage/delete-installation"},{"title":"Index Installation","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /connectors/installations/{installation_id}/index","href":"/api-reference/usage/index-installation"},{"title":"Update Schedule","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml patch /connectors/installations/{installation_id}/schedule","href":"/api-reference/usage/update-schedule"},{"title":"Get Installation Status","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /connectors/installations/{installation_id}/status","href":"/api-reference/usage/get-installation-status"},{"title":"Install Connector","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /connectors/{connector_type}/install","href":"/api-reference/usage/install-connector"},{"title":"Oauth Callback","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /connectors/{connector_type}/oauth/callback","href":"/api-reference/usage/oauth-callback"},{"title":"Query document(s) with an AI agent (synchronous)","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /document/agent","href":"/api-reference/usage/query-documents-with-an-ai-agent-synchronous"},{"title":"List async document agent jobs for the authenticated user","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /document/agent/jobs","href":"/api-reference/usage/list-async-document-agent-jobs-for-the-authenticated-user"},{"title":"Enqueue an async document agent job","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /document/agent/jobs","href":"/api-reference/usage/enqueue-an-async-document-agent-job"},{"title":"Get the status / result of a document agent job","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /document/agent/jobs/{job_id}","href":"/api-reference/usage/get-the-status-result-of-a-document-agent-job"},{"title":"Cancel a running document agent job","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml delete /document/agent/jobs/{job_id}","href":"/api-reference/usage/cancel-a-running-document-agent-job"},{"title":"Stream live updates from a document agent job (SSE)","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /document/agent/jobs/{job_id}/stream","href":"/api-reference/usage/stream-live-updates-from-a-document-agent-job-sse"},{"title":"Start Extraction","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /extract","href":"/api-reference/usage/start-extraction"},{"title":"Start Detect Extraction","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /extract/detect","href":"/api-reference/usage/start-detect-extraction"},{"title":"Get Detect Extraction","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /extract/detect/{extraction_id}","href":"/api-reference/usage/get-detect-extraction"},{"title":"Get Detect Page Image","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /extract/detect/{extraction_id}/page/{page_number}/image","href":"/api-reference/usage/get-detect-page-image"},{"title":"Start Engineering Extraction","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /extract/engineering","href":"/api-reference/usage/start-engineering-extraction"},{"title":"Get Engineering Extraction","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /extract/engineering/{extraction_id}","href":"/api-reference/usage/get-engineering-extraction"},{"title":"Query Engineering Extraction","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /extract/engineering/{extraction_id}/query","href":"/api-reference/usage/query-engineering-extraction"},{"title":"Get Extraction","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /extract/{extraction_id}","href":"/api-reference/usage/get-extraction"},{"title":"List Extractions","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /extractions","href":"/api-reference/usage/list-extractions"},{"title":"Submit Answer Feedback","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /feedback/answer","href":"/api-reference/usage/submit-answer-feedback"},{"title":"Submit Source Interaction","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /feedback/interaction","href":"/api-reference/usage/submit-source-interaction"},{"title":"Submit Source Feedback","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /feedback/source","href":"/api-reference/usage/submit-source-feedback"},{"title":"Fs List","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /fs","href":"/api-reference/usage/fs-list"},{"title":"Fs Create","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /fs","href":"/api-reference/usage/fs-create"},{"title":"Fs Exec","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /fs/{source_id}/exec","href":"/api-reference/usage/fs-exec"},{"title":"Fs Write","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml put /fs/{source_id}/files","href":"/api-reference/usage/fs-write"},{"title":"Fs Delete","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml delete /fs/{source_id}/files","href":"/api-reference/usage/fs-delete"},{"title":"Fs Write Batch","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml put /fs/{source_id}/files/batch","href":"/api-reference/usage/fs-write-batch"},{"title":"Fs Find","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /fs/{source_id}/find","href":"/api-reference/usage/fs-find"},{"title":"Fs Grep","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /fs/{source_id}/grep","href":"/api-reference/usage/fs-grep"},{"title":"Fs Info","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /fs/{source_id}/info","href":"/api-reference/usage/fs-info"},{"title":"Fs Ls","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /fs/{source_id}/ls","href":"/api-reference/usage/fs-ls"},{"title":"Fs Get Metadata","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /fs/{source_id}/metadata","href":"/api-reference/usage/fs-get-metadata"},{"title":"Fs Mkdir","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /fs/{source_id}/mkdir","href":"/api-reference/usage/fs-mkdir"},{"title":"Fs Mv","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /fs/{source_id}/mv","href":"/api-reference/usage/fs-mv"},{"title":"Fs Delete Namespace","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml delete /fs/{source_id}/namespace","href":"/api-reference/usage/fs-delete-namespace"},{"title":"Fs Read","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /fs/{source_id}/read","href":"/api-reference/usage/fs-read"},{"title":"Fs Tree","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /fs/{source_id}/tree","href":"/api-reference/usage/fs-tree"},{"title":"Generate Install Url","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /google-drive/install","href":"/api-reference/usage/generate-install-url"},{"title":"Handle Oauth Callback","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /google-drive/install/callback","href":"/api-reference/usage/handle-oauth-callback"},{"title":"List Google Drive Installations","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /google-drive/installations","href":"/api-reference/usage/list-google-drive-installations"},{"title":"Get Google Drive Installation","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /google-drive/installations/{installation_id}","href":"/api-reference/usage/get-google-drive-installation"},{"title":"Delete Google Drive Installation","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml delete /google-drive/installations/{installation_id}","href":"/api-reference/usage/delete-google-drive-installation"},{"title":"Browse Google Drive Items","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /google-drive/installations/{installation_id}/browse","href":"/api-reference/usage/browse-google-drive-items"},{"title":"Trigger Google Drive Index","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /google-drive/installations/{installation_id}/index","href":"/api-reference/usage/trigger-google-drive-index"},{"title":"Get Google Drive Selection","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /google-drive/installations/{installation_id}/selection","href":"/api-reference/usage/get-google-drive-selection"},{"title":"Update Google Drive Selection","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /google-drive/installations/{installation_id}/selection","href":"/api-reference/usage/update-google-drive-selection"},{"title":"Get Google Drive Index Status","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /google-drive/installations/{installation_id}/status","href":"/api-reference/usage/get-google-drive-index-status"},{"title":"Trigger Google Drive Sync","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /google-drive/installations/{installation_id}/sync","href":"/api-reference/usage/trigger-google-drive-sync"},{"title":"Oracle Research","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /oracle","href":"/api-reference/usage/oracle-research"},{"title":"Get 1M Usage","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /oracle/1m-usage","href":"/api-reference/usage/get-1m-usage"},{"title":"List Oracle Jobs","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /oracle/jobs","href":"/api-reference/usage/list-oracle-jobs"},{"title":"Create Oracle Job","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /oracle/jobs","href":"/api-reference/usage/create-oracle-job"},{"title":"Get Oracle Job","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /oracle/jobs/{job_id}","href":"/api-reference/usage/get-oracle-job"},{"title":"Cancel Oracle Job","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml delete /oracle/jobs/{job_id}","href":"/api-reference/usage/cancel-oracle-job"},{"title":"Stream Oracle Job","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /oracle/jobs/{job_id}/stream","href":"/api-reference/usage/stream-oracle-job"},{"title":"List Oracle Sessions","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /oracle/sessions","href":"/api-reference/usage/list-oracle-sessions"},{"title":"Get Oracle Session Detail","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /oracle/sessions/{session_id}","href":"/api-reference/usage/get-oracle-session-detail"},{"title":"Delete Oracle Session","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml delete /oracle/sessions/{session_id}","href":"/api-reference/usage/delete-oracle-session"},{"title":"Stream Oracle Session Chat","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /oracle/sessions/{session_id}/chat/stream","href":"/api-reference/usage/stream-oracle-session-chat"},{"title":"Get Oracle Session Messages","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /oracle/sessions/{session_id}/messages","href":"/api-reference/usage/get-oracle-session-messages"},{"title":"Grep package source","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /packages/grep","href":"/api-reference/usage/grep-package-source"},{"title":"Read package file","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /packages/read","href":"/api-reference/usage/read-package-file"},{"title":"Semantic package search","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /packages/search","href":"/api-reference/usage/semantic-package-search"},{"title":"Index Docs","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /shell-docs/index","href":"/api-reference/usage/index-docs"},{"title":"Shell Docs Load","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /shell-docs/load","href":"/api-reference/usage/shell-docs-load"},{"title":"Check Status","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /shell-docs/status","href":"/api-reference/usage/check-status"},{"title":"Ingest Telemetry","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /shell-docs/telemetry","href":"/api-reference/usage/ingest-telemetry"},{"title":"Shell Docs Dump","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /shell-docs/{namespace}/dump","href":"/api-reference/usage/shell-docs-dump"},{"title":"Shell Docs Find","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /shell-docs/{namespace}/find","href":"/api-reference/usage/shell-docs-find"},{"title":"Shell Docs Grep","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /shell-docs/{namespace}/grep","href":"/api-reference/usage/shell-docs-grep"},{"title":"Shell Docs Info","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /shell-docs/{namespace}/info","href":"/api-reference/usage/shell-docs-info"},{"title":"Shell Docs Ls","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /shell-docs/{namespace}/ls","href":"/api-reference/usage/shell-docs-ls"},{"title":"Shell Docs Read","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /shell-docs/{namespace}/read","href":"/api-reference/usage/shell-docs-read"},{"title":"Shell Docs Tree","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /shell-docs/{namespace}/tree","href":"/api-reference/usage/shell-docs-tree"},{"title":"Generate Install Url","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /slack/install","href":"/api-reference/usage/generate-install-url-1"},{"title":"Handle Oauth Callback","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /slack/install/callback","href":"/api-reference/usage/handle-oauth-callback-1"},{"title":"Register External Token","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /slack/install/token","href":"/api-reference/usage/register-external-token"},{"title":"List Slack Installations","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /slack/installations","href":"/api-reference/usage/list-slack-installations"},{"title":"Get Slack Installation","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /slack/installations/{installation_id}","href":"/api-reference/usage/get-slack-installation"},{"title":"Delete Slack Installation","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml delete /slack/installations/{installation_id}","href":"/api-reference/usage/delete-slack-installation"},{"title":"List Slack Channels","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /slack/installations/{installation_id}/channels","href":"/api-reference/usage/list-slack-channels"},{"title":"Configure Slack Channels","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /slack/installations/{installation_id}/channels","href":"/api-reference/usage/configure-slack-channels"},{"title":"Grep Slack Messages","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /slack/installations/{installation_id}/grep","href":"/api-reference/usage/grep-slack-messages"},{"title":"Trigger Slack Index","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /slack/installations/{installation_id}/index","href":"/api-reference/usage/trigger-slack-index"},{"title":"Read Slack Messages","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /slack/installations/{installation_id}/messages","href":"/api-reference/usage/read-slack-messages"},{"title":"Get Slack Index Status","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /slack/installations/{installation_id}/status","href":"/api-reference/usage/get-slack-index-status"},{"title":"Get sources summary","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /sources-summary","href":"/api-reference/usage/get-sources-summary"},{"title":"Get usage summary","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /usage","href":"/api-reference/usage/get-usage-summary"},{"title":"List Vaults","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /vaults","href":"/api-reference/usage/list-vaults"},{"title":"Create Vault","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /vaults","href":"/api-reference/usage/create-vault"},{"title":"List Available Sources","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /vaults/available-sources","href":"/api-reference/usage/list-available-sources"},{"title":"Get Vault","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /vaults/{vault_id}","href":"/api-reference/usage/get-vault"},{"title":"Delete Vault","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml delete /vaults/{vault_id}","href":"/api-reference/usage/delete-vault"},{"title":"Patch Vault","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml patch /vaults/{vault_id}","href":"/api-reference/usage/patch-vault"},{"title":"Vault Agent","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /vaults/{vault_id}/agent","href":"/api-reference/usage/vault-agent"},{"title":"Cancel Vault Workflow","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /vaults/{vault_id}/cancel","href":"/api-reference/usage/cancel-vault-workflow"},{"title":"Vault Graph","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /vaults/{vault_id}/graph","href":"/api-reference/usage/vault-graph"},{"title":"Load Vault","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /vaults/{vault_id}/load","href":"/api-reference/usage/load-vault"},{"title":"Run Vault Workflow","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /vaults/{vault_id}/run","href":"/api-reference/usage/run-vault-workflow"},{"title":"Search Vault","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /vaults/{vault_id}/search","href":"/api-reference/usage/search-vault"},{"title":"List Vault Sources","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /vaults/{vault_id}/sources","href":"/api-reference/usage/list-vault-sources"},{"title":"Add Vault Source","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /vaults/{vault_id}/sources","href":"/api-reference/usage/add-vault-source"},{"title":"Remove Vault Source","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml delete /vaults/{vault_id}/sources/{source_id}","href":"/api-reference/usage/remove-vault-source"},{"title":"List X Installations","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /x/installations","href":"/api-reference/usage/list-x-installations"},{"title":"Create X Installation","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /x/installations","href":"/api-reference/usage/create-x-installation"},{"title":"Get X Installation","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /x/installations/{installation_id}","href":"/api-reference/usage/get-x-installation"},{"title":"Delete X Installation","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml delete /x/installations/{installation_id}","href":"/api-reference/usage/delete-x-installation"},{"title":"Trigger X Index","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /x/installations/{installation_id}/index","href":"/api-reference/usage/trigger-x-index"},{"title":"Get X Index Status","description":null,"deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /x/installations/{installation_id}/status","href":"/api-reference/usage/get-x-index-status"}]},{"group":"Advisor","pages":[{"title":"Context-aware code advisor","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /advisor","href":"/api-reference/advisor/context-aware-code-advisor"}]},{"group":"Auth","pages":[{"title":"Login","description":"Request a verification code for passwordless login.\n\nA 6-digit code is sent to the provided email. Exchange it via\nPOST /v2/auth/login/verify to receive a new API key.","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /auth/login","href":"/api-reference/auth/login"},{"title":"Login Verify","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /auth/login/verify","href":"/api-reference/auth/login-verify"},{"title":"Resend Code","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /auth/resend-code","href":"/api-reference/auth/resend-code"},{"title":"Signup","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /auth/signup","href":"/api-reference/auth/signup"},{"title":"Verify","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /auth/verify","href":"/api-reference/auth/verify"}]},{"group":"Categories","pages":[{"title":"List categories","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /categories","href":"/api-reference/categories/list-categories"},{"title":"Create category","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /categories","href":"/api-reference/categories/create-category"},{"title":"Delete category","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml delete /categories/{category_id}","href":"/api-reference/categories/delete-category"},{"title":"Update category","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml patch /categories/{category_id}","href":"/api-reference/categories/update-category"}]},{"group":"Context Sharing","pages":[{"title":"List contexts","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /contexts","href":"/api-reference/context-sharing/list-contexts"},{"title":"Save context","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /contexts","href":"/api-reference/context-sharing/save-context"},{"title":"Text search contexts","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /contexts/search","href":"/api-reference/context-sharing/text-search-contexts"},{"title":"Semantic search contexts","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /contexts/semantic-search","href":"/api-reference/context-sharing/semantic-search-contexts"},{"title":"Get context","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /contexts/{context_id}","href":"/api-reference/context-sharing/get-context"},{"title":"Update context","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml put /contexts/{context_id}","href":"/api-reference/context-sharing/update-context"},{"title":"Delete context","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml delete /contexts/{context_id}","href":"/api-reference/context-sharing/delete-context"}]},{"group":"Dependencies","pages":[{"title":"Analyze package manifest","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /dependencies/analyze","href":"/api-reference/dependencies/analyze-package-manifest"},{"title":"Subscribe to documentation for manifest dependencies","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /dependencies/subscribe","href":"/api-reference/dependencies/subscribe-to-documentation-for-manifest-dependencies"},{"title":"Upload manifest file and subscribe to dependencies","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /dependencies/upload","href":"/api-reference/dependencies/upload-manifest-file-and-subscribe-to-dependencies"}]},{"group":"GitHub Search","pages":[{"title":"Github Glob","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /github/glob","href":"/api-reference/github-search/github-glob"},{"title":"Github Read","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /github/read","href":"/api-reference/github-search/github-read"},{"title":"Github Code Search","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /github/search","href":"/api-reference/github-search/github-code-search"},{"title":"List Tracer Jobs","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /github/tracer","href":"/api-reference/github-search/list-tracer-jobs"},{"title":"Create Tracer Job","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /github/tracer","href":"/api-reference/github-search/create-tracer-job"},{"title":"Get Tracer Job","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /github/tracer/{job_id}","href":"/api-reference/github-search/get-tracer-job"},{"title":"Delete Tracer Job","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml delete /github/tracer/{job_id}","href":"/api-reference/github-search/delete-tracer-job"},{"title":"Stream Tracer Job","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /github/tracer/{job_id}/stream","href":"/api-reference/github-search/stream-tracer-job"},{"title":"Github Tree","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /github/tree/{owner}/{repo}","href":"/api-reference/github-search/github-tree"}]},{"group":"Search","pages":[{"title":"Unified search","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /search","href":"/api-reference/search/unified-search"}]},{"group":"Sources","pages":[{"title":"List Sources","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /sources","href":"/api-reference/sources/list-sources"},{"title":"Create Source","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /sources","href":"/api-reference/sources/create-source"},{"title":"Explore Global Sources","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /sources/explore","href":"/api-reference/sources/explore-global-sources"},{"title":"Resolve Source","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /sources/resolve","href":"/api-reference/sources/resolve-source"},{"title":"Subscribe to a global source","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /sources/subscribe","href":"/api-reference/sources/subscribe-to-a-global-source"},{"title":"Get PDF upload URL","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /sources/upload-url","href":"/api-reference/sources/get-pdf-upload-url"},{"title":"Get Source","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /sources/{source_id}","href":"/api-reference/sources/get-source"},{"title":"Delete Source","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml delete /sources/{source_id}","href":"/api-reference/sources/delete-source"},{"title":"Update Source","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml patch /sources/{source_id}","href":"/api-reference/sources/update-source"},{"title":"List Source Annotations","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /sources/{source_id}/annotations","href":"/api-reference/sources/list-source-annotations"},{"title":"Create Source Annotation","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /sources/{source_id}/annotations","href":"/api-reference/sources/create-source-annotation"},{"title":"Delete Source Annotation","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml delete /sources/{source_id}/annotations/{annotation_id}","href":"/api-reference/sources/delete-source-annotation"},{"title":"Update Source Annotation","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml patch /sources/{source_id}/annotations/{annotation_id}","href":"/api-reference/sources/update-source-annotation"},{"title":"Get Source Classification","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /sources/{source_id}/classification","href":"/api-reference/sources/get-source-classification"},{"title":"Update Source Classification","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml patch /sources/{source_id}/classification","href":"/api-reference/sources/update-source-classification"},{"title":"Get Source Content","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /sources/{source_id}/content","href":"/api-reference/sources/get-source-content"},{"title":"Get Source Curation","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /sources/{source_id}/curation","href":"/api-reference/sources/get-source-curation"},{"title":"Update Source Curation","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml put /sources/{source_id}/curation","href":"/api-reference/sources/update-source-curation"},{"title":"Grep Source","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /sources/{source_id}/grep","href":"/api-reference/sources/grep-source"},{"title":"Sync Source","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /sources/{source_id}/sync","href":"/api-reference/sources/sync-source"},{"title":"Get Source Tree","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml get /sources/{source_id}/tree","href":"/api-reference/sources/get-source-tree"}]}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdk/quickstart"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/overview"}]}]},"basePath":"","title":"Context-aware code advisor - Nia AI Documentation","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}