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.
https://specter-api.onrender.comREST base for incidents, agents, and memory queries.
wss://specter-api.onrender.comLive 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_URLhttps://api.your-domain.comDeployed SPECTER API origin. Defaults to http://localhost:8000 for local dev.
NEXT_PUBLIC_WS_URLwss://api.your-domain.comWebSocket origin. Use wss:// in production for secure streams.
API_PROXY_TARGEThttps://api.your-domain.comOptional. 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.