Skip to main content
GET
/
summary
curl 'https://api.clever.nivara.io/summary'
{
  "total_tickets": 150,
  "summary": "Current system has 150 tickets: 45 open, 30 in progress, 75 completed. Most common issues relate to heating systems and plumbing. Average resolution time is 2.5 days.",
  "analytics": {
    "by_status": {
      "open": 45,
      "in_progress": 30,
      "completed": 75
    },
    "by_priority": {
      "low": 30,
      "medium": 70,
      "high": 35,
      "urgent": 15
    },
    "by_type": {
      "maintenance": 60,
      "plumbing": 40,
      "electrical": 30,
      "other": 20
    },
    "average_resolution_time": "2.5 days",
    "peak_hours": [9, 10, 14, 15]
  },
  "insights": {
    "common_issues": [
      "Heating system malfunction",
      "Water leaks",
      "Electrical issues"
    ],
    "busy_locations": [
      "Downtown District",
      "North Side",
      "West End"
    ],
    "trends": {
      "daily_volume": [12, 15, 18, 14, 10],
      "weekly_pattern": "Higher volume on Mondays and Tuesdays"
    },
    "recommendations": [
      "Increase maintenance staff during peak hours 9-11 AM",
      "Implement preventive maintenance for heating systems",
      "Add specialized plumbing team for West End area"
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.nivara.io/llms.txt

Use this file to discover all available pages before exploring further.

Retrieve a summary of all tickets in the system, including analytics and insights.

Response

total_tickets
integer
Total number of tickets in the system
summary
string
Text summary of the ticket data
analytics
object
Statistical analysis of tickets
insights
object
Actionable insights from the data
curl 'https://api.clever.nivara.io/summary'
{
  "total_tickets": 150,
  "summary": "Current system has 150 tickets: 45 open, 30 in progress, 75 completed. Most common issues relate to heating systems and plumbing. Average resolution time is 2.5 days.",
  "analytics": {
    "by_status": {
      "open": 45,
      "in_progress": 30,
      "completed": 75
    },
    "by_priority": {
      "low": 30,
      "medium": 70,
      "high": 35,
      "urgent": 15
    },
    "by_type": {
      "maintenance": 60,
      "plumbing": 40,
      "electrical": 30,
      "other": 20
    },
    "average_resolution_time": "2.5 days",
    "peak_hours": [9, 10, 14, 15]
  },
  "insights": {
    "common_issues": [
      "Heating system malfunction",
      "Water leaks",
      "Electrical issues"
    ],
    "busy_locations": [
      "Downtown District",
      "North Side",
      "West End"
    ],
    "trends": {
      "daily_volume": [12, 15, 18, 14, 10],
      "weekly_pattern": "Higher volume on Mondays and Tuesdays"
    },
    "recommendations": [
      "Increase maintenance staff during peak hours 9-11 AM",
      "Implement preventive maintenance for heating systems",
      "Add specialized plumbing team for West End area"
    ]
  }
}