@adminide-stack/yantra-help-browser 12.0.16-alpha.6 → 12.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (357) hide show
  1. package/lib/components/HelpCenterFooter.d.ts.map +1 -1
  2. package/lib/components/HelpCenterFooter.js +186 -90
  3. package/lib/components/HelpCenterFooter.js.map +1 -1
  4. package/lib/components/HelpCenterHeader.d.ts +1 -5
  5. package/lib/components/HelpCenterHeader.d.ts.map +1 -1
  6. package/lib/components/HelpCenterHeader.js +123 -69
  7. package/lib/components/HelpCenterHeader.js.map +1 -1
  8. package/lib/components/Icons.d.ts +55 -0
  9. package/lib/components/Icons.d.ts.map +1 -0
  10. package/lib/components/Icons.js +186 -0
  11. package/lib/components/Icons.js.map +1 -0
  12. package/lib/components/Logo.d.ts +1 -2
  13. package/lib/components/Logo.d.ts.map +1 -1
  14. package/lib/components/Logo.js +5 -8
  15. package/lib/components/Logo.js.map +1 -1
  16. package/lib/components/PageHero.d.ts +9 -0
  17. package/lib/components/PageHero.d.ts.map +1 -0
  18. package/lib/components/PageHero.js +47 -0
  19. package/lib/components/PageHero.js.map +1 -0
  20. package/lib/components/SearchBar.d.ts +8 -0
  21. package/lib/components/SearchBar.d.ts.map +1 -0
  22. package/lib/components/SearchBar.js +262 -0
  23. package/lib/components/SearchBar.js.map +1 -0
  24. package/lib/components/SidebarSearch.d.ts +8 -0
  25. package/lib/components/SidebarSearch.d.ts.map +1 -0
  26. package/lib/components/SidebarSearch.js +114 -0
  27. package/lib/components/SidebarSearch.js.map +1 -0
  28. package/lib/components/navbar/index.d.ts.map +1 -1
  29. package/lib/components/navbar/index.js +32 -36
  30. package/lib/components/navbar/index.js.map +1 -1
  31. package/lib/compute.d.ts +17 -0
  32. package/lib/compute.d.ts.map +1 -1
  33. package/lib/compute.js +111 -3
  34. package/lib/compute.js.map +1 -1
  35. package/lib/pages/About/index.d.ts +3 -0
  36. package/lib/pages/About/index.d.ts.map +1 -0
  37. package/lib/pages/About/index.js +69 -0
  38. package/lib/pages/About/index.js.map +1 -0
  39. package/lib/pages/Blog/index.d.ts +3 -0
  40. package/lib/pages/Blog/index.d.ts.map +1 -0
  41. package/lib/pages/Blog/index.js +172 -0
  42. package/lib/pages/Blog/index.js.map +1 -0
  43. package/lib/pages/BlogPost/index.d.ts +3 -0
  44. package/lib/pages/BlogPost/index.d.ts.map +1 -0
  45. package/lib/pages/BlogPost/index.js +209 -0
  46. package/lib/pages/BlogPost/index.js.map +1 -0
  47. package/lib/pages/Careers/index.d.ts +3 -0
  48. package/lib/pages/Careers/index.d.ts.map +1 -0
  49. package/lib/pages/Careers/index.js +78 -0
  50. package/lib/pages/Careers/index.js.map +1 -0
  51. package/lib/pages/CategoryCollection/index.d.ts.map +1 -1
  52. package/lib/pages/CategoryCollection/index.js +86 -80
  53. package/lib/pages/CategoryCollection/index.js.map +1 -1
  54. package/lib/pages/Community/index.d.ts +3 -0
  55. package/lib/pages/Community/index.d.ts.map +1 -0
  56. package/lib/pages/Community/index.js +72 -0
  57. package/lib/pages/Community/index.js.map +1 -0
  58. package/lib/pages/Contact/index.d.ts +3 -0
  59. package/lib/pages/Contact/index.d.ts.map +1 -0
  60. package/lib/pages/Contact/index.js +128 -0
  61. package/lib/pages/Contact/index.js.map +1 -0
  62. package/lib/pages/GetStarted/components/ExampleCard.d.ts.map +1 -1
  63. package/lib/pages/GetStarted/components/GetStartedHero.d.ts.map +1 -1
  64. package/lib/pages/GetStarted/components/InfoSection.d.ts.map +1 -1
  65. package/lib/pages/GetStarted/components/TipCard.d.ts.map +1 -1
  66. package/lib/pages/GetStarted/components/UseCase.d.ts.map +1 -1
  67. package/lib/pages/GetStarted/index.d.ts.map +1 -1
  68. package/lib/pages/GetStarted/index.js +333 -713
  69. package/lib/pages/GetStarted/index.js.map +1 -1
  70. package/lib/pages/HelpCenter/components/HelpCategoryCard.d.ts +2 -0
  71. package/lib/pages/HelpCenter/components/HelpCategoryCard.d.ts.map +1 -1
  72. package/lib/pages/HelpCenter/components/HelpCategoryCard.js +154 -68
  73. package/lib/pages/HelpCenter/components/HelpCategoryCard.js.map +1 -1
  74. package/lib/pages/HelpCenter/components/Icons.d.ts +10 -0
  75. package/lib/pages/HelpCenter/components/Icons.d.ts.map +1 -1
  76. package/lib/pages/HelpCenter/components/Icons.js +338 -78
  77. package/lib/pages/HelpCenter/components/Icons.js.map +1 -1
  78. package/lib/pages/HelpCenter/components/PopularArticle.d.ts +3 -0
  79. package/lib/pages/HelpCenter/components/PopularArticle.d.ts.map +1 -1
  80. package/lib/pages/HelpCenter/components/PopularArticle.js +22 -37
  81. package/lib/pages/HelpCenter/components/PopularArticle.js.map +1 -1
  82. package/lib/pages/HelpCenter/index.d.ts.map +1 -1
  83. package/lib/pages/HelpCenter/index.js +261 -44
  84. package/lib/pages/HelpCenter/index.js.map +1 -1
  85. package/lib/pages/HelpCenter/mockData.d.ts +16 -0
  86. package/lib/pages/HelpCenter/mockData.d.ts.map +1 -1
  87. package/lib/pages/HelpCenter/mockData.js +83 -12
  88. package/lib/pages/HelpCenter/mockData.js.map +1 -1
  89. package/lib/pages/LandingPage/components/ArticleCard.d.ts +2 -2
  90. package/lib/pages/LandingPage/components/ArticleCard.d.ts.map +1 -1
  91. package/lib/pages/LandingPage/components/ArticleCard.js +31 -20
  92. package/lib/pages/LandingPage/components/ArticleCard.js.map +1 -1
  93. package/lib/pages/LandingPage/components/Assets.d.ts.map +1 -1
  94. package/lib/pages/LandingPage/components/CategoriesSection.d.ts +2 -1
  95. package/lib/pages/LandingPage/components/CategoriesSection.d.ts.map +1 -1
  96. package/lib/pages/LandingPage/components/CategoriesSection.js +33 -23
  97. package/lib/pages/LandingPage/components/CategoriesSection.js.map +1 -1
  98. package/lib/pages/LandingPage/components/CategoryCard.d.ts +1 -1
  99. package/lib/pages/LandingPage/components/CategoryCard.d.ts.map +1 -1
  100. package/lib/pages/LandingPage/components/CategoryCard.js +35 -13
  101. package/lib/pages/LandingPage/components/CategoryCard.js.map +1 -1
  102. package/lib/pages/LandingPage/components/FeaturedSection.d.ts +2 -1
  103. package/lib/pages/LandingPage/components/FeaturedSection.d.ts.map +1 -1
  104. package/lib/pages/LandingPage/components/FeaturedSection.js +24 -9
  105. package/lib/pages/LandingPage/components/FeaturedSection.js.map +1 -1
  106. package/lib/pages/LandingPage/components/HeroSection.d.ts +1 -7
  107. package/lib/pages/LandingPage/components/HeroSection.d.ts.map +1 -1
  108. package/lib/pages/LandingPage/components/HeroSection.js +108 -40
  109. package/lib/pages/LandingPage/components/HeroSection.js.map +1 -1
  110. package/lib/pages/LandingPage/components/ResourceCard.d.ts +1 -1
  111. package/lib/pages/LandingPage/components/ResourceCard.d.ts.map +1 -1
  112. package/lib/pages/LandingPage/components/ResourceCard.js +24 -19
  113. package/lib/pages/LandingPage/components/ResourceCard.js.map +1 -1
  114. package/lib/pages/LandingPage/components/ResourcesSection.d.ts +2 -2
  115. package/lib/pages/LandingPage/components/ResourcesSection.d.ts.map +1 -1
  116. package/lib/pages/LandingPage/components/ResourcesSection.js +28 -14
  117. package/lib/pages/LandingPage/components/ResourcesSection.js.map +1 -1
  118. package/lib/pages/LandingPage/index.d.ts.map +1 -1
  119. package/lib/pages/LandingPage/index.js +189 -130
  120. package/lib/pages/LandingPage/index.js.map +1 -1
  121. package/lib/pages/Markdown/MarkdownPageLayout.d.ts +3 -0
  122. package/lib/pages/Markdown/MarkdownPageLayout.d.ts.map +1 -0
  123. package/lib/pages/Markdown/MarkdownPageLayout.js +318 -0
  124. package/lib/pages/Markdown/MarkdownPageLayout.js.map +1 -0
  125. package/lib/pages/Markdown/MarkdownPageWithParams.d.ts +9 -0
  126. package/lib/pages/Markdown/MarkdownPageWithParams.d.ts.map +1 -0
  127. package/lib/pages/Markdown/MarkdownPageWithParams.js +65 -0
  128. package/lib/pages/Markdown/MarkdownPageWithParams.js.map +1 -0
  129. package/lib/pages/Markdown/index.d.ts +3 -0
  130. package/lib/pages/Markdown/index.d.ts.map +1 -0
  131. package/lib/pages/Markdown/index.js +5 -0
  132. package/lib/pages/Markdown/index.js.map +1 -0
  133. package/lib/pages/Privacy/index.d.ts +3 -0
  134. package/lib/pages/Privacy/index.d.ts.map +1 -0
  135. package/lib/pages/Privacy/index.js +449 -0
  136. package/lib/pages/Privacy/index.js.map +1 -0
  137. package/lib/pages/ReleaseNotes/index.d.ts +3 -0
  138. package/lib/pages/ReleaseNotes/index.d.ts.map +1 -0
  139. package/lib/pages/ReleaseNotes/index.js +61 -0
  140. package/lib/pages/ReleaseNotes/index.js.map +1 -0
  141. package/lib/pages/StatusPage/index.d.ts +3 -0
  142. package/lib/pages/StatusPage/index.d.ts.map +1 -0
  143. package/lib/pages/StatusPage/index.js +85 -0
  144. package/lib/pages/StatusPage/index.js.map +1 -0
  145. package/lib/pages/Terms/index.d.ts +3 -0
  146. package/lib/pages/Terms/index.d.ts.map +1 -0
  147. package/lib/pages/Terms/index.js +60 -0
  148. package/lib/pages/Terms/index.js.map +1 -0
  149. package/lib/routes.json +138 -1
  150. package/lib/templates/content/account-management/account-setup.md +83 -0
  151. package/lib/templates/content/account-management/delete-account.md +81 -0
  152. package/lib/templates/content/account-management/preferences.md +98 -0
  153. package/lib/templates/content/account-management/privacy-settings.md +94 -0
  154. package/lib/templates/content/account-management/profile-settings.md +78 -0
  155. package/lib/templates/content/ai-employees/ai-employees-overview.md +97 -0
  156. package/lib/templates/content/ai-employees/getting-started-ai-employees.md +119 -0
  157. package/lib/templates/content/ai-employees/how-ai-employees-work.md +123 -0
  158. package/lib/templates/content/ai-employees/supervised-mode.md +141 -0
  159. package/lib/templates/content/blog/how-yantra-browser-automates-workflows.md +120 -0
  160. package/lib/templates/content/blog/introducing-yantra-browser.md +90 -0
  161. package/lib/templates/content/blog/yantra-browser-productivity-tips.md +98 -0
  162. package/lib/templates/content/browser-extension/browser-extension-overview.md +60 -0
  163. package/lib/templates/content/browser-extension/extension-security.md +126 -0
  164. package/lib/templates/content/browser-extension/getting-started-extension.md +96 -0
  165. package/lib/templates/content/browser-extension/how-it-works.md +112 -0
  166. package/lib/templates/content/browser-extension/troubleshooting-extension.md +138 -0
  167. package/lib/templates/content/browser-extension/use-cases-workflows.md +123 -0
  168. package/lib/templates/content/content-manifest.json +6245 -0
  169. package/lib/templates/content/data-privacy/data-collection.md +78 -0
  170. package/lib/templates/content/data-privacy/privacy-policy.md +100 -0
  171. package/lib/templates/content/data-subject-privacy/data-access.md +90 -0
  172. package/lib/templates/content/data-subject-privacy/data-portability.md +97 -0
  173. package/lib/templates/content/data-subject-privacy/privacy-requests.md +95 -0
  174. package/lib/templates/content/file-uploads/file-upload-overview.md +93 -0
  175. package/lib/templates/content/getting-started/getting-started-guide.md +88 -0
  176. package/lib/templates/content/integrations/crm-integrations.md +130 -0
  177. package/lib/templates/content/integrations/github-integration.md +95 -0
  178. package/lib/templates/content/integrations/integrations-overview.md +142 -0
  179. package/lib/templates/content/integrations/monitoring-integrations.md +109 -0
  180. package/lib/templates/content/integrations/productivity-integrations.md +129 -0
  181. package/lib/templates/content/integrations/slack-integration.md +79 -0
  182. package/lib/templates/content/openclaw/openclaw-architecture.md +202 -0
  183. package/lib/templates/content/openclaw/openclaw-contribution.md +107 -0
  184. package/lib/templates/content/openclaw/openclaw-overview.md +152 -0
  185. package/lib/templates/content/platform-features/always-watching.md +63 -0
  186. package/lib/templates/content/platform-features/instant-context.md +67 -0
  187. package/lib/templates/content/platform-features/instant-onboarding.md +80 -0
  188. package/lib/templates/content/platform-features/platform-overview.md +58 -0
  189. package/lib/templates/content/platform-features/proactive-alerts.md +88 -0
  190. package/lib/templates/content/platform-features/smart-escalation.md +93 -0
  191. package/lib/templates/content/product-features/ai-models.md +89 -0
  192. package/lib/templates/content/product-features/collaboration-tools.md +88 -0
  193. package/lib/templates/content/product-features/conversation-features.md +76 -0
  194. package/lib/templates/content/product-features/export-features.md +87 -0
  195. package/lib/templates/content/product-features/follow-up-questions.md +82 -0
  196. package/lib/templates/content/product-features/real-time-search.md +84 -0
  197. package/lib/templates/content/product-features/saved-searches.md +75 -0
  198. package/lib/templates/content/product-features/search-features.md +82 -0
  199. package/lib/templates/content/product-features/search-history.md +86 -0
  200. package/lib/templates/content/product-features/source-citations.md +100 -0
  201. package/lib/templates/content/scope-api/api-overview.md +104 -0
  202. package/lib/templates/content/search-modes/deep-research.md +109 -0
  203. package/lib/templates/content/search-modes/labs-features.md +81 -0
  204. package/lib/templates/content/search-modes/pro-search.md +75 -0
  205. package/lib/templates/content/search-modes/regular-search.md +86 -0
  206. package/lib/templates/content/security-compliance/audit-trail.md +112 -0
  207. package/lib/templates/content/security-compliance/compliance.md +120 -0
  208. package/lib/templates/content/security-compliance/data-encryption.md +94 -0
  209. package/lib/templates/content/security-compliance/security-overview.md +186 -0
  210. package/lib/templates/content/security-compliance/vm-isolation.md +126 -0
  211. package/lib/templates/content/solutions-engineering/bug-tracking-context.md +126 -0
  212. package/lib/templates/content/solutions-engineering/engineering-overview.md +107 -0
  213. package/lib/templates/content/solutions-engineering/error-monitoring.md +120 -0
  214. package/lib/templates/content/solutions-engineering/institutional-memory.md +120 -0
  215. package/lib/templates/content/solutions-marketing/brand-monitoring.md +135 -0
  216. package/lib/templates/content/solutions-marketing/content-automation.md +111 -0
  217. package/lib/templates/content/solutions-marketing/marketing-overview.md +108 -0
  218. package/lib/templates/content/solutions-marketing/social-media-management.md +108 -0
  219. package/lib/templates/content/solutions-sales/call-preparation.md +106 -0
  220. package/lib/templates/content/solutions-sales/crm-automation.md +119 -0
  221. package/lib/templates/content/solutions-sales/lead-management.md +108 -0
  222. package/lib/templates/content/solutions-sales/sales-overview.md +120 -0
  223. package/lib/templates/content/spaces-library/spaces-overview.md +89 -0
  224. package/lib/templates/content/student-hub/academic-research.md +106 -0
  225. package/lib/templates/content/student-hub/student-discounts.md +78 -0
  226. package/lib/templates/content/student-hub/student-overview.md +86 -0
  227. package/lib/templates/content/student-hub/study-tools.md +121 -0
  228. package/lib/templates/content/subscription-billing/billing-cycle.md +71 -0
  229. package/lib/templates/content/subscription-billing/billing-overview.md +72 -0
  230. package/lib/templates/content/subscription-billing/billing-support.md +74 -0
  231. package/lib/templates/content/subscription-billing/currency-support.md +57 -0
  232. package/lib/templates/content/subscription-billing/enterprise-pricing.md +74 -0
  233. package/lib/templates/content/subscription-billing/invoice-management.md +86 -0
  234. package/lib/templates/content/subscription-billing/payment-methods.md +77 -0
  235. package/lib/templates/content/subscription-billing/promotional-offers.md +81 -0
  236. package/lib/templates/content/subscription-billing/refund-policy.md +80 -0
  237. package/lib/templates/content/subscription-billing/student-discounts.md +88 -0
  238. package/lib/templates/content/subscription-billing/tax-information.md +86 -0
  239. package/lib/templates/content/technical-questions/ai-models-technical.md +87 -0
  240. package/lib/templates/content/technical-questions/api-technical.md +158 -0
  241. package/lib/templates/content/technical-questions/data-processing.md +102 -0
  242. package/lib/templates/content/technical-questions/database-architecture.md +120 -0
  243. package/lib/templates/content/technical-questions/infrastructure.md +132 -0
  244. package/lib/templates/content/technical-questions/performance-optimization.md +105 -0
  245. package/lib/templates/content/technical-questions/search-algorithms.md +105 -0
  246. package/lib/templates/content/technical-questions/technical-overview.md +107 -0
  247. package/lib/templates/content/threads/conversation-management.md +103 -0
  248. package/lib/templates/content/threads/threads-overview.md +92 -0
  249. package/lib/templates/content/troubleshooting/common-issues.md +115 -0
  250. package/lib/templates/content/use-cases/engineering-use-cases.md +123 -0
  251. package/lib/templates/content/use-cases/marketing-use-cases.md +128 -0
  252. package/lib/templates/content/use-cases/sales-use-cases.md +123 -0
  253. package/lib/templates/content/use-cases/support-use-cases.md +120 -0
  254. package/lib/templates/content/use-cases/use-cases-overview.md +115 -0
  255. package/lib/templates/content/what-is-yantra/getting-started-yantra.md +85 -0
  256. package/lib/{content → templates/content}/what-is-yantra/how-yantra-works.md +1 -1
  257. package/lib/{content → templates/content}/what-is-yantra/practical-tips-yantra.md +2 -1
  258. package/lib/{content → templates/content}/what-is-yantra/what-is-yantra-intro.md +1 -1
  259. package/lib/{content → templates/content}/what-is-yantra/yantra-discord-community.md +4 -1
  260. package/lib/{content → templates/content}/yantra-assistant/android-app.md +10 -0
  261. package/lib/{content → templates/content}/yantra-assistant/ios-app.md +10 -0
  262. package/lib/{content → templates/content}/yantra-assistant/mobile-app-overview.md +8 -0
  263. package/lib/{content → templates/content}/yantra-assistant/voice-assistant.md +10 -0
  264. package/lib/{content → templates/content}/yantra-enterprise/admin-dashboard.md +10 -0
  265. package/lib/{content → templates/content}/yantra-enterprise/custom-branding.md +10 -0
  266. package/lib/{content → templates/content}/yantra-enterprise/dedicated-support.md +10 -0
  267. package/lib/{content → templates/content}/yantra-enterprise/enterprise-overview.md +8 -0
  268. package/lib/{content → templates/content}/yantra-enterprise/sso-integration.md +10 -0
  269. package/lib/{content → templates/content}/yantra-enterprise/user-management.md +10 -0
  270. package/lib/{content → templates/content}/yantra-pro-max/billing-management.md +13 -0
  271. package/lib/{content → templates/content}/yantra-pro-max/cancellation-refund.md +13 -0
  272. package/lib/{content → templates/content}/yantra-pro-max/pro-pricing.md +13 -9
  273. package/lib/{content → templates/content}/yantra-pro-max/subscription-benefits.md +8 -0
  274. package/lib/{content → templates/content}/yantra-pro-max/upgrade-process.md +13 -0
  275. package/lib/{content → templates/content}/yantra-pro-max/yantra-max-features.md +8 -8
  276. package/lib/{content → templates/content}/yantra-pro-max/yantra-pro-overview.md +8 -8
  277. package/lib/utils/docsNavigation.d.ts +10 -0
  278. package/lib/utils/docsNavigation.d.ts.map +1 -0
  279. package/lib/utils/docsNavigation.js +209 -0
  280. package/lib/utils/docsNavigation.js.map +1 -0
  281. package/lib/utils/helpCenterUtils.d.ts.map +1 -1
  282. package/lib/utils/markdownLoader.d.ts +12 -4
  283. package/lib/utils/markdownLoader.d.ts.map +1 -1
  284. package/lib/utils/markdownLoader.js +362 -1163
  285. package/lib/utils/markdownLoader.js.map +1 -1
  286. package/package.json +23 -6
  287. package/lib/content/account-management/account-setup.md +0 -74
  288. package/lib/content/account-management/delete-account.md +0 -74
  289. package/lib/content/account-management/preferences.md +0 -73
  290. package/lib/content/account-management/privacy-settings.md +0 -73
  291. package/lib/content/account-management/profile-settings.md +0 -59
  292. package/lib/content/data-privacy/data-collection.md +0 -65
  293. package/lib/content/data-privacy/privacy-policy.md +0 -73
  294. package/lib/content/data-subject-privacy/data-access.md +0 -88
  295. package/lib/content/data-subject-privacy/data-portability.md +0 -108
  296. package/lib/content/data-subject-privacy/privacy-requests.md +0 -80
  297. package/lib/content/file-uploads/file-upload-overview.md +0 -65
  298. package/lib/content/getting-started/getting-started-guide.md +0 -65
  299. package/lib/content/product-features/ai-models.md +0 -84
  300. package/lib/content/product-features/collaboration-tools.md +0 -59
  301. package/lib/content/product-features/conversation-features.md +0 -45
  302. package/lib/content/product-features/export-features.md +0 -59
  303. package/lib/content/product-features/follow-up-questions.md +0 -59
  304. package/lib/content/product-features/real-time-search.md +0 -59
  305. package/lib/content/product-features/saved-searches.md +0 -59
  306. package/lib/content/product-features/search-features.md +0 -64
  307. package/lib/content/product-features/search-history.md +0 -59
  308. package/lib/content/product-features/source-citations.md +0 -59
  309. package/lib/content/scope-api/api-overview.md +0 -59
  310. package/lib/content/search-modes/deep-research.md +0 -60
  311. package/lib/content/search-modes/labs-features.md +0 -73
  312. package/lib/content/search-modes/pro-search.md +0 -59
  313. package/lib/content/search-modes/regular-search.md +0 -60
  314. package/lib/content/spaces-library/spaces-overview.md +0 -60
  315. package/lib/content/student-hub/academic-research.md +0 -61
  316. package/lib/content/student-hub/student-discounts.md +0 -74
  317. package/lib/content/student-hub/student-overview.md +0 -59
  318. package/lib/content/student-hub/study-tools.md +0 -59
  319. package/lib/content/subscription-billing/billing-cycle.md +0 -61
  320. package/lib/content/subscription-billing/billing-overview.md +0 -45
  321. package/lib/content/subscription-billing/billing-support.md +0 -59
  322. package/lib/content/subscription-billing/currency-support.md +0 -73
  323. package/lib/content/subscription-billing/enterprise-pricing.md +0 -60
  324. package/lib/content/subscription-billing/invoice-management.md +0 -59
  325. package/lib/content/subscription-billing/payment-methods.md +0 -67
  326. package/lib/content/subscription-billing/promotional-offers.md +0 -61
  327. package/lib/content/subscription-billing/refund-policy.md +0 -75
  328. package/lib/content/subscription-billing/student-discounts.md +0 -74
  329. package/lib/content/subscription-billing/tax-information.md +0 -59
  330. package/lib/content/technical-questions/ai-models-technical.md +0 -73
  331. package/lib/content/technical-questions/api-technical.md +0 -73
  332. package/lib/content/technical-questions/data-processing.md +0 -73
  333. package/lib/content/technical-questions/database-architecture.md +0 -73
  334. package/lib/content/technical-questions/infrastructure.md +0 -73
  335. package/lib/content/technical-questions/performance-optimization.md +0 -73
  336. package/lib/content/technical-questions/search-algorithms.md +0 -73
  337. package/lib/content/technical-questions/technical-overview.md +0 -73
  338. package/lib/content/threads/conversation-management.md +0 -59
  339. package/lib/content/threads/threads-overview.md +0 -60
  340. package/lib/content/troubleshooting/common-issues.md +0 -59
  341. package/lib/content/what-is-yantra/getting-started-yantra.md +0 -84
  342. package/lib/pages/ArticlePage/index.d.ts +0 -4
  343. package/lib/pages/ArticlePage/index.d.ts.map +0 -1
  344. package/lib/pages/ArticlePage/index.js +0 -190
  345. package/lib/pages/ArticlePage/index.js.map +0 -1
  346. package/lib/pages/HelpCenter/components/BookStack.js +0 -36
  347. package/lib/pages/HelpCenter/components/BookStack.js.map +0 -1
  348. package/lib/pages/LandingPage/components/Assets.js +0 -14
  349. package/lib/pages/LandingPage/components/Assets.js.map +0 -1
  350. package/lib/pages/LandingPage/components/Icons.d.ts +0 -14
  351. package/lib/pages/LandingPage/components/Icons.d.ts.map +0 -1
  352. package/lib/pages/LandingPage/components/Icons.js +0 -174
  353. package/lib/pages/LandingPage/components/Icons.js.map +0 -1
  354. package/lib/pages/LandingPage/components/SearchBar.d.ts +0 -8
  355. package/lib/pages/LandingPage/components/SearchBar.d.ts.map +0 -1
  356. package/lib/pages/LandingPage/components/SearchBar.js +0 -58
  357. package/lib/pages/LandingPage/components/SearchBar.js.map +0 -1
@@ -0,0 +1,77 @@
1
+ # Payment Methods
2
+
3
+ Manage how you pay for Yantra — add, update, or remove payment methods at any time.
4
+
5
+ ---
6
+
7
+ ## Accepted Payment Methods
8
+
9
+ | Method | Cards/Services | Auto-renewal |
10
+ | ----------------- | -------------------------------------------- | -------------- |
11
+ | **Credit cards** | Visa, Mastercard, American Express, Discover | Yes |
12
+ | **Debit cards** | Visa, Mastercard with debit capability | Yes |
13
+ | **PayPal** | PayPal account balance, linked bank, or card | Yes |
14
+ | **Bank transfer** | Enterprise annual contracts only | Manual renewal |
15
+ | **Wire transfer** | Enterprise invoiced accounts only | Manual renewal |
16
+
17
+ ---
18
+
19
+ ## Adding a Payment Method
20
+
21
+ 1. Go to **Settings > Billing > Payment Methods**.
22
+ 2. Click **+ Add Payment Method**.
23
+ 3. Choose card or PayPal.
24
+ 4. For cards: enter card number, expiration, CVC, and billing address.
25
+ 5. Click **Save**.
26
+
27
+ The first payment method you add becomes the default. You can add multiple methods and switch between them.
28
+
29
+ ---
30
+
31
+ ## Updating or Removing
32
+
33
+ ### Update a card
34
+
35
+ If your card was reissued with a new number or expiration:
36
+
37
+ 1. Go to **Settings > Billing > Payment Methods**.
38
+ 2. Click **Edit** next to the card.
39
+ 3. Update the details and click **Save**.
40
+
41
+ ### Remove a payment method
42
+
43
+ 1. Click **Remove** next to the payment method.
44
+ 2. Confirm removal.
45
+
46
+ > **Note:** You must have at least one active payment method on paid plans. To remove your last card, downgrade to Free first.
47
+
48
+ ---
49
+
50
+ ## Payment Security
51
+
52
+ - **PCI DSS compliant** — Yantra never stores raw card numbers. All payment data is handled by Stripe, a PCI Level 1 certified processor.
53
+ - **3D Secure** — Supported for cards that require additional verification (Verified by Visa, Mastercard SecureCode).
54
+ - **Encrypted transmission** — All payment data is transmitted over TLS 1.3.
55
+ - **Fraud detection** — Stripe's ML-based fraud detection protects against unauthorized transactions.
56
+
57
+ ---
58
+
59
+ ## Troubleshooting
60
+
61
+ ### Card declined
62
+
63
+ Common reasons and fixes:
64
+
65
+ | Reason | Fix |
66
+ | ------------------- | --------------------------------------------------------- |
67
+ | Insufficient funds | Ensure adequate balance or credit limit |
68
+ | Card expired | Update with your new card details |
69
+ | International block | Call your bank to authorize international online payments |
70
+ | Fraud flag | Contact your bank to whitelist Yantra charges |
71
+ | Incorrect details | Double-check card number, expiration, and CVC |
72
+
73
+ ### PayPal issues
74
+
75
+ - Ensure your PayPal account has a valid funding source (bank or card).
76
+ - Check that your PayPal email matches what's configured in Yantra.
77
+ - Re-authorize the PayPal connection if it was disconnected.
@@ -0,0 +1,81 @@
1
+ # Promotional Offers
2
+
3
+ Take advantage of special pricing, discounts, and promotions to get more out of Yantra.
4
+
5
+ ---
6
+
7
+ ## Current Promotions
8
+
9
+ | Offer | Details | Eligibility |
10
+ | ---------------------- | --------------------------------------------- | ---------------------------------------------- |
11
+ | **Annual discount** | Save ~17% with annual billing (2 months free) | All users |
12
+ | **Student discount** | 50% off Pro plan | Verified students |
13
+ | **Startup program** | Free Team plan for 6 months | Startups with < 20 employees and < $5M funding |
14
+ | **Nonprofit discount** | 30% off any paid plan | Verified 501(c)(3) or equivalent |
15
+
16
+ _Promotions are subject to change. Check [yantra.ai/pricing](https://yantra.ai/pricing) for the latest offers._
17
+
18
+ ---
19
+
20
+ ## Applying a Promo Code
21
+
22
+ 1. Go to **Settings > Billing > Change Plan** or upgrade during checkout.
23
+ 2. Click **Have a promo code?** below the plan selection.
24
+ 3. Enter your code and click **Apply**.
25
+ 4. The discount is reflected in the total before you confirm.
26
+
27
+ ### Promo code rules
28
+
29
+ - One promo code per account at a time.
30
+ - Promo codes cannot be combined with other active discounts (except annual billing discount).
31
+ - Most codes have an expiration date — apply before it expires.
32
+ - Codes are case-insensitive.
33
+
34
+ ---
35
+
36
+ ## Referral Program
37
+
38
+ Earn credits by referring others to Yantra:
39
+
40
+ | Action | Reward |
41
+ | ---------------------------- | ---------------------------------- |
42
+ | You refer someone | $10 credit applied to your account |
43
+ | They sign up for a paid plan | They get $10 off their first month |
44
+ | Referral cap | Up to $500 in credits per year |
45
+
46
+ ### How to refer
47
+
48
+ 1. Go to **Settings > Referrals**.
49
+ 2. Copy your unique referral link.
50
+ 3. Share via email, social media, or Slack.
51
+ 4. Credits are applied automatically when your referral subscribes to a paid plan.
52
+
53
+ ---
54
+
55
+ ## Startup Program
56
+
57
+ Eligible startups get the **Team plan free for 6 months**:
58
+
59
+ ### Eligibility
60
+
61
+ - Company is less than 3 years old.
62
+ - Fewer than 20 employees.
63
+ - Less than $5M in total funding.
64
+ - Not currently on an Enterprise plan.
65
+
66
+ ### How to apply
67
+
68
+ 1. Visit [yantra.ai/startups](https://yantra.ai/startups).
69
+ 2. Fill out the application (company details, founding date, team size, funding).
70
+ 3. Applications are reviewed within 5 business days.
71
+ 4. If approved, the Team plan is activated immediately for 6 months.
72
+
73
+ ---
74
+
75
+ ## Nonprofit Discount
76
+
77
+ Verified nonprofit organizations receive **30% off** any paid plan:
78
+
79
+ 1. Email **support@yantra.ai** with your organization's name and proof of nonprofit status (501(c)(3) letter, equivalent certification, or charity registration number).
80
+ 2. We'll verify within 3 business days.
81
+ 3. The discount is applied to your account and renews automatically.
@@ -0,0 +1,80 @@
1
+ # Refund Policy
2
+
3
+ Yantra's refund policy is designed to be fair and straightforward.
4
+
5
+ ---
6
+
7
+ ## Eligibility
8
+
9
+ ### When refunds are available
10
+
11
+ | Scenario | Refund window | Refund type |
12
+ | ----------------------------- | --------------- | -------------- |
13
+ | New subscription (first-time) | Within 7 days | Full refund |
14
+ | Annual plan renewal | Within 14 days | Full refund |
15
+ | Accidental upgrade | Within 48 hours | Full refund |
16
+ | Service outage (SLA breach) | Per SLA terms | Account credit |
17
+ | Duplicate charge | Any time | Full refund |
18
+
19
+ ### When refunds are not available
20
+
21
+ - Monthly subscriptions after the first 7 days.
22
+ - Partial-month usage on downgraded plans.
23
+ - Charges older than 90 days.
24
+ - Free trial conversions after the trial ends.
25
+
26
+ ---
27
+
28
+ ## How to Request a Refund
29
+
30
+ ### Self-service
31
+
32
+ 1. Go to **Settings > Billing > Invoice History**.
33
+ 2. Click on the charge you'd like refunded.
34
+ 3. Click **Request Refund**.
35
+ 4. Select a reason and submit.
36
+
37
+ ### Via support
38
+
39
+ Email **billing@yantra.ai** with:
40
+
41
+ - Your account email
42
+ - Date and amount of the charge
43
+ - Reason for the refund request
44
+
45
+ ---
46
+
47
+ ## Processing Times
48
+
49
+ | Refund type | Processing time |
50
+ | -------------- | ------------------- |
51
+ | Credit card | 5–10 business days |
52
+ | PayPal | 3–5 business days |
53
+ | Bank transfer | 10–15 business days |
54
+ | Account credit | Instant |
55
+
56
+ > **Where does the refund go?** Refunds are returned to the original payment method used for the charge.
57
+
58
+ ---
59
+
60
+ ## Account Credits
61
+
62
+ In some cases, we issue account credits instead of monetary refunds:
63
+
64
+ - **SLA credits** — Issued when our service availability falls below the guaranteed SLA.
65
+ - **Goodwill credits** — Issued at our discretion for service issues that don't meet the formal refund criteria.
66
+ - **Promotional credits** — From referrals, promotions, or startup programs.
67
+
68
+ Credits are applied automatically to your next billing cycle and are visible at **Settings > Billing > Credits**.
69
+
70
+ ---
71
+
72
+ ## Disputes
73
+
74
+ If your refund request is denied and you believe it was in error:
75
+
76
+ 1. Reply to the denial email with additional context.
77
+ 2. A senior billing specialist will review within 2 business days.
78
+ 3. If still unresolved, request escalation to the billing manager.
79
+
80
+ > **Please contact us before filing a chargeback.** We resolve most disputes quickly, and chargebacks can result in temporary account restrictions.
@@ -0,0 +1,88 @@
1
+ # Student Discounts
2
+
3
+ Students get 50% off Yantra Pro — because great research tools shouldn't be out of reach.
4
+
5
+ ---
6
+
7
+ ## What You Get
8
+
9
+ | Feature | Free Plan | Student Pro (50% off) |
10
+ | ---------------- | ---------------- | ---------------------------------------- |
11
+ | Price | $0/month | **$10/month** (normally $20) |
12
+ | Daily searches | 20 | Unlimited |
13
+ | Pro Search | 5/day | Unlimited |
14
+ | Deep Research | 3/day | Unlimited |
15
+ | Model selection | GPT-4o mini only | All models |
16
+ | Export formats | Plain text | All formats (PDF, Markdown, etc.) |
17
+ | Source citations | Basic | Full academic citations (APA, MLA, etc.) |
18
+
19
+ ---
20
+
21
+ ## Eligibility
22
+
23
+ You qualify for the student discount if you:
24
+
25
+ - Are enrolled in an accredited college, university, or high school.
26
+ - Have a valid **.edu** email address (or equivalent academic email).
27
+ - Are at least 16 years old.
28
+
29
+ Graduate students, PhD candidates, post-docs, and continuing education students are all eligible.
30
+
31
+ ---
32
+
33
+ ## How to Apply
34
+
35
+ ### With a .edu email
36
+
37
+ 1. Go to **Settings > Billing > Student Discount**.
38
+ 2. Enter your .edu email address.
39
+ 3. Click **Verify**.
40
+ 4. Check your .edu inbox for a verification link.
41
+ 5. Click the link — the discount is applied instantly.
42
+
43
+ ### Without a .edu email
44
+
45
+ If your institution doesn't use .edu emails:
46
+
47
+ 1. Go to **Settings > Billing > Student Discount**.
48
+ 2. Click **Manual Verification**.
49
+ 3. Upload one of the following:
50
+ - Student ID card (photo)
51
+ - Enrollment letter
52
+ - Tuition receipt from the current academic year
53
+ 4. Verification is completed within 2 business days.
54
+
55
+ ---
56
+
57
+ ## Duration & Renewal
58
+
59
+ - The discount is valid for **12 months** from verification.
60
+ - Before expiration, you'll receive an email to **re-verify** your student status.
61
+ - If you're still a student, re-verification is instant with a .edu email.
62
+ - After graduation, your plan converts to the standard Pro price on the next billing cycle.
63
+
64
+ ---
65
+
66
+ ## Student + Annual Billing
67
+
68
+ Stack your savings:
69
+
70
+ | Billing | Regular Pro | Student Pro |
71
+ | ------- | ------------------------ | --------------------------- |
72
+ | Monthly | $20/month | $10/month |
73
+ | Annual | $200/year ($16.67/month) | **$100/year** ($8.33/month) |
74
+
75
+ > **Best deal:** Student discount + annual billing = **$100/year** — that's $8.33/month for full Pro access.
76
+
77
+ ---
78
+
79
+ ## FAQ
80
+
81
+ **Can I use the student discount on a Team plan?**
82
+ No, the student discount applies only to individual Pro plans.
83
+
84
+ **Can I combine the student discount with a promo code?**
85
+ The student discount cannot be combined with other coupon codes, but it does stack with annual billing savings.
86
+
87
+ **What happens after I graduate?**
88
+ Your plan continues at the student rate until your next re-verification date. After that, it converts to the standard rate.
@@ -0,0 +1,86 @@
1
+ # Tax Information
2
+
3
+ How taxes are applied to your Yantra subscription and how to manage tax-related settings.
4
+
5
+ ---
6
+
7
+ ## How Taxes Work
8
+
9
+ Yantra is required to collect sales tax, VAT, or GST depending on your location:
10
+
11
+ | Region | Tax type | Rate |
12
+ | -------------- | --------------- | --------------------------- |
13
+ | United States | Sales tax | Varies by state (0–10.25%) |
14
+ | European Union | VAT | 17–27% depending on country |
15
+ | United Kingdom | VAT | 20% |
16
+ | Australia | GST | 10% |
17
+ | India | GST | 18% |
18
+ | Canada | GST/HST | 5–15% depending on province |
19
+ | Japan | Consumption tax | 10% |
20
+
21
+ > **Tax-exempt?** See the section below on claiming exemptions.
22
+
23
+ ---
24
+
25
+ ## Adding Your Tax ID
26
+
27
+ Add your tax identification number so it appears on invoices:
28
+
29
+ 1. Go to **Settings > Billing > Invoice Settings**.
30
+ 2. Under **Tax ID**, enter your:
31
+ - **VAT number** (EU businesses) — e.g., DE123456789
32
+ - **GST number** (India/Australia) — e.g., 29ABCDE1234F1Z5
33
+ - **ABN** (Australia) — e.g., 12 345 678 901
34
+ - **EIN** (US businesses) — e.g., 12-3456789
35
+ 3. Click **Save**.
36
+
37
+ Your tax ID is validated automatically. If valid, it appears on all future invoices.
38
+
39
+ ---
40
+
41
+ ## Tax Exemptions
42
+
43
+ ### EU businesses (reverse charge)
44
+
45
+ If you're a VAT-registered business in the EU purchasing from outside your country, you may qualify for the **VAT reverse charge** mechanism:
46
+
47
+ 1. Enter your valid EU VAT number in **Settings > Billing > Invoice Settings**.
48
+ 2. Once validated, VAT is removed from your invoices.
49
+ 3. You self-account for VAT on your local tax return.
50
+
51
+ ### US tax-exempt organizations
52
+
53
+ 1. Email **billing@yantra.ai** with your tax exemption certificate.
54
+ 2. We'll verify and apply the exemption within 3 business days.
55
+ 3. Future invoices will not include sales tax.
56
+
57
+ ### Other jurisdictions
58
+
59
+ Contact **billing@yantra.ai** with your exemption documentation. We'll review and apply applicable exemptions.
60
+
61
+ ---
62
+
63
+ ## Tax on Invoices
64
+
65
+ Every invoice includes a detailed tax breakdown:
66
+
67
+ | Line item | Example |
68
+ | ----------------------------- | ---------- |
69
+ | Subtotal | $20.00 |
70
+ | Tax (state sales tax, 8.875%) | $1.78 |
71
+ | **Total** | **$21.78** |
72
+
73
+ Tax type and rate are shown on each invoice based on your billing address.
74
+
75
+ ---
76
+
77
+ ## FAQ
78
+
79
+ **Why am I being charged tax now when I wasn't before?**
80
+ Tax regulations change as jurisdictions update their digital services tax rules. Yantra applies taxes as required by law.
81
+
82
+ **Can I get a refund on taxes?**
83
+ Taxes collected and remitted to authorities cannot be refunded by Yantra. If you qualify for a tax exemption, apply it proactively for future invoices.
84
+
85
+ **What if my tax ID isn't accepted?**
86
+ Ensure you're entering the correct format for your region. If it's still not accepted, contact billing@yantra.ai with your tax ID and country.
@@ -0,0 +1,87 @@
1
+ # AI Models & Machine Learning
2
+
3
+ A deep dive into how Yantra leverages artificial intelligence — from model selection to real-time inference.
4
+
5
+ ---
6
+
7
+ ## Model Architecture
8
+
9
+ Yantra uses a **multi-model architecture** that intelligently routes each request to the most suitable AI model based on the task type, complexity, and latency requirements.
10
+
11
+ ### Supported model families
12
+
13
+ | Model Family | Purpose | Examples |
14
+ | --------------------- | ----------------------------------------------- | ------------------------------------ |
15
+ | Large Language Models | Complex reasoning, generation, summarization | GPT-4o, Claude 3.5 Sonnet |
16
+ | Embedding Models | Semantic search, similarity matching | text-embedding-3-large, Cohere Embed |
17
+ | Classification Models | Intent detection, content tagging, routing | Custom fine-tuned BERT variants |
18
+ | Generation Models | Content drafting, code generation, translations | GPT-4o, Claude, Llama 3 |
19
+
20
+ ### Model routing
21
+
22
+ Every incoming request passes through Yantra's **Intelligent Router**, which considers:
23
+
24
+ - **Task type** — Is this a search, generation, classification, or extraction task?
25
+ - **Complexity score** — Simple lookups route to faster/cheaper models; nuanced tasks go to frontier models.
26
+ - **Latency budget** — Real-time interactions use low-latency models; batch jobs use high-throughput models.
27
+ - **Fallback chain** — If the primary model is unavailable or rate-limited, the router automatically falls back to an alternate provider with no user-visible disruption.
28
+
29
+ ---
30
+
31
+ ## Processing Pipeline
32
+
33
+ ### How a query becomes a response
34
+
35
+ 1. **Preprocessing** — The raw query is normalized: typos are corrected, abbreviations expanded, and language detected.
36
+ 2. **Intent classification** — A lightweight classifier determines what the user wants (search, summarize, compare, generate, etc.).
37
+ 3. **Entity extraction** — Named entities (people, products, dates, code references) are identified for context enrichment.
38
+ 4. **Context assembly** — Relevant conversation history, user preferences, and retrieved documents are bundled into the prompt.
39
+ 5. **Inference** — The selected model generates a response.
40
+ 6. **Post-processing** — The response is validated for factual grounding, formatted, and annotated with source citations.
41
+
42
+ ---
43
+
44
+ ## Performance & Optimization
45
+
46
+ ### Inference optimization techniques
47
+
48
+ - **Quantization** — Models are served in INT8/FP16 precision where quality allows, reducing GPU memory by up to 50%.
49
+ - **KV-cache reuse** — Multi-turn conversations reuse key-value caches to avoid recomputing prior context.
50
+ - **Speculative decoding** — A small draft model proposes tokens that the full model verifies in parallel, boosting throughput.
51
+ - **Batching** — Requests with similar properties are dynamically batched to maximize GPU utilization.
52
+
53
+ ### Monitoring and quality
54
+
55
+ | Metric | Target | How we track it |
56
+ | -------------------- | ------------------------ | -------------------------------- |
57
+ | Median latency (P50) | < 800 ms | Prometheus + Grafana dashboards |
58
+ | Answer accuracy | > 95% grounded responses | Automated fact-checking pipeline |
59
+ | Fallback rate | < 2% | Model router telemetry |
60
+ | Error rate | < 0.1% | Sentry + PagerDuty alerts |
61
+
62
+ ---
63
+
64
+ ## Custom Models & Fine-Tuning
65
+
66
+ ### When to consider fine-tuning
67
+
68
+ Fine-tuning is valuable when your domain has specialized vocabulary, unique workflows, or strict formatting requirements that general-purpose models handle inconsistently.
69
+
70
+ ### Fine-tuning workflow
71
+
72
+ 1. **Data preparation** — Curate a labeled dataset of 500 to 5,000 examples in JSONL format.
73
+ 2. **Training** — Yantra runs supervised fine-tuning on a base model with your data, typically completing in 1-4 hours.
74
+ 3. **Evaluation** — The fine-tuned model is benchmarked against a held-out test set. Key metrics: accuracy, latency, and regression on general tasks.
75
+ 4. **A/B deployment** — The model is deployed alongside the baseline with traffic split 50/50. If quality metrics improve, traffic gradually shifts to 100%.
76
+ 5. **Versioning** — Every model version is immutable and tagged. Rollback to any previous version is instant.
77
+
78
+ ---
79
+
80
+ ## Safety & Responsible AI
81
+
82
+ - **Content filtering** — All outputs pass through a safety classifier that flags harmful, biased, or inappropriate content before delivery.
83
+ - **Hallucination detection** — A secondary verification step cross-references generated claims against retrieved source documents.
84
+ - **PII redaction** — Personally identifiable information is automatically detected and masked in both inputs and outputs.
85
+ - **Audit trail** — Every model invocation is logged with input hash, model version, latency, and token count for compliance and debugging.
86
+
87
+ > **Enterprise customers** can configure custom safety policies, blocklists, and output constraints via the Admin Dashboard.
@@ -0,0 +1,158 @@
1
+ # API Architecture & Reference
2
+
3
+ Everything you need to know about Yantra's RESTful API — from authentication to advanced batch operations.
4
+
5
+ ---
6
+
7
+ ## API Design Principles
8
+
9
+ Yantra's API follows REST conventions with predictable, resource-oriented URLs, standard HTTP methods, and consistent JSON responses.
10
+
11
+ ### Base URL
12
+
13
+ All API requests are made to:
14
+
15
+ ```
16
+ https://api.yantra.ai/v1
17
+ ```
18
+
19
+ ### Request format
20
+
21
+ | Method | Usage |
22
+ | -------- | ------------------------------------------------------------------------ |
23
+ | `GET` | Retrieve resources. Supports pagination, filtering, and field selection. |
24
+ | `POST` | Create new resources or trigger actions. Request body is JSON. |
25
+ | `PUT` | Full replacement of a resource. |
26
+ | `PATCH` | Partial update of specific fields. |
27
+ | `DELETE` | Remove a resource. Returns 204 No Content on success. |
28
+
29
+ ### Response structure
30
+
31
+ Every response follows a consistent envelope:
32
+
33
+ ```json
34
+ {
35
+ "data": { ... },
36
+ "meta": { "request_id": "req_abc123", "timestamp": "2026-02-28T12:00:00Z" },
37
+ "errors": []
38
+ }
39
+ ```
40
+
41
+ ---
42
+
43
+ ## Authentication & Security
44
+
45
+ ### Authentication methods
46
+
47
+ | Method | Best for | How to use |
48
+ | ---------- | ----------------------------- | ------------------------------------------------- |
49
+ | API Key | Server-to-server integrations | Pass via `Authorization: Bearer <key>` header |
50
+ | OAuth 2.0 | User-facing applications | Standard authorization code flow with PKCE |
51
+ | JWT Tokens | Session-based access | Returned on login, expires in 1 hour, refreshable |
52
+
53
+ ### Security measures
54
+
55
+ - **HTTPS only** — All traffic is encrypted with TLS 1.3. Plain HTTP requests are rejected.
56
+ - **Rate limiting** — Default: 1,000 requests/minute per API key. Enterprise plans support custom limits.
57
+ - **Input validation** — All inputs are validated and sanitized against injection attacks.
58
+ - **Audit logging** — Every API call is logged with timestamp, IP, method, endpoint, and response code.
59
+
60
+ ---
61
+
62
+ ## Core Endpoints
63
+
64
+ ### Search API
65
+
66
+ ```
67
+ POST /v1/search
68
+ ```
69
+
70
+ Execute a semantic or keyword search across your indexed content.
71
+
72
+ **Parameters:**
73
+
74
+ | Field | Type | Required | Description |
75
+ | --------- | ------- | -------- | ------------------------------------------------------ |
76
+ | `query` | string | Yes | The search query |
77
+ | `mode` | string | No | `semantic`, `keyword`, or `hybrid` (default: `hybrid`) |
78
+ | `limit` | integer | No | Max results to return (default: 10, max: 100) |
79
+ | `filters` | object | No | Filter by date, source, tag, or content type |
80
+
81
+ ### User API
82
+
83
+ ```
84
+ GET /v1/users/me
85
+ PUT /v1/users/me
86
+ ```
87
+
88
+ Retrieve or update the authenticated user's profile, preferences, and settings.
89
+
90
+ ### Content API
91
+
92
+ ```
93
+ GET /v1/content
94
+ POST /v1/content
95
+ DELETE /v1/content/:id
96
+ ```
97
+
98
+ Manage indexed content — upload documents, list sources, or remove specific items.
99
+
100
+ ---
101
+
102
+ ## Advanced Features
103
+
104
+ ### Batch operations
105
+
106
+ ```
107
+ POST /v1/batch
108
+ ```
109
+
110
+ Submit up to 100 operations in a single request. Each operation is processed independently, and the response includes individual status codes.
111
+
112
+ ### Webhooks
113
+
114
+ Configure webhooks to receive real-time notifications when events occur (e.g., content indexed, search completed, error triggered).
115
+
116
+ ```
117
+ POST /v1/webhooks
118
+ ```
119
+
120
+ Webhook payloads are signed with HMAC-SHA256 so you can verify authenticity.
121
+
122
+ ### Pagination
123
+
124
+ All list endpoints support cursor-based pagination:
125
+
126
+ ```
127
+ GET /v1/content?cursor=eyJpZCI6MTIzfQ&limit=25
128
+ ```
129
+
130
+ The response includes a `next_cursor` field. Pass it as the `cursor` parameter to fetch the next page.
131
+
132
+ ---
133
+
134
+ ## SDKs & Libraries
135
+
136
+ | Language | Package | Install |
137
+ | ---------- | ------------- | ---------------------------------------- |
138
+ | Python | `yantra-sdk` | `pip install yantra-sdk` |
139
+ | JavaScript | `@yantra/sdk` | `npm install @yantra/sdk` |
140
+ | Go | `go-yantra` | `go get github.com/yantra-app/go-yantra` |
141
+
142
+ All SDKs include TypeScript definitions, automatic retry logic, and built-in rate limit handling.
143
+
144
+ ---
145
+
146
+ ## Rate Limits & Error Codes
147
+
148
+ ### Common error codes
149
+
150
+ | Code | Meaning | What to do |
151
+ | ---- | --------------------- | ------------------------------------------------------------- |
152
+ | 400 | Bad Request | Check your request body and parameters |
153
+ | 401 | Unauthorized | Verify your API key or refresh your JWT |
154
+ | 403 | Forbidden | You don't have permission for this resource |
155
+ | 429 | Too Many Requests | Back off and retry after the `Retry-After` header value |
156
+ | 500 | Internal Server Error | Retry with exponential backoff; contact support if persistent |
157
+
158
+ > **Tip:** All SDKs handle 429 and 5xx errors automatically with exponential backoff and jitter.