{"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":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae9250e7d386b1c81f0871d:success","clientVersion":"0.0.4124","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":"custom-rbac-roles","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":"rbac-expansion","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":"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":"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":"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":"editor-metadata","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},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","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}],"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/context-sharing/save-context","slug":"/api-reference/context-sharing/save-context","pageMetadata":{"title":"Save context","description":"Save conversation context for cross-agent sharing. Indexed in vector store for semantic search.","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /contexts","href":"/api-reference/context-sharing/save-context","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: \"Save conversation context for cross-agent sharing. Indexed in vector store for semantic search.\"\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":"Save context","description":"Save conversation context for cross-agent sharing. Indexed in vector store for semantic search.","deprecated":null,"version":null,"openapi":"/openapi-docs.yaml post /contexts","href":"/api-reference/context-sharing/save-context","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Context Sharing"],"summary":"Save context","description":"Save conversation context for cross-agent sharing. Indexed in vector store for semantic search.","operationId":"save_context_v2_v2_contexts_post","requestBody":"5658e18f-1257-4c26-ae42-802c1100909c","responses":{"200":"878d4916-77a9-4b40-8d37-cd1e1cb6b409","422":"4cdfa043-513e-4ea8-a533-dedc4e17ec85"},"method":"post","type":"path","servers":["ecd9f3c1-37e7-4a31-b837-f55ef0b862df","b67096c5-ca1a-49d6-b949-cd25d5cccbe7"],"security":["f4a830ff-f296-4574-a89a-90513a087414"],"path":"/contexts","baseUrlOptions":["https://apigcp.trynia.ai/v2","http://localhost:8000/v2"],"title":"Save context","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"title":{"type":"string","maxLength":200,"minLength":1,"title":"Title","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"summary":{"type":"string","maxLength":1000,"minLength":10,"title":"Summary","isRequired":true,"uniqueKey":"summary","typeLabel":"string"},"content":{"type":"string","minLength":50,"title":"Content","isRequired":true,"uniqueKey":"content","typeLabel":"string"},"agent_source":{"type":"string","title":"Agent Source","description":"Which agent created this context","isRequired":true,"uniqueKey":"agent_source","typeLabel":"string"},"tags":{"items":{"type":"string","uniqueKey":"tags.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Tags","uniqueKey":"tags","typeLabel":"string[]"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata","uniqueKey":"metadata","typeLabel":"Metadata · object"},"organization_id":{"oneOf":[{"type":"string","title":"Organization Id","uniqueKey":"organization_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Organization Id","uniqueKey":"organization_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"organization_id","typeLabel":"string | null"},"nia_references":{"oneOf":[{"type":"object","title":"NiaReferences","description":"Structured tracking of NIA resources used during conversation.","properties":{"indexed_resources":{"items":{"properties":{"identifier":{"type":"string","title":"Identifier","description":"Repository (owner/repo) or documentation URL/ID","isRequired":true,"uniqueKey":"nia_references.oneOf.0.indexed_resources.items.[INDEX].identifier","typeLabel":"string"},"resource_type":{"type":"string","title":"Resource Type","description":"Type: 'repository' or 'documentation'","isRequired":true,"uniqueKey":"nia_references.oneOf.0.indexed_resources.items.[INDEX].resource_type","typeLabel":"string"},"purpose":{"type":"string","title":"Purpose","description":"Why this resource was used/referenced","isRequired":true,"uniqueKey":"nia_references.oneOf.0.indexed_resources.items.[INDEX].purpose","typeLabel":"string"},"indexed_at":{"oneOf":[{"type":"string","title":"Indexed At","description":"When it was indexed","uniqueKey":"nia_references.oneOf.0.indexed_resources.items.[INDEX].indexed_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Indexed At","description":"When it was indexed","uniqueKey":"nia_references.oneOf.0.indexed_resources.items.[INDEX].indexed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"nia_references.oneOf.0.indexed_resources.items.[INDEX].indexed_at","typeLabel":"string | null"}},"type":"object","required":["identifier","resource_type","purpose"],"title":"IndexedResource","description":"Represents a NIA resource (repository or documentation) with context.","uniqueKey":"nia_references.oneOf.0.indexed_resources.items.[INDEX]","typeLabel":"IndexedResource · object"},"type":"array","title":"Indexed Resources","uniqueKey":"nia_references.oneOf.0.indexed_resources","typeLabel":"IndexedResource · object[]"},"search_queries":{"items":{"properties":{"query":{"type":"string","title":"Query","description":"The search query that was performed","isRequired":true,"uniqueKey":"nia_references.oneOf.0.search_queries.items.[INDEX].query","typeLabel":"string"},"query_type":{"type":"string","title":"Query Type","description":"Type: 'codebase', 'documentation', etc.","isRequired":true,"uniqueKey":"nia_references.oneOf.0.search_queries.items.[INDEX].query_type","typeLabel":"string"},"key_findings":{"type":"string","title":"Key Findings","description":"Brief summary of what was found","isRequired":true,"uniqueKey":"nia_references.oneOf.0.search_queries.items.[INDEX].key_findings","typeLabel":"string"},"resources_searched":{"items":{"type":"string","uniqueKey":"nia_references.oneOf.0.search_queries.items.[INDEX].resources_searched.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Resources Searched","uniqueKey":"nia_references.oneOf.0.search_queries.items.[INDEX].resources_searched","typeLabel":"string[]"},"useful_results_count":{"type":"integer","title":"Useful Results Count","default":0,"uniqueKey":"nia_references.oneOf.0.search_queries.items.[INDEX].useful_results_count","typeLabel":"integer"}},"type":"object","required":["query","query_type","key_findings"],"title":"SearchQuery","description":"Represents a search query performed during the conversation.","uniqueKey":"nia_references.oneOf.0.search_queries.items.[INDEX]","typeLabel":"SearchQuery · object"},"type":"array","title":"Search Queries","uniqueKey":"nia_references.oneOf.0.search_queries","typeLabel":"SearchQuery · object[]"},"session_summary":{"oneOf":[{"type":"string","title":"Session Summary","uniqueKey":"nia_references.oneOf.0.session_summary.oneOf.0","typeLabel":"string"},{"type":"null","title":"Session Summary","uniqueKey":"nia_references.oneOf.0.session_summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"nia_references.oneOf.0.session_summary","typeLabel":"string | null"}},"uniqueKey":"nia_references.oneOf.0","typeLabel":"NiaReferences · object"},{"type":"null","uniqueKey":"nia_references.oneOf.1","typeLabel":"null"}],"uniqueKey":"nia_references","typeLabel":"NiaReferences · object | null"},"edited_files":{"items":{"properties":{"file_path":{"type":"string","title":"File Path","description":"Path to the file","isRequired":true,"uniqueKey":"edited_files.items.[INDEX].file_path","typeLabel":"string"},"operation":{"type":"string","title":"Operation","description":"Type: 'created', 'modified', 'deleted'","isRequired":true,"uniqueKey":"edited_files.items.[INDEX].operation","typeLabel":"string"},"changes_description":{"type":"string","title":"Changes Description","description":"Brief description of changes","isRequired":true,"uniqueKey":"edited_files.items.[INDEX].changes_description","typeLabel":"string"},"key_changes":{"items":{"type":"string","uniqueKey":"edited_files.items.[INDEX].key_changes.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Key Changes","uniqueKey":"edited_files.items.[INDEX].key_changes","typeLabel":"string[]"},"language":{"oneOf":[{"type":"string","title":"Language","description":"Programming language of the file","uniqueKey":"edited_files.items.[INDEX].language.oneOf.0","typeLabel":"string"},{"type":"null","title":"Language","description":"Programming language of the file","uniqueKey":"edited_files.items.[INDEX].language.oneOf.1","typeLabel":"null"}],"uniqueKey":"edited_files.items.[INDEX].language","typeLabel":"string | null"}},"type":"object","required":["file_path","operation","changes_description"],"title":"EditedFile","description":"Represents a file that was modified during the conversation.","uniqueKey":"edited_files.items.[INDEX]","typeLabel":"EditedFile · object"},"type":"array","title":"Edited Files","uniqueKey":"edited_files","typeLabel":"EditedFile · object[]"},"memory_type":{"type":"string","enum":["scratchpad","episodic","fact","procedural"],"title":"Memory Type","description":"Memory type: scratchpad (1hr), episodic (7d), fact (permanent), procedural (permanent)","default":"episodic","uniqueKey":"memory_type","typeLabel":"enum\u003cstring>"},"ttl_seconds":{"oneOf":[{"type":"integer","title":"Ttl Seconds","description":"Custom TTL in seconds. If not set, uses memory_type default.","minimum":0,"uniqueKey":"ttl_seconds.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Ttl Seconds","description":"Custom TTL in seconds. If not set, uses memory_type default.","uniqueKey":"ttl_seconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"ttl_seconds","typeLabel":"integer | null"},"lineage":{"oneOf":[{"type":"object","title":"LineageInput","description":"Provenance tracking for this context","properties":{"source_ids":{"items":{"type":"string","uniqueKey":"lineage.oneOf.0.source_ids.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Source Ids","description":"Source identifiers (e.g., 'repo:owner/repo', 'doc:name')","uniqueKey":"lineage.oneOf.0.source_ids","typeLabel":"string[]"},"confidence":{"oneOf":[{"type":"number","title":"Confidence","description":"Confidence score 0-1","maximum":1,"minimum":0,"uniqueKey":"lineage.oneOf.0.confidence.oneOf.0","typeLabel":"number"},{"type":"null","title":"Confidence","description":"Confidence score 0-1","uniqueKey":"lineage.oneOf.0.confidence.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineage.oneOf.0.confidence","typeLabel":"number | null"},"derived_from":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"lineage.oneOf.0.derived_from.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Derived From","description":"Parent context IDs if derived","uniqueKey":"lineage.oneOf.0.derived_from.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Derived From","description":"Parent context IDs if derived","uniqueKey":"lineage.oneOf.0.derived_from.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineage.oneOf.0.derived_from","typeLabel":"string[] | null"},"tool_calls":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"lineage.oneOf.0.tool_calls.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Tool Calls","description":"Tools used to create this artifact","uniqueKey":"lineage.oneOf.0.tool_calls.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Tool Calls","description":"Tools used to create this artifact","uniqueKey":"lineage.oneOf.0.tool_calls.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineage.oneOf.0.tool_calls","typeLabel":"string[] | null"},"model_version":{"oneOf":[{"type":"string","title":"Model Version","description":"Model version that created this","uniqueKey":"lineage.oneOf.0.model_version.oneOf.0","typeLabel":"string"},{"type":"null","title":"Model Version","description":"Model version that created this","uniqueKey":"lineage.oneOf.0.model_version.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineage.oneOf.0.model_version","typeLabel":"string | null"}},"uniqueKey":"lineage.oneOf.0","typeLabel":"LineageInput · object"},{"type":"null","description":"Provenance tracking for this context","uniqueKey":"lineage.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineage","typeLabel":"LineageInput · object | null"}},"type":"object","required":["title","summary","content","agent_source"],"title":"ContextShareRequest","description":"Request model for creating a shared context.","uniqueKey":"","typeLabel":"ContextShareRequest · object"},"examples":{"Example":{"title":"Example","value":{"title":"\u003cstring>","summary":"\u003cstring>","content":"\u003cstring>","agent_source":"\u003cstring>","tags":["\u003cstring>"],"metadata":{},"organization_id":"\u003cstring>","nia_references":{"indexed_resources":[{"identifier":"\u003cstring>","resource_type":"\u003cstring>","purpose":"\u003cstring>","indexed_at":"\u003cstring>"}],"search_queries":[{"query":"\u003cstring>","query_type":"\u003cstring>","key_findings":"\u003cstring>","resources_searched":["\u003cstring>"],"useful_results_count":0}],"session_summary":"\u003cstring>"},"edited_files":[{"file_path":"\u003cstring>","operation":"\u003cstring>","changes_description":"\u003cstring>","key_changes":["\u003cstring>"],"language":"\u003cstring>"}],"memory_type":"episodic","ttl_seconds":1,"lineage":{"source_ids":["\u003cstring>"],"confidence":0.5,"derived_from":["\u003cstring>"],"tool_calls":["\u003cstring>"],"model_version":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"878d4916-77a9-4b40-8d37-cd1e1cb6b409":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"id":{"type":"string","title":"Id","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"user_id":{"type":"string","title":"User Id","isRequired":true,"uniqueKey":"user_id","typeLabel":"string"},"title":{"type":"string","title":"Title","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"summary":{"type":"string","title":"Summary","isRequired":true,"uniqueKey":"summary","typeLabel":"string"},"content":{"type":"string","title":"Content","isRequired":true,"uniqueKey":"content","typeLabel":"string"},"tags":{"items":{"type":"string","uniqueKey":"tags.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Tags","isRequired":true,"uniqueKey":"tags","typeLabel":"string[]"},"agent_source":{"type":"string","title":"Agent Source","isRequired":true,"uniqueKey":"agent_source","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","title":"Created At","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata","isRequired":true,"uniqueKey":"metadata","typeLabel":"Metadata · object"},"organization_id":{"oneOf":[{"type":"string","title":"Organization Id","uniqueKey":"organization_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Organization Id","uniqueKey":"organization_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"organization_id","typeLabel":"string | null"},"updated_at":{"oneOf":[{"type":"string","title":"Updated At","format":"date-time","uniqueKey":"updated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Updated At","uniqueKey":"updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"updated_at","typeLabel":"string\u003cdate-time> | null"},"nia_references":{"oneOf":[{"type":"object","title":"NiaReferences","description":"Structured tracking of NIA resources used during conversation.","properties":{"indexed_resources":{"items":{"properties":{"identifier":{"type":"string","title":"Identifier","description":"Repository (owner/repo) or documentation URL/ID","isRequired":true,"uniqueKey":"nia_references.oneOf.0.indexed_resources.items.[INDEX].identifier","typeLabel":"string"},"resource_type":{"type":"string","title":"Resource Type","description":"Type: 'repository' or 'documentation'","isRequired":true,"uniqueKey":"nia_references.oneOf.0.indexed_resources.items.[INDEX].resource_type","typeLabel":"string"},"purpose":{"type":"string","title":"Purpose","description":"Why this resource was used/referenced","isRequired":true,"uniqueKey":"nia_references.oneOf.0.indexed_resources.items.[INDEX].purpose","typeLabel":"string"},"indexed_at":{"oneOf":[{"type":"string","title":"Indexed At","description":"When it was indexed","uniqueKey":"nia_references.oneOf.0.indexed_resources.items.[INDEX].indexed_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Indexed At","description":"When it was indexed","uniqueKey":"nia_references.oneOf.0.indexed_resources.items.[INDEX].indexed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"nia_references.oneOf.0.indexed_resources.items.[INDEX].indexed_at","typeLabel":"string | null"}},"type":"object","required":["identifier","resource_type","purpose"],"title":"IndexedResource","description":"Represents a NIA resource (repository or documentation) with context.","uniqueKey":"nia_references.oneOf.0.indexed_resources.items.[INDEX]","typeLabel":"IndexedResource · object"},"type":"array","title":"Indexed Resources","uniqueKey":"nia_references.oneOf.0.indexed_resources","typeLabel":"IndexedResource · object[]"},"search_queries":{"items":{"properties":{"query":{"type":"string","title":"Query","description":"The search query that was performed","isRequired":true,"uniqueKey":"nia_references.oneOf.0.search_queries.items.[INDEX].query","typeLabel":"string"},"query_type":{"type":"string","title":"Query Type","description":"Type: 'codebase', 'documentation', etc.","isRequired":true,"uniqueKey":"nia_references.oneOf.0.search_queries.items.[INDEX].query_type","typeLabel":"string"},"key_findings":{"type":"string","title":"Key Findings","description":"Brief summary of what was found","isRequired":true,"uniqueKey":"nia_references.oneOf.0.search_queries.items.[INDEX].key_findings","typeLabel":"string"},"resources_searched":{"items":{"type":"string","uniqueKey":"nia_references.oneOf.0.search_queries.items.[INDEX].resources_searched.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Resources Searched","uniqueKey":"nia_references.oneOf.0.search_queries.items.[INDEX].resources_searched","typeLabel":"string[]"},"useful_results_count":{"type":"integer","title":"Useful Results Count","default":0,"uniqueKey":"nia_references.oneOf.0.search_queries.items.[INDEX].useful_results_count","typeLabel":"integer"}},"type":"object","required":["query","query_type","key_findings"],"title":"SearchQuery","description":"Represents a search query performed during the conversation.","uniqueKey":"nia_references.oneOf.0.search_queries.items.[INDEX]","typeLabel":"SearchQuery · object"},"type":"array","title":"Search Queries","uniqueKey":"nia_references.oneOf.0.search_queries","typeLabel":"SearchQuery · object[]"},"session_summary":{"oneOf":[{"type":"string","title":"Session Summary","uniqueKey":"nia_references.oneOf.0.session_summary.oneOf.0","typeLabel":"string"},{"type":"null","title":"Session Summary","uniqueKey":"nia_references.oneOf.0.session_summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"nia_references.oneOf.0.session_summary","typeLabel":"string | null"}},"uniqueKey":"nia_references.oneOf.0","typeLabel":"NiaReferences · object"},{"type":"null","uniqueKey":"nia_references.oneOf.1","typeLabel":"null"}],"uniqueKey":"nia_references","typeLabel":"NiaReferences · object | null"},"edited_files":{"items":{"properties":{"file_path":{"type":"string","title":"File Path","description":"Path to the file","isRequired":true,"uniqueKey":"edited_files.items.[INDEX].file_path","typeLabel":"string"},"operation":{"type":"string","title":"Operation","description":"Type: 'created', 'modified', 'deleted'","isRequired":true,"uniqueKey":"edited_files.items.[INDEX].operation","typeLabel":"string"},"changes_description":{"type":"string","title":"Changes Description","description":"Brief description of changes","isRequired":true,"uniqueKey":"edited_files.items.[INDEX].changes_description","typeLabel":"string"},"key_changes":{"items":{"type":"string","uniqueKey":"edited_files.items.[INDEX].key_changes.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Key Changes","uniqueKey":"edited_files.items.[INDEX].key_changes","typeLabel":"string[]"},"language":{"oneOf":[{"type":"string","title":"Language","description":"Programming language of the file","uniqueKey":"edited_files.items.[INDEX].language.oneOf.0","typeLabel":"string"},{"type":"null","title":"Language","description":"Programming language of the file","uniqueKey":"edited_files.items.[INDEX].language.oneOf.1","typeLabel":"null"}],"uniqueKey":"edited_files.items.[INDEX].language","typeLabel":"string | null"}},"type":"object","required":["file_path","operation","changes_description"],"title":"EditedFile","description":"Represents a file that was modified during the conversation.","uniqueKey":"edited_files.items.[INDEX]","typeLabel":"EditedFile · object"},"type":"array","title":"Edited Files","uniqueKey":"edited_files","typeLabel":"EditedFile · object[]"},"memory_type":{"type":"string","enum":["scratchpad","episodic","fact","procedural"],"title":"Memory Type","default":"episodic","uniqueKey":"memory_type","typeLabel":"enum\u003cstring>"},"expires_at":{"oneOf":[{"type":"string","title":"Expires At","format":"date-time","uniqueKey":"expires_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Expires At","uniqueKey":"expires_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"expires_at","typeLabel":"string\u003cdate-time> | null"},"lineage":{"oneOf":[{"type":"object","title":"LineageMetadata","description":"Provenance tracking for content artifacts.","required":["created_at"],"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"When this artifact was created","isRequired":true,"uniqueKey":"lineage.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"source_ids":{"items":{"type":"string","uniqueKey":"lineage.oneOf.0.source_ids.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Source Ids","description":"Source identifiers (e.g., 'repo:owner/repo', 'doc:name')","uniqueKey":"lineage.oneOf.0.source_ids","typeLabel":"string[]"},"confidence":{"oneOf":[{"type":"number","title":"Confidence","description":"Confidence score 0-1","uniqueKey":"lineage.oneOf.0.confidence.oneOf.0","typeLabel":"number"},{"type":"null","title":"Confidence","description":"Confidence score 0-1","uniqueKey":"lineage.oneOf.0.confidence.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineage.oneOf.0.confidence","typeLabel":"number | null"},"derived_from":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"lineage.oneOf.0.derived_from.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Derived From","description":"Parent context IDs if derived","uniqueKey":"lineage.oneOf.0.derived_from.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Derived From","description":"Parent context IDs if derived","uniqueKey":"lineage.oneOf.0.derived_from.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineage.oneOf.0.derived_from","typeLabel":"string[] | null"},"tool_calls":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"lineage.oneOf.0.tool_calls.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Tool Calls","description":"Tools used to create this artifact","uniqueKey":"lineage.oneOf.0.tool_calls.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Tool Calls","description":"Tools used to create this artifact","uniqueKey":"lineage.oneOf.0.tool_calls.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineage.oneOf.0.tool_calls","typeLabel":"string[] | null"},"model_version":{"oneOf":[{"type":"string","title":"Model Version","description":"Model version that created this","uniqueKey":"lineage.oneOf.0.model_version.oneOf.0","typeLabel":"string"},{"type":"null","title":"Model Version","description":"Model version that created this","uniqueKey":"lineage.oneOf.0.model_version.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineage.oneOf.0.model_version","typeLabel":"string | null"}},"uniqueKey":"lineage.oneOf.0","typeLabel":"LineageMetadata · object"},{"type":"null","uniqueKey":"lineage.oneOf.1","typeLabel":"null"}],"uniqueKey":"lineage","typeLabel":"LineageMetadata · object | null"},"category_id":{"oneOf":[{"type":"string","title":"Category Id","uniqueKey":"category_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Category Id","uniqueKey":"category_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"category_id","typeLabel":"string | null"}},"type":"object","required":["id","user_id","title","summary","content","tags","agent_source","created_at","metadata"],"title":"ContextShareResponse","description":"Response model for context operations.","uniqueKey":"","typeLabel":"ContextShareResponse · object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","user_id":"\u003cstring>","title":"\u003cstring>","summary":"\u003cstring>","content":"\u003cstring>","tags":["\u003cstring>"],"agent_source":"\u003cstring>","created_at":"2023-11-07T05:31:56Z","metadata":{},"organization_id":"\u003cstring>","updated_at":"2023-11-07T05:31:56Z","nia_references":{"indexed_resources":[{"identifier":"\u003cstring>","resource_type":"\u003cstring>","purpose":"\u003cstring>","indexed_at":"\u003cstring>"}],"search_queries":[{"query":"\u003cstring>","query_type":"\u003cstring>","key_findings":"\u003cstring>","resources_searched":["\u003cstring>"],"useful_results_count":0}],"session_summary":"\u003cstring>"},"edited_files":[{"file_path":"\u003cstring>","operation":"\u003cstring>","changes_description":"\u003cstring>","key_changes":["\u003cstring>"],"language":"\u003cstring>"}],"memory_type":"episodic","expires_at":"2023-11-07T05:31:56Z","lineage":{"created_at":"2023-11-07T05:31:56Z","source_ids":["\u003cstring>"],"confidence":123,"derived_from":["\u003cstring>"],"tool_calls":["\u003cstring>"],"model_version":"\u003cstring>"},"category_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"4cdfa043-513e-4ea8-a533-dedc4e17ec85":{"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":"Save context - Nia AI Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-18T21:15:13.683Z","originalFileLocation":"api-reference/context-sharing/save-context.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=\"Save conversation context for cross-agent sharing. Indexed in vector store for semantic search.\">\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=\"Save context - Nia AI Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Save conversation context for cross-agent sharing. Indexed in vector store for semantic search.\">\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/context-sharing/save-context\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://niaai.mintlify.site/_mintlify/api/og/v2?division=Context+Sharing\u0026amp;title=Save+context\u0026amp;description=Save+conversation+context+for+cross-agent+sharing.+Indexed+in+vector+store+for+semantic+search.\u0026amp;theme=69fee0b5caf474ee3385753c\u0026amp;signature=a50220f60637e17584aeeb763ba16b2bc7c7e2b6a57930652a44b8e02c54623f\">\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=\"Save context - Nia AI Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Save conversation context for cross-agent sharing. Indexed in vector store for semantic search.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://niaai.mintlify.site/_mintlify/api/og/v2?division=Context+Sharing\u0026amp;title=Save+context\u0026amp;description=Save+conversation+context+for+cross-agent+sharing.+Indexed+in+vector+store+for+semantic+search.\u0026amp;theme=69fee0b5caf474ee3385753c\u0026amp;signature=a50220f60637e17584aeeb763ba16b2bc7c7e2b6a57930652a44b8e02c54623f\">\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/context-sharing/save-context\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/context-sharing/save-context.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/context-sharing/save-context#webpage\",\"url\":\"https://docs.trynia.ai/api-reference/context-sharing/save-context\",\"name\":\"Save context\",\"description\":\"Save conversation context for cross-agent sharing. Indexed in vector store for semantic search.\",\"dateModified\":\"2026-04-18T21:15:13.683Z\",\"isPartOf\":{\"@id\":\"https://docs.trynia.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.trynia.ai/api-reference/context-sharing/save-context#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.trynia.ai/api-reference/context-sharing/save-context#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Context Sharing\",\"item\":\"https://docs.trynia.ai/api-reference/context-sharing/list-contexts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Save context\",\"item\":\"https://docs.trynia.ai/api-reference/context-sharing/save-context\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.trynia.ai/api-reference/context-sharing/save-context#apireference\",\"headline\":\"Save context\",\"name\":\"Save context\",\"description\":\"Save conversation context for cross-agent sharing. Indexed in vector store for semantic search.\",\"url\":\"https://docs.trynia.ai/api-reference/context-sharing/save-context\",\"mainEntityOfPage\":{\"@id\":\"https://docs.trynia.ai/api-reference/context-sharing/save-context#webpage\"},\"dateModified\":\"2026-04-18T21:15:13.683Z\",\"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\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Nia AI Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/context-sharing/save-context.md","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","description":"List conversation contexts with pagination. Filter by tags, agent source, or memory type.","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","description":"Search contexts by content, title, summary, or tags using MongoDB text search.","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":"Save context - Nia AI Documentation","buildId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","deploymentId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CDiBsYGW.js","utils-KF9rPlmF.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C26urKTX.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BdjmJAC1.js","snippetPresets-3IpDBjt3.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-D4x_2vvo.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BIWdc5Pa.js","shallow-LQqfiMNd.js","getApiPlaygroundDisplay-DryzlOZG.js","CodeSnippet-tcJujU4r.js","CodeSnippets-BHp0nVLL.js","Page-1CZdsdAn.js","getPastedJson-DU-1ayUv.js","icon-CZK2hPr4.js","MethodPill-DOaqmTFC.js","DuplicateIcon-B5-nUxxl.js","createIcon-CDP_U77G.js","DynamicMarkdown-GHvayGOn.js","SectionHeading-BYvpkmUD.js","axios-vUo_bRtp.js","Markdown-uxhlayGT.js","clsx-B35qUV0p.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BvrGG8gU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CAf0yVYe.js"]}