aisecurity.llc
API
Supabase Edge Functions are the migration target for API surfaces; static manifests remain public where possible.
API contract
Edge-function gateway first, static exports where possible
GET
/api/exports
Legacy Next route mirrored by the Supabase Edge Function api gateway.
GET
/api/charts/:chartId?period=2026&industry=...&seniority=...
Chart contract + rows with optional period/industry/seniority filtering.
GET
/api/findings/:slug?period=2026&industry=...&seniority=...
Finding payload with mapped chart contracts and filtered rows.
GET
/api/benchmarks/:kind
Benchmark rows for roles, verticals, historical, and signals.
GET
/api/status/wiring
Wiring, export-integrity, and pipeline status summary.
GET
/api/status/findings
Findings consistency status across config, index, and claim-readiness exports.
GET
/api/status/generated-research
Generated research indexing status for outputs artifacts and candidate entities.
GET
/api/status/evidence-trail
Finding evidence-trail status including pending source-validation count.
GET
/api/status/citation-queue
Citation replacement queue status and severity breakdown.
GET
/api/citations/curated
Curated citation candidates with narrative-readiness scoring and deduped top rows.
GET
/api/citations/narrative
Report-grounded narrative evidence blocks (claims, stat boxes, pull quotes) parsed from final HTML.
GET
/api/report-content?format=text
Friendly full-report extraction as JSON or plain text.
GET
/data/report-manifest.json
Static public report manifest.
GET
/data/dashboard-contract.json
Static dashboard contract export.
GET
/data/charts/chart-catalog.json
Static public chart catalog.
POST
/rest/v1/rpc/get_chart_dataset
Supabase/PostgREST RPC for chart datasets.
POST
/rest/v1/rpc/get_report_overview
Supabase/PostgREST RPC for report overview payload.
GET
/data/openapi.json
OpenAPI seed document.
OpenAPI
Machine-readable contract
Ready
OpenAPI JSON
Generated from api_contract SQL views and exported to public data.