API

Ecosystem API

The Ecosystem API provides public-facing data about the CDA platform including aggregate statistics, pricing, service status, and health checks.

Base URL: https://nprzmfiqtqvoljvcvsyi.supabase.co

Platform statistics:

RPC: get_ecosystem_stats Returns aggregate counts and metrics for the CDA ecosystem. No authentication required.

POST /rest/v1/rpc/get_ecosystem_stats

Response: { "total_missions": 94, "total_domains": 6, "total_war_templates": 82, "total_wiki_articles": 968, "total_institute_courses": 44, "total_compliance_frameworks": 47, "total_verticals": 17, "active_stripe_products": 65, "active_payment_links": 64, "recon_modules": 10, "monitored_services": 15 }

Pricing configuration:

GET /functions/v1/pricing-config Returns current pricing tiers, Stripe product IDs, and payment link URLs.

Response includes CDArmy membership tiers, CDA.Security campaign pricing, Institute course pricing, and Shield subscription plans.

Service status:

GET /functions/v1/status-page Returns the current status of all monitored CDA services.

RPC: get_status_page Returns service status with recent history.

Response: { "services": [ { "service_name": "nexus-auth", "status": "operational", "latency_ms": 45, "checked_at": "2026-03-22T12:00:00Z" } ], "overall_status": "operational" }

RPC: calculate_service_uptime(service_name, days) Returns uptime percentage for a service over a given number of days.

Health check:

GET /functions/v1/health-check Returns a 200 OK with basic system health info. Useful for monitoring and uptime checks.

Response: { "status": "healthy", "timestamp": "2026-03-22T12:00:00Z", "version": "1.0.0" }

Vertical data:

RPC: get_vertical_detail(vertical_slug) Returns detailed information about a specific industry vertical including threat stats, top missions, and compliance frameworks.

GET /rest/v1/verticals?is_active=eq.true&order=display_name Lists all active industry verticals.

Waitlist:

RPC: submit_waitlist_signup(email, vertical_slug, source, company_name, company_size, role) Submits a waitlist signup for a specific vertical. Returns the signup record.

SitRep feed:

RPC: get_sitrep_feed Returns the latest situational awareness posts from CDA leadership. Public, no authentication required.

CDA.Help | Documentation