Authored from apps/api/app/routers/ (guard test: every router file is
represented). All under /api via the FastAPI app; see /docs for the
live OpenAPI spec when the stack is up.
POST /auth/login — login (JSON or OAuth2 form)POST /auth/refresh — rotate refresh cookie → new access tokenPOST /auth/logout — revoke the refresh token (204)GET /auth/me — current userGET /conversations — list; POST /conversations — createGET /conversations/{id} — detail with messagesGET /documents; GET /documents/{id}; GET /documents/{id}/versionsPOST /documents/ingest — sync ingest; POST /documents/ingest-async — queued (202)GET /documents/jobs/{job_id} — ingest job statusDELETE /documents/{id}POST /query (also /query/) — the full agentic pipelinePOST /search (also /search/) — retrieval onlyGET /memories; PATCH /memories/{id}; DELETE /memories/{id}GET /memories/exportGET /evaluations/experiments; GET /evaluations/experiments/{id}POST /evaluations/run — queue an eval run (202)GET /health and /health/ — liveness; GET /health/ready — readinessGET /health/detailed; GET /admin/stats