"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.observeDashboardRouter = void 0;
const express_1 = require("express");
const observe_dashboard_controller_1 = require("../controller/observe-dashboard/observe-dashboard-controller");
const router = (0, express_1.Router)();
router.get('/dashboard/filter-options', observe_dashboard_controller_1.ObserveDashboardController.getFilterOptions);
router.get('/dashboard/:workspaceId', observe_dashboard_controller_1.ObserveDashboardController.getObserveDashboardConfig);
router.post('/parse-trace', observe_dashboard_controller_1.ObserveDashboardController.parseTrace);
router.post('/trace/dag', observe_dashboard_controller_1.ObserveDashboardController.getTraceDag);
router.post('/trace/linear-flow', observe_dashboard_controller_1.ObserveDashboardController.getTraceLinearFlow);
router.post('/trace/details', observe_dashboard_controller_1.ObserveDashboardController.getTraceDetails);
router.post('/trace/rag-details', observe_dashboard_controller_1.ObserveDashboardController.getTraceRagDetails);
router.post('/trace/spans-by-trace-id', observe_dashboard_controller_1.ObserveDashboardController.getSpansByTraceId);
router.post('/prompt-traces', observe_dashboard_controller_1.ObserveDashboardController.getPromptTraces);
router.post('/exception-traces', observe_dashboard_controller_1.ObserveDashboardController.getExceptionTraces);
router.post('/node-traces', observe_dashboard_controller_1.ObserveDashboardController.getNodeTraces);
router.post('/download/prompts', observe_dashboard_controller_1.ObserveDashboardController.downloadPromptsCSV);
router.post('/download/exceptions', observe_dashboard_controller_1.ObserveDashboardController.downloadExceptionsCSV);
router.post('/dashboard/dag', observe_dashboard_controller_1.ObserveDashboardController.getDashboardDag);
router.post('/trace-view/dag', observe_dashboard_controller_1.ObserveDashboardController.getTraceViewDag);
exports.observeDashboardRouter = router;
//# sourceMappingURL=observe-dashboard.js.map