Command Palette

Search for a command to run...

Core API

Instructions

Inspect scope-aware instruction composition for supported curriculum levels.

Scope Model

Math AI supports instruction bindings across curriculum scopes such as global, course, subject, lesson, and section. Global instructions are included down the hierarchy when scope composition is resolved.

  • Use this endpoint to inspect effective prompts at a given scope

  • Use scope_id when the selected scope level requires a concrete record

  • Expect prompt composition to include global bindings automatically

GET/instructions/subject

Inspect Instruction Composition

GET /instructions/subjectbash
curl -X GET "https://{{domain}}/api/external/v1/instructions/subject?scope_id=<subject_id>" \
  -H "Authorization: Bearer <your_api_key>"
Instructions | Math AI Docs