Skip to main content
GET
/
v1
/
exceptions
/
stats
cURL
curl --request GET \
  --url https://api.qyl.dev/v1/exceptions/stats
{
  "total_count": 1,
  "unique_types": 123,
  "by_type": [
    {
      "exception_type": "<string>",
      "count": 1,
      "percentage": 50,
      "status": "new"
    }
  ],
  "by_service": [
    {
      "service_name": "<string>",
      "count": 1,
      "rate_per_minute": 123
    }
  ],
  "trend": "up"
}

Query Parameters

serviceName
string

Service name filter

startTime
string<date-time>

Start time

endTime
string<date-time>

End time

Response

The request has succeeded.

Exception statistics

total_count
integer<int64>
required

Total exception count

Required range: x >= 0
unique_types
integer<int32>
required

Unique exception types

by_type
object[]
required

Exceptions by type

by_service
object[]

Most affected services

trend
enum<string>

Exception trend (up/down/stable)

Available options:
up,
down,
stable