List of local folders to query. Can be strings (display_name or local_folder_id) or dicts with 'local_folder_id' or 'identifier' fields. Local folders are private and user-scoped.
{"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/search/unified-search","slug":"/api-reference/search/unified-search","pageMetadata":{"title":"Unified search","description":"Single search endpoint with a mode discriminator.","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /search","href":"/api-reference/search/unified-search","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: \"Single search endpoint with a mode discriminator.\"\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":"Unified search","description":"Single search endpoint with a mode discriminator.","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /search","href":"/api-reference/search/unified-search","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Search"],"summary":"Unified search","description":"Single search endpoint with a mode discriminator.","operationId":"unified_search_v2_v2_search_post","requestBody":"0014ccec-8a65-4a35-9333-23fee5fda291","responses":{"200":"29e9b625-a8ee-422a-a827-fc7a6d007da4","422":"274033eb-357d-41ae-a96d-43ee7128be5e"},"method":"post","type":"path","servers":["ecd9f3c1-37e7-4a31-b837-f55ef0b862df","b67096c5-ca1a-49d6-b949-cd25d5cccbe7"],"security":["f4a830ff-f296-4574-a89a-90513a087414"],"path":"/search","baseUrlOptions":["https://apigcp.trynia.ai/v2","http://localhost:8000/v2"],"title":"Unified search","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"QuerySearchRequest","required":["messages"],"properties":{"messages":{"items":{"additionalProperties":true,"type":"object","uniqueKey":"oneOf.0.messages.items.[INDEX]","typeLabel":"object"},"type":"array","minItems":1,"title":"Messages","description":"List of chat messages","isRequired":true,"uniqueKey":"oneOf.0.messages","typeLabel":"Messages · object[]"},"repositories":{"items":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.repositories.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"object","additionalProperties":true,"uniqueKey":"oneOf.0.repositories.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.0.repositories.items.[INDEX]","typeLabel":"string | object"},"type":"array","title":"Repositories","description":"List of repositories to query. Can be strings (slug, display name) or dicts with a 'repository' field.","uniqueKey":"oneOf.0.repositories","typeLabel":"(string | object)[]"},"data_sources":{"items":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.data_sources.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"object","additionalProperties":true,"uniqueKey":"oneOf.0.data_sources.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.0.data_sources.items.[INDEX]","typeLabel":"string | object"},"type":"array","title":"Data Sources","description":"List of data sources to query. Can be strings (display_name, URL, or source_id) or dicts with 'source_id' or 'identifier' fields","uniqueKey":"oneOf.0.data_sources","typeLabel":"(string | object)[]"},"local_folders":{"items":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.local_folders.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"object","additionalProperties":true,"uniqueKey":"oneOf.0.local_folders.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"oneOf.0.local_folders.items.[INDEX]","typeLabel":"string | object"},"type":"array","title":"Local Folders","description":"List of local folders to query. Can be strings (display_name or local_folder_id) or dicts with 'local_folder_id' or 'identifier' fields. Local folders are private and user-scoped.","uniqueKey":"oneOf.0.local_folders","typeLabel":"(string | object)[]"},"slack_workspaces":{"items":{"type":"string","uniqueKey":"oneOf.0.slack_workspaces.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Slack Workspaces","description":"List of Slack installation IDs to include in search","uniqueKey":"oneOf.0.slack_workspaces","typeLabel":"string[]"},"slack_filters":{"oneOf":[{"type":"object","title":"SlackSearchFilters","description":"Filters for Slack message results (channels, users, date range)","properties":{"channels":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.slack_filters.oneOf.0.channels.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Channels","description":"Filter by channel names or IDs","uniqueKey":"oneOf.0.slack_filters.oneOf.0.channels.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Channels","description":"Filter by channel names or IDs","uniqueKey":"oneOf.0.slack_filters.oneOf.0.channels.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.slack_filters.oneOf.0.channels","typeLabel":"string[] | null"},"users":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.slack_filters.oneOf.0.users.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Users","description":"Filter by Slack user names or IDs","uniqueKey":"oneOf.0.slack_filters.oneOf.0.users.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Users","description":"Filter by Slack user names or IDs","uniqueKey":"oneOf.0.slack_filters.oneOf.0.users.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.slack_filters.oneOf.0.users","typeLabel":"string[] | null"},"date_from":{"oneOf":[{"type":"string","title":"Date From","description":"Oldest message timestamp (ISO 8601)","uniqueKey":"oneOf.0.slack_filters.oneOf.0.date_from.oneOf.0","typeLabel":"string"},{"type":"null","title":"Date From","description":"Oldest message timestamp (ISO 8601)","uniqueKey":"oneOf.0.slack_filters.oneOf.0.date_from.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.slack_filters.oneOf.0.date_from","typeLabel":"string | null"},"date_to":{"oneOf":[{"type":"string","title":"Date To","description":"Newest message timestamp (ISO 8601)","uniqueKey":"oneOf.0.slack_filters.oneOf.0.date_to.oneOf.0","typeLabel":"string"},{"type":"null","title":"Date To","description":"Newest message timestamp (ISO 8601)","uniqueKey":"oneOf.0.slack_filters.oneOf.0.date_to.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.slack_filters.oneOf.0.date_to","typeLabel":"string | null"},"include_threads":{"type":"boolean","title":"Include Threads","description":"Include threaded messages in results","default":true,"uniqueKey":"oneOf.0.slack_filters.oneOf.0.include_threads","typeLabel":"boolean"}},"uniqueKey":"oneOf.0.slack_filters.oneOf.0","typeLabel":"SlackSearchFilters · object"},{"type":"null","description":"Filters for Slack message results (channels, users, date range)","uniqueKey":"oneOf.0.slack_filters.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.slack_filters","typeLabel":"SlackSearchFilters · object | null"},"category":{"oneOf":[{"type":"string","title":"Category","description":"Filter local folder results by classification category (e.g., 'Work', 'Personal')","uniqueKey":"oneOf.0.category.oneOf.0","typeLabel":"string"},{"type":"null","title":"Category","description":"Filter local folder results by classification category (e.g., 'Work', 'Personal')","uniqueKey":"oneOf.0.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.category","typeLabel":"string | null"},"local_source_filters":{"oneOf":[{"type":"object","title":"LocalSourceFilters","description":"Filters for local/personal sources (messages, contacts, etc.)","properties":{"source_subtype":{"oneOf":[{"type":"string","title":"Source Subtype","description":"Filter by source subtype (e.g., 'database', 'telegram_export')","uniqueKey":"oneOf.0.local_source_filters.oneOf.0.source_subtype.oneOf.0","typeLabel":"string"},{"type":"null","title":"Source Subtype","description":"Filter by source subtype (e.g., 'database', 'telegram_export')","uniqueKey":"oneOf.0.local_source_filters.oneOf.0.source_subtype.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.local_source_filters.oneOf.0.source_subtype","typeLabel":"string | null"},"db_type":{"oneOf":[{"type":"string","title":"Db Type","description":"Filter by database type (e.g., 'imessage', 'telegram', 'safari_history')","uniqueKey":"oneOf.0.local_source_filters.oneOf.0.db_type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Db Type","description":"Filter by database type (e.g., 'imessage', 'telegram', 'safari_history')","uniqueKey":"oneOf.0.local_source_filters.oneOf.0.db_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.local_source_filters.oneOf.0.db_type","typeLabel":"string | null"},"connector_type":{"oneOf":[{"type":"string","title":"Connector Type","description":"Filter by connector type (e.g., 'imessage', 'whatsapp', 'contacts')","uniqueKey":"oneOf.0.local_source_filters.oneOf.0.connector_type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Connector Type","description":"Filter by connector type (e.g., 'imessage', 'whatsapp', 'contacts')","uniqueKey":"oneOf.0.local_source_filters.oneOf.0.connector_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.local_source_filters.oneOf.0.connector_type","typeLabel":"string | null"},"conversation_id":{"oneOf":[{"type":"string","title":"Conversation Id","description":"Filter to a specific conversation/chat","uniqueKey":"oneOf.0.local_source_filters.oneOf.0.conversation_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Conversation Id","description":"Filter to a specific conversation/chat","uniqueKey":"oneOf.0.local_source_filters.oneOf.0.conversation_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.local_source_filters.oneOf.0.conversation_id","typeLabel":"string | null"},"contact_id":{"oneOf":[{"type":"string","title":"Contact Id","description":"Filter to messages with a specific contact","uniqueKey":"oneOf.0.local_source_filters.oneOf.0.contact_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Contact Id","description":"Filter to messages with a specific contact","uniqueKey":"oneOf.0.local_source_filters.oneOf.0.contact_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.local_source_filters.oneOf.0.contact_id","typeLabel":"string | null"},"sender_role":{"oneOf":[{"type":"string","title":"Sender Role","description":"Filter by sender role: 'self' or 'contact'","uniqueKey":"oneOf.0.local_source_filters.oneOf.0.sender_role.oneOf.0","typeLabel":"string"},{"type":"null","title":"Sender Role","description":"Filter by sender role: 'self' or 'contact'","uniqueKey":"oneOf.0.local_source_filters.oneOf.0.sender_role.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.local_source_filters.oneOf.0.sender_role","typeLabel":"string | null"},"time_after":{"oneOf":[{"type":"string","title":"Time After","description":"Only return results with timestamp after this ISO datetime","uniqueKey":"oneOf.0.local_source_filters.oneOf.0.time_after.oneOf.0","typeLabel":"string"},{"type":"null","title":"Time After","description":"Only return results with timestamp after this ISO datetime","uniqueKey":"oneOf.0.local_source_filters.oneOf.0.time_after.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.local_source_filters.oneOf.0.time_after","typeLabel":"string | null"},"time_before":{"oneOf":[{"type":"string","title":"Time Before","description":"Only return results with timestamp before this ISO datetime","uniqueKey":"oneOf.0.local_source_filters.oneOf.0.time_before.oneOf.0","typeLabel":"string"},{"type":"null","title":"Time Before","description":"Only return results with timestamp before this ISO datetime","uniqueKey":"oneOf.0.local_source_filters.oneOf.0.time_before.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.local_source_filters.oneOf.0.time_before","typeLabel":"string | null"}},"uniqueKey":"oneOf.0.local_source_filters.oneOf.0","typeLabel":"LocalSourceFilters · object"},{"type":"null","description":"Filters for local/personal sources (messages, contacts, etc.)","uniqueKey":"oneOf.0.local_source_filters.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.local_source_filters","typeLabel":"LocalSourceFilters · object | null"},"source_trust_filter":{"oneOf":[{"type":"object","title":"SourceTrustFilter","description":"Optional trust-aware filtering for curated source results","properties":{"minimum_trust_tier":{"oneOf":[{"type":"string","title":"Minimum Trust Tier","description":"Only include sources at or above this effective trust tier","enum":["low","medium","high","verified"],"uniqueKey":"oneOf.0.source_trust_filter.oneOf.0.minimum_trust_tier.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Minimum Trust Tier","description":"Only include sources at or above this effective trust tier","uniqueKey":"oneOf.0.source_trust_filter.oneOf.0.minimum_trust_tier.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.source_trust_filter.oneOf.0.minimum_trust_tier","typeLabel":"enum\u003cstring> | null"},"verified_only":{"type":"boolean","title":"Verified Only","description":"Only include Nia-verified sources","default":false,"uniqueKey":"oneOf.0.source_trust_filter.oneOf.0.verified_only","typeLabel":"boolean"},"require_overlay":{"type":"boolean","title":"Require Overlay","description":"Only include sources with curated overlays","default":false,"uniqueKey":"oneOf.0.source_trust_filter.oneOf.0.require_overlay","typeLabel":"boolean"}},"uniqueKey":"oneOf.0.source_trust_filter.oneOf.0","typeLabel":"SourceTrustFilter · object"},{"type":"null","description":"Optional trust-aware filtering for curated source results","uniqueKey":"oneOf.0.source_trust_filter.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.source_trust_filter","typeLabel":"SourceTrustFilter · object | null"},"search_mode":{"type":"string","title":"Search Mode","description":"Search mode: 'repositories', 'sources', or 'unified'","default":"unified","uniqueKey":"oneOf.0.search_mode","typeLabel":"string"},"stream":{"type":"boolean","title":"Stream","description":"Whether to stream the response","default":false,"uniqueKey":"oneOf.0.stream","typeLabel":"boolean"},"include_sources":{"type":"boolean","title":"Include Sources","description":"Whether to include source texts in the response","default":true,"uniqueKey":"oneOf.0.include_sources","typeLabel":"boolean"},"fast_mode":{"type":"boolean","title":"Fast Mode","description":"Skip LLM processing for faster results (100-500ms vs 2-8s). Set to false for deeper analysis.","default":true,"uniqueKey":"oneOf.0.fast_mode","typeLabel":"boolean"},"skip_llm":{"type":"boolean","title":"Skip Llm","description":"Return raw search results without any LLM processing. Returns only sources with scores.","default":false,"uniqueKey":"oneOf.0.skip_llm","typeLabel":"boolean"},"reasoning_strategy":{"type":"string","title":"Reasoning Strategy","description":"Retrieval strategy: 'vector' (default similarity search), 'tree' (LLM-guided tree navigation for PDFs), or 'hybrid' (both combined)","default":"vector","uniqueKey":"oneOf.0.reasoning_strategy","typeLabel":"string"},"max_tokens":{"oneOf":[{"type":"integer","title":"Max Tokens","description":"Maximum tokens in response. Results truncated when budget reached.","maximum":100000,"minimum":100,"uniqueKey":"oneOf.0.max_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Max Tokens","description":"Maximum tokens in response. Results truncated when budget reached.","uniqueKey":"oneOf.0.max_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.max_tokens","typeLabel":"integer | null"},"model":{"oneOf":[{"type":"string","title":"Model","description":"Synthesis model override. Allowed: claude-sonnet-4-5, gpt-5.2-2025-12-11, claude-haiku-4-5-20251001","uniqueKey":"oneOf.0.model.oneOf.0","typeLabel":"string"},{"type":"null","title":"Model","description":"Synthesis model override. Allowed: claude-sonnet-4-5, gpt-5.2-2025-12-11, claude-haiku-4-5-20251001","uniqueKey":"oneOf.0.model.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.model","typeLabel":"string | null"},"semantic_cache_threshold":{"type":"number","maximum":1,"minimum":0.8,"title":"Semantic Cache Threshold","description":"Minimum similarity for semantic cache hit (non-streaming only)","default":0.92,"uniqueKey":"oneOf.0.semantic_cache_threshold","typeLabel":"number"},"bypass_semantic_cache":{"type":"boolean","title":"Bypass Semantic Cache","description":"Skip semantic cache (L2) lookup","default":false,"uniqueKey":"oneOf.0.bypass_semantic_cache","typeLabel":"boolean"},"include_follow_ups":{"type":"boolean","title":"Include Follow Ups","description":"Generate follow-up questions (adds ~500-1000ms LLM latency). Disabled by default for speed.","default":false,"uniqueKey":"oneOf.0.include_follow_ups","typeLabel":"boolean"},"e2e_session_id":{"oneOf":[{"type":"string","title":"E2E Session Id","description":"Active E2E decrypt session ID. When provided, encrypted local folder results are decrypted through the desktop bridge before synthesis.","uniqueKey":"oneOf.0.e2e_session_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"E2E Session Id","description":"Active E2E decrypt session ID. When provided, encrypted local folder results are decrypted through the desktop bridge before synthesis.","uniqueKey":"oneOf.0.e2e_session_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.e2e_session_id","typeLabel":"string | null"},"mode":{"type":"string","const":"query","title":"Mode","description":"Search mode discriminator","default":"query","uniqueKey":"oneOf.0.mode","typeLabel":"string"}},"uniqueKey":"oneOf.0","typeLabel":"QuerySearchRequest · object"},{"type":"object","title":"WebSearchRequestWithMode","required":["query"],"properties":{"query":{"type":"string","title":"Query","description":"Search query","isRequired":true,"uniqueKey":"oneOf.1.query","typeLabel":"string"},"num_results":{"type":"integer","maximum":10,"minimum":1,"title":"Num Results","description":"Number of results","default":5,"uniqueKey":"oneOf.1.num_results","typeLabel":"integer"},"category":{"oneOf":[{"type":"string","title":"Category","description":"Filter by category: github, company, research, news, tweet, pdf, blog","uniqueKey":"oneOf.1.category.oneOf.0","typeLabel":"string"},{"type":"null","title":"Category","description":"Filter by category: github, company, research, news, tweet, pdf, blog","uniqueKey":"oneOf.1.category.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.category","typeLabel":"string | null"},"days_back":{"oneOf":[{"type":"integer","title":"Days Back","description":"Only show results from last N days","uniqueKey":"oneOf.1.days_back.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Days Back","description":"Only show results from last N days","uniqueKey":"oneOf.1.days_back.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.days_back","typeLabel":"integer | null"},"find_similar_to":{"oneOf":[{"type":"string","title":"Find Similar To","description":"URL to find similar content to","uniqueKey":"oneOf.1.find_similar_to.oneOf.0","typeLabel":"string"},{"type":"null","title":"Find Similar To","description":"URL to find similar content to","uniqueKey":"oneOf.1.find_similar_to.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.find_similar_to","typeLabel":"string | null"},"mode":{"type":"string","const":"web","title":"Mode","description":"Search mode discriminator","default":"web","uniqueKey":"oneOf.1.mode","typeLabel":"string"}},"uniqueKey":"oneOf.1","typeLabel":"WebSearchRequestWithMode · object"},{"type":"object","title":"DeepResearchRequestWithMode","required":["query"],"properties":{"query":{"type":"string","title":"Query","description":"Research question","isRequired":true,"uniqueKey":"oneOf.2.query","typeLabel":"string"},"output_format":{"oneOf":[{"type":"string","title":"Output Format","description":"Optional structure hint","uniqueKey":"oneOf.2.output_format.oneOf.0","typeLabel":"string"},{"type":"null","title":"Output Format","description":"Optional structure hint","uniqueKey":"oneOf.2.output_format.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.output_format","typeLabel":"string | null"},"verbose":{"type":"boolean","title":"Verbose","description":"Include verbose trace output","default":false,"uniqueKey":"oneOf.2.verbose","typeLabel":"boolean"},"mode":{"type":"string","const":"deep","title":"Mode","description":"Search mode discriminator","default":"deep","uniqueKey":"oneOf.2.mode","typeLabel":"string"}},"uniqueKey":"oneOf.2","typeLabel":"DeepResearchRequestWithMode · object"},{"type":"object","title":"UniversalSearchRequestWithMode","required":["query"],"properties":{"query":{"type":"string","title":"Query","description":"Natural language search query","isRequired":true,"uniqueKey":"oneOf.3.query","typeLabel":"string"},"top_k":{"type":"integer","maximum":100,"minimum":1,"title":"Top K","description":"Total number of results","default":20,"uniqueKey":"oneOf.3.top_k","typeLabel":"integer"},"include_repos":{"type":"boolean","title":"Include Repos","description":"Include repository sources","default":true,"uniqueKey":"oneOf.3.include_repos","typeLabel":"boolean"},"include_docs":{"type":"boolean","title":"Include Docs","description":"Include documentation sources","default":true,"uniqueKey":"oneOf.3.include_docs","typeLabel":"boolean"},"include_huggingface_datasets":{"type":"boolean","title":"Include Huggingface Datasets","description":"Include HuggingFace dataset sources (excluded by default to prevent search pollution)","default":false,"uniqueKey":"oneOf.3.include_huggingface_datasets","typeLabel":"boolean"},"alpha":{"type":"number","maximum":1,"minimum":0,"title":"Alpha","description":"Weight for vector search (0.7 = 70% vector)","default":0.7,"uniqueKey":"oneOf.3.alpha","typeLabel":"number"},"compress_output":{"type":"boolean","title":"Compress Output","description":"Use AI to compress results","default":false,"uniqueKey":"oneOf.3.compress_output","typeLabel":"boolean"},"max_sources":{"type":"integer","maximum":30,"minimum":1,"title":"Max Sources","description":"Max source namespaces to deep search","default":5,"uniqueKey":"oneOf.3.max_sources","typeLabel":"integer"},"sources_for_answer":{"type":"integer","maximum":30,"minimum":1,"title":"Sources For Answer","description":"Number of results to use for AI answer","default":10,"uniqueKey":"oneOf.3.sources_for_answer","typeLabel":"integer"},"bypass_cache":{"type":"boolean","title":"Bypass Cache","description":"Skip cache and force fresh search results","default":false,"uniqueKey":"oneOf.3.bypass_cache","typeLabel":"boolean"},"max_tokens":{"oneOf":[{"type":"integer","title":"Max Tokens","description":"Maximum tokens in response. Results truncated when budget reached.","maximum":100000,"minimum":100,"uniqueKey":"oneOf.3.max_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Max Tokens","description":"Maximum tokens in response. Results truncated when budget reached.","uniqueKey":"oneOf.3.max_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.3.max_tokens","typeLabel":"integer | null"},"boost_source_types":{"additionalProperties":{"type":"number","uniqueKey":"oneOf.3.boost_source_types.additionalProperties","typeLabel":"number"},"type":"object","title":"Boost Source Types","description":"Source type boosts (override to customize or set {} to disable)","default":{"repository":1.2,"documentation":1,"research_paper":0.9,"huggingface_dataset":0.85},"uniqueKey":"oneOf.3.boost_source_types","typeLabel":"Boost Source Types · object"},"boost_languages":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"oneOf.3.boost_languages.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Boost Languages","description":"Programming languages to boost (e.g., ['python', 'typescript'])","uniqueKey":"oneOf.3.boost_languages.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Boost Languages","description":"Programming languages to boost (e.g., ['python', 'typescript'])","uniqueKey":"oneOf.3.boost_languages.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.3.boost_languages","typeLabel":"string[] | null"},"language_boost_factor":{"type":"number","maximum":5,"minimum":1,"title":"Language Boost Factor","description":"Boost multiplier for preferred languages","default":1.5,"uniqueKey":"oneOf.3.language_boost_factor","typeLabel":"number"},"use_native_boosting":{"type":"boolean","title":"Use Native Boosting","description":"Use TurboPuffer FTS v2 native Sum/Product boosting","default":true,"uniqueKey":"oneOf.3.use_native_boosting","typeLabel":"boolean"},"semantic_cache_threshold":{"type":"number","maximum":1,"minimum":0.8,"title":"Semantic Cache Threshold","description":"Minimum similarity for semantic cache hit (0.8-1.0)","default":0.92,"uniqueKey":"oneOf.3.semantic_cache_threshold","typeLabel":"number"},"bypass_semantic_cache":{"type":"boolean","title":"Bypass Semantic Cache","description":"Skip semantic cache (L2) lookup","default":false,"uniqueKey":"oneOf.3.bypass_semantic_cache","typeLabel":"boolean"},"expand_symbols":{"type":"boolean","title":"Expand Symbols","description":"Extract function/class names from results and search for usages (cAST-inspired)","default":false,"uniqueKey":"oneOf.3.expand_symbols","typeLabel":"boolean"},"mode":{"type":"string","const":"universal","title":"Mode","description":"Search mode discriminator","default":"universal","uniqueKey":"oneOf.3.mode","typeLabel":"string"}},"uniqueKey":"oneOf.3","typeLabel":"UniversalSearchRequestWithMode · object"}],"uniqueKey":"","typeLabel":"QuerySearchRequest · object | WebSearchRequestWithMode · object | DeepResearchRequestWithMode · object | UniversalSearchRequestWithMode · object"},"examples":{"Example":{"title":"Example","value":{"messages":[{}],"repositories":["\u003cstring>"],"data_sources":["\u003cstring>"],"local_folders":["\u003cstring>"],"slack_workspaces":["\u003cstring>"],"slack_filters":{"channels":["\u003cstring>"],"users":["\u003cstring>"],"date_from":"\u003cstring>","date_to":"\u003cstring>","include_threads":true},"category":"\u003cstring>","local_source_filters":{"source_subtype":"\u003cstring>","db_type":"\u003cstring>","connector_type":"\u003cstring>","conversation_id":"\u003cstring>","contact_id":"\u003cstring>","sender_role":"\u003cstring>","time_after":"\u003cstring>","time_before":"\u003cstring>"},"source_trust_filter":{"verified_only":false,"require_overlay":false},"search_mode":"unified","stream":false,"include_sources":true,"fast_mode":true,"skip_llm":false,"reasoning_strategy":"vector","max_tokens":50050,"model":"\u003cstring>","semantic_cache_threshold":0.92,"bypass_semantic_cache":false,"include_follow_ups":false,"e2e_session_id":"\u003cstring>","mode":"query"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"29e9b625-a8ee-422a-a827-fc7a6d007da4":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"exampleType":"generated"},"274033eb-357d-41ae-a96d-43ee7128be5e":{"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":"Unified search - Nia AI Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-18T21:15:14.815Z","originalFileLocation":"api-reference/search/unified-search.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=\"Single search endpoint with a mode discriminator.\">\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=\"Unified search - Nia AI Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Single search endpoint with a mode discriminator.\">\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/search/unified-search\">\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=Search\u0026amp;title=Unified+search\u0026amp;description=Single+search+endpoint+with+a+mode+discriminator.\u0026amp;theme=b98edd9c34b7f60b60497a4f\u0026amp;signature=b0ad4c75dc98d430064938d97e5e1f0615417fd079d12a78148472bb26ca8965\">\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=\"Unified search - Nia AI Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Single search endpoint with a mode discriminator.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://niaai.mintlify.app/_mintlify/api/og/v2?division=Search\u0026amp;title=Unified+search\u0026amp;description=Single+search+endpoint+with+a+mode+discriminator.\u0026amp;theme=b98edd9c34b7f60b60497a4f\u0026amp;signature=b0ad4c75dc98d430064938d97e5e1f0615417fd079d12a78148472bb26ca8965\">\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/search/unified-search\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/search/unified-search.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/search/unified-search#webpage\",\"url\":\"https://docs.trynia.ai/api-reference/search/unified-search\",\"name\":\"Unified search\",\"description\":\"Single search endpoint with a mode discriminator.\",\"dateModified\":\"2026-04-18T21:15:14.815Z\",\"isPartOf\":{\"@id\":\"https://docs.trynia.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.trynia.ai/api-reference/search/unified-search#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.trynia.ai/api-reference/search/unified-search#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Nia AI Documentation\",\"item\":\"https://docs.trynia.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Unified search\",\"item\":\"https://docs.trynia.ai/api-reference/search/unified-search\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.trynia.ai/api-reference/search/unified-search#apireference\",\"headline\":\"Unified search\",\"name\":\"Unified search\",\"description\":\"Single search endpoint with a mode discriminator.\",\"url\":\"https://docs.trynia.ai/api-reference/search/unified-search\",\"mainEntityOfPage\":{\"@id\":\"https://docs.trynia.ai/api-reference/search/unified-search#webpage\"},\"dateModified\":\"2026-04-18T21:15:14.815Z\",\"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","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","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","description":"Get the file tree of a GitHub repository or subdirectory.","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","description":null,"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":"Unified search - 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"]}