Command Palette

Search for a command to run...

v1Start Here

Overview

Use Math AI external APIs to give your organization secure access to subject-aware AI chat, instructions, and controlled tenant onboarding.

What Math AI Provides

Math AI exposes a tenant-secured external API for organizations that want to embed math-focused AI help inside their own products, LMS modules, or internal tools.

The current platform is designed for backend-to-backend integration. Math AI issues API keys, assigns allowed subjects, and keeps subject-bound AI instructions on the Math AI side.

  • Bearer API key authentication for tenant access

  • Multi-subject tenant assignment with subject-level access control

  • Chat lifecycle APIs for create, continue, and history retrieval

  • Instruction visibility endpoint for scope-aware debugging and integration checks

  • Idempotency support for retry-safe POST requests

  • Redis-backed rate limiting for production multi-instance correctness

Who Should Use These Docs

These docs target all backend developers and technical teams integrating with Math AI, not only one language or one internal team.

  • Python, Node.js, Java, Go, PHP, Ruby, .NET, and other backend teams

  • Internal organizations such as Math Mentor

  • Future external partner organizations and customers

Recommended Integration Model

Keep Math AI API calls on your backend. Your frontend should call your own backend, and your backend should call Math AI with the tenant API key.

  • Frontend/browser never stores the Math AI API key

  • Your backend maps your course/module to a Math AI subject

  • Your backend stores the returned chat_id for continuity

  • Your backend sends external_user_id from your own user system

About Zabai Math AI

Zabai Math AI builds AI-powered math tutoring and problem-solving technology for educational platforms. Our platform allows organizations to embed subject-aware AI chat, structured problem-solving guidance, and curriculum-aligned instruction into their own products via a secure multi-tenant API.

Math AI is designed for B2B integration — we handle the AI instruction management, subject scoping, and API infrastructure so your team can focus on building great learning experiences.

  • Headquarters: Zabai AS, Norway

  • Contact: nyan.linn.tun@zabai.no

  • Current users served via Math Mentor LMS

  • API version 1 available for general integration

Overview | Math AI Docs