Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Authenticate against MESO and generate your first unit plan.
curl -X POST "$MESO_SUPABASE_URL/auth/v1/token?grant_type=password" \ -H "apikey: $MESO_ANON_KEY" \ -H "Content-Type: application/json" \ -d '{"email":"you@school.ie","password":"..."}'
access_token
curl -X POST "$MESO_FUNCTIONS_URL/unit-planning" \ -H "Authorization: Bearer $ACCESS_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "subject": "Science", "topic": "Photosynthesis", "learningOutcomes": ["1.1", "1.5"], "yearGroup": "2", "lessonsCount": 6, "assessment": { "method": "Investigation", "timing": "End of unit", "category": "Formative" }, "lessonLength": 40, "mode": "fast" }'
{ "success": true, "data": { "...": "capability-specific payload" } }
{ "success": false, "error": "Unauthorized" }
mode
fast
detailed