Documentation Index
Fetch the complete documentation index at: https://mintlify.com/nicolasleiva/LatentGEO/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The audit system is the foundation of LatentGEO, providing comprehensive analysis of websites for SEO and Generative Engine Optimization (GEO). Audits analyze technical structure, content quality, E-E-A-T signals, schema markup, and competitor positioning.Audit Creation Workflow
Starting an Audit
- Submit URL: Provide the target website URL to analyze
- Configure Settings: Specify language, market, and competitor domains
- Automated Analysis: The platform automatically:
- Crawls the website structure
- Analyzes content and metadata
- Evaluates schema markup
- Compares against competitors
- Generates actionable recommendations
PageSpeed analysis is not run automatically during audit creation to keep the initial audit fast. You can trigger it on-demand from the dashboard or when generating the PDF report.
Audit Statuses
Audits progress through several states:- Pending: Audit created, waiting for configuration
- Running: Analysis in progress
- Completed: All analysis finished, results available
- Failed: Error occurred during processing
Audit Types
Technical SEO Audit
Analyzes fundamental SEO elements:- HTML structure and heading hierarchy
- Meta tags and descriptions
- Schema.org markup
- Internal linking structure
- Mobile-friendliness
- Crawlability issues
GEO (Generative Engine Optimization) Audit
Evaluates optimization for AI-powered search engines:- Content structure for AI comprehension
- Citation-ready content blocks
- Authority signals and references
- FAQ schema implementation
- E-E-A-T (Experience, Expertise, Authoritativeness, Trust)
PageSpeed Analysis
Measures Core Web Vitals and performance metrics:- LCP (Largest Contentful Paint)
- INP (Interaction to Next Paint)
- CLS (Cumulative Layout Shift)
- Mobile and desktop strategies
- Optimization opportunities
- Diagnostics and best practices
PageSpeed data is collected when you click “Run PageSpeed” or generate a PDF report. The analysis includes complete metrics, opportunities, and diagnostics for both mobile and desktop.
Competitor Analysis
Compares your site against competitors:- GEO scores and rankings
- Content gap analysis
- Schema markup comparison
- Backlink profiles
- Citation visibility in LLMs
Audit Summary Data
Each completed audit provides:Pages Analysis
Each audited page receives detailed scoring:- H1 Score: Heading structure quality
- Structure Score: HTML semantic markup
- Content Score: Content quality and relevance
- E-E-A-T Score: Authority and trust signals
- Schema Score: Structured data implementation
- Overall Score: Composite quality metric
- Critical: Major problems requiring immediate attention
- High: Important issues affecting performance
- Medium: Optimization opportunities
- Low: Minor improvements
Fix Plan
Every audit generates an actionable fix plan:PDF Report Generation
Comprehensive Context
The PDF report includes data from all platform features: ✓ Technical SEO findings✓ PageSpeed metrics (mobile + desktop)
✓ Competitor analysis
✓ Keyword rankings
✓ Backlink profile
✓ LLM visibility tracking
✓ AI content recommendations
Automatic PageSpeed Trigger
When you generate a PDF, the system automatically:- Checks if PageSpeed data exists and is fresh (<24 hours)
- Runs PageSpeed analysis if needed or forced
- Includes complete mobile and desktop metrics
- Generates comprehensive report with all context
Force Refresh Options
Downloading Reports
Reports are stored in Supabase storage and accessed via signed URLs:API Endpoints
Create Audit
Get Audit Status
- Audit ID and URL
- Current status and progress percentage
- GEO score
- Total pages analyzed
Get Full Audit Details
- All scores and metrics
- Fix plan
- Page-level analysis
- Target audit data
List All Audits
Get Pages
Get Competitors
Run PageSpeed Analysis
- Performance scores
- Core Web Vitals metrics
- Opportunities for optimization
- Diagnostics
- Accessibility, SEO, and best practices audits
The PageSpeed endpoint returns the full PageSpeed data structure, not a summary. Use this for detailed performance analysis in your UI.
Best Practices
Performance Optimization
- PageSpeed runs on-demand to keep audits fast
- Use SSE for real-time progress updates instead of polling
- Limit competitor analysis to 5-10 domains
- Cache PDF reports for 24 hours
Error Handling
- Monitor audit status for failures
- Check
error_messagefield for debugging - Implement retry logic for transient failures
- Fall back to polling if SSE unavailable
Security
- All endpoints require authentication
- Users can only access their own audits
- PDF URLs expire after 1 hour
- Sensitive data never exposed in logs
Next Steps
Real-time Monitoring
Track audit progress with Server-Sent Events
GEO Optimization
Optimize for AI-powered search engines
Analytics
View insights and performance metrics
AI Content Generation
Generate optimized content suggestions