Build powerful research workflows with our REST API. Analyze documents, extract insights, and automate your research pipeline.
# Install the SDK
pip install huglabs
# Or use curl directly
curl https://api.huglabs.ai/v1/research/analyze \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"document_url": "https://example.com/research.pdf"}'/v1/research/analyzeAnalyze a document or research topic
curl -X POST https://api.huglabs.ai/v1/research/analyze \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"document_url": "https://..."}'/v1/research/{id}Get research details and analysis results
curl https://api.huglabs.ai/v1/research/research_123 \ -H "Authorization: Bearer YOUR_API_KEY"
/v1/research/{id}/insightsList identified insights from research
curl https://api.huglabs.ai/v1/research/research_123/insights \ -H "Authorization: Bearer YOUR_API_KEY"
/v1/research/{id}/summaryGet AI-generated summary of research
curl https://api.huglabs.ai/v1/research/research_123/summary \ -H "Authorization: Bearer YOUR_API_KEY"
/v1/projectsCreate a new research project
curl -X POST https://api.huglabs.ai/v1/projects \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "Market Research Q1", "description": "..."}'/v1/webhooksList configured webhooks
curl https://api.huglabs.ai/v1/webhooks \ -H "Authorization: Bearer YOUR_API_KEY"
Everything you need to build with HugLabs