Skip to main content

Overview

The StudyFetch API allows you to generate various types of study materials using AI. You can:
  • Generate outlines for structured learning
  • Create comprehensive study notes
  • Build topic overviews
  • Generate concise summaries
  • Customize content length and education level
  • Organize generated materials into folders

Generate Material

Generate study materials from a topic. This method returns immediately with the material ID while generation happens asynchronously.

Generate Parameters

string
required
Name for the generated material
string
required
Topic or context to generate material from
string
required
Type of material to generate:
  • outline - Structured hierarchical breakdown
  • overview - High-level introduction to topic
  • notes - Detailed study notes with explanations
  • summary - Concise summary of key points
string
Additional context or details about the topic
string
Target folder ID to organize the material
string
default:"medium"
Length of the generated content:
  • short - Brief content (1-2 pages)
  • medium - Standard length (3-5 pages)
  • long - Comprehensive content (6+ pages)
string
default:"college"
Target education level:
  • high_school - Basic concepts, simpler language
  • college - Standard academic level
  • professional - Advanced, technical content

Response

Generate and Process Material

Generate materials and wait for processing to complete. This method polls until the material is ready or times out.

Generate and Process Parameters

All parameters from generate() plus:
integer
default:"2000"
Polling interval in milliseconds to check if material is ready
integer
default:"300000"
Maximum time to wait for processing in milliseconds (default: 5 minutes)

Response

Complete Workflow Example

Here’s a complete example of generating and organizing study materials for a course: