← Documentation

Mission Control API

REST endpoints for the Revel web app — analyze products, fetch reports, export roadmaps, and list history.

Overview

These endpoints power the Revel web app (Mission Control). They use session cookies from NextAuth — not API keys. For embedding Revel in your own platform (e.g. Arcapush), use the Partner API instead.

Authentication

Protected routes require an active browser session after sign-in. Server-to-server integrations should use rvl_pk_ Partner API keys — see integration guide.

Endpoints

POST /api/analyze

Body: { "url": "https://example.com" }

Start a new product analysis. Requires signed-in session (NextAuth). Subject to 3 free audits per week.

GET /api/report/:id

Fetch analysis status and report JSON. Poll until status is completed.

POST /api/export

Body: { "id": "...", "format": "markdown" | "json" }

Export Blueprint and Action Queue for a completed analysis.

GET /api/history

List previous analyses for the signed-in user.

GET /api/mission-control/health

Health check for Mission Control services.

Paid agent routes

AI agents on OKX.AI use MCP (POST /api/mcp) or the alternate HTTP route POST /api/audit with x402 billing. See MCP docs and OKX ecosystem.