{"api":"Study IQ REST API","version":"2.0.0","status":"running","docs":"/docs","endpoints":{"GET  /health":"Health check","GET  /api/batches":"All public batches (no login needed)","GET  /api/batches/search?q=QUERY":"Search batches by name or ID","POST /api/login":"Login with mobile number → sends OTP","POST /api/verify-otp":"Verify OTP → returns API token","GET  /api/my-courses":"Your purchased courses (Bearer token required)","GET  /api/course/{id}":"Full course content (videos + PDFs)","GET  /api/course/{id}/subjects":"List of subjects in a course","GET  /api/course/{id}/subject/{name}":"Videos + PDFs of one subject","GET  /api/course/{id}/topics":"Topics of a course (for login-based courses)","GET  /api/course/{id}/topic/{tid}":"Content of one topic","GET  /api/lesson/{lid}/{cid}":"Raw lesson data (PDFs from options)","GET  /api/extract/{id}":"Full extract: all content as line list"},"auth_note":"Most endpoints work WITHOUT login using a static token. For premium/purchased courses, pass token as: Authorization: Bearer YOUR_TOKEN"}