Skip to main content

Ankiren Developer Documentation

Welcome to the Ankiren API documentation. Ankiren is a LifeOS platform for lifelong learning and personal wellness.

Services

The platform is composed of multiple microservices, each with its own API:

ServiceDescription
AuthAuthentication via Google OAuth + JWT sessions
AuthorizationRole-based access control (RBAC)
CourseCourse management and content delivery
FlashcardSpaced-repetition flashcard system (deprecated)
HealthWeight/height tracking with BMI calculation
LinguisticLanguage learning content
MathMathematics learning and practice
Meditation (Admin)Meditation content management
Meditation (User)Meditation sessions, goals, and preferences
OKRObjectives and Key Results tracking
PomodoroPomodoro timer sessions and statistics
SearchFull-text search across the platform
SkillHierarchical skill tree management

Authentication

All API endpoints require authentication via JWT bearer tokens. The shell app (ankiren.com) issues JWTs through NextAuth.js with Google OAuth. Microservices validate tokens statelessly.

Authorization: Bearer <jwt-token>

Getting Started

Browse the API Reference in the sidebar to explore available endpoints, request/response schemas, and try out requests interactively.