SPECTER

Settings

Connection and environment configuration for the SPECTER dashboard. The dashboard is a stateless client — all data is served by the FastAPI backend over REST and WebSocket.

API origin
Configured
https://specter-api.onrender.com

REST base for incidents, agents, and memory queries.

WebSocket origin
Configured
wss://specter-api.onrender.com

Live event bus stream consumed by the dashboard.

Environment variables

Set these in your hosting provider (e.g. Vercel project settings), then redeploy so the client picks them up.

NEXT_PUBLIC_API_URL
https://api.your-domain.com

Deployed SPECTER API origin. Defaults to http://localhost:8000 for local dev.

NEXT_PUBLIC_WS_URL
wss://api.your-domain.com

WebSocket origin. Use wss:// in production for secure streams.

API_PROXY_TARGET
https://api.your-domain.com

Optional. Rewrites /api/* to the backend (next.config.js) to avoid cross-origin calls.

Persistence

The API stores incidents, memory entities, and vector embeddings in PostgreSQL-compatible storage (pgvector / Aurora DSQL). The dashboard never connects to the database directly.

Transport

Production traffic should use HTTPS for REST and WSS for the event stream. The backend accepts cross-origin requests from approved dashboard origins.