---
title: "Get Model Status Buckets"
method: GET
path: "/api/model_status/buckets"
tags: ["Stats"]
---

# Get Model Status Buckets

`GET /api/model_status/buckets`

## 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/model_status/buckets`
- Auth: none required

## Query parameters

- `model` string
- `bucket` string
- `hours` integer

## Response `200`

OK

- ResponseArrayControllerStatusBarDataDTO: Response_Array-controller.StatusBarDataDTO schema
  - `data` StatusBarDataDTO[], nullable, required
    - `bar` BarSegmentDTO[], required
      - `height` integer, required
      - `status` string, required
    - `card` CardItemDTO[], required
      - `status` string, required
      - `value` string, required
    - `day` string, required
    - `events` EventDTO[], required
      - `from` string, required
      - `id` integer, required
      - `is_aggregated` boolean
      - `name` string, required
      - `to` string, nullable, required
      - `type` string, 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)
