Understanding User ID and Group ID
User ID is a unique identifier for each user that comes from your platform. StudyFetch accepts any user ID format that your system uses, allowing seamless integration with your existing user management system. This flexibility enables:- Platform Integration: Use your existing user IDs without modification - whether they’re UUIDs, email addresses, student IDs, or any other format
- Individual Activity Tracking: Monitor specific user interactions with materials, components, and features
- Personalized Analytics: Generate user-specific reports on study patterns, performance, and engagement
- Progress Monitoring: Track individual learning progress across different materials and assessments
- Usage Attribution: Link specific events and actions to individual users for detailed analysis
- Aggregate Analytics: View combined usage statistics for all users within a group
- Organizational Reporting: Generate reports at the class, school, or district level
- Performance Comparison: Compare usage patterns and outcomes across different groups
- Resource Allocation: Understand how different groups utilize StudyFetch features to optimize resource distribution
Usage Event Types
The API tracks various event types to provide comprehensive insights:Material Events
material_created
- When new study material is createdmaterial_uploaded
- When files are uploaded to the platformmaterial_processed
- When materials are processed by AImaterial_deleted
- When materials are removed
Component Events
component_created
- When study components (flashcards, tests, etc.) are generatedcomponent_accessed
- When users view or interact with componentscomponent_deleted
- When components are removedcomponent_usage
- General component interaction events
Chat & Communication Events
chat_message_sent
- When users send messages in AI chatchat_session_started
- When new chat sessions beginchat_session_ended
- When chat sessions conclude
Assessment Events
test_created
- When practice tests are generatedtest_started
- When users begin assessmentstest_completed
- When tests are finishedtest_question_answered
- Individual question responsestest_retaken
- When users retake assessments
Feature Usage Events
audio_recap_create
- Audio summary generationassignment_grader_create
- Assignment grading eventsstudent_performance
- Performance tracking events
System Events
api_call
- API endpoint usagecache_hit
- Cached response usagesso_login
- Single sign-on authenticationsso_logout
- User logout events