Education Infrastructure for Developers

VEducate SaaS Infrastructure/API provides composable services that developers, startups and EdTech companies can integrate into their own applications.

REST & WebSocket Endpoints Isolated Sandboxed Runtimes Scoped API Key Authentication
API GatewayIntelligence LayerMemory / RetrievalExecution LayerLearning ServicesVEducate COREYour Applications
AI
Memory
RAG
Code
Labs
Learning
Execute Code via REST API
curl -X POST https://api.veducate.com/v1/sandbox/execute \
  -H "Authorization: Bearer $VEDUCATE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "language": "python",
    "version": "3.11",
    "code": "print(sum(range(1000000)))",
    "memory_limit_mb": 128,
    "timeout_ms": 2000
  }'

# Response (HTTP 200 OK)
{
  "status": "success",
  "stdout": "499999500000\n",
  "stderr": "",
  "exit_code": 0
}
POST /v1/ai/tutor01 • AI APIs

AI APIs for Education Applications

Integrate contextual educational assistance into your application with dedicated AI endpoints. Connect your platform to Socratic tutoring routines, progressive hint generation, and error explanation services built specifically for learners.

  • Socratic guidance endpoints that prompt reasoning instead of directly giving away solutions
  • Progressive hint APIs configured with structured step-by-step disclosure levels
  • Server-Sent Events (SSE) streaming support for low-latency token delivery in web interfaces
Endpoint Payload Sampleapplication/json
{
  "mode": "socratic",
  "concept": "Binary Search Trees",
  "student_code": "if (val < node.data) node.right = insert(node.right, val);",
  "hint_level": 2,
  "stream": true
}
Pedagogical Response: In a BST, should smaller values be inserted into the left subtree or the right subtree? Check line 1 condition.
GET /v1/memory/context?user_id=std_482Context Graph
{
  "user_id": "std_482",
  "active_course": "cs201",
  "concept_mastery": {
    "recursion": "proficient",
    "linked_lists": "proficient",
    "graph_traversal": "needs_practice"
  },
  "last_checkpoint": "dfs_implementation",
  "recommended_review": ["Cycle Detection in Directed Graphs"]
}
POST /v1/memory/contexts02 • Memory APIs

Persistent Context and Memory

Maintain continuous learning context across disparate sessions. Store student comprehension indicators, track prerequisite milestone mastery, and retrieve relevant historical context whenever a user initiates an interaction in your application.

  • Cross-session student context persistence linked to your application's user IDs
  • Prerequisite mastery tracking to detect specific conceptual stumbling blocks
  • Configurable memory scope boundaries ensuring student data remains strictly segregated
POST /v1/rag/query03 • RAG

Knowledge Retrieval for Education Applications

Connect your education applications to indexed course documents, lecture transcripts, reference manuals, and academic syllabi. Retrieve verified institutional and course material chunks to ground generative responses in authoritative content.

  • Index syllabi, lecture slides, code repositories, and documentation files
  • Structured document chunking with metadata tagging for semester, department, and course code
  • Citations returned with precise file references and source paragraph links
Document Retrieval ResultSource Grounded
CS201 Syllabus — Section 4.2: Dynamic Programming

"Memoization stores results of expensive function calls to avoid recomputing identical subproblems in overlapping recurrence relations."

Document: cs201_algorithms_spring.pdfPage 48
Execution ConfigurationSandbox Isolation
{
  "languages": ["python", "c", "cpp", "java", "javascript"],
  "isolation_mode": "container_sandbox",
  "timeout_limit_ms": 3000,
  "memory_limit_mb": 256,
  "network_egress": "disabled"
}
Safely execute untrusted student submissions with enforced resource limits.
POST /v1/sandbox/execute04 • Code Execution

Code Execution Infrastructure

Run student and user code safely in sandboxed environments. Our execution infrastructure enforces strict CPU, memory, and runtime constraints while isolating untrusted student submissions from your core systems.

  • Multi-language runtime support including Python, Java, C, C++, and JavaScript
  • Configurable execution limits for runtime execution timeout and memory ceilings
  • Full stdout, stderr, execution duration, and exit code capture in structured JSON
POST /v1/labs/provision05 • Virtual Labs

Virtual Lab Infrastructure

Provision full Linux runtime environments on demand for hands-on systems courses, DevOps assignments, and practical networking exercises. Stream bidirectional terminal sessions directly to web interfaces over secure WebSocket connections.

  • On-demand container provisioning with predefined software tools and configurations
  • Bidirectional WebSocket terminal streaming compatible with browser-based Xterm terminals
  • Automated session teardown and idle termination to optimize server resource usage
WebSocket Lab SessionConnected
wss://api.veducate.com/v1/labs/session/lab_992/ws
{ "type": "auth", "token": "ephemeral_jwt" }
{ "type": "resize", "cols": 80, "rows": 24 }
{ "type": "stdin", "data": "git clone https://...\n" }
Streams interactive bash, terminal output, and ANSI color codes to the browser.
GET /v1/courses/cs201/syllabusStructure
{
  "course_code": "CS201",
  "title": "Data Structures",
  "modules_count": 6,
  "milestones": [
    { "id": "m1", "title": "Linear Structures", "completed_count": 4 },
    { "id": "m2", "title": "Trees and Traversals", "completed_count": 2 }
  ]
}
GET /v1/courses06 • Learning APIs

Learning Infrastructure APIs

Programmatically manage curriculum structures, track module progress, and evaluate student submissions. Access course graphs, lesson checkpoints, and assessment rubrics through clean, documented REST endpoints.

  • Curriculum and module hierarchy endpoints with structured milestone definitions
  • Student completion and progress checkpoint tracking across lessons and assignments
  • Automated test evaluation harnesses returning structured JSON grading results
07 • Developer Experience

Build With Composable Education Services

Connect your frontend or backend applications directly to VEducate's composable education infrastructure via modern APIs, type-safe SDKs, and clear architectural boundaries.

Client Layer
Your Application
LMS • Web Portal • Mobile App • Internal System
Integration Gateway
VEducate SaaS Infrastructure/API
Authentication • Rate Limiting • SDKs • REST & WebSockets
AI
Socratic assistance
Memory
Context persistence
RAG
Knowledge retrieval
Code
Sandboxed execution
Labs
Virtual environments
Learning
Courses & progress
Type-Safe Client SDKs

First-party client packages for TypeScript and Python with autocompletion and typed schemas.

OpenAPI 3.1 Specification

Standardized API schemas ready for code generation, Postman testing, and mock servers.

Granular Scopes

Issue fine-grained API credentials restricted to specific endpoints, courses, or sandboxes.

Build on VEducate SaaS Infrastructure/API

Integrate sandboxed code execution, persistent learning memory, AI tutoring, and virtual lab infrastructure into your applications.