Privacy Policy
Last updated: April 30, 2026
1. Introduction
SadhanAI ("we," "us," or "our") is an AI-powered coding practice platform built and operated by Naveen, available at sadhanai.com. We serve two types of users:
- Individual users (B2C) — students and developers using the platform directly on Free or Pro plans.
- Organisations (B2B) — companies, colleges, and training institutes accessing the platform through an organisation account, including organisation owners, admins, instructors, and members.
This Privacy Policy explains how we collect, use, store, and protect your information across both use cases.
2. Information We Collect
Account Information
When you create an account, we collect:
- Name and email address
- Authentication credentials (passwords are stored in hashed form)
- Optional profile details: phone number, college/company name, and pincode (collected during onboarding)
Organisation Data (B2B)
When an organisation is created or managed, we additionally collect:
- Organisation name, slug, type, and email domain whitelist
- Seat limit and subscription plan details
- Member roles (owner, admin, instructor, member) and membership history
- Batch names and assignment configurations created by instructors
- Organisation invitation tokens and their usage status
Usage Data
As you use the platform, we collect:
- Code submissions and test results (including hidden test case outcomes)
- AI-generated problems you interact with, including debug-mode problems
- Mock test attempts, scores, and AI code reviews
- Shared and competitive test participation and results
- Problem bundle creation, progress, and sharing activity
- AI hint requests and the hint level accessed
- Problem translation requests and target language
- Daily challenge attempts
- Video Lab code execution sessions
- Learning path progress
- Topic mastery scores and difficulty-level performance analytics
- General usage analytics (pages visited, features used, session duration)
Payment Information (B2C Pro Plan)
For individual users upgrading to the Pro plan, payments are processed by Razorpay. We do not store your full card or UPI details. We retain:
- Razorpay order IDs and payment IDs for transaction verification
- Payment status and subscription expiry date
- Name and email prefilled into the checkout for your convenience
Payment Information (B2B Organisation Plans)
Organisation subscription billing is handled separately. We retain records of the organisation's active plan (Team, Business, or Enterprise), seat count, and billing contact details provided during registration.
API Keys (User-Provided)
You may optionally provide your own API keys for third-party AI providers (such as Google Gemini or Anthropic Claude) to power AI features. These keys are stored securely and used solely to make API calls on your behalf. We do not share, sell, or use your API keys for any other purpose.
LLM Usage Logs
We log AI feature usage (provider, model, token count, and latency) for platform monitoring, quota enforcement, and cost management. These logs are linked to your user ID and retained for a limited period.
3. How We Use Information
We use the information we collect to:
- Provide and operate the platform (problem generation, code execution, AI reviews, mock tests)
- Authenticate your account and maintain session security
- Track individual learning progress and display analytics
- Enforce daily usage limits on Free plan users and manage Pro plan entitlements
- Enable organisations to manage members, batches, and assignments
- Allow instructors to track member progress and create assignments within their organisation
- Verify payments and activate the correct plan (Free, Pro, or Organisation)
- Enable creation and public sharing of problem bundles and shared mock tests
- Send transactional emails (invitation links, payment confirmations)
- Improve platform features and fix bugs
- Communicate important updates about the service
4. Organisation Accounts — Data Access and Visibility
When you are a member of an organisation on SadhanAI:
- Organisation owners and admins can view member lists, roles, and assignment completion status.
- Instructors can view the progress and submission results of members within batches they manage.
- Your individual submissions and code are not directly exposed to other organisation members outside of assignments — only aggregate progress data is shown in dashboards.
- Organisation problems (problems with an org_id) are scoped to your organisation and are not visible to other users on the platform.
- If you leave or are removed from an organisation, your personal account and data remain intact. Only your membership record is removed.
5. AI and Third-Party Services
SadhanAI uses third-party AI providers to generate coding problems, inject bugs in debug mode, provide hints, review code, and translate problems. When you use these features:
- Your code and prompts may be sent to AI providers (such as Google Gemini or Anthropic Claude) to generate responses
- If you provide your own API key, requests are made using your key and are subject to that provider's own privacy policy
- We do not control how third-party AI providers process data sent to their APIs — please review their respective privacy policies
- Code execution runs in isolated sandboxed Docker containers — submitted code is not retained beyond the execution session
6. Data Security
We take reasonable measures to protect your data, including:
- Hashing passwords before storage (managed by Better Auth)
- Using HTTPS for all data transmission
- Restricting access to production systems and databases
- Validating and sanitizing user inputs server-side
- Running code execution in isolated, short-lived Docker sandboxes
- Using secure, HttpOnly session cookies
However, no system is perfectly secure. We cannot guarantee absolute security. Use the platform with this understanding.
7. Data Retention
We retain your account data and submission history for as long as your account is active. Organisation data is retained for as long as the organisation exists on the platform. If you request account deletion, we will remove your personal data within a reasonable timeframe. Anonymized or aggregated analytics data may be retained longer.
8. User Rights
You have the right to:
- Access the personal data we hold about you
- Correct inaccurate information in your account
- Delete your account and associated personal data
- Export your submission history (upon request)
- Object to your data being used for analytics (contact us to request exclusion)
Organisation owners may additionally request full export or deletion of organisation data. To exercise any of these rights, contact us at admin@sadhanai.com.
9. Children's Privacy
SadhanAI is intended for students and developers aged 13 and above. We do not knowingly collect personal information from children under 13 without parental consent. If you believe a child under 13 has provided us with personal data, please contact us and we will promptly delete it. For institutional use involving minors (e.g., school programmes), the organisation is responsible for obtaining appropriate consent.
10. Changes to This Policy
We may update this Privacy Policy as the platform evolves. Changes will be posted on this page with an updated date. Continued use of the platform after changes constitutes acceptance of the revised policy. For material changes, we will notify users via email or an in-app notice.
11. Contact Information
For questions or concerns about this Privacy Policy, contact:
- Email: admin@sadhanai.com
- Platform: sadhanai.com
- Operated by: Naveen