School API Documentation

Discover every student’s hidden talents with our simple 3-step API integration. Transform homework into insights in just 90 seconds.

Get Started in 3 Simple Steps
From setup to first analysis in under 5 minutes
1

Get Your School API Key

Contact our education team to receive your secure API key

sk_school_yourschool_abc123...
Contact Education Team
2

Test Your Connection

Verify your school is connected and ready

curl -H "Authorization: Bearer YOUR_KEY" \
https://www.talents.kids/api/school/v1/health
✓ Returns: "status": "healthy"
3

Analyze Student Work

Upload any student work and get insights in 90 seconds

Essays
Artwork
Code
Music
Songs
Videos
See Example
Developer Tools & Resources
Professional API integration tools powered by OpenAPI 3.0 specification

Interactive API Explorer

Test API endpoints live with Swagger UI. Authenticate once and explore all features.

Open Swagger UI

Auto-Generate SDKs

Generate client libraries in Python, JavaScript, PHP, Java, or any language.

Download OpenAPI Spec

Import to Postman

One-click import to Postman, Insomnia, or any API testing tool.

Get JSON Spec
Understanding Document Types
Tell us what type of work you’re submitting - we’ll automatically choose the best analysis method
Essays, stories, reports
Text documents, essays, homework
plain_text_files
Analyzes: Writing ability, creativity, critical thinking
Programming assignments
Python, JavaScript, Java code
code_files
Analyzes: Technical aptitude, logical thinking, problem-solving
Scans, photos, handwritten
Document scans, handwritten notes
visual_docs
Analyzes: Handwriting recognition, document processing
PDF documents
PDF reports, documents
structured_docs
Analyzes: Document structure, content analysis
Tables and diagrams
Data tables, charts, diagrams
tables_schemes
Analyzes: Data interpretation, analytical thinking
Multi-page reports
Assessment reports, evaluations
reports_assessments
Analyzes: Comprehensive analysis, evaluation skills
School worksheets
Homework, tests, teacher feedback
school_materials
Analyzes: Academic performance, learning progress
Drawings, paintings, sketches
Artwork, drawings, photos
general_images
Analyzes: Visual creativity, spatial intelligence, artistic expression
Math homework, problem sets
Mathematical work, equations
math_formulas
Analyzes: Mathematical reasoning, logical thinking
Voice recordings, presentations
Voice recordings, speeches
audio_recordings
Analyzes: Communication skills, musical ability, confidence
Music performances
Singing, instrument playing
musical_recordings
Analyzes: Musical talent, rhythm, performance skills
Science projects, videos
Video presentations, performances
video_content
Analyzes: Practical skills, creativity, presentation ability
New: Materials, Visuals, Full Talents PDF
Server-to-server School API generation endpoints with cURL examples

Generate Materials (PDF)

curl -X POST "https://www.talents.kids/api/school/v1/students/{student_uuid}/materials/generate"   -H "Authorization: Bearer sk_school_..."   -H "Content-Type: application/json"   -d '{
    "talentId":"math",
    "materialType":"worksheet",
    "difficulty":"medium",
    "language":"en"
  }'

Generate Visuals (coloring/worksheet)

curl -X POST "https://www.talents.kids/api/school/v1/students/{student_uuid}/visuals/generate"   -H "Authorization: Bearer sk_school_..."   -H "Content-Type: application/json"   -d '{"type":"coloring","ratio":"1:1","count":1}'

Full Talents Report (PDF)

curl -X POST "https://www.talents.kids/api/school/v1/students/{student_uuid}/talents/full-report"   -H "Authorization: Bearer sk_school_..."
Integration Examples
Complete code examples for analyzing student work in your preferred language

javascript Integration

// Step 1: Initialize API client
const API_KEY = 'sk_school_yourschool_abc123...';
const BASE_URL = 'https://www.talents.kids/api/school/v1';

// Step 2: Analyze student work
async function analyzeStudentWork(studentId, age, filePath) {
  // Read and encode file
  const fs = require('fs');
  const content = fs.readFileSync(filePath);
  const base64 = content.toString('base64');

  // Submit analysis
  const response = await fetch(`${BASE_URL}/analyze`, {
    method: 'POST',
    headers: {
      'Authorization': `Bearer ${API_KEY}`,
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({
      student_id: studentId,
      student_age: age,
      document_type: 'plain_text_files', // Auto-selects best AI preset
      media: [{
        file: base64,
        filename: 'essay.txt',
        mime_type: 'text/plain'
      }]
    })
  });

  const result = await response.json();
  console.log(`Analysis started: ${result.id}`);
  return result.id;
}

// Step 3: Get results when ready
async function getResults(analysisId) {
  const response = await fetch(`${BASE_URL}/analyses/${analysisId}/result`, {
    headers: {
      'Authorization': `Bearer ${API_KEY}`
    }
  });

  const results = await response.json();
  console.log('Top talents:', results.analysis_result.keyTalents);
  return results;
}

// Example usage
analyzeStudentWork('student_001', 12, 'student_essay.txt')
  .then(id => setTimeout(() => getResults(id), 90000)); // Check after 90 seconds
Need Help?
Our education team is here to support your integration

Schedule a Call

15-minute implementation consultation

Book Call

Email Support

Response within 2 hours during school days

Training Resources

Video tutorials and guides for educators

Watch Videos
    Talents.Kids - Clear insight into how every child learns and grows