Mindify.

Backend API

The FastAPI backend exposes:

Method Path Purpose
GET /api/config active provider/model + feature flags
POST /api/research/stream one research turn (SSE)
POST /api/goals launch a long-running goal
GET /api/goals/{id}/events replay + live SSE for a goal
POST /api/latex/compile compile LaTeX → PDF
GET /api/experiments list recorded experiments
POST /api/research-db/search read-only SQL over the research DB

Streamed events are JSON with a type: token, tool_call, tool_result, todos, files, goal_started, done, error.