DocWeave / frontend /src /api /metrics.js
shak3008's picture
feat: end-to-end cost tracking with frontend metrics panel
b53b3e8
Raw
History Blame Contribute Delete
155 Bytes
import { apiRequest } from "./client";
export async function getWorkflowMetrics(workflowId) {
return apiRequest(`/metrics/workflow/${workflowId}`);
}