---
title: "Get Channel Diagnostic Stats"
method: GET
path: "/api/channel/diagnostics/stats"
tags: ["Channel"]
---

# Get Channel Diagnostic Stats

`GET /api/channel/diagnostics/stats`

## Request

- Base URL: `https://api.unorouter.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.unorouter.com/api/channel/diagnostics/stats`
- Auth: one of:
  - API key in header `Authorization` and API key in header `New-Api-User`
  - API key in header `New-Api-User` and API key in cookie `session`

## Query parameters

- `start_timestamp` integer
- `order_by` string
- `limit` integer

## Response `200`

OK

- ResponseArrayModelChannelDiagnosticStatRow: Response_Array-model.ChannelDiagnosticStatRow schema
  - `data` ChannelDiagnosticStatRow[], nullable, required
    - `base_url` string, required
    - `channel_id` integer, required
    - `channel_name` string, required
    - `disable_count` integer, required
    - `enable_count` integer, required
    - `last_to_status` integer, required
    - `seconds_down` integer, required
    - `seconds_up` integer, required
    - `transitions` integer, required
    - `uptime_percent` number, double, required
  - `message` string, required
  - `success` boolean, required

---

[API](https://skmtc.dev/unorouter/apis/new-api.md) - [All operations](https://skmtc.dev/unorouter/apis/new-api/llms.txt) - [OpenAPI document](https://skmtc.dev/unorouter/apis/new-api/revisions/1b50ada14f59?raw)
