Phase 1 local API reference.
CueIQ currently exposes a local FastAPI bridge between PostgreSQL and the dashboard. These notes document the routes used by the workspace while production API docs are still being built. Current release: v0.1.0-local-mvp.
Dashboard API
Local development server: http://127.0.0.1:8001
Hosted auth routes: /auth/ for sign in/account creation and /auth/callback/ for Supabase email confirmation and magic-link callbacks.
REST contract
The Phase 1 contract is intentionally narrow: dashboard read endpoints, review-queue candidates, reviewed timestamp updates, analysis run history, stroke-library promotion, and stable JSON payloads for PostgreSQL-backed data.
Production mode requires a managed-auth Bearer JWT. The frontend stores the Supabase access token and sends it to FastAPI on dashboard API calls. Coach+ entitlements unlock curation, review queue, run history, stroke library, player comparison, and Stripe Customer Portal billing management. Admin entitlement is required for Trust Center approval review.
Webhooks
Stripe subscription webhooks are available for test-mode billing. Future production webhook candidates include analysis-job completion, trust-access approvals, and coach-review assignments.
Financial model
The beta economics are library-first and quota-gated: verified library consumption is the core subscription value, while fresh video analysis is metered by plan and sold through overage credits.
Open financial modelSupport
For API questions during the local MVP, route requests through CueIQ Support so they can be tracked against the production roadmap.
Open SupportThese docs are a Phase 1 bridge, not a public production API commitment. The production foundation plan will replace this page with authenticated API documentation and proper changelog/versioning.
Open workspace