Command Palette

Search for a command to run...

Core API

Subjects

List and validate the subjects currently assigned to your tenant.

GET/subjects

List Available Subjects

Only subjects assigned to your tenant are returned. Legacy tenant-owned subjects remain available through compatibility fallback during transition.

GET /subjectsbash
curl -X GET "https://{{domain}}/api/external/v1/subjects" \
  -H "Authorization: Bearer <your_api_key>"

How To Use subject_id

  • Fetch available subjects first instead of hardcoding IDs blindly

  • Store subject_id on your side when you map a course or module

  • Use an assigned subject_id when creating a chat

  • Expect 403 if the subject is not assigned to your tenant

Subjects | Math AI Docs