Feature Tests
Webhook Ingest (incoming)
Send a test company to the ingest endpoint. Uses the service key.
POST /api/webhooks/ingest
{"companies": [{"name": "QA Test Corp", "domain": "qa-test-onlydata.example.com"}]}
Webhook Subscribe (outgoing)
List current webhook subscriptions.
GET /api/webhooks
AI Classification API
Check live classification stats and curated list validation.
GET /api/ai-classification
Models API
Verify all 10 models are registered with live coverage stats.
GET /api/models
Cascade Trigger
Manually trigger cascade for a business. Requires admin auth.
POST /api/cascade
{"business_id": 1, "fields": ["description"]}
Queue Stats
Check enrichment queue health across all models.
GET /api/stu-queue/models
Vibe Coder Stack
Check AI builder tools dataset populated from classification.
GET /api/vibe-coder-stack
Search with AI Filters
Test audience search with ai_native and agent_role filters.
GET /api/businesses/search?ai_native=native&limit=5
Contact Pipeline
Workbench Domain Lookup
Look up a domain and verify business record + team data is returned.
GET /api/admin/workbench/lookup?domain=producthacker.ai
Extraction Stats
Check extraction pipeline stats — total runs, pending, published, member counts.
GET /api/admin/extractions/stats
Extractions List
List recent extractions with status and member counts.
GET /api/admin/extractions?limit=10
CSV Preview (dry run)
Test CSV import preview with sample data. No database writes.
POST /api/admin/workbench/csv-preview
{"rows": [{"first_name":"Test","last_name":"User","url":"","company":"Acme Corp","position":"CEO"}]}
Team Link Model
Verify contact-company relationship model — check Cam's roles with relationship types.
SELECT person_slug, company_slug, role, relationship_type, status, is_primary FROM od_team_links WHERE person_slug = 'camfortin'