{
    "success": true,
    "status": 200,
    "data": {
        "status": "ok",
        "provider": "rules",
        "intent": "SALES_DROP",
        "insights": [
            {
                "type": "SALES_DROP",
                "severity": "medium",
                "confidence": 0.91,
                "title": "Sales volume declined",
                "description": "Sales fell by more than 5% in the selected period.",
                "evidence": {
                    "sales_change": -13.781877373846987
                },
                "recommendations": [
                    "Review inventory gaps and top-selling product availability.",
                    "Analyze promotions and peak hour traffic."
                ]
            },
            {
                "type": "STOCKOUT",
                "severity": "high",
                "confidence": 0.9,
                "title": "Stockouts detected",
                "description": "One or more high-demand products are out of stock.",
                "evidence": {
                    "stockout_count": 3
                },
                "recommendations": [
                    "Reorder critical products.",
                    "Review supplier lead times."
                ]
            },
            {
                "type": "LOW_MARGIN",
                "severity": "medium",
                "confidence": 0.82,
                "title": "Margin is low",
                "description": "Margin is below the expected threshold for this business context.",
                "evidence": {
                    "margin": 0.18
                },
                "recommendations": [
                    "Review promotions and supplier costs.",
                    "Test pricing to protect profitability."
                ]
            },
            {
                "type": "UNUSUAL_REFUND",
                "severity": "medium",
                "confidence": 0.84,
                "title": "Refund rate is elevated",
                "description": "Refund activity is above the accepted threshold.",
                "evidence": {
                    "refund_rate": 0.11
                },
                "recommendations": [
                    "Review return policy and product quality.",
                    "Check for operational errors."
                ]
            }
        ],
        "answer": "Las ventas fueron USD 15.890,00 frente a USD 18.430,00 en el período comparado (13,78% menos). La comparación se calculó con datos conectados."
    },
    "error": null,
    "request_id": "6c9712351325b9aff8535bc5",
    "correlation_id": "6c9712351325b9aff8535bc5",
    "verified": false,
    "timestamps": {
        "started_at": null,
        "completed_at": "2026-11-25T18:45:30+00:00"
    },
    "meta": {
        "environment": "production"
    }
}