Base URL
Authentication
Currently, Sprout uses a hardcodedDEFAULT_USER_ID for simplicity. See Authentication for details.
Response Format
All responses are JSON-encoded. Successful responses return relevant data:error field:
HTTP Status Codes
| Code | Description |
|---|---|
200 | Success |
201 | Resource created |
204 | Success with no content |
400 | Bad request (missing required fields) |
404 | Resource not found |
500 | Internal server error |
Core Resources
- Branches - Top-level learning collections
- Nodes - Learning graph nodes (topics, concepts, subconcepts)
- Assessments - Diagnostic tests and questions
- Progress - Student mastery tracking
- Chat - Interactive tutor sessions
- Agents - AI-powered content generation (SSE streaming)